#[non_exhaustive]pub struct SecurityControlsConfiguration {
pub enabled_security_control_identifiers: Option<Vec<String>>,
pub disabled_security_control_identifiers: Option<Vec<String>>,
pub security_control_custom_parameters: Option<Vec<SecurityControlCustomParameter>>,
}
Expand description
An object that defines which security controls are enabled in an Security Hub configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
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.enabled_security_control_identifiers: Option<Vec<String>>
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
disabled_security_control_identifiers: Option<Vec<String>>
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
security_control_custom_parameters: Option<Vec<SecurityControlCustomParameter>>
A list of security controls and control parameter values that are included in a configuration policy.
Implementations§
source§impl SecurityControlsConfiguration
impl SecurityControlsConfiguration
sourcepub fn enabled_security_control_identifiers(&self) -> &[String]
pub fn enabled_security_control_identifiers(&self) -> &[String]
A list of security controls that are enabled in the configuration policy. Security Hub disables all other controls (including newly released controls) other than the listed controls.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .enabled_security_control_identifiers.is_none()
.
sourcepub fn disabled_security_control_identifiers(&self) -> &[String]
pub fn disabled_security_control_identifiers(&self) -> &[String]
A list of security controls that are disabled in the configuration policy. Security Hub enables all other controls (including newly released controls) other than the listed controls.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .disabled_security_control_identifiers.is_none()
.
sourcepub fn security_control_custom_parameters(
&self
) -> &[SecurityControlCustomParameter]
pub fn security_control_custom_parameters( &self ) -> &[SecurityControlCustomParameter]
A list of security controls and control parameter values that are included in a configuration policy.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_control_custom_parameters.is_none()
.
source§impl SecurityControlsConfiguration
impl SecurityControlsConfiguration
sourcepub fn builder() -> SecurityControlsConfigurationBuilder
pub fn builder() -> SecurityControlsConfigurationBuilder
Creates a new builder-style object to manufacture SecurityControlsConfiguration
.
Trait Implementations§
source§impl Clone for SecurityControlsConfiguration
impl Clone for SecurityControlsConfiguration
source§fn clone(&self) -> SecurityControlsConfiguration
fn clone(&self) -> SecurityControlsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SecurityControlsConfiguration
impl PartialEq for SecurityControlsConfiguration
source§fn eq(&self, other: &SecurityControlsConfiguration) -> bool
fn eq(&self, other: &SecurityControlsConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityControlsConfiguration
Auto Trait Implementations§
impl Freeze for SecurityControlsConfiguration
impl RefUnwindSafe for SecurityControlsConfiguration
impl Send for SecurityControlsConfiguration
impl Sync for SecurityControlsConfiguration
impl Unpin for SecurityControlsConfiguration
impl UnwindSafe for SecurityControlsConfiguration
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