v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBTriageService
Bulk triage
Bulk triage your findings. You can select the findings to triage by passing in a list of finding IDs as issue_ids, or by passing in filter query parameters. You must specify the issue_type of the findings you want to bulk triage. One of new_triage_state or new_note is required. If specifying a new_triage_reason, you must also use new_triage_state=ignored. Some filters only apply for findings associated with a given product.
post/api/v1/deployments/{deploymentSlug}/triage
Path parameters
deploymentSlugstring required
Deployment slug. Can be found at /deployments, or in your Settings in the web UI.
Request body
Example request
{
"autotriage_verdict": "true_positive",
"categories": [
"security",
"performance"
],
"component_tags": [
"user authentication",
"user data"
],
"confidence": "high",
"dependencies": [
"lodash",
"express"
],
"epss_probability": [
"high",
"medium"
],
"exposures": [
"reachable",
"always_reachable"
],
"include_historical": true,
"issue_ids": [
123,
456
],
"issue_type": "sca",
"limit": 100,
"new_note": "some note here",
"new_triage_reason": "acceptable_risk",
"new_triage_state": "reopened",
"policies": [
"rule-board-block",
"rule-board-pr-comments",
"rule-board-audit"
],
"policy_mode": [
"monitor",
"block"
],
"pro_only": true,
"project_tags": [
"my_project_tag_1",
"my_project_tag_2"
],
"ref": "refs/pull/1234/merge",
"repos": [
"myorg/repo1",
"myorg/repo2"
],
"repository_visibility": [
"public",
"private"
],
"rules": [
"typescript.react.security.audit.react-no-refs.react-no-refs",
"ajinabraham.njsscan.hardcoded_secrets.node_username"
],
"ruleset": [
"owasp-top-ten",
"default"
],
"secret_types": [
"Github",
"Heroku",
"AWS"
],
"severities": [
"low",
"high"
],
"status": "open",
"transitivities": [
"transitive",
"direct"
],
"triage_reasons": [
"acceptable_risk",
"false_positive"
],
"validation_state": [
"valid",
"invalid"
]
}Response
OK