Translate Org Alert Triage
Changed onTranslate a legacy alert triage payload — the same body as POST /v0/orgs/{org_slug}/triage/alerts — into the resolution or policy-rule requests that replace it. Nothing is created. Policy-rule translations target the default (Main) policy, which covers repositories without a policy label; labeled policies do not inherit those rules, so POST the same body to /alert-policies/{id}/rules if the rule should apply there. Entries that cannot be translated are returned in untranslatable; the rest are in translations. Requires one of: triage:alerts-update, alert-policy:read, or alert-resolution:create.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- No Scopes Required, but authentication is required
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/alert-policies/migration/translate
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
The slug of the organization
Request body
Response
Translated requests, plus any entries that have no equivalent.
Changes
- info
endpoint added
- info