Closed gurevichdmitry closed 1 year ago
Describe the bug When object-level logging for write / read events is enabled for S3 bucket evaluation is failed.
Audit: aws cloudtrail get-event-selectors --region us-west-2 --trail-name test-aws-file-validation-on-pass --query "EventSelectors[*].DataResources[]"
aws cloudtrail get-event-selectors --region us-west-2 --trail-name test-aws-file-validation-on-pass --query "EventSelectors[*].DataResources[]"
Preconditions ELK Stack 8.8 is deployed
To Reproduce Steps to reproduce the behavior:
Expected behavior Evaluation result for rules 3.10 and 3.11 is passed
Current rego implementation support writing and reading to all s3 buckets instead of supporting all and a specific bucket.
partialARN == "arn:aws:s3"
Should be:
contains(partialARN, "arn:aws:s3")
Describe the bug When object-level logging for write / read events is enabled for S3 bucket evaluation is failed.
Audit:
aws cloudtrail get-event-selectors --region us-west-2 --trail-name test-aws-file-validation-on-pass --query "EventSelectors[*].DataResources[]"
Preconditions ELK Stack 8.8 is deployed
To Reproduce Steps to reproduce the behavior:
Expected behavior Evaluation result for rules 3.10 and 3.11 is passed