bug(misconf): false negative AVD-AWS-0057 when aws_iam_policy_document
contains count Meta-Argument
#5552
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Trivy does not report AVD-AWS-0057 when a policy uses
aws_iam_policy_document
source that contains a count Meta-Argument.Example:
Output:
But reports if I use the inline policy (which is completely equivalent to the document above):
Also, when using the iline policy, the range is not displayed correctly.
The text was updated successfully, but these errors were encountered: