logo
pub struct AssessmentRun {
Show 15 fields pub arn: String, pub assessment_template_arn: String, pub completed_at: Option<f64>, pub created_at: f64, pub data_collected: bool, pub duration_in_seconds: i64, pub finding_counts: HashMap<String, i64>, pub name: String, pub notifications: Vec<AssessmentRunNotification>, pub rules_package_arns: Vec<String>, pub started_at: Option<f64>, pub state: String, pub state_changed_at: f64, pub state_changes: Vec<AssessmentRunStateChange>, pub user_attributes_for_findings: Vec<Attribute>,
}
Expand description

A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .

Used as the response element in the DescribeAssessmentRuns action.

Fields

arn: String

The ARN of the assessment run.

assessment_template_arn: String

The ARN of the assessment template that is associated with the assessment run.

completed_at: Option<f64>

The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.

created_at: f64

The time when StartAssessmentRun was called.

data_collected: bool

A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.

duration_in_seconds: i64

The duration of the assessment run.

finding_counts: HashMap<String, i64>

Provides a total count of generated findings per severity.

name: String

The auto-generated name for the assessment run.

notifications: Vec<AssessmentRunNotification>

A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.

rules_package_arns: Vec<String>

The rules packages selected for the assessment run.

started_at: Option<f64>

The time when StartAssessmentRun was called.

state: String

The state of the assessment run.

state_changed_at: f64

The last time when the assessment run's state changed.

state_changes: Vec<AssessmentRunStateChange>

A list of the assessment run state changes.

user_attributes_for_findings: Vec<Attribute>

The user-defined attributes that are assigned to every generated finding.

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

Returns the “default value” for a type. 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 !=.

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.

Should always be Self

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.

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