Struct aws_sdk_inspector::model::AssessmentRun [−][src]
#[non_exhaustive]pub struct AssessmentRun {Show 15 fields
pub arn: Option<String>,
pub name: Option<String>,
pub assessment_template_arn: Option<String>,
pub state: Option<AssessmentRunState>,
pub duration_in_seconds: i32,
pub rules_package_arns: Option<Vec<String>>,
pub user_attributes_for_findings: Option<Vec<Attribute>>,
pub created_at: Option<DateTime>,
pub started_at: Option<DateTime>,
pub completed_at: Option<DateTime>,
pub state_changed_at: Option<DateTime>,
pub data_collected: Option<bool>,
pub state_changes: Option<Vec<AssessmentRunStateChange>>,
pub notifications: Option<Vec<AssessmentRunNotification>>,
pub finding_counts: Option<HashMap<Severity, i32>>,
}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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arn: Option<String>The ARN of the assessment run.
name: Option<String>The auto-generated name for the assessment run.
assessment_template_arn: Option<String>The ARN of the assessment template that is associated with the assessment run.
state: Option<AssessmentRunState>The state of the assessment run.
duration_in_seconds: i32The duration of the assessment run.
rules_package_arns: Option<Vec<String>>The rules packages selected for the assessment run.
user_attributes_for_findings: Option<Vec<Attribute>>The user-defined attributes that are assigned to every generated finding.
created_at: Option<DateTime>The time when StartAssessmentRun was called.
started_at: Option<DateTime>The time when StartAssessmentRun was called.
completed_at: Option<DateTime>The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
state_changed_at: Option<DateTime>The last time when the assessment run's state changed.
data_collected: Option<bool>A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
state_changes: Option<Vec<AssessmentRunStateChange>>A list of the assessment run state changes.
notifications: Option<Vec<AssessmentRunNotification>>A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
finding_counts: Option<HashMap<Severity, i32>>Provides a total count of generated findings per severity.
Implementations
The ARN of the assessment template that is associated with the assessment run.
The state of the assessment run.
The duration of the assessment run.
The rules packages selected for the assessment run.
The user-defined attributes that are assigned to every generated finding.
The time when StartAssessmentRun was called.
The time when StartAssessmentRun was called.
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
The last time when the assessment run's state changed.
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
A list of the assessment run state changes.
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
Creates a new builder-style object to manufacture AssessmentRun
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for AssessmentRun
impl Send for AssessmentRun
impl Sync for AssessmentRun
impl Unpin for AssessmentRun
impl UnwindSafe for AssessmentRun
Blanket Implementations
Mutably borrows from an owned value. Read more
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
