Struct aws_sdk_securityhub::types::StandardsControl
source · #[non_exhaustive]pub struct StandardsControl {
pub standards_control_arn: Option<String>,
pub control_status: Option<ControlStatus>,
pub disabled_reason: Option<String>,
pub control_status_updated_at: Option<DateTime>,
pub control_id: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub remediation_url: Option<String>,
pub severity_rating: Option<SeverityRating>,
pub related_requirements: Option<Vec<String>>,
}
Expand description
Details for an individual security standard control.
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.standards_control_arn: Option<String>
The ARN of the security standard control.
control_status: Option<ControlStatus>
The current status of the security standard control. Indicates whether the control is enabled or disabled. Security Hub does not check against disabled controls.
disabled_reason: Option<String>
The reason provided for the most recent change in status for the control.
control_status_updated_at: Option<DateTime>
The date and time that the status of the security standard control was most recently updated.
control_id: Option<String>
The identifier of the security standard control.
title: Option<String>
The title of the security standard control.
description: Option<String>
The longer description of the security standard control. Provides information about what the control is checking for.
remediation_url: Option<String>
A link to remediation information for the control in the Security Hub user documentation.
severity_rating: Option<SeverityRating>
The severity of findings generated from this security standard control.
The finding severity is based on an assessment of how easy it would be to compromise Amazon Web Services resources if the issue is detected.
The list of requirements that are related to this control.
Implementations§
source§impl StandardsControl
impl StandardsControl
sourcepub fn standards_control_arn(&self) -> Option<&str>
pub fn standards_control_arn(&self) -> Option<&str>
The ARN of the security standard control.
sourcepub fn control_status(&self) -> Option<&ControlStatus>
pub fn control_status(&self) -> Option<&ControlStatus>
The current status of the security standard control. Indicates whether the control is enabled or disabled. Security Hub does not check against disabled controls.
sourcepub fn disabled_reason(&self) -> Option<&str>
pub fn disabled_reason(&self) -> Option<&str>
The reason provided for the most recent change in status for the control.
sourcepub fn control_status_updated_at(&self) -> Option<&DateTime>
pub fn control_status_updated_at(&self) -> Option<&DateTime>
The date and time that the status of the security standard control was most recently updated.
sourcepub fn control_id(&self) -> Option<&str>
pub fn control_id(&self) -> Option<&str>
The identifier of the security standard control.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The longer description of the security standard control. Provides information about what the control is checking for.
sourcepub fn remediation_url(&self) -> Option<&str>
pub fn remediation_url(&self) -> Option<&str>
A link to remediation information for the control in the Security Hub user documentation.
sourcepub fn severity_rating(&self) -> Option<&SeverityRating>
pub fn severity_rating(&self) -> Option<&SeverityRating>
The severity of findings generated from this security standard control.
The finding severity is based on an assessment of how easy it would be to compromise Amazon Web Services resources if the issue is detected.
The list of requirements that are related to this control.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .related_requirements.is_none()
.
source§impl StandardsControl
impl StandardsControl
sourcepub fn builder() -> StandardsControlBuilder
pub fn builder() -> StandardsControlBuilder
Creates a new builder-style object to manufacture StandardsControl
.
Trait Implementations§
source§impl Clone for StandardsControl
impl Clone for StandardsControl
source§fn clone(&self) -> StandardsControl
fn clone(&self) -> StandardsControl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandardsControl
impl Debug for StandardsControl
source§impl PartialEq for StandardsControl
impl PartialEq for StandardsControl
source§fn eq(&self, other: &StandardsControl) -> bool
fn eq(&self, other: &StandardsControl) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StandardsControl
Auto Trait Implementations§
impl Freeze for StandardsControl
impl RefUnwindSafe for StandardsControl
impl Send for StandardsControl
impl Sync for StandardsControl
impl Unpin for StandardsControl
impl UnwindSafe for StandardsControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more