Benchmark: 8.2 Collect Audit Logs
Description
Collect audit logs. Ensure that logging, per the enterprise’s audit log management process, has been enabled across enterprise assets.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select 8.2 Collect Audit Logs.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.cis_controls_v8_ig1_8_2Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.cis_controls_v8_ig1_8_2 --shareControls
- API Gateway stage logging should be enabled
 - CloudFront distributions access logs should be enabled
 - At least one multi-region AWS CloudTrail should be present in an account
 - All S3 buckets should log S3 data events in CloudTrail
 - At least one enabled trail should be present in a region
 - CloudTrail trails should be integrated with CloudWatch logs
 - ELB application and classic load balancer logging should be enabled
 - Elasticsearch domain should send logs to CloudWatch
 - Database logging should be enabled
 - Redshift cluster audit logging and encryption should be enabled
 - S3 bucket logging should be enabled
 - VPC flow logs should be enabled
 - WAF web ACL logging should be enabled
 - Logging should be enabled on AWS WAFv2 regional and global web access control list (ACLs)