An enterprise manages its multi-account environment using AWS Organizations. The account structure includes a Security Organizational Unit (OU) and a Workloads OU. The security team has defined a policy stating that member accounts within the Workloads OU must never disable AWS Security Hub, delete Amazon GuardDuty detectors, or stop AWS Config recorders. However, during incident response operations, a centralized security role named SecurityIncidentResponseRole, which is provisioned across all member accounts, must be able to perform these administrative tasks to remediate issues. The solution must ensure these compliance guardrails are automatically applied to new accounts in the Workloads OU and cannot be bypassed by local account administrators or the root user.
Which solution meets these requirements with the least operational overhead?
- ADefine an IAM permissions boundary that denies the security modification actions. Apply this permissions boundary to all IAM users and roles in the member accounts within the Workloads OU. Use AWS Systems Manager to automate the boundary attachment for any newly created accounts.
- Create a Service Control Policy (SCP) that denies the securityhub:DisableSecurityHub, guardduty:DeleteDetector, and config:DeleteConfigurationRecorder actions. Add a condition to the SCP using the ArnNotEquals operator to exclude arn:aws:iam::*:role/SecurityIncidentResponseRole from the restriction. Attach the SCP to the Workloads OU.Cevap
- CConfigure the SAML 2.0 identity federation trust relationship for all member accounts to map federated users to an IAM role that lacks permissions for these security actions. Restrict the trust policy of the SecurityIncidentResponseRole to only accept SAML assertions from the centralized security identity provider.
- DCreate a centralized S3 bucket and an AWS KMS customer managed key (CMK) in the Security account. Update the bucket policy and KMS key policy to deny all write operations unless the caller's principal ARN is arn:aws:iam::*:role/SecurityIncidentResponseRole. Configure all workload accounts to log to this bucket.