nccgroup / ScoutSuite

Multi-Cloud Security Auditing Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: suppress S3 "Bucket Access Logging Disabled" if data event logging is enabled

rdegraaf opened this issue · comments

Is your feature request related to a problem? Please describe.

AWS S3 accesses can be logged using either an S3-native mechanism that writes directly to a separate S3 Bucket, or using AWS CloudTrail's "data event logging" feature. Currently, the check "Bucket Access Logging Disabled" looks for Buckets that do not have the S3-native mechanism enabled but disregards CloudTrail. Since there is usually no good reason to use both forms of logging at the same time, this results in false positives.

Describe the solution you'd like

ScoutSuite should only report "Bucket Access Logging Disabled" for S3 when CloudTrail data event logging is not enabled.