#[non_exhaustive]pub struct DescribeHubOutput {
pub hub_arn: Option<String>,
pub subscribed_at: Option<String>,
pub auto_enable_controls: Option<bool>,
pub control_finding_generator: Option<ControlFindingGenerator>,
/* private fields */
}
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.hub_arn: Option<String>
The ARN of the Hub resource that was retrieved.
subscribed_at: Option<String>
The date and time when Security Hub was enabled in the account.
auto_enable_controls: Option<bool>
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to false
, then new controls are not enabled.
control_finding_generator: Option<ControlFindingGenerator>
Specifies 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.
The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.
Implementations§
source§impl DescribeHubOutput
impl DescribeHubOutput
sourcepub fn subscribed_at(&self) -> Option<&str>
pub fn subscribed_at(&self) -> Option<&str>
The date and time when Security Hub was enabled in the account.
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.
If set to true
, then new controls for enabled standards are enabled automatically. If set to false
, then new controls are not enabled.
sourcepub fn control_finding_generator(&self) -> Option<&ControlFindingGenerator>
pub fn control_finding_generator(&self) -> Option<&ControlFindingGenerator>
Specifies 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.
The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL
if you enabled Security Hub on or after February 23, 2023.
source§impl DescribeHubOutput
impl DescribeHubOutput
sourcepub fn builder() -> DescribeHubOutputBuilder
pub fn builder() -> DescribeHubOutputBuilder
Creates a new builder-style object to manufacture DescribeHubOutput
.
Trait Implementations§
source§impl Clone for DescribeHubOutput
impl Clone for DescribeHubOutput
source§fn clone(&self) -> DescribeHubOutput
fn clone(&self) -> DescribeHubOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeHubOutput
impl Debug for DescribeHubOutput
source§impl PartialEq for DescribeHubOutput
impl PartialEq for DescribeHubOutput
source§fn eq(&self, other: &DescribeHubOutput) -> bool
fn eq(&self, other: &DescribeHubOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeHubOutput
impl RequestId for DescribeHubOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.