pub struct ExternalProperties {
Show 21 fields pub addresses: Option<Vec<Address>>, pub artifacts: Option<Vec<Artifact>>, pub conversion: Option<Conversion>, pub driver: Option<ToolComponent>, pub extensions: Option<Vec<ToolComponent>>, pub externalized_properties: Option<PropertyBag>, pub graphs: Option<Vec<Graph>>, pub guid: Option<String>, pub invocations: Option<Vec<Invocation>>, pub logical_locations: Option<Vec<LogicalLocation>>, pub policies: Option<Vec<ToolComponent>>, pub properties: Option<PropertyBag>, pub results: Option<Vec<TrivyResult>>, pub run_guid: Option<String>, pub schema: Option<String>, pub taxonomies: Option<Vec<ToolComponent>>, pub thread_flow_locations: Option<Vec<ThreadFlowLocation>>, pub translations: Option<Vec<ToolComponent>>, pub version: Option<Version>, pub web_requests: Option<Vec<WebRequest>>, pub web_responses: Option<Vec<WebResponse>>,
}
Expand description

The top-level element of an external property file.

Fields

addresses: Option<Vec<Address>>

Addresses that will be merged with a separate run.

artifacts: Option<Vec<Artifact>>

An array of artifact objects that will be merged with a separate run.

conversion: Option<Conversion>

A conversion object that will be merged with a separate run.

driver: Option<ToolComponent>

The analysis tool object that will be merged with a separate run.

extensions: Option<Vec<ToolComponent>>

Tool extensions that will be merged with a separate run.

externalized_properties: Option<PropertyBag>

Key/value pairs that provide additional information that will be merged with a separate run.

graphs: Option<Vec<Graph>>

An array of graph objects that will be merged with a separate run.

guid: Option<String>

A stable, unique identifer for this external properties object, in the form of a GUID.

invocations: Option<Vec<Invocation>>

Describes the invocation of the analysis tool that will be merged with a separate run.

logical_locations: Option<Vec<LogicalLocation>>

An array of logical locations such as namespaces, types or functions that will be merged with a separate run.

policies: Option<Vec<ToolComponent>>

Tool policies that will be merged with a separate run.

properties: Option<PropertyBag>

Key/value pairs that provide additional information about the external properties.

results: Option<Vec<TrivyResult>>

An array of result objects that will be merged with a separate run.

run_guid: Option<String>

A stable, unique identifer for the run associated with this external properties object, in the form of a GUID.

schema: Option<String>

The URI of the JSON schema corresponding to the version of the external property file format.

taxonomies: Option<Vec<ToolComponent>>

Tool taxonomies that will be merged with a separate run.

thread_flow_locations: Option<Vec<ThreadFlowLocation>>

An array of threadFlowLocation objects that will be merged with a separate run.

translations: Option<Vec<ToolComponent>>

Tool translations that will be merged with a separate run.

version: Option<Version>

The SARIF format version of this external properties object.

web_requests: Option<Vec<WebRequest>>

Requests that will be merged with a separate run.

web_responses: Option<Vec<WebResponse>>

Responses that will be merged with a separate run.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more