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
CKV2_AZURE_31: I created a set of network resources using custom modules and then run checkov scan on the plan file. Though, there is subnet_nsg association, checkov fails the test case saying there is no association. I checked another example block for azurerm_subnet_network_security_group_association from the Terraform documentation and again run checkov on the plan output and this time, it passed. I don't understand what is the difference between two plan files. Please help me understand what is going wrong.
Examples
The plan output that is not passing the check tflan.json
Describe the issue
CKV2_AZURE_31: I created a set of network resources using custom modules and then run checkov scan on the plan file. Though, there is subnet_nsg association, checkov fails the test case saying there is no association. I checked another example block for azurerm_subnet_network_security_group_association from the Terraform documentation and again run checkov on the plan output and this time, it passed. I don't understand what is the difference between two plan files. Please help me understand what is going wrong.
Examples
The plan output that is not passing the check
tflan.json
The plan that passed the check
exampleplan.json
`
Version (please complete the following information):
Additional context
"Ensure VNET subnet is configured with a Network Security Group (NSG)"
The text was updated successfully, but these errors were encountered: