fix(checks): Update Athena KMS argument to latest spec #5894
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Terraform uses
kms_key
now as the argument instead ofkms_key_arn
. We'll need to update this in our checks:avd-aws-0007
andavd-aws-0006
.Discussed in #5870
Originally posted by ConorWright January 4, 2024
Description
Athena encryption and workgroup configuration are being triggered when I have this set up in terraform. I imagine the issue for athena database is that terraform expects
kms_key
and trivy expectskms_key_arn
here but not sure what is causing the workgroup issue. Examples of the terraform json are below. Irrelevant fields are removed for brevity. Names changed for privacy. Autogenerated from cdktf.Desired Behavior
The below to not appear in my trivy output
Actual Behavior
The above appearing in trivy output.
Reproduction Steps
Target
AWS
Scanner
Misconfiguration
Output Format
SARIF
Mode
Standalone
Debug Output
Operating System
MacOS Sonama 14.1.1
Version
Checklist
trivy image --reset
The text was updated successfully, but these errors were encountered: