Skip to content

Azure Automation account variables are not encrypted

Description

If you have Automation Account Variables storing sensitive data that are not already encrypted, then you will need to delete them and recreate them as encrypted variables.

Code Example

text
{
 "Set-AzAutomationVariable -AutomationAccountName '{AutomationAccountName}' -Encrypted $true -Name '{VariableName}' -ResourceGroupName '{ResourceGroupName}' -Value '{Value}'",
}

Remediation

  • In Azure CLI*

Rule Details

FieldValue
IDIAC-0581
SeverityLOW
IaC Typearm
FrameworksTerraform, TerraformPlan
Checkov IDCKV_AZURE_73

References