#[non_exhaustive]pub struct SecurityControlDefinition {
pub security_control_id: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub remediation_url: Option<String>,
pub severity_rating: Option<SeverityRating>,
pub current_region_availability: Option<RegionAvailabilityStatus>,
}
Expand description
Provides metadata for a security control, including its unique standard-agnostic identifier, title, description, severity, availability in Amazon Web Services Regions, and a link to remediation steps.
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.security_control_id: Option<String>
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number (for example, APIGateway.3). This parameter differs from SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).
title: Option<String>
The title of a security control.
description: Option<String>
The description of a security control across standards. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. This parameter doesn't reference a specific standard.
remediation_url: Option<String>
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
severity_rating: Option<SeverityRating>
The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.
current_region_availability: Option<RegionAvailabilityStatus>
Specifies whether a security control is available in the current Amazon Web Services Region.
Implementations§
source§impl SecurityControlDefinition
impl SecurityControlDefinition
sourcepub fn security_control_id(&self) -> Option<&str>
pub fn security_control_id(&self) -> Option<&str>
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number (for example, APIGateway.3). This parameter differs from SecurityControlArn
, which is a unique Amazon Resource Name (ARN) assigned to a control. The ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a security control across standards. This typically summarizes how Security Hub evaluates the control and the conditions under which it produces a failed finding. This parameter doesn't reference a specific standard.
sourcepub fn remediation_url(&self) -> Option<&str>
pub fn remediation_url(&self) -> Option<&str>
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
sourcepub fn severity_rating(&self) -> Option<&SeverityRating>
pub fn severity_rating(&self) -> Option<&SeverityRating>
The severity of a security control. For more information about how Security Hub determines control severity, see Assigning severity to control findings in the Security Hub User Guide.
sourcepub fn current_region_availability(&self) -> Option<&RegionAvailabilityStatus>
pub fn current_region_availability(&self) -> Option<&RegionAvailabilityStatus>
Specifies whether a security control is available in the current Amazon Web Services Region.
source§impl SecurityControlDefinition
impl SecurityControlDefinition
sourcepub fn builder() -> SecurityControlDefinitionBuilder
pub fn builder() -> SecurityControlDefinitionBuilder
Creates a new builder-style object to manufacture SecurityControlDefinition
.
Trait Implementations§
source§impl Clone for SecurityControlDefinition
impl Clone for SecurityControlDefinition
source§fn clone(&self) -> SecurityControlDefinition
fn clone(&self) -> SecurityControlDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecurityControlDefinition
impl Debug for SecurityControlDefinition
source§impl PartialEq for SecurityControlDefinition
impl PartialEq for SecurityControlDefinition
source§fn eq(&self, other: &SecurityControlDefinition) -> bool
fn eq(&self, other: &SecurityControlDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.