Automation · Drift Management
Compliance Drift
Cheat sheet · https://pcornel.dk/topic.php?topic=6012
Answer
Compliance drift is when systems that once passed compliance checks fall out of compliance through changes or new requirements, tracked as a trend so it is fixed before an audit.
Remember
- Compliance drifts with changes and new rules.
- Track trend, not only current state.
- Fix before audits.
First checks
oscap xccdf eval ...— compliance scan- Compliance score trend — drift over time
- Alerts on compliance regressions — detection
Verify in this order
baseline → scan → regression → remediate
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6012