AWS Cloudfront Use Secure Tls Policy is not being detected #6205
felipeng
started this conversation in
False Detection
Replies: 2 comments 2 replies
-
For this check we need to check the value of viewer_protocol_policy. Trivy correctly checks that here: https://github.com/aquasecurity/trivy-policies/blob/main/checks/cloud/aws/cloudfront/enforce_https.go#L52 So Trivy is correct, tfsec is showing a false positive. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for checking. I am also working on the migration of another module and I noticed a similar situation for example:
even with the
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDs
AVD-AWS-0013
Description
Using the same code
tfsec
detect the issue with AWS CloufFront Use Secure Tls Policy, but not usingtrivy
Reproduction Steps
Using this code:
Running
tfsec
:Running
trivy
:Beta Was this translation helpful? Give feedback.
All reactions