Ensure app service enables failed request tracing
Error: App service does not enable failed request tracing
Bridgecrew Policy ID: BC_AZR_LOGGING_10
Checkov Check ID: CKV_AZURE_66
Severity: LOW
App service does not enable failed request tracing
Description
By enabling failed request tracing for your app service, you can collect this information and use it to troubleshoot issues with your app and identify potential problems. This can help to ensure that your app is running smoothly and is able to handle any errors that might occur.
Fix - Buildtime
Terraform
- Resource: azurerm_app_service
- Argument: logs.failed_request_tracing_enabled
resource "azurerm_app_service" "example" {
...
+ logs {
+ failed_request_tracing_enabled = true
}
...
}
Updated 9 months ago