Join our Newsletter — 33% off our NHI Course
Governance, Ownership & Risk

Drift Check

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Governance, Ownership & Risk

A Drift Check compares the live state of systems, cloud resources or configurations against an approved baseline or infrastructure-as-code definition to find differences. Unexpected drift can reveal manual hotfixes, misconfigurations or attacker changes such as widened security groups or added IAM permissions. Run it on a schedule, alert on high-risk deviations and either reconcile or approve each change.

What a drift check is really looking for

A drift check compares what is actually running now with what was approved, documented or declared in infrastructure as code. The point is not just configuration hygiene, but identifying whether the live environment has been changed outside the expected control path, whether by an operator, an automation failure, or an adversary.

That makes drift checks especially valuable in cloud and platform environments where state changes quickly and the approved baseline can be overwritten by manual edits, emergency fixes or inconsistent deployment paths. A good drift check asks whether the live system still matches the intended design, not whether it merely still works.

Why drift matters in cloud and configuration management

Drift creates a gap between security assumptions and reality. A security group that has been widened, a policy that now grants more access than intended, or a resource that no longer matches the baseline can silently expand exposure even when no one has formally approved the change. Over time, repeated drift also makes audit evidence less trustworthy because the baseline no longer represents the environment.

Drift is especially important when the baseline itself is meant to enforce secure defaults. If teams treat drift as a cosmetic issue, they can miss privilege creep, weakened network boundaries or changes that undermine segmentation and hardening. For that reason, drift management should be tied to the control objective, not just to deployment cleanliness.

How drift checks work in practice

A drift check usually compares the live resource state against a source of truth such as an approved template, a desired-state policy or infrastructure-as-code repository. Differences can then be grouped into expected changes, acceptable exceptions and unexplained deviations. The useful question is not only “what changed?” but “who approved it, why was it changed, and does the current state still satisfy the original control?”

Good implementations also distinguish between harmless environmental variance and security-relevant change. For example, a drift event involving tags may matter for governance, but drift involving ingress rules, privileged access paths, encryption settings or secret-handling controls deserves immediate attention.

In environments with shared baselines, a clear baseline record and owner sign-off make the difference between useful detection and noisy reporting, which is why many teams pair drift checks with a standardised baseline process such as the SaaS Security Baseline Standard Template.

Remediation, review and control alignment

Once drift is detected, the response should be deliberate: reconcile the resource back to the approved state, or formally approve the new state if the change is valid and the baseline must be updated. The critical point is that a live exception should not remain unowned. Left unresolved, drift becomes permanent shadow change and eventually turns into the new normal.

Drift checks also fit naturally into entitlement and ownership governance when the deviation affects permissions or access paths. If the drift is an added permission, the remediation decision is not only technical but also governance-driven, because someone must decide whether that access is now part of the approved entitlement model. For that reason, drift review is strongest when paired with clear ownership of access and change baselines, as described in the Entitlement Catalogue Guide.

Detection and compromise review after drift

Not all drift is accidental. Unexpected changes can be the first visible sign of compromise, especially when an attacker uses administrative access to widen access, alter configurations or create persistence. If drift appears in security groups, IAM policies, service settings or secret-handling controls, the deviation should be treated as a possible intrusion signal until reviewed.

That is why the most dangerous drift is often the kind that looks like a legitimate operational tweak. Attackers benefit from changes that blend into normal administration, so drift checks should feed both configuration monitoring and compromise review. When the change is suspicious, review surrounding logs, recent change history and any related identity activity, because the drift may be the consequence of stolen credentials or abused tokens rather than an innocent mistake.

A drift event that involves token use or third-party access deserves especially careful review, because a compromised integration can produce changes that look like ordinary platform maintenance. The Salesloft OAuth token breach is a useful reminder that configuration and access-state changes can be part of a broader identity compromise path.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5CM-2 — Baseline ConfigurationDrift checks compare live state to an approved baseline, which is CM-2's core concern.
CM-6 — Configuration SettingsThe term centers on detecting deviations from required secure settings in live systems.
SI-2 — Flaw RemediationUnplanned drift can expose misconfigurations that must be corrected or approved promptly.
Recommendation — Define approved baselines and review drift against them on a defined schedule. Enforce secure settings and alert when live configuration departs from approved values. Treat high-risk drift as a remediation item and close it through correction or formal acceptance.
CIS Controls v8CIS-4 — Secure Configuration of Enterprise Assets and SoftwareDrift checks are a direct safeguard for maintaining secure configuration across assets.
CIS-7 — Continuous Vulnerability ManagementUnexpected drift can create new exploitable exposure that should be monitored and corrected.
Recommendation — Continuously compare deployed systems to hardened baselines and remediate deviations. Use continuous monitoring to identify configuration changes that increase attack surface.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org