Join our Newsletter — 33% off our NHI Course
Home› Guides› Cloud Security Posture Management (CSPM) Guide: Policies, Prioritisation…
Guide Cloud Security

Cloud Security Posture Management (CSPM) Guide: Policies, Prioritisation and Remediation at Scale

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 8 November 2026 13 min read
On this page

Most cloud breaches start with a setting someone could have seen, and most CSPM programmes drown in findings before they fix the ones that matter. Cloud security posture management (CSPM) is the continuous comparison of cloud control plane configuration against a policy baseline, followed by prioritised remediation. This guide covers how to choose and scope policies, how to rank findings so teams act on the dangerous few, and how to run remediation across hundreds of accounts and subscriptions without breaking production. It is written for cloud security engineers, platform teams and security architects who already run, or are about to run, a CSPM capability, whether native, open source or part of a CNAPP. Platforms are listed alphabetically throughout; order is never a ranking. For CSPM as one component of a wider platform, see the CNAPP Guide.

Key takeaways

  • Coverage before cleverness: a CSPM that sees 80 percent of accounts gives false comfort; enforce enrolment of every account, subscription and project through the organisation hierarchy so new ones inherit policy automatically.
  • Start from one benchmark, then tune: enable a single primary baseline (CIS Foundations or the provider's own best practice standard), consolidate duplicate findings, and suppress only with a documented reason and expiry date.
  • Prioritise by exposure, not severity label: a medium finding on an internet-facing workload with a privileged role outranks a critical finding in an isolated sandbox; combine exposure, identity privilege and data sensitivity.
  • Prevent at the guardrail, detect in CSPM: the cheapest finding is the one blocked at deployment by organisation policy or a deny effect; CSPM catches drift and what guardrails cannot express.
  • Auto-remediate narrowly: automatic fixes suit reversible, low blast radius settings such as public access blocks and logging; everything else goes through owners with service level targets.

What CSPM does and where it stops

CSPM reads configuration through cloud provider APIs (and often configuration change events), evaluates it against rules, and produces findings. It does not inspect what runs inside a workload; that is the job of workload protection, vulnerability scanning and runtime sensors. The table separates CSPM from the neighbouring disciplines it is often confused with.

CapabilityQuestion it answersTypical data sourceRelationship to CSPM
CSPMIs the cloud control plane configured safely and compliantly?Provider configuration APIs, configuration change historyThe subject of this guide
CIEMWhich identities hold excessive or unused cloud permissions?IAM policies, access logs, last-used dataFeeds identity privilege into CSPM prioritisation; see the Cloud PAM and CIEM Guide
CWPP and vulnerability scanningAre hosts, containers and functions vulnerable or compromised?Agents, agentless snapshot scanningAdds vulnerability context to exposed resources
DSPMWhere is sensitive data and who can reach it?Data store classificationAdds data sensitivity to prioritisation; see the Data Security Posture Management (DSPM)
IaC scanningWill this template create a misconfiguration?Terraform, CloudFormation, Bicep, manifestsSame rules applied before deployment (shift left)
CNAPPAll of the above, correlatedCombinedCSPM is the configuration layer of a CNAPP

The native tools illustrate the scope. Amazon Web Services: AWS Security Hub CSPM evaluates controls grouped into standards, including AWS Foundational Security Best Practices, the CIS AWS Foundations Benchmark, NIST SP 800-53 Rev. 5, NIST SP 800-171 Rev. 2 and PCI DSS, and AWS Config conformance packs bundle Config rules with remediation actions. See the AWS Security Hub Guide and the AWS Security Guide. Google Cloud: Security Health Analytics, a built-in service of Security Command Center, runs managed scans for misconfigurations and maps most findings to standard controls; the Premium tier includes all Google Cloud detectors. See the Security Command Center Guide and the Google Cloud Security Guide. Microsoft Azure: Microsoft Defender for Cloud provides secure score, partly based on the Microsoft cloud security benchmark, and evaluates recommendations through Azure Policy. See the Microsoft Defender for Cloud Guide and the Microsoft Azure Security Guide.

Availability notes: Amazon Web Services states that standards and controls help evaluate an environment but do not guarantee compliance with any framework or audit. Google Cloud's Security Health Analytics detector set depends on the Security Command Center tier, and Google states the Enterprise tier is deprecated and shuts down on 21 May 2027 (as shown on the documentation page checked 8 November 2026). Microsoft Azure splits features between the free Foundational CSPM and the paid Defender CSPM plan: attack path analysis, risk hunting with security explorer, agentless scanning, governance rules and risk prioritisation are listed for Defender CSPM only.

Choosing and managing policies

Policy choice decides the size of the backlog. Enabling every standard on day one produces the same misconfiguration reported three or four times under different control names, and teams learn to ignore the tool.

  1. Pick a primary baseline: the CIS Foundations Benchmark for the provider is the most portable choice for multi-cloud estates (CIS lists AWS Foundations at version 7.1.0 as of 8 November 2026, plus separate Compute, Database, End User Compute and Storage Services benchmarks). Provider standards such as AWS FSBP or the Microsoft cloud security benchmark go deeper on that provider's services. See the Microsoft Cloud Security Benchmark Guide.
  2. Add compliance standards as views, not new work: map PCI DSS or NIST controls onto the same underlying checks. In AWS Security Hub CSPM, AWS recommends turning on consolidated control findings when several standards are enabled, so one control produces one finding rather than one per standard.
  3. Write organisation-specific rules: approved regions, mandatory tags (owner, data classification, environment), banned instance types, required encryption keys. These carry the context generic benchmarks lack.
  4. Version policies as code: keep custom rules, parameters and suppressions in a repository with review, so the baseline is auditable and changes are traceable to a ticket.
  5. Govern exceptions: every suppression needs an owner, a reason, a compensating control and an expiry date. Expired exceptions should reopen the finding automatically.

Central configuration at scale

Policy must follow the organisation hierarchy, not be set account by account. In AWS Security Hub CSPM, central configuration lets a delegated administrator in a home Region create configuration policies that enable the service, choose standards and turn controls on or off, then associate them with the organisation root, OUs or accounts. A control list can be an allow list (new controls stay off) or a deny list (new controls switch on automatically), which is a real decision: deny lists keep coverage current, allow lists keep the backlog predictable. Policies are inherited all-or-nothing from the closest parent, new accounts fall under the root until moved, and AWS notes that multicloud standards such as the CIS Azure benchmark must be configured locally. Azure Policy assignments at management group scope and Google Cloud organisation-level activation of Security Command Center play the same role. See the Azure Policy and Management Groups Guide and the AWS Multi-Account Security Reference Architecture Guide.

Prevent, detect, remediate: picking the control point

A mature programme uses three control points for the same rule. Azure Policy effects show the spectrum clearly: deny blocks a non-compliant create or update, audit and auditIfNotExists only mark non-compliance, and modify and deployIfNotExists change or add resources to bring them into line. Equivalent preventive guardrails exist as AWS service control policies and Google Cloud organisation policy constraints.

Control pointBest forRiskExamples
Preventive guardrail (deny at the organisation level)Rules with no legitimate exception: public storage, disabling audit logs, unapproved regionsBlocks delivery if the rule is wrong; needs a break-glass pathService control policy, organisation policy constraint, Azure Policy deny
Pipeline check (IaC scanning)Most rules, as fast feedback to engineersBypassed by console and script changesSame rule pack run against Terraform plans
Detective CSPM findingDrift, legacy estate, rules that need runtime contextBacklog grows without ownershipSecurity Hub CSPM control, Security Health Analytics finding, Defender for Cloud recommendation
Automatic remediationReversible, low blast radius fixesOutage or fix-revert loops with IaCConfig remediation action, Azure Policy deployIfNotExists

Decision rule: if a misconfiguration has never had a legitimate business exception in your estate, move it to a preventive guardrail. If it is common and fixable by the owner, put it in the pipeline. Keep CSPM as the safety net that proves both are working.

Prioritising findings

Severity labels are written without knowledge of your environment. A useful priority score combines four factors, all of which modern CSPM tools can expose through graph or context features (for example, attack path analysis in Defender CSPM).

FactorRaise priority whenEvidence to use
ExposureResource is reachable from the internet or from untrusted networksPublic IPs, security group and firewall rules, public bucket or blob policies, load balancer listeners
Identity privilegeAttached role or service account can reach data or change IAMCIEM data, role policies, wildcard actions, cross-account trust
Data sensitivityResource stores or can read regulated or crown-jewel dataClassification tags, DSPM results
ExploitabilityWorkload has known exploited vulnerabilities or exposed secretsVulnerability scan results, CISA KEV matches, secret scanning

A practical tiering: P1 (fix within 24 to 72 hours) where at least three factors line up, such as a public workload with a role that can read sensitive storage; P2 (within 14 days) for single high-risk settings on production; P3 (next sprint or planned) for hygiene; accepted for documented exceptions. Toxic combinations matter more than single findings: the attacker's path in cloud is usually exposure, then credential, then data, which maps to ATT&CK techniques such as T1580 Cloud Infrastructure Discovery, T1578 Modify Cloud Compute Infrastructure and T1530 Data from Cloud Storage.

Running remediation at scale

  1. Assign owners automatically: route findings by account, subscription or project ownership and by owner tags. Findings without an owner go to a platform triage queue, and the missing owner tag is itself a finding.
  2. Integrate with engineering workflow: open tickets in the team's backlog with the rule, the resource, the fix and the IaC location if known. Group findings per resource type and team so one change closes dozens of findings.
  3. Fix in code, not in the console: when the resource is managed by Terraform or CloudFormation, a console fix is reverted on the next apply. Track whether remediation was made in source.
  4. Pilot automatic remediation in audit mode: run the rule as report-only for two to four weeks, review what it would have changed, then enable it in a non-production OU or management group, then production. Keep a documented rollback (disable the remediation action or set the policy effect back to audit).
  5. Set service level targets and escalate: P1 overdue findings escalate to the service owner's leadership; repeated breaches of target become a risk acceptance decision rather than silent backlog.
  6. Close the loop: when a class of finding keeps recurring, promote the rule to a pipeline check or preventive guardrail.

Good automatic remediation candidates include enabling storage public access blocks, turning on default encryption, enabling audit and flow logging, and requiring token-based instance metadata (see the EC2 Instance Metadata Service Hardening Guide). Poor candidates include changing network rules, deleting resources, or modifying IAM policies, where the blast radius is unknown.

Where identity fits

A large share of serious CSPM findings are identity findings: access keys never rotated, roles with wildcard permissions, service accounts with owner rights, cross-account trusts to unknown accounts, and instance roles that can read entire storage estates. CSPM sees the configuration; it rarely knows whether the permission is used. Pair CSPM with last-used data and an inventory of workload identities so remediation removes privileges rather than just documenting them. See the Cloud Workload Identity Guide. The CSPM tool itself is also a powerful non-human identity: it holds organisation-wide read access (and write access if it remediates), so scope its role, prefer short-lived federated credentials over static keys, and monitor its use.

Detection and measurement

Log and alert on changes that weaken posture as they happen, not only at the next scan: disabling of the CSPM service or a standard, creation of suppression rules, changes to audit logging, and public exposure of storage. Measure the programme with a small set of indicators.

  • Coverage: percentage of accounts, subscriptions and projects enrolled with the baseline policy (target 100 percent, checked against the organisation inventory).
  • P1 mean time to remediate: median hours from detection to fix for P1 findings.
  • SLA adherence: percentage of findings closed within target, by tier and team.
  • Recurrence rate: findings reopened within 30 days, which shows console fixes reverted by IaC or missing guardrails.
  • Exception health: number of active suppressions and percentage past expiry.
  • Prevention ratio: share of rules enforced as guardrails or pipeline checks rather than detect-only.

Framework mapping

FrameworkReferenceHow CSPM supports it
NIST CSF 2.0PR.PS-01, ID.AM-02, ID.RA-01, DE.CM-09Configuration management practices, inventory of services, vulnerabilities identified and recorded, monitoring of runtime environments
NIST SP 800-53 Rev. 5CM-2, CM-6, CM-7, CM-8, CA-7, RA-5Baseline configuration, configuration settings, least functionality, component inventory, continuous monitoring, vulnerability monitoring and scanning
CIS Controls v8.1Control 4 Secure Configuration of Enterprise Assets and Software; Control 3 Data ProtectionBenchmarks as secure configuration baselines; storage exposure and encryption checks
ISO/IEC 27001:2022 Annex AA.8.9 Configuration management; A.5.23 Information security for use of cloud servicesDefined, monitored and reviewed configurations; cloud service governance
MITRE ATT&CK v20T1580, T1578, T1530Reduces the discovery, infrastructure modification and storage collection paths misconfiguration opens

Common failure patterns

  • Partial coverage: sandbox, acquired and shadow accounts sit outside the organisation hierarchy, so the dashboard looks green while the riskiest estate is unmonitored.
  • Every standard switched on: duplicate findings across four standards bury the real issues and teach engineers to close tickets in bulk.
  • Severity-only triage: teams chase critical labels in isolated environments while a medium misconfiguration on an exposed workload with a privileged role stays open. The Capital One breach combined a misconfigured internet-facing firewall, reachable instance metadata credentials and a role that could read many storage buckets; no single setting told the full story, and the bulk copying raised no alert.
  • Permanent suppressions: exceptions granted for a migration never expire and quietly become the baseline.
  • Console fixes against IaC: findings close, then reopen at the next deployment, eroding trust in the tool.
  • Over-eager auto-remediation: a remediation that alters network or IAM settings causes an outage, and the programme loses permission to automate anything.

Practitioner checklist

  • Enrol every account, subscription and project through the organisation hierarchy and alert on any outside it.
  • Choose one primary benchmark per provider, record its version, and consolidate duplicate findings across standards.
  • Store custom rules, parameters and suppressions as code with review and expiry dates.
  • Define P1 to P3 tiers using exposure, identity privilege, data sensitivity and exploitability, with time targets per tier.
  • Route findings to owners automatically and make a missing owner tag a finding.
  • Promote recurring, exception-free rules to preventive guardrails and pipeline checks.
  • Pilot every automatic remediation in report-only mode, then non-production, with a written rollback.
  • Scope the CSPM tool's own cloud identity to least privilege with short-lived credentials, and alert on changes to it.
  • Report coverage, P1 time to remediate, SLA adherence, recurrence and exception health monthly.

Standards and references

Related NHI Mgmt Group resources: CNAPP Guide · Cloud Misconfiguration Guide · Prowler and Cloud Posture Scanning Guide · Exposure Management and CTEM Guide · Cloud Security Guide

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
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 8 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org