Join our Newsletter — 33% off our NHI Course
Home› Glossary› Governance, Ownership & Risk› AWS Config Rule
Governance, Ownership & Risk

AWS Config Rule

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

An AWS Config Rule defines the desired configuration of an AWS resource and evaluates whether resources comply, either on configuration change or periodically. Rules can be AWS-managed or custom. Defenders use them to flag drift such as unencrypted volumes or public storage, and can pair them with remediation, though a rule only detects non-compliance unless remediation is configured.

What AWS Config Rules Do

AWS Config Rules are the policy layer on top of AWS configuration history: they express what “good” looks like for a resource and then evaluate actual state against that expectation. The value is not just compliance reporting, but continuous detection of drift, such as storage left unencrypted or made publicly reachable after deployment.

Because a rule evaluates state rather than fixing it by itself, it is best understood as a control for visibility and accountability. That makes it useful for both ongoing posture management and for proving when a resource moved out of policy after a change.

How Evaluation Works in Practice

Rules can evaluate when a configuration change occurs or on a periodic schedule. That distinction matters because some misconfigurations are caught quickly after a change, while others are better suited to scheduled rechecks across a large estate. In mature AWS environments, Config is often paired with broader inventory and posture tooling so that findings can be centralised and triaged rather than reviewed account by account.

Managed rules are AWS-provided checks for common conditions, while custom rules let teams encode organisation-specific logic. The custom path is important when a business policy is narrower than a generic benchmark, or when a control needs to reflect context such as account boundaries, encryption standards or approved network exposure.

For a practical operating model, NHIMG’s AWS Config Guide is the most direct reference for recorder scope, rules, conformance packs and remediation patterns.

Why Config Rules Matter for Drift and Exposure

Config Rules are especially valuable because cloud risk often appears as drift, not as a single bad deployment. A resource can start compliant and later become exposed through console changes, automation bugs, overly broad permissions or shared snapshots. Detecting that change early reduces the window in which a weakened configuration can be discovered or abused.

They are also a useful control for proving that a detected issue is real and current. That matters in environments where point-in-time reviews miss rapid change, or where teams need an auditable record of when a resource diverged from policy.

When the subject is storage exposure and accidental disclosure, the pattern is closely related to how defenders scan for secret-bearing backups and snapshots, as described in NHIMG’s Secrets in Backups and Snapshots. It also aligns with the broader drift-and-baseline approach in D3-CI Configuration Inventory.

Remediation, Evidence, and Control Coverage

Most organisations use Config Rules as an input to remediation rather than a standalone security outcome. That is because a rule can tell you something is non-compliant, but it does not reverse the condition unless you attach automation or a workflow that does so. The strongest operational pattern is to pair the finding with a controlled fix, verification, and an audit trail.

This is where central posture management becomes useful. A rule can create the finding, but a broader posture layer can prioritise it by exposure and coordinate a response across accounts. NHIMG’s Cloud Security Posture Management (CSPM) Guide covers that prioritisation model, while the AWS Security Hub Guide shows how Config findings can feed a centralised response loop.

Where remediation is automated, the safety model matters. NHIMG’s Automated Remediation Safety Guide is a useful companion for understanding how to limit blast radius, verify fixes and avoid creating a second incident while correcting the first.

Risk and Threat Considerations

Config Rules reduce the time a misconfiguration can remain invisible, but they do not remove the underlying exposure. If evaluation is delayed, scoped too narrowly, or not paired with response, an unsafe resource can remain publicly reachable, overexposed or non-compliant long enough for misuse, data access or later compromise.

Failure mechanism: The common failure is a gap between drift and enforcement, where a rule notices the problem after the resource has already changed, but remediation and verification are absent or too slow to close the exposure.

Impact: That gap can leave storage, network paths or sensitive data exposed long enough to create confidentiality, integrity or operational risk, especially when the same misconfiguration is replicated across many accounts or regions.

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, CIS Controls v8 and CSA Cloud Controls Matrix set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5CM-2 — Baseline ConfigurationConfig Rules compare live AWS state to the approved baseline.
CM-6 — Configuration SettingsRules enforce required secure settings such as encryption and public-access restrictions.
CA-7 — Continuous MonitoringConfig Rules provide continuous or periodic monitoring of configuration drift.
Recommendation — Define and maintain approved baselines, then evaluate AWS resources against them continuously. Use configuration-setting controls to enforce secure values for AWS resources. Automate ongoing configuration monitoring and route deviations into response workflows.
CIS Controls v8CIS-4 — Secure Configuration of Enterprise Assets and SoftwareAWS Config Rules detect insecure cloud configuration drift at scale.
CIS-7 — Continuous Vulnerability ManagementConfig findings support continuous checking and prioritisation of exposed misconfigurations.
Recommendation — Harden AWS resource settings and verify drift against secure baselines. Continuously assess and prioritise configuration exposure across cloud assets.
CSA Cloud Controls MatrixCSPM — Cloud Security Posture ManagementConfig Rules are a CSPM mechanism for cloud misconfiguration detection and policy enforcement.
Recommendation — Centralise cloud posture checks and automate remediation for policy drift.
ISO/IEC 27001:2022A.8.9 — Configuration managementAWS Config Rules help maintain approved configuration states and detect drift.
Recommendation — Maintain controlled configuration baselines and review deviations promptly.

Practitioner Guidance

What to watch for: Use Config Rules as part of a control loop, not as the control itself. The practical question is whether the rule maps to a real business policy, whether non-compliance is actionable, and whether the finding is routed into a workflow that can verify and close the issue.

Governance implication: For AWS estates, the important ownership decision is who maintains the rule logic, who reviews exceptions, and who owns the follow-through when a resource is found out of compliance. Without that ownership, Config becomes reporting noise rather than a prevention aid.

Practitioner takeaway: The best AWS Config programmes treat rules, remediation and evidence as one operating loop, not three separate tools.

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