An enterprise manages its multi-account environment using AWS Organizations. The environment is structured with a Root OU, a Security OU containing a dedicated security auditing account, and a Workloads OU containing production application accounts. The enterprise's security posture mandates that:
- Development teams must be blocked from modifying, disabling, or deleting security services (Amazon GuardDuty, AWS CloudTrail, and AWS Config) within their workload accounts.
- The central security team must be able to perform emergency maintenance and updates on these configurations within the workload accounts using a pre-deployed IAM role named SecurityAdmin.
- Operational operations must be delegated away from the management account to maintain isolation.
Which solution meets these requirements with the least operational overhead?
- ADeploy an IAM permission boundary to all workload accounts. Require that all developer IAM users and roles have this boundary attached, which explicitly denies modifications to GuardDuty, CloudTrail, and AWS Config. Exclude the SecurityAdmin role from this boundary. Use AWS CloudFormation StackSets to deploy and update the boundary across all accounts.
- BAttach a Service Control Policy (SCP) to the Workloads OU that explicitly allows GuardDuty, CloudTrail, and AWS Config operations only for the SecurityAdmin role, and denies them to all other roles. Rely on this SCP to grant the necessary administrative permissions to the central security team without configuring local IAM policies in the workload accounts.
- Register the security auditing account as the delegated administrator for Amazon GuardDuty, AWS CloudTrail, and AWS Config. Apply a Service Control Policy (SCP) to the Workloads OU that denies modification and deletion of these security services, using a condition block with the ArnNotEquals key to exclude the SecurityAdmin role's ARN. Ensure local developer roles do not have permissions to assume or modify the SecurityAdmin role.Answer
- DConfigure cross-account IAM roles in the workload accounts that trust the organization's management account. Use the management account to centrally deploy and manage the security configurations. Attach an SCP to the Workloads OU that denies all modifications and deletions of GuardDuty, CloudTrail, and AWS Config for all principals within the OU.