pub struct Invocation {
Show 26 fields pub account: Option<String>, pub arguments: Option<Vec<String>>, pub command_line: Option<String>, pub end_time_utc: Option<String>, pub environment_variables: Option<HashMap<String, String>>, pub executable_location: Option<ArtifactLocation>, pub execution_successful: bool, pub exit_code: Option<i64>, pub exit_code_description: Option<String>, pub exit_signal_name: Option<String>, pub exit_signal_number: Option<i64>, pub machine: Option<String>, pub notification_configuration_overrides: Option<Vec<ConfigurationOverride>>, pub process_id: Option<i64>, pub process_start_failure_message: Option<String>, pub properties: Option<PropertyBag>, pub response_files: Option<Vec<ArtifactLocation>>, pub rule_configuration_overrides: Option<Vec<ConfigurationOverride>>, pub start_time_utc: Option<String>, pub stderr: Option<ArtifactLocation>, pub stdin: Option<ArtifactLocation>, pub stdout: Option<ArtifactLocation>, pub stdout_stderr: Option<ArtifactLocation>, pub tool_configuration_notifications: Option<Vec<Notification>>, pub tool_execution_notifications: Option<Vec<Notification>>, pub working_directory: Option<ArtifactLocation>,
}
Expand description

An invocation object that describes the invocation of the converter.

The runtime environment of the analysis tool run.

Fields

account: Option<String>

The account that ran the analysis tool.

arguments: Option<Vec<String>>

An array of strings, containing in order the command line arguments passed to the tool from the operating system.

command_line: Option<String>

The command line used to invoke the tool.

end_time_utc: Option<String>

The Coordinated Universal Time (UTC) date and time at which the run ended. See “Date/time properties” in the SARIF spec for the required format.

environment_variables: Option<HashMap<String, String>>

The environment variables associated with the analysis tool process, expressed as key/value pairs.

executable_location: Option<ArtifactLocation>

An absolute URI specifying the location of the analysis tool’s executable.

execution_successful: bool

Specifies whether the tool’s execution completed successfully.

exit_code: Option<i64>

The process exit code.

exit_code_description: Option<String>

The reason for the process exit.

exit_signal_name: Option<String>

The name of the signal that caused the process to exit.

exit_signal_number: Option<i64>

The numeric value of the signal that caused the process to exit.

machine: Option<String>

The machine that hosted the analysis tool run.

notification_configuration_overrides: Option<Vec<ConfigurationOverride>>

An array of configurationOverride objects that describe notifications related runtime overrides.

process_id: Option<i64>

The process id for the analysis tool run.

process_start_failure_message: Option<String>

The reason given by the operating system that the process failed to start.

properties: Option<PropertyBag>

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

response_files: Option<Vec<ArtifactLocation>>

The locations of any response files specified on the tool’s command line.

rule_configuration_overrides: Option<Vec<ConfigurationOverride>>

An array of configurationOverride objects that describe rules related runtime overrides.

start_time_utc: Option<String>

The Coordinated Universal Time (UTC) date and time at which the run started. See “Date/time properties” in the SARIF spec for the required format.

stderr: Option<ArtifactLocation>

A file containing the standard error stream from the process that was invoked.

stdin: Option<ArtifactLocation>

A file containing the standard input stream to the process that was invoked.

stdout: Option<ArtifactLocation>

A file containing the standard output stream from the process that was invoked.

stdout_stderr: Option<ArtifactLocation>

A file containing the interleaved standard output and standard error stream from the process that was invoked.

tool_configuration_notifications: Option<Vec<Notification>>

A list of conditions detected by the tool that are relevant to the tool’s configuration.

tool_execution_notifications: Option<Vec<Notification>>

A list of runtime conditions detected by the tool during the analysis.

working_directory: Option<ArtifactLocation>

The working directory for the analysis tool 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