GitHub v3 REST API

code-scanning-alert-dismissed-reason

string

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

code-scanning-alert-rule-summary

object
idstring

A unique identifier for the rule used to detect the alert.

namestring

The name of the rule used to detect the alert.

severitystring

The severity of the alert.

Allowed values:nonenotewarningerror

descriptionstring

A short description of the rule used to detect the alert.

Example

code-scanning-analysis-tool-version

string

The version of the tool used to generate the code scanning analysis.

code-scanning-analysis-tool

object
namestring

The name of the tool used to generate the code scanning analysis.

versionstring

The version of the tool used to generate the code scanning analysis.

guidstring

The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data.

Example

code-scanning-analysis-analysis-key

string

Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.