Cortex CloudApplication Security
Secrets are exposed in Azure VM customData misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_45
Category - Subcategory
Public Exposure - Encryption And Protocols
Provider
AZURE
Severity
HIGH
Framework
ARM, Bicep, Terraform, Terraform Plan
Impact
Ensure that no sensitive credentials are exposed in VM custom_data
How to Fix
Remove the following attribute from the Terraform resource. [source,go]
resource "azurerm_virtual_machine" "main" { name = "${var.prefix}-vm" ... os_profile { ...
custom_data = "MY_SECRET_VALUE" } ... }
PreviousAWS SQS queue access policy is overly permissive misconfiguration detected in code
NextAzure Linux scale set does not use an SSH key misconfiguration detected in code
Last updated
Was this helpful?
