Github API - Test Config

GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}
repos
code-scanning

Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "Get a code scanning analysis for a repository." You must use an access token with the security_events scope to use this endpoint with private repos, the public_repo scope also grants permission to read security events on public repos only. GitHub Apps must have the security_events read permission to use this endpoint.
Get information about a SARIF upload

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

sarif_id string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json code-scanning-sarifs-status

code-scanning-sarifs-status [object]

Attributes
analyses_url string

The REST API URL for getting the analyses associated with the upload.

errors string []

processing_status string

pending files have not yet been processed, while complete means results from the SARIF have been stored. failed files have either not been processed at all, or could only be partially processed.

API:
Github Open API
(version: 1.1.4)
403 code_scanning_forbidden_read

code_scanning_forbidden_read [scalar]

Response if GitHub Advanced Security is not enabled for this repository

API:
Github Open API
(version: 1.1.4)
503 service_unavailable

service_unavailable [scalar]

Service unavailable

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)