AWS logging & audit security checks
Audit logs, event retention and incident-response hooks — the evidence you need when something goes wrong, and the controls auditors ask for first.
On AWS, Black Cat runs 6 checks in this area on every scan. Each one below lists its severity, how to fix it, and the compliance controls it satisfies where a control applies. See what access the AWS connector needs.
Checks (6)
severity: critical CloudTrail Not Logging fix difficulty: easy #
Enable logging on the CloudTrail trail to ensure API activity is being recorded
- Navigate to CloudTrail > Trails in the AWS Console
- Click the trail name to open it
- If logging is stopped, click "Start logging" in the trail details
- If no trail exists, click "Create trail" and configure it with an S3 bucket destination
- Enable log file validation and optionally send logs to CloudWatch Logs
- Verify the trail status shows "Logging" as active
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-5.2 GDPR (SaaS Security) GDPR-33.1 HIPAA (SaaS Security) HIPAA-312.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1
severity: medium CloudTrail Log Validation Disabled fix difficulty: easy #
Enable log file validation on the CloudTrail trail to detect tampering
- Navigate to CloudTrail > Trails in the AWS Console
- Click the trail name to open it
- Click "Edit" in the trail configuration section
- Under "Additional settings", enable "Log file validation"
- Click "Save changes"
- Verify the trail detail page shows "Log file validation enabled"
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-5.2 HIPAA (SaaS Security) HIPAA-312.b HIPAA (SaaS Security) HIPAA-316.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1
severity: high CloudTrail Not Multi-Region fix difficulty: easy #
Configure the CloudTrail trail to log events across all AWS regions
- Navigate to CloudTrail > Trails in the AWS Console
- Click the trail name to open it
- Click "Edit" in the trail configuration section
- Under "Trail settings", set "Apply trail to all regions" to enabled
- Click "Save changes"
- Verify the trail is now listed as a multi-region trail
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-5.2 HIPAA (SaaS Security) HIPAA-312.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1
severity: high CloudTrail Data Events Disabled fix difficulty: medium #
Enable data event logging for S3, Lambda, and DynamoDB on the CloudTrail trail
- Navigate to CloudTrail > Trails in the AWS Console
- Click the trail name to open it
- Click "Edit" on the "Data events" section
- Enable data events for the services you need (S3, Lambda, DynamoDB)
- Scope the selectors to specific buckets or functions to control cost
- Click "Save changes"
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-32.1d HIPAA (SaaS Security) HIPAA-312.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1
severity: high VPC Flow Logs Disabled fix difficulty: easy #
Enable VPC flow logs to capture accepted and rejected traffic metadata
- Navigate to VPC > Your VPCs in the AWS Console
- Select the flagged VPC
- Under the "Flow logs" tab, click "Create flow log"
- Set filter to "All", choose "CloudWatch Logs" or "S3" as the destination
- Provide an IAM role with permission to write flow logs
- Click "Create flow log" and verify it appears as "Active"
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-32.1d HIPAA (SaaS Security) HIPAA-312.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1
severity: high AWS Config Not Recording fix difficulty: medium #
Enable AWS Config in every active region and record all supported resource types
- Navigate to AWS Config in the flagged region
- Click "Get started" if Config has never been enabled
- Under "Recording strategy", choose "Record all resources supported in this region"
- Include global resources in at least one region
- Provide an S3 bucket and optional SNS topic for the delivery channel
- Click "Confirm" and verify the recorder shows "Recording is on"
Satisfies: ISO 27001:2022 A.8.9 SOC 2 Type II CC7.2 CIS Controls v8 CIS-08 NIST CSF 2.0 DE.CM GDPR (SaaS Security) GDPR-32.1d HIPAA (SaaS Security) HIPAA-312.b NIS2 Directive NIS2-21.b.2 DORA (SaaS Security) DORA-10.1