Struct aws_sdk_securityhub::operation::update_security_hub_configuration::UpdateSecurityHubConfigurationInput
source · #[non_exhaustive]pub struct UpdateSecurityHubConfigurationInput {
pub auto_enable_controls: Option<bool>,
pub control_finding_generator: Option<ControlFindingGenerator>,
}
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.auto_enable_controls: Option<bool>
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true
, and new controls are enabled automatically. To not automatically enable new controls, set this to false
.
control_finding_generator: Option<ControlFindingGenerator>
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL
, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
If the value for this field is set to STANDARD_CONTROL
, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
For accounts that are part of an organization, this value can only be updated in the administrator account.
Implementations§
source§impl UpdateSecurityHubConfigurationInput
impl UpdateSecurityHubConfigurationInput
sourcepub fn auto_enable_controls(&self) -> Option<bool>
pub fn auto_enable_controls(&self) -> Option<bool>
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true
, and new controls are enabled automatically. To not automatically enable new controls, set this to false
.
sourcepub fn control_finding_generator(&self) -> Option<&ControlFindingGenerator>
pub fn control_finding_generator(&self) -> Option<&ControlFindingGenerator>
Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL
, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.
If the value for this field is set to STANDARD_CONTROL
, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
For accounts that are part of an organization, this value can only be updated in the administrator account.
source§impl UpdateSecurityHubConfigurationInput
impl UpdateSecurityHubConfigurationInput
sourcepub fn builder() -> UpdateSecurityHubConfigurationInputBuilder
pub fn builder() -> UpdateSecurityHubConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateSecurityHubConfigurationInput
.
Trait Implementations§
source§impl Clone for UpdateSecurityHubConfigurationInput
impl Clone for UpdateSecurityHubConfigurationInput
source§fn clone(&self) -> UpdateSecurityHubConfigurationInput
fn clone(&self) -> UpdateSecurityHubConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateSecurityHubConfigurationInput
impl PartialEq for UpdateSecurityHubConfigurationInput
source§fn eq(&self, other: &UpdateSecurityHubConfigurationInput) -> bool
fn eq(&self, other: &UpdateSecurityHubConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.