Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Compliance Automation

Direct answer

Compliance automation continuously checks systems against baselines like CIS Benchmarks with policy as code, collects evidence automatically and can remediate drift, instead of manual audit checklists.

When to use this

Use this when checking systems against baselines automatically and collecting audit evidence.

First 30 seconds

1. Compliance automation: baselines, policy as code, scans, evidence, remediation.

2. Continuous, not yearly.

3. Map to frameworks.

4. Exceptions as code.

5. Dashboards.

Operational verification

policy → checks → evidence → remediation

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation design and operations
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.

Platformautomation design and operations · 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 checking systems against baselines automatically and collecting audit evidence.
What next?3 suggested next steps
Child topics (this level)9
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.

4 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 Verify a finding from raw source through rule result and next collection Verify boundary

Select a bounded Compliance Automation rule and asset, record the rule version, applicability decision, collection timestamp/source and normalized field values. Re-evaluate the rule deterministically and confirm the displayed Pass/Fail/Not Applicable result matches the same preserved input. For a remediated failure, read the target directly and run the next collection/evaluation cycle until the technical finding changes without relying on a waiver. A policy-engine success status shows execution of the evaluator, not source freshness, target correctness or control effectiveness beyond the measured rule.

Step 2 Verification path Verify boundary

Record policy/bundle revision, rule ID, input object ID and evaluation/run ID; inspect the runtime/control-plane result; then query the compliance decision, report and optionally remediated target state through an independent read path and compare it with the versioned intent. For Automation → Compliance Automation, the evidence must connect the control-plane result to the compliance decision, report and optionally remediated target state and explain any gap between desired, controller-reported and consumer-visible state.

Step 3 Branch compliance errors into collection, parsing, applicability and evaluation Narrow the fault

If Compliance Automation reports widespread Unknown or missing values, verify collection success and source freshness before changing rules. If raw state exists but fields are absent, inspect parser/normalization version. If the rule evaluates the wrong assets, check platform/role applicability and inventory metadata. If a Pass/Fail seems wrong, reproduce the rule against the preserved normalized input and compare operators, defaults and exception handling. If remediation repeatedly reopens the same finding, compare target read-back and next collection cycle. A green dashboard does not show collection coverage or that exceptions are technically compliant.

Step 4 Where it fails Narrow the fault

Failure analysis for Automation → Compliance Automation should follow the path through the components: policy+input → parse/load → evaluation → decision/report → optional enforcement/remediation → target → re-evaluation. Common failure classes include stale policy, incomplete input, exception creep, false compliance from missing data, destructive auto-remediation and passing policy check without validating actual target. Before retrying a mutating operation, read current target state using the stable identity policy/bundle revision, rule ID, input object ID and evaluation/run ID; if state is unknown, stop broad retries.

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
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Configuration Baselines

Configuration baselines define the approved configuration for a system type, versioned and used as the reference that compliance checks and drift detection compare against.

Subtopic Policy as Code

Policy as code writes compliance and security rules as code, with tools like Open Policy Agent (Rego), Sentinel or Kyverno, so policies are versioned, tested and enforced automatically in pipelines.

Subtopic Compliance Checks

Compliance checks are automated tests that compare a system's configuration with a required rule, such as password policy or disabled services, returning pass or fail with details.

Subtopic CIS Benchmarks

CIS Benchmarks are consensus hardening guides for operating systems, cloud and applications, with Level 1 and Level 2 profiles.

Subtopic Security Baselines

Security baselines are the minimum security settings for a platform, such as Microsoft security baselines or DISA STIGs, applied with GPO, Intune, DSC or Ansible and checked continuously.

Subtopic Configuration Auditing

Configuration auditing reviews the current configuration of systems and devices against standards and previous versions, highlighting unauthorized or risky changes.

Subtopic Evidence Collection

Evidence collection automatically gathers proof for audits — compliance scan results, configs, logs, screenshots and reports — with timestamps, so evidence is current and does not need to be compiled by hand.

Subtopic Drift Detection

Drift detection in compliance automation spots when a system moves away from its approved baseline, often because of manual changes, and raises a finding or triggers remediation.

Subtopic Auto-remediation

Auto-remediation in compliance automation fixes non-compliant settings automatically when a check fails, such as re-enabling a firewall or resetting a weak SSH setting, with approval rules for risky changes.

Key points
  • Policy as code makes compliance rules testable.
  • Automated remediation needs guardrails.
  • Evidence should be collected continuously.
Key checks
  • Baselines and policies as code — definitions
  • Automated checks and evidence — continuous compliance
  • Remediation automation — fixing
ReferenceWhy it matters1 section · depth on demand

Compliance automation separates collection, normalization, rule applicability and finding state

Compliance Automation is reliable only when each finding can be traced to the collected source state, normalization/parser version, rule ID/version and applicability scope. A baseline rule that does not apply to a platform or role should be Not Applicable, not silently Pass. Evidence freshness matters because a correct result from an old snapshot is not current compliance. Exceptions/waivers are governance state layered on top of the technical finding; they must not rewrite the observation. Automated remediation is a separate change boundary and should consume the finding without erasing its original evidence.

ReferenceHow it works1 section · depth on demand

In depth

Compliance automation checks systems against required standards continuously and produces evidence for auditors, instead of manual spot checks before an audit.

ElementExample
Policy as codeRules in Git (OPA, InSpec, YAML checks)
Scheduled scansDaily configuration and vulnerability checks
ReportingCompliance percentage per system and control
RemediationTickets or automatic fixes
EvidenceStored scan results with timestamps

Map each automated check to the control it supports (CIS, ISO 27001, NIS2 requirements) so reports answer auditors' questions directly.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Automation → Compliance Automation is owned at runtime by the policy engine and automation pipeline evaluating machine-readable policy against versioned input. Its durable intent is versioned policy/rule bundle, input schema, exceptions and enforcement/remediation mode; the stable identity contract is policy/bundle revision, rule ID, input object ID and evaluation/run ID. The consumer-visible target is the compliance decision, report and optionally remediated target state. The operating invariants are that policy/input revisions are traceable, exceptions are explicit, deny/allow semantics are understood, remediation is bounded and post-remediation state is re-evaluated. Follow the chain of components policy+input → parse/load → evaluation → decision/report → optional enforcement/remediation → target → re-evaluation and record which layer currently owns truth.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docautomation design and operations current

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

Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Capture at minimum policy revision, rule ID, input/object ID, decision, violations, exception/waiver, remediation action and post-state decision.

Confirmation

Confirm action

Continue?