code-scanning-analysis-created-at
stringThe time that the analysis was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
code-scanning-analysis-url
stringThe REST API URL of the analysis resource.
code-scanning-analysis
objectThe full Git reference, formatted as refs/heads/<branch name>
,
refs/pull/<number>/merge
, or refs/pull/<number>/head
.
The SHA of the commit to which the analysis you are uploading relates.
Match pattern:^[0-9a-fA-F]+$
>= 40 characters<= 40 characters
Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.
Identifies the variable values associated with the environment in which this analysis was performed.
Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code.
Example:error reading field xyz
The time that the analysis was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The total number of results in the analysis.
The total number of rules used in the analysis.
Unique identifier for this analysis.
The REST API URL of the analysis resource.
An identifier for the upload.
Example:6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
Show Child Parameters
Warning generated when processing the analysis
Example:123 results were ignored
code-scanning-analysis-sarif-file
stringA Base64 string representing the SARIF file to upload. You must first compress your SARIF file using gzip
and then translate the contents of the file into a Base64 encoding string. For more information, see “SARIF support for code scanning.”
code-scanning-sarifs-receipt
objectAn identifier for the upload.
Example:6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
The REST API URL for checking the status of the upload.