pub struct Run {
Show 28 fields pub addresses: Option<Vec<Address>>, pub artifacts: Option<Vec<Artifact>>, pub automation_details: Option<RunAutomationDetails>, pub baseline_guid: Option<String>, pub column_kind: Option<Value>, pub conversion: Option<Conversion>, pub default_encoding: Option<String>, pub default_source_language: Option<String>, pub external_property_file_references: Option<ExternalPropertyFileReferences>, pub graphs: Option<Vec<Graph>>, pub invocations: Option<Vec<Invocation>>, pub language: Option<String>, pub logical_locations: Option<Vec<LogicalLocation>>, pub newline_sequences: Option<Vec<String>>, pub original_uri_base_ids: Option<BTreeMap<String, ArtifactLocation>>, pub policies: Option<Vec<ToolComponent>>, pub properties: Option<PropertyBag>, pub redaction_tokens: Option<Vec<String>>, pub results: Option<Vec<Result>>, pub run_aggregates: Option<Vec<RunAutomationDetails>>, pub special_locations: Option<SpecialLocations>, pub taxonomies: Option<Vec<ToolComponent>>, pub thread_flow_locations: Option<Vec<ThreadFlowLocation>>, pub tool: Tool, pub translations: Option<Vec<ToolComponent>>, pub version_control_provenance: Option<Vec<VersionControlDetails>>, pub web_requests: Option<Vec<WebRequest>>, pub web_responses: Option<Vec<WebResponse>>,
}
Expand description

Describes a single run of an analysis tool, and contains the reported output of that run.

Fields

addresses: Option<Vec<Address>>

Addresses associated with this run instance, if any.

artifacts: Option<Vec<Artifact>>

An array of artifact objects relevant to the run.

automation_details: Option<RunAutomationDetails>

Automation details that describe this run.

baseline_guid: Option<String>

The ‘guid’ property of a previous SARIF ‘run’ that comprises the baseline that was used to compute result ‘baselineState’ properties for the run.

column_kind: Option<Value>

Specifies the unit in which the tool measures columns.

conversion: Option<Conversion>

A conversion object that describes how a converter transformed an analysis tool’s native reporting format into the SARIF format.

default_encoding: Option<String>

Specifies the default encoding for any artifact object that refers to a text file.

default_source_language: Option<String>

Specifies the default source language for any artifact object that refers to a text file that contains source code.

external_property_file_references: Option<ExternalPropertyFileReferences>

References to external property files that should be inlined with the content of a root log file.

graphs: Option<Vec<Graph>>

An array of zero or more unique graph objects associated with the run.

invocations: Option<Vec<Invocation>>

Describes the invocation of the analysis tool.

language: Option<String>

The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).

logical_locations: Option<Vec<LogicalLocation>>

An array of logical locations such as namespaces, types or functions.

newline_sequences: Option<Vec<String>>

An ordered list of character sequences that were treated as line breaks when computing region information for the run.

original_uri_base_ids: Option<BTreeMap<String, ArtifactLocation>>

The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.

policies: Option<Vec<ToolComponent>>

Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool’s default severities) and invocation.configurationOverrides (severities established at run-time from the command line).

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the run.

redaction_tokens: Option<Vec<String>>

An array of strings used to replace sensitive information in a redaction-aware property.

results: Option<Vec<Result>>

The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan.

run_aggregates: Option<Vec<RunAutomationDetails>>

Automation details that describe the aggregate of runs to which this run belongs.

special_locations: Option<SpecialLocations>

A specialLocations object that defines locations of special significance to SARIF consumers.

taxonomies: Option<Vec<ToolComponent>>

An array of toolComponent objects relevant to a taxonomy in which results are categorized.

thread_flow_locations: Option<Vec<ThreadFlowLocation>>

An array of threadFlowLocation objects cached at run level.

tool: Tool

Information about the tool or tool pipeline that generated the results in this run. A run can only contain results produced by a single tool or tool pipeline. A run can aggregate results from multiple log files, as long as context around the tool run (tool command-line arguments and the like) is identical for all aggregated files.

translations: Option<Vec<ToolComponent>>

The set of available translations of the localized data provided by the tool.

version_control_provenance: Option<Vec<VersionControlDetails>>

Specifies the revision in version control of the artifacts that were scanned.

web_requests: Option<Vec<WebRequest>>

An array of request objects cached at run level.

web_responses: Option<Vec<WebResponse>>

An array of response objects cached at run level.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.