Governance Anti Patterns Storage - Azure/az-prototype GitHub Wiki
Storage account access and data exposure detection
Domain: storage
| Check | Description |
|---|---|
| ANTI-STOR-001 | Storage account shared key access enabled — disable shared key and use Entra ID RBAC with managed identity. |
| ANTI-STOR-002 | Blob public access enabled — set allowBlobPublicAccess = false. |
Storage account shared key access enabled — disable shared key and use Entra ID RBAC with managed identity.
Rationale: Shared key authentication is a legacy pattern that bypasses Entra ID conditional access, PIM, and per-identity audit trails.
Agents: terraform-agent, bicep-agent
| Services | Triggers On | Correct Patterns |
|---|---|---|
|
|
|
Blob public access enabled — set allowBlobPublicAccess = false.
Rationale: Public blob access allows anonymous internet users to read container contents without any authentication.
Agents: terraform-agent, bicep-agent
| Services | Triggers On | Correct Patterns |
|---|---|---|
|
|
|