Skip to content

Azure Function App authentication is off

Description

Azure App Service Authentication is a feature that can prevent anonymous HTTP requests from reaching the Function app, or authenticate those that have tokens before they reach the Function app.

Code Example

go
resource "azurerm_function_app" "example" {
              ...
 +            auth_settings {
 +              enabled = true
              }
            }

Remediation

Terraform

  • Resource: azurerm_function_app
  • Arguments: auth_settings.enabled

Rule Details

FieldValue
IDIAC-0565
SeverityLOW
IaC Typearm
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AZURE_56

References