How drift detection works
Baseline capture
When you first connect a provider, InfraAudit snapshots the configuration of every discovered resource. This becomes the initial baseline for each resource.
Scheduled scans
The drift scanner runs every 4 hours by default. Each run fetches the current state from the cloud provider API and compares it against the active baseline.
Findings created
Differences that exceed the detection threshold become drift findings, stored with a severity and a
detected status.Drift types
| Type | What it detects |
|---|---|
| Configuration | Any change to resource settings not classified as security or compliance |
| Security | Changes that weaken the security posture (e.g. port 22 opened to 0.0.0.0/0) |
| Compliance | Changes that violate a control in an enabled compliance framework |
Severity levels
| Severity | Examples |
|---|---|
| Critical | S3 bucket made public, unrestricted admin access granted |
| High | Security group opened to the internet, SSL/TLS disabled |
| Medium | Non-critical configuration change, unexpected tag removed |
| Low | Display name changed, description updated |
Viewing drift findings
Open Drift Detection
In the sidebar, click Drift Detection. The list shows all active findings, newest first.
Filter the list
Use the filter bar to narrow by severity, type, provider, status, or resource type. Start with Critical and High to focus on the most urgent items.
Drift detail
The detail panel for each finding shows:- Summary — what changed, on which resource, and when
- Diff — a side-by-side JSON comparison of the baseline and current configuration
- Affected resource — a link to the resource detail panel
- Timeline — detected time and last updated time
- Recommendations — suggested remediation steps
Resolving a drift
From the detail panel, you have three options:| Action | When to use it |
|---|---|
| Mark as resolved | The drift is intentional or has already been fixed manually. Closes the finding without making a change. |
| Apply remediation | Executes an automated fix. Only available when a remediation action exists for this drift type. |
| Create ticket | Copies the drift detail to your clipboard in a format suitable for a Jira or GitHub issue. |
IaC drift
InfraAudit also detects IaC drift — cases where the live resource configuration no longer matches the Terraform or CloudFormation template that originally defined it. Upload your IaC files under IaC in the sidebar. InfraAudit parses the files, identifies the resources they declare, and compares their expected state against the current live state.Managing baselines
A baseline is the “known good” snapshot that drift detection compares against. You can:- Capture a manual baseline from the resource detail panel — useful before a planned change
- Promote the current live state to a new baseline after an intentional change — this resets the comparison point so the change no longer appears as drift
CLI
Next steps
- Remediation — apply automated fixes with a rollback window
- Alerts — configure severity thresholds for notifications
- Recommendations — view AI-generated fix suggestions