A financial services company is designing a centralized auditing and logging architecture for its AWS Organizations structure, which consists of member accounts. The security team requires all AWS CloudTrail logs from all accounts and regions to be consolidated into a single Amazon S3 bucket located in a dedicated Log Archive account.
The solution must meet the following requirements:
- All logs must be encrypted at rest using an AWS KMS Customer Managed Key (CMK) to comply with external regulations.
- Local administrators in the member accounts must be prevented from disabling logging, modifying trails, or deleting log archives.
- The principle of least privilege must be applied to S3 bucket and KMS key access.
- Administrative operations for CloudTrail must be delegated to a dedicated Security tooling account, avoiding the use of the Organizations management account for daily administration.
Which combination of configurations should a solutions architect implement to meet these requirements?
- Register the Security tooling account as a delegated administrator for CloudTrail. In the Log Archive account, create an S3 bucket and a KMS customer managed key. Configure the S3 bucket policy to allow the s3:PutObject action for the CloudTrail service principal, restricted by the aws:PrincipalOrgID condition. Configure the KMS key policy to allow the kms:GenerateDataKey* and kms:DescribeKey actions for the CloudTrail service principal, restricted by the aws:PrincipalOrgID condition. In the Security tooling account, create an organization trail pointing to the central S3 bucket and KMS key. Apply a Service Control Policy (SCP) at the organization root that denies CloudTrail write and delete actions unless the caller is the delegated administrator.Cevap
- BRegister the Security tooling account as a delegated administrator for CloudTrail. In the Log Archive account, create an S3 bucket and enable default encryption using the AWS-managed KMS key for Amazon S3 (aws/s3). Configure the S3 bucket policy to allow the s3:PutObject action for the CloudTrail service principal. In the Security tooling account, create an organization trail pointing to the central S3 bucket. Apply a Service Control Policy (SCP) at the organization root that denies CloudTrail write and delete actions unless the caller is the delegated administrator.
- CRegister the Security tooling account as a delegated administrator for CloudTrail. In the Log Archive account, create an S3 bucket and a KMS customer managed key. Configure the S3 bucket policy by explicitly listing the root ARN of each of the member accounts in the principal element for the s3:PutObject action. Configure the KMS key policy to explicitly list the root ARN of all member accounts. In the Security tooling account, create an organization trail pointing to the S3 bucket. Apply a Service Control Policy (SCP) at the organization root that denies CloudTrail write and delete actions unless the caller is the delegated administrator.
- DRegister the Security tooling account as a delegated administrator for CloudTrail. In the Log Archive account, create an S3 bucket and a KMS customer managed key. Create a Service Control Policy (SCP) at the organization root that explicitly allows the s3:PutObject action and kms:GenerateDataKey* actions for the CloudTrail service in all OUs. In the Security tooling account, create an organization trail. Do not configure resource-based policies on the S3 bucket or KMS key in the Log Archive account, relying instead on the root SCP to authorize the log delivery.