File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/pentesting-cloud/azure-security/az-privilege-escalation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -164,12 +164,13 @@ New-AzAutomationWebHook -Name <webhook-name> -ResourceGroupName <res-group> -Aut
164164With AzureCLI and REST:
165165``` bash
166166az rest --method put \
167- --uri " https://management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<res-group>/providers/Microsoft.Automation/automationAccounts/<automation-account-name>/webhooks/{ webhook-name} ?api-version=2015-10-31" \
167+ --uri " https://management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<res-group>/providers/Microsoft.Automation/automationAccounts/<automation-account-name>/webhooks/< webhook-name> ?api-version=2015-10-31" \
168168 --body ' {
169169 "name": "<webhook-name>",
170170 "properties": {
171171 "isEnabled": true,
172172 "expiryTime": "2027-12-31T23:59:59+00:00",
173+ "runOn": "<worker name>",
173174 "runbook": {
174175 "name": "<runbook-name>"
175176 }
You can’t perform that action at this time.
0 commit comments