Vulnerabilities and VEX
List vulnerabilities
curl https://api.interlynk.io/lynkapi \
-H "Authorization: Bearer $INTERLYNK_SECURITY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "query Vulns($projectId: Uuid!, $sbomId: Uuid!, $first: Int, $after: String) { sbom(projectId: $projectId, sbomId: $sbomId) { vulns(sbomId: $sbomId, first: $first, after: $after) { totalCount pageInfo { hasNextPage endCursor } nodes { id vuln { vulnId source sev cvssScore } component { name version } vexStatus { id name } } } } }",
"variables": {
"projectId": "1fade833-0603-4139-8ca0-26592264a4c9",
"sbomId": "4e423fe0-d089-4025-b1e4-8fe9608138d6",
"first": 25
}
}'{
"data": {
"sbom": {
"vulns": {
"totalCount": 14,
"pageInfo": { "hasNextPage": false, "endCursor": "MjU" },
"nodes": [
{
"id": "5c11d0e2-0d27-484d-b04f-8df991082652",
"vuln": {
"vulnId": "GHSA-72hv-8253-57qq",
"source": "GITHUB",
"sev": "medium",
"cvssScore": 6.9
},
"component": { "name": "jackson-core", "version": "2.15.2" },
"vexStatus": null
}
]
}
}
}
}Get the VEX status options
Set a VEX status
componentVexUpdate inputs
Input
Type
Description
Errors
Last updated