Last active
November 21, 2023 20:51
-
-
Save rvdouderaa/40821f63aa1407279a3e29292f34ce0c to your computer and use it in GitHub Desktop.
tfsec_ftlint xml files
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites> | |
<testsuite tests="1" failures="1" time="0" name=""> | |
<properties></properties> | |
<testcase classname="src/variables.tf" name="terraform_typed_variables" time="0"> | |
<failure message="src/variables.tf:1,1-16: `name` variable has no type" type="Warning">Warning: `name` variable has no type
Rule: terraform_typed_variables
Range: src/variables.tf:1,1-16</failure> | |
</testcase> | |
</testsuite> | |
</testsuites> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites> | |
<testsuite tests="2" failures="2" time="0" name=""> | |
<properties></properties> | |
<testcase classname="src/variables.tf" name="terraform_typed_variables" time="0"> | |
<failure message="src/variables.tf:1,1-16: `name` variable has no type" type="Warning">Warning: `name` variable has no type
Rule: terraform_typed_variables
Range: src/variables.tf:1,1-16</failure> | |
</testcase> | |
<testcase classname="src/variables.tf" name="terraform_typed_variables" time="0"> | |
<failure message="src/variables.tf:16,1-31: `resource_group_name` variable has no type" type="Warning">Warning: `resource_group_name` variable has no type
Rule: terraform_typed_variables
Range: src/variables.tf:16,1-31</failure> | |
</testcase> | |
</testsuite> | |
</testsuites> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuite name="tfsec" failures="1" tests="2"> | |
<testcase classname="key_vault.tf" name="[azure-keyvault-specify-network-acl][CRITICAL] - Vault network ACL does not block access by default." time="0"> | |
<failure message="Vault network ACL does not block access by default." type="">key_vault.tf:9-45

resource "azurerm_key_vault" "main" {
 name = var.name
 resource_group_name = var.resource_group_name
 location = data.azurerm_resource_group.main.location

 enable_rbac_authorization = true

 sku_name = "standard"
 tenant_id = var.tenant_id


See https://aquasecurity.github.io/tfsec/v1.28.4/checks/azure/keyvault/specify-network-acl/</failure> | |
</testcase> | |
</testsuite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment