github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/azure/appservice/AVD-AZU-0003/Terraform.md (about) 1 2 Enable authentication to prevent anonymous request being accepted 3 4 ```hcl 5 resource "azurerm_app_service" "good_example" { 6 name = "example-app-service" 7 location = azurerm_resource_group.example.location 8 resource_group_name = azurerm_resource_group.example.name 9 app_service_plan_id = azurerm_app_service_plan.example.id 10 11 auth_settings { 12 enabled = true 13 } 14 } 15 16 ``` 17 18 #### Remediation Links 19 - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service#enabled 20