You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
If it is related to an existing check, please note the relevant check ID.
Also, explain the logic for this addition / change.
I am trying to use checkov to validate resources enforcing tagging policy over a terraform plan json file. Terraform json has resources under root_module and child_modules.
Despite days of efforts with permutations and combinations, I am looking to
resources that support tags but dont have them. For example, aws_lb_target_group_attachment
resources that are being called as modules (child modules)
Skip checks on resources that dont support tags
What I have found is in resources that dont support tags, terrafrom plan json would not have the key "tags".
Observation is that with the below config, checkov is failing on resources that dont support tags.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
Describe the issue
If it is related to an existing check, please note the relevant check ID.
Also, explain the logic for this addition / change.
I am trying to use checkov to validate resources enforcing tagging policy over a terraform plan json file. Terraform json has resources under root_module and child_modules.
Despite days of efforts with permutations and combinations, I am looking to
What I have found is in resources that dont support tags, terrafrom plan json would not have the key "tags".
Observation is that with the below config, checkov is failing on resources that dont support tags.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
In this example, I was hoping that checkov would skip resource
aws_lb_target_group_attachment
checkov command I am running
checkov -f plan.json --external-checks-dir ckv/ --output json --check CUSTOM_AWS_TAGS
I made sure that there is only 1 checkov yaml filde under folder
ckv
Version (please complete the following information):
3.2.244
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: