A global healthcare technology enterprise manages member accounts within AWS Organizations. The security team requires a centralized auditing solution that aggregates AWS CloudTrail logs from all member accounts and regions into a single Amazon S3 bucket located in a dedicated Security account. The solution must ensure that all log data is encrypted at rest using a customer managed KMS key (KMS CMK). Additionally, member accounts must be prevented from disabling logging or modifying the trail configuration. Which TWO actions should the Solutions Architect take to implement this solution securely?
- Configure an organization trail from the management account, and specify a Customer Managed Key (CMK) in the Security account with a key policy that allows the 'cloudtrail.amazonaws.com' service principal to perform 'kms:GenerateDataKey*' and 'kms:DescribeKey' actions, restricted by a condition matching the organization's ID.Answer
- Apply a Service Control Policy (SCP) to the organization root that denies 'cloudtrail:DeleteTrail', 'cloudtrail:StopLogging', and 'cloudtrail:UpdateTrail' actions, unless the caller is the organization's management account.Answer
- CConfigure the organization trail to encrypt logs using the AWS-managed KMS key for Amazon S3 ('aws/s3') in the Security account to simplify key management across all regions.
- DAttach a Service Control Policy (SCP) to the organization root that explicitly allows 'cloudtrail:StartLogging' and 'cloudtrail:CreateTrail' for all member accounts to ensure that logging permissions are enforced regardless of local IAM policies.
- EIn the Security account, configure the central S3 bucket policy to grant 's3:PutObject' permissions directly to the IAM administrative roles in each member account.
Answer
Configure an organization trail from the management account using a Customer Managed Key in the Security account with a key policy allowing the CloudTrail service principal to perform key actions restricted by the AWS Organization ID, and apply a Service Control Policy to the organization root that denies deletion, stopping, or modification of the trail by member accounts.
To implement centralized auditing securely, the Solutions Architect must configure a customer managed KMS key in the Security account with a policy allowing the CloudTrail service principal to generate data keys, restricted by the organization's ID. Additionally, a Service Control Policy (SCP) must be attached to the organization root to deny modification or deletion of the trail by member accounts.
Step-by-Step Solution
Key Concept
Centralized Organization Trail with Cross-Account Customer Managed Keys and Service Control Policies