Triage vulnerability
curl --request PATCH \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"status_version": "<string>"
}
'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage"
payload = {
"reason": "<string>",
"status_version": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', status_version: '<string>'})
};
fetch('https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"vulnerability": {
"id": "<string>",
"state": "fixed",
"status": "<string>",
"resolution": "<string>",
"status_version": "<string>",
"confirmed": true,
"triaged": true,
"resolved_at": "<string>",
"updated_at": "<string>"
}
}Vulnerabilities
Triage vulnerability
Transitions a vulnerability between user-writable triage states (open, accepted, ignored). The fixed state is scanner-managed and cannot be submitted. Optionally pass the current status_version for optimistic-locking — when supplied, a 409 is returned if the value is stale. The response carries the new version on success.
PATCH
/
{tenant_slug}
/
vulnerabilities
/
{vulnerability}
/
triage
Triage vulnerability
curl --request PATCH \
--url https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"status_version": "<string>"
}
'import requests
url = "https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage"
payload = {
"reason": "<string>",
"status_version": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', status_version: '<string>'})
};
fetch('https://app.cysmiq.com/api/v1/{tenant_slug}/vulnerabilities/{vulnerability}/triage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"vulnerability": {
"id": "<string>",
"state": "fixed",
"status": "<string>",
"resolution": "<string>",
"status_version": "<string>",
"confirmed": true,
"triaged": true,
"resolved_at": "<string>",
"updated_at": "<string>"
}
}Authorizations
Use a Cysmiq API token in the Authorization header: Bearer {token}.
Path Parameters
Vulnerability prefixed id (vc_...).
Body
application/json
Response
Updated vulnerability triage state.
Show child attributes
Show child attributes
Was this page helpful?