Prevention

Prevention

Represents a Prevention in Turbot Guardrails.

A prevention defines proactive security controls that prevent non-compliant configurations from being deployed or maintained.

For more information, please see Preventions.

controlsControlsReturns the controls associated with this Prevention, filtered by the prevention's control type and attached resources.
Supports optional additional filter and paging arguments.
coverageStatsPreventionCoverageStatsCoverage statistics showing the scope of this prevention (e.g., "24 of 150 accounts").
Returns null for preventions without coverage stats.
dataScalarnull
descriptionStringnull
getScalarAllows you to safely get data from the Prevention object by path. For example, get(path: "Region.Name" would return the value of the nested property Region.Name if it exists.
iconStringFontAwesome icon reference, used for display in the product and documentation. Will be in the format fal-<icon>, far-<icon> or fas-<icon> for light, regular and solid icon classes respectively.
modUriString!Unique identifier for the defining mod.
notificationsNotificationsReturns any notifications for this Prevention that you have permission to get, subject to the optional filter and paging arguments.
objectivesPreventionObjectivesnull
overviewPreventionOverviewOverview information including what this prevention covers, its limitations, exceptions, and threat context.
Returns null for preventions without overview data.
parentStringThe parent of this Prevention.
qualityFloatnull
resourcesResourcesnull
sourceResourcesResourcesnull
titleStringnull
turbotPreventionMetadata!Turbot metadata for this Prevention.
typePreventionTypenull
uriString!Mod-specific unique identifier.