-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(terraform): add null as allowed value, when checking for presence…
… of public IP in CKV2_AZURE_39 (#6094) * add null as allowed value for public-ips * add tests for empty/null list in AzureVMconfigPublicIP_SerialConsoleAccess * correct type of "ip_configuration.public_ip_address_id" to string --------- Co-authored-by: Taylor <[email protected]>
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.../terraform/graph/checks/resources/AzureVMconfigPublicIP_SerialConsoleAccess/expected.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
pass: | ||
- "azurerm_network_interface.pass_int_1" | ||
- "azurerm_network_interface.pass_int_2" | ||
- "azurerm_network_interface.pass_int_3" | ||
- "azurerm_network_interface.pass_int_4" | ||
fail: | ||
- "azurerm_network_interface.fail_int" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters