code-scanning-analysis-category
stringIdentifies 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.
code-scanning-alert-location
objectDescribe a region within a file for the alert.
code-scanning-alert-classification
stringA classification of the file. For example to identify it as generated.
Allowed values:sourcegeneratedtestlibrary
code-scanning-alert-instance
objectThe full Git reference, formatted as refs/heads/<branch name>
,
refs/pull/<number>/merge
, or refs/pull/<number>/head
.
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 the analysis that generated this alert instance was performed, such as the language that was analyzed.
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.
State of a code scanning alert.
Allowed values:opencloseddismissedfixed
Show Child Parameters
Describe a region within a file for the alert.
Show Child Parameters
A classification of the file. For example to identify it as generated.
Allowed values:sourcegeneratedtestlibrary
code-scanning-alert-items
objectThe security alert number.
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The REST API URL of the alert resource.
The GitHub URL of the alert resource.
The REST API URL for fetching the list of instances for an alert.
State of a code scanning alert.
Allowed values:opencloseddismissedfixed
Simple User
Show Child Parameters
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Required when the state is dismissed. The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
Allowed values:false positivewon't fixused in tests