Code Scanning (SAST)
Use the REST API to query static code scanning (SAST) metrics
Last updated
Was this helpful?
Use the REST API to query static code scanning (SAST) metrics
Last updated
Was this helpful?
The SAST API provides a RESTful interface for querying various metrics related to code-scanning findings and events. It offers endpoints to retrieve information about SAST findings, events, and counts.
This endpoint returns the list of events that have occurred related to code findings.
Event types:
new-branch-summary
new-finding
new-findings
new-fix
new-fixes
new-allowlisted-finding
new-allowlisted-findings
new-unallowlisted-finding
new-unallowlisted-findings
new-pull-request-finding
new-pull-request-findings
new-pull-request-fix
new-pull-request-fixes
new-pull-request-allowlisted-finding
new-pull-request-allowlisted-findings
new-pull-request-unallowlisted-finding
new-pull-request-unallowlisted-findings
This endpoint returns the list of findings found in the code.
This endpoint returns the details of a SAST finding
Returns SAST events after a specified timestamp or event ID. All events are returned if no timestamp or event ID is provided. A maximum of 100 events can be returned per request.
The Azure organization ID
The Github owner ID
The GitLab group ID
The Nullify installation ID
Returns a filtered set of SAST findings based on query parameters
The Azure organization ID
The Github owner ID
The GitLab group ID
The Nullify installation ID
Returns a given finding with explanation and impact
The Azure organization ID
The Github owner ID
The GitLab group ID
The Nullify installation ID