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

Storage Account name does not follow naming rules misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_43

Category - Subcategory

Storage - Permissions

Provider

AZURE

Severity

LOW

Framework

ARM, Bicep, Terraform, Terraform Plan

Impact

Azure has the following https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview#naming-storage-accounts[rules for naming] your storage account:

  • Names must be between 3 and 24 characters long

  • Names may contain numbers and lowercase letters only

  • Your storage account name must be unique

This rule ensures that you have not provided an invalid name for your Storage Account.

How to Fix

[source,go]

resource "azurerm_storage_account" "camel_case" {

  • name = "this-Is-Wrong"

  • name = "thisisright" }


Last updated

Was this helpful?