azure-automation-runbook-source
Runbook source code can hard-code credentials or retrieve and print protected assets.
Where it sits
| location | Microsoft.Automation/automationAccounts/runbooks/content |
| location kind | code_artifact |
| data kinds | credential password api_key access_key secret_key oauth_token connection_string source_code_secret |
| emits edge | ContainsSecret |
| service | Azure Automation (azure:automation) |
Collection recipe
| access mode | read_api |
| operation | Runbook - Get Content |
| response path | $value |
| encoding | string |
| params | {"resource_id": "\u003cazure-resource-id\u003e"} |
Required permissions
Microsoft.Automation/automationAccounts/runbooks/content/read
References