Benchmark: PR.PS-04
Description
Log records are generated and made available for continuous monitoring.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select PR.PS-04.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.nist_csf_v2_pr_ps_04
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.nist_csf_v2_pr_ps_04 --share
Controls
- AppSync graphql API logging should be enabled
- CloudFront distributions access logs should be enabled
- At least one enabled trail should be present in a region
- CloudTrail trail logs should be encrypted with KMS CMK
- CloudTrail trail log file validation should be enabled
- Log group retention period should be at least 365 days
- CodeBuild projects should have logging enabled
- CodeBuild project S3 logs should be encrypted
- ECS task definitions should have logging enabled
- Elastic Beanstalk environments should have enhanced health reporting enabled
- Elasticsearch domains should have audit logging enabled
- Elasticsearch domain error logging to CloudWatch Logs should be enabled
- Elasticsearch domain should send logs to CloudWatch
- Log group encryption at rest should be enabled
- Ensure a log metric filter and alarm exist for S3 bucket policy changes
- Ensure a log metric filter and alarm exist for AWS Management Console authentication failures
- Ensure a log metric filter and alarm exist for AWS Management Console sign-in without MFA
- Ensure a log metric filter and alarm exist for IAM policy changes
- Ensure a log metric filter and alarm exist for usage of 'root' account
- Neptune DB clusters should publish audit logs to CloudWatch Logs
- Network Firewall logging should be enabled
- Route 53 zones should have query logging enabled
- S3 bucket logging should be enabled
- S3 buckets object logging should be enabled