Define what “different” means
How to automate comparisons against authoritative infrastructure and host baselines, accounting for detection windows, assessment gaps, and evidence needed to investigate deviations. · advanced
An authoritative baseline must identify the approved version, applicable targets, comparison logic, and exceptions. Automate deployment of that definition, not just a recurring scan. Record the template revision, rule parameters, or host document version with each assessment so a later investigator can reconstruct what was expected.
Template drift and policy noncompliance answer different questions. CloudFormation drift detection compares supported resources and properties with their expected template configuration; it does not inspect every property or guest operating-system setting. AWS Config rules test configured conditions. A resource can differ from its template yet satisfy policy, or match an insecure template and fail policy.
For hosts, define the settings and validation logic in a versioned Systems Manager document and association. Pin the intended document version and parameters rather than silently following a changing default. Keep approved exceptions scoped and time-limited: adopting the latest observed state as the baseline would hide drift rather than resolve it.
| Comparison | Authority | What a pass means |
|---|---|---|
| Template drift | Approved template | Compared properties match |
| Policy assessment | Rules and parameters | Evaluated conditions satisfied |
| Host assessment | Document and parameters | Implemented checks passed |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.