Skip to content

Commit

Permalink
added positive test
Browse files Browse the repository at this point in the history
  • Loading branch information
freitasmillena committed Aug 9, 2023
1 parent 3f7845e commit 1c49ee0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
resource "azurerm_function_app" "positive2" {
name = "test-azure-functions"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
app_service_plan_id = azurerm_app_service_plan.example.id
storage_account_name = azurerm_storage_account.example.name
storage_account_access_key = azurerm_storage_account.example.primary_access_key

site_config {
dotnet_framework_version = "v4.0"
scm_type = "LocalGit"
min_tls_version = "1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"severity": "HIGH",
"line": 12,
"fileName": "positive1.tf"
},
{
"queryName": "Function App Not Using Latest TLS Encryption Version",
"severity": "HIGH",
"line": 12,
"fileName": "positive2.tf"
}
]

0 comments on commit 1c49ee0

Please sign in to comment.