Create Org Alert Resolution

Create an alert resolution. The vigil_selector describes which alerts the resolution applies to; matching alerts are hidden after the next org snapshot. Returns the same row shape as the list endpoint. Tokens restricted to specific repositories may only create resolutions anchored to a single granted repository via location.repo; org-wide or multi-repository selectors require an org-wide token.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:

  • alert-resolution:create
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The slug of the organization

Body Params
string
enum
required

The reason the alert is resolved. One of: false_positive, remediated, tolerable_risk, other.

Allowed:
vigil_selector
object
required

Selector describing which alerts the resolution applies to. Fields must all be under finding., location., or artifact.* (e.g. {"finding.alertType": "criticalCVE", "artifact.name": "lodash"}).

string | null

Free-form reason text, mainly for when reason is other (1-256 characters).

string | null

Operator-provided comment (1-1024 characters).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json