Struct rusoto_inspector::AssessmentRun
source · [−]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
sourceimpl Clone for AssessmentRun
impl Clone for AssessmentRun
sourcefn clone(&self) -> AssessmentRun
fn clone(&self) -> AssessmentRun
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AssessmentRun
impl Debug for AssessmentRun
sourceimpl Default for AssessmentRun
impl Default for AssessmentRun
sourcefn default() -> AssessmentRun
fn default() -> AssessmentRun
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AssessmentRun
impl<'de> Deserialize<'de> for AssessmentRun
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AssessmentRun> for AssessmentRun
impl PartialEq<AssessmentRun> for AssessmentRun
sourcefn eq(&self, other: &AssessmentRun) -> bool
fn eq(&self, other: &AssessmentRun) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssessmentRun) -> bool
fn ne(&self, other: &AssessmentRun) -> bool
This method tests for !=
.
impl StructuralPartialEq for AssessmentRun
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more