alert-policies
Get Org Alert Policy
Changed onFetch a single alert policy by ID. Use default as the ID for the default policy, which applies to all repositories without a policy label. Requires a token with org-wide repository access; repo-restricted tokens receive 403.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- alert-policy:read
get/orgs/{org_slug}/alert-policies/{policy_id}
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/alert-policies/{policy_id}
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
org_slugstring required
The slug of the organization
policy_idstring required
The ID of the alert policy: a UUID, or default for the default policy
Response
The requested alert policy.
Changes
- info
endpoint added
- info