Azure / Azure/azure-rest-api-specs

Security insight Alert rule Action requires triggerUrl

Open
#11,192 5 comments 0 reactions 0 assignees View on GitHub
question SecurityInsights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

When trying to send a PUT request to "/alertRules/{ruleId}/actions/{actionId}" to link an Alert Rule to a Playbook I get the following error:
`Required property 'triggerUri' not found in JSON. Path 'properties', line 1, position 701.`
This triggerUri is not getting returned when requesting al current actions with the GET request.

Contributor guide

Open the contributing guide

Research direction

Compare the GET response for current alert-rule actions with the PUT request schema for /alertRules/{ruleId}/actions/{actionId}. Trace how the triggerUri property is represented in the API specification, then verify that the schema and returned action data agree and that the PUT request no longer fails validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, openapi
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.