pub struct CodeScanningAnalysis {Show 15 fields
pub ref: String,
pub commit_sha: String,
pub analysis_key: String,
pub environment: String,
pub category: Option<String>,
pub error: String,
pub created_at: String,
pub results_count: i32,
pub rules_count: i32,
pub id: i32,
pub url: String,
pub sarif_id: String,
pub tool: Box<CodeScanningAnalysisTool>,
pub deletable: bool,
pub warning: String,
}
Fields§
§ref: String
The Git reference, formatted as refs/pull/<number>/merge
, refs/pull/<number>/head
, refs/heads/<branch name>
or simply <branch name>
.
commit_sha: String
The SHA of the commit to which the analysis you are uploading relates.
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.
environment: String
Identifies the variable values associated with the environment in which this analysis was performed.
category: Option<String>
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.
error: String
§created_at: String
The time that the analysis was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
results_count: i32
The total number of results in the analysis.
rules_count: i32
The total number of rules used in the analysis.
id: i32
Unique identifier for this analysis.
url: String
The REST API URL of the analysis resource.
sarif_id: String
An identifier for the upload.
tool: Box<CodeScanningAnalysisTool>
§deletable: bool
§warning: String
Warning generated when processing the analysis
Implementations§
Trait Implementations§
Source§impl Clone for CodeScanningAnalysis
impl Clone for CodeScanningAnalysis
Source§fn clone(&self) -> CodeScanningAnalysis
fn clone(&self) -> CodeScanningAnalysis
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more