During a security review, an organization requires a SysOps administrator to confirm that all AWS CloudTrail logs stored in a centralized Amazon S3 bucket remain untampered. Although log file integrity validation is active, the administrator must run a manual check to verify the authenticity of the logs delivered over the past week. Which action should the administrator take to perform this verification?
- Execute the aws cloudtrail validate-logs command via the AWS CLI to cryptographically verify the signatures of the log files against the digest files.Cevap
- BQuery the S3 bucket access logs using Amazon Athena to identify any PUT or DELETE operations that occurred on the log files.
- CConfigure an Amazon EventBridge rule to trace API activity and trigger a Systems Manager Automation runbook to compare the S3 object metadata.
- DChange the CloudTrail log group settings in Amazon CloudWatch Logs to verify the cryptographic checksum of the streamed log events.
Cevap
Execute the aws cloudtrail validate-logs command via the AWS CLI to cryptographically verify the signatures of the log files against the digest files.
The correct action is to run the validate-logs command from the AWS CLI. When log file integrity validation is enabled, CloudTrail creates digest files every hour containing the hash of each log file and a digital signature. The command automatically downloads these digests and the corresponding log files, recalculates the hashes, and validates the digital signatures to ensure that the logs have not been tampered with or deleted since creation.
Adım Adım Çözüm
Anahtar Kavram
CloudTrail Log File Integrity Validation