latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

hkb-scp-core-protection

SCP-01 org and account settings, SCP-04 no long-lived credentials, SCP-05 data protection.

Property Value
Type Service control policy
Attached to the organization root
Source org/hkb-org-scp.yaml, resource CoreProtectionPolicy

Scp01DenyLeaveCloseAndAccountSettings

- Sid: Scp01DenyLeaveCloseAndAccountSettings
  Effect: Deny
  Action:
    - organizations:LeaveOrganization
    - account:CloseAccount
    - account:PutContactInformation
    - account:PutAlternateContact
    - account:DeleteAlternateContact
    - account:PutAccountName
    - aws-portal:ModifyAccount
    - aws-portal:ModifyBilling
    - aws-portal:ModifyPaymentMethods
  Resource: "*"
  Condition:
    ArnNotLike:
      aws:PrincipalArn:
        - arn:aws:iam::*:role/AWSControlTowerExecution
        - arn:aws:iam::*:role/aws-controltower-*
        - arn:aws:iam::*:role/service-role/aws-controltower-*
        - arn:aws:iam::*:role/stacksets-exec-*

Scp04DenyLongLivedCredentials

- Sid: Scp04DenyLongLivedCredentials
  Effect: Deny
  Action:
    - iam:CreateUser
    - iam:CreateAccessKey
    - iam:CreateLoginProfile
    - iam:UpdateLoginProfile
  Resource: "*"
  Condition:
    ArnNotLike:
      aws:PrincipalArn:
        - arn:aws:iam::*:role/AWSControlTowerExecution
        - arn:aws:iam::*:role/aws-controltower-*
        - arn:aws:iam::*:role/service-role/aws-controltower-*
        - arn:aws:iam::*:role/stacksets-exec-*

Scp05DenyWeakeningS3PublicAccessBlock

- Sid: Scp05DenyWeakeningS3PublicAccessBlock
  Effect: Deny
  Action:
    - s3:PutAccountPublicAccessBlock
  Resource: "*"
  Condition:
    ArnNotLike:
      aws:PrincipalArn:
        - arn:aws:iam::*:role/AWSControlTowerExecution
        - arn:aws:iam::*:role/aws-controltower-*
        - arn:aws:iam::*:role/service-role/aws-controltower-*
        - arn:aws:iam::*:role/stacksets-exec-*
        - !Sub arn:aws:iam::*:role/${PipelineRoleNamePattern}

Scp05DenyKmsKeyDeletion

- Sid: Scp05DenyKmsKeyDeletion
  Effect: Deny
  Action:
    - kms:ScheduleKeyDeletion
    - kms:DeleteImportedKeyMaterial
  Resource: "*"
  Condition:
    ArnNotLike:
      aws:PrincipalArn:
        - arn:aws:iam::*:role/AWSControlTowerExecution
        - arn:aws:iam::*:role/aws-controltower-*
        - arn:aws:iam::*:role/service-role/aws-controltower-*
        - arn:aws:iam::*:role/stacksets-exec-*
        - !Sub arn:aws:iam::*:role/${PipelineRoleNamePattern}

Page information

Owner
Security Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
org/hkb-org-scp.yaml
Linked from
Controls, Policy catalog
Plain markdown
/wiki/policies/hkb-scp-core-protection/index.md