Back to Notes
awsNODE: #aws-service-control-policies

AWS Service Control Policies (SCPs)

Preventive guardrails in AWS Organizations that establish permission boundaries across multi-account hierarchies.

AKA:SCP, Service Control Policy
#aws#security#iam#governance#sap-c02#domain-1
GRAPH_RELATIONS // CONNECTED_NODESLINKED

AWS Service Control Policies (SCPs)

Overview

Service Control Policies (SCPs) are JSON policy documents attached to the Root, Organizational Units (OUs), or specific accounts in AWS Organizations that specify the maximum permissions available to IAM entities (users, roles) within those accounts.

Evaluation Logic & Behavior

  • Guardrail, Not Grant: An SCP never grants permissions; it only specifies an allowlist or denylist boundary. To perform an action, the principal must have both an explicit IAM allow AND be allowed by all applicable SCPs in its hierarchy.
  • Explicit Deny Precedence: An explicit Deny in an SCP at any higher level (Root or OU) overrides any Allow at lower levels or in account IAM policies.
  • Inheritance: Policies applied to an OU cascade downward to all nested child OUs and member accounts.
  • Management Account Immunity: SCPs do NOT affect principals or the root user in the AWS Organizations Management Account.

Critical SAP-C02 Use Cases

  1. Region Restriction: Denying all actions outside approved AWS regions (aws:RequestedRegion condition key) while exempting global services (IAM, Route 53, CloudFront).
  2. Preventing Disabling Security Services: Denying guardduty:DeleteDetector, cloudtrail:StopLogging, config:DeleteConfigRule.
  3. Disabling Member Account Leave: Denying organizations:LeaveOrganization to ensure accounts remain under corporate governance.
  4. Data Perimeter Defense: Enforcing aws:PrincipalOrgID conditions on S3 and VPC endpoint policies to prevent exfiltration.