[][src]Struct rusoto_inspector::AssessmentRun

pub struct AssessmentRun {
    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>,
}

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

impl PartialEq<AssessmentRun> for AssessmentRun[src]

impl Default for AssessmentRun[src]

impl Clone for AssessmentRun[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AssessmentRun[src]

impl<'de> Deserialize<'de> for AssessmentRun[src]

Auto Trait Implementations

impl Send for AssessmentRun

impl Sync for AssessmentRun

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self