#[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.impl StructuralPartialEq for DescribeHubOutput
Auto Trait Implementations§
impl Freeze for DescribeHubOutput
impl RefUnwindSafe for DescribeHubOutput
impl Send for DescribeHubOutput
impl Sync for DescribeHubOutput
impl Unpin for DescribeHubOutput
impl UnwindSafe for DescribeHubOutput
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