Control Definition
A control is defined in YAML and it's definition contains ID, Title, Description, IntegrationType, Query, Severity, and Tags. Every control will have a unique ID.
For a Query to be usable in a Control, it needs have the following:
Contain the required components: Engine, ListOfTables, Parameters, PrimaryTable, QueryToExecute
Define Compliance and Non-Compliance Cases: Clearly outline conditions for both
ok
(compliant) andalarm
(non-compliant) scenarios.Provide Reasons for Each Case: Offer detailed, human-readable explanations for the compliance status, such as "Authentication is enabled" or "Key is too old."
Flag the Primary Table & ListOfTables
Primary Table is required to attribute Audit incidents to the right table and control. For example the above control refers to multiple tables and columns, but we want to attribute the incidents to a single table.
ListOfTables is used to help you find the controls that are relavent
Maintain a Consistent Output Structure: Include the following fields:
Status:
ok
,alarm
, orskip
Reason: Explanation for the status
Resource Identifier: Specific resource being evaluated
Additional Metadata: Supporting details like account ID and region
This query ensures reliable compliance evaluation by defining clear conditions and providing actionable outputs.
References
Last updated