For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

App service disables detailed error messages misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_65

Category - Subcategory

Public Exposure - APIs

Provider

AZURE

Severity

LOW

Framework

ARM, Bicep, Terraform, Terraform Plan

Impact

Detailed error messages provide more information about an error that occurs in your app, such as the error code, the line of code where the error occurred, and a description of the error. This information can be very useful for debugging issues with your app and identifying the root cause of the problem.

How to Fix

Resource: azurerm_app_service

  • Arguments: detailed_error_messages_enabled [source,go]


resource "azurerm_app_service" "example" { ...

  • logs {

  • detailed_error_messages_enabled = true

  • } ... }


Last updated

Was this helpful?