App Configuration Using Local Authentication misconfiguration detected in code
App Configuration Using Local Authentication misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_184
Category - Subcategory
IAM - Authentication Policies
Provider
AZURE
Severity
HIGH
Framework
Terraform, Terraform Plan
Impact
Authentication plays a pivotal role in securing Azure App Configuration resources. Azure provides two primary authentication schemes: Azure Active Directory (Azure AD) credentials and access keys. Azure AD credentials offer enhanced security features and are easier to manage, making them the recommended choice by Microsoft over access keys.
This rule ensures that local_auth_enabled attribute in Azure App Configuration resources is set to False. Setting this attribute to True would enable local authentication with access keys, potentially making the resource more susceptible to unauthorized access.
How to Fix
Resource:
azurerm_app_configuration
Arguments:
local_auth_enabled [source,go]
resource "azurerm_app_configuration" "example" { name = "example-app-configuration" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name
... other configurations ...
local_auth_enabled = false // Ensure local authentication is disabled }
Last updated
Was this helpful?
