Home / Insights / Writing your first compliance rule
Article Compliance as Code

Writing your first compliance rule

A compliance rule is a requirement written as a test that a machine can run.

Choose one requirement, such as 'storage buckets must not be public'. Write the condition in plain terms, then express it as a check that returns pass or fail.

Run the check in your pipeline, keep the result as evidence, and review the rule when the requirement or the system changes.

Book a free 30-minute call More insights