Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Compliance Drift

Direct 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.

When to use this

Use this when systems fall out of compliance over time.

First 30 seconds

1. Compliance drift: systems fall out of baselines over time.

2. Continuous scanning.

3. Alert on regressions.

4. Remediate.

5. Evidence for audits.

Operational verification

baseline → scan → regression → remediate

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
desired/actual state drift management
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformdesired/actual state drift management · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when systems fall out of compliance over time.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Checking compliance only during audits.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Compliance drifts with changes and new rules.
  • Track trend, not only current state.
  • Fix before audits.
Key checks
  • oscap xccdf eval ... — compliance scan
  • Compliance score trend — drift over time
  • Alerts on compliance regressions — detection
ReferenceWhy it matters1 section · depth on demand

What it is

Compliance drift is when devices move away from required security baselines (for example Telnet re-enabled).

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Compliance drift checks run the baseline rules regularly against all devices and report which rules each device fails, often feeding dashboards and tickets.

Example

- name: Telnet must be disabled
  cisco.ios.ios_command:
    commands: show running-config | include transport input
  register: vty
- ansible.builtin.assert:
    that: "'telnet' not in vty.stdout[0]"
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docdesired/actual state drift management current

Authoritative/upstream documentation reviewed for bounded claims in Drift Management > Compliance Drift. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://developer.hashicorp.com/terraform/tutorials/state/resource-drift · confidence 94%
Confirmation

Confirm action

Continue?