-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(cloudformation): False Positive detection for AVD-AWS-0088 #6024
Comments
@simar7 This issue also applies to the AVD-AWS-0132 check, which checks Customer Managed Keys. AWS now applies server-side encryption by default.
How relevant is the AVD-AWS-0088 check? |
Hmm that's an interesting point. Although I wonder if there's any value keeping the check around but instead "deprecating" it. Users with older versions of policy bundle will continue to see the old checks unless they update. In this case they will not receive any info on the AVD page for the check as it's been removed. Same issue goes for the airgapped/offline users of Trivy. We haven't deprecated a check yet but the above might be something to consider going forwards as checks become obsolete. Thoughts? |
@simar7 Until a decision is made to consider this check deprecated, I can fix the FP. We should not consider the bucket encrypted on the server side only if the algorithm |
Maybe lower the severity to LOW and add the recommendation instead, similar to https://avd.aquasec.com/misconfig/aws/cloudwatch/avd-aws-0017/ |
We should not warn about
AVD-AWS-0088
if theKMSMasterKeyID
attribute references an ARN, id or key alias.Example:
Ref:
Discussed in #6022
Originally posted by yama-6 January 31, 2024
IDs
AVD-AWS-0088
Description
I enabled Server side Encryption on S3 bucket, but trivy detected "AVD-AWS-0088"
similar discussion: #5262
Reproduction Steps
trivy config cdk_template.yaml
thenAVD-AWS-0088
is detecedTarget
AWS
Scanner
Misconfiguration
Target OS
M1 macOS 14.1.2
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctThe text was updated successfully, but these errors were encountered: