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.
Code Example
go
resource "azurerm_app_service" "example" {
...
+ logs {
+ failed_request_tracing_enabled = true
}
...
}Remediation
Terraform
- Resource: azurerm_app_service
- Arguments: logs.failed_request_tracing_enabled
Rule Details
| Field | Value |
|---|---|
| ID | IAC-0574 |
| Severity | LOW |
| IaC Type | arm |
| Frameworks | Terraform, TerraformPlan |
| Checkov ID | CKV_AZURE_66 |