Controls with Inline Policy
Use an inline policy to define both your compliance requirement and its technical logic in one YAML file, simplifying management and keeping all details in a single place.
Example
Guidelines
All Keys in YAML need to be snake case
Required Fields:
id
: Unique identifier.policy.language
: Policy language (e.g., "sql", "rego").policy.primary_resource
: Resource type for incident attribution.policy.definition
: Policy logic (must return 'ok' or 'alarm').severity
: Impact level (Critical, High, Medium, Low, None).parameters
: Required if the policy utilizes parameters.
Recommended Fields:
title
,description
: Descriptive information.integration_type
: Platform or environment.tags
: Metadata for categorization.
Last updated