Struct aws_sdk_securityhub::types::Standard
source · #[non_exhaustive]pub struct Standard {
pub standards_arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub enabled_by_default: bool,
pub standards_managed_by: Option<StandardsManagedBy>,
}
Expand description
Provides information about a specific security standard.
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_arn: Option<String>
The ARN of a standard.
name: Option<String>
The name of the standard.
description: Option<String>
A description of the standard.
enabled_by_default: bool
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by default unless EnableDefaultStandards
is set to false
.
standards_managed_by: Option<StandardsManagedBy>
Provides details about the management of a standard.
Implementations§
source§impl Standard
impl Standard
sourcepub fn standards_arn(&self) -> Option<&str>
pub fn standards_arn(&self) -> Option<&str>
The ARN of a standard.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the standard.
sourcepub fn enabled_by_default(&self) -> bool
pub fn enabled_by_default(&self) -> bool
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by default unless EnableDefaultStandards
is set to false
.
sourcepub fn standards_managed_by(&self) -> Option<&StandardsManagedBy>
pub fn standards_managed_by(&self) -> Option<&StandardsManagedBy>
Provides details about the management of a standard.