Subscribe to the Non-Human & AI Identity Journal

Configuration Drift

Configuration drift is the gradual divergence between a system’s intended secure state and the settings it actually runs with over time. In SaaS, drift often appears when admins change sharing, logging, or access controls under pressure and never return to validate the result.

Expanded Definition

Configuration drift is not just a settings mismatch. In NHI-heavy environments, it is the slow loss of control over how service accounts, API keys, vault policies, logging, and access boundaries are actually enforced. Definitions vary across vendors, but the practical meaning is consistent: the running state no longer matches the approved secure baseline. The NIST Cybersecurity Framework 2.0 treats this as a governance and control problem because asset state, policy enforcement, and continuous monitoring must stay aligned as systems change. For identity teams, drift often appears when emergency access is granted, a SaaS admin weakens a control to restore service, or automation skips a validation step and never rechecks the outcome. That makes drift especially dangerous in Non-Human Identity operations, where one changed permission can silently expand exposure across many workflows.

The most common misapplication is treating configuration drift as a one-time misconfiguration, which occurs when teams fix the symptom but never compare the live control state against the approved baseline.

Examples and Use Cases

Implementing drift detection rigorously often introduces operational friction, requiring organisations to weigh faster recovery against stricter change control and validation.

  • A SaaS administrator temporarily turns off sharing restrictions to unblock a rollout, but the setting is never restored, leaving NHI-linked data flows broader than intended.
  • A secrets manager policy is updated to support a new automation job, yet the role remains over-permissive after deployment and bypasses the intended approval path.
  • A CI/CD pipeline rotates secrets, but the validation job is skipped, so old credentials remain active and unmanaged across downstream systems.
  • An incident response team revokes access in production, then forgets to reconcile the change with infrastructure-as-code, allowing the original policy to reappear on the next deployment.
  • In a case like the Salesloft OAuth token breach, changes in token handling and access controls illustrate how drift can create a durable path from a small exception to a broader compromise.

For control validation, teams often compare production state to policy-as-code, IaC templates, and audit logs, then tie exceptions back to an owner and expiry date. That operational model aligns with the NIST Cybersecurity Framework 2.0 emphasis on continuous assessment and change management. The same pattern matters in identity governance, where a changed entitlement can persist long after the business reason has disappeared.

Why It Matters in NHI Security

Configuration drift matters because NHI controls fail quietly. A service account can keep working long after its intended scope has widened, and a token can remain effective even when the associated policy no longer reflects current risk. In NHI security, that is often worse than an outright outage because drift preserves functionality while eroding assurance. NHI Mgmt Group research shows that Salesloft OAuth token breach and similar incidents demonstrate how access paths become exploitable when control state is not continuously revalidated. The broader risk is amplified by the fact that 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, which makes drift both easier to introduce and harder to detect.

Practitioners should treat drift as a lifecycle issue, not a cleanup task. It connects directly to least privilege, secret rotation, logging retention, and offboarding. It also overlaps with governance requirements in the NIST Cybersecurity Framework 2.0, where continuous monitoring and control enforcement are part of normal operations. Organisations typically encounter the impact only after an access review, incident, or failed audit reveals that the live environment no longer matches the approved baseline, at which point configuration drift becomes operationally unavoidable to address.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-06 Configuration drift often creates excess privileges and stale controls across NHIs.
NIST CSF 2.0 PR.IP-1 This control family covers maintenance of response, recovery, and change processes that reduce drift.
NIST Zero Trust (SP 800-207) PA-4 Zero Trust depends on continuously verified policy state, not assumed configuration.

Use controlled change management and periodic validation to keep production aligned with policy.