Home/Refreshers/Check every resource against your rules, all the time: refresher
Check every resource against your rules, all the time
Continuous evaluation that flags a resource the moment it stops matching the standard.
Remember
- A resource changes: created, edited, or deleted.
- The evaluator runs: against a named set of rules.
- Compliant or not: with the time it changed.
- Optional automatic fix: where the fix is safe to automate.
| Platform | Uses | The part that catches people |
|---|---|---|
| AWS | AWS Config with a conformance pack | Each account and region allows one recorder. |
| Azure | The Microsoft cloud security benchmark in Azure Policy, with an alert on each non-compliant change | The benchmark is found by its display name. |
| Google Cloud | Security Command Center findings streamed to Pub/Sub, with mute rules and a BigQuery history | Security Command Center does the evaluating, and must be switched on before apply. |
| Oracle Cloud | Cloud Guard with Oracle's detector recipes, and an email on each problem | A compartment takes one Cloud Guard target. |
Run the quick start
| Download providers | terraform init |
| Preview | terraform plan |
| Apply | terraform apply |
Watch out
- Evaluation catches drift after it happens; the guardrail template stops some of it before.
- A noncompliant result is only useful if someone sees it.
Check it worked
Create something that breaks a rule. It should show up as failing within one cycle.