Skip to content

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

FieldValue
IDIAC-0574
SeverityLOW
IaC Typearm
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AZURE_66

References