v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBStatic Analysis
Submit libraries for vulnerability scanning
post/api/v2/static-analysis-sca/dependencies/scan
Request body
Example request
{
"data": {
"attributes": {
"commit_hash": "0e9fc8de83eaabecd722e1cd0ed44fb489fe15fc",
"libraries": [
{
"is_direct": true,
"package_manager": "nuget",
"purl": "pkg:nuget/Newtonsoft.Json@13.0.1"
}
],
"resource_name": "my-org/my-repo"
},
"type": "mcpscanrequest"
}
}Response
Accepted
Example response
{
"data": {
"attributes": {
"job_id": "0190a3d4-1234-7000-8000-000000000000"
},
"id": "0190a3d4-1234-7000-8000-000000000000",
"type": "mcpscanrequestresponse"
}
}