@Generated(value="software.amazon.awssdk:codegen") public final class SecurityControl extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SecurityControl.Builder,SecurityControl>
A security control in Security Hub describes a security best practice related to a specific resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SecurityControl.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SecurityControl.Builder |
builder() |
String |
description()
The description of a security control across standards.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
remediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
|
List<SdkField<?>> |
sdkFields() |
String |
securityControlArn()
The Amazon Resource Name (ARN) for a security control across standards, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. |
String |
securityControlId()
The unique identifier of a security control across standards.
|
ControlStatus |
securityControlStatus()
The enablement status of a security control in a specific standard.
|
String |
securityControlStatusAsString()
The enablement status of a security control in a specific standard.
|
static Class<? extends SecurityControl.Builder> |
serializableBuilderClass() |
SeverityRating |
severityRating()
The severity of a security control.
|
String |
severityRatingAsString()
The severity of a security control.
|
String |
title()
The title of a security control.
|
SecurityControl.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String securityControlId()
The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a number, such as APIGateway.3.
public final String securityControlArn()
The Amazon Resource Name (ARN) for a security control across standards, such as
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't mention
a specific standard.
arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This parameter doesn't
mention a specific standard.public final String title()
The title of a security control.
public final String description()
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.
public final String remediationUrl()
A link to Security Hub documentation that explains how to remediate a failed finding for a security control.
public final SeverityRating 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.
If the service returns an enum value that is not available in the current SDK version, severityRating
will return SeverityRating.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityRatingAsString().
SeverityRatingpublic final String severityRatingAsString()
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.
If the service returns an enum value that is not available in the current SDK version, severityRating
will return SeverityRating.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityRatingAsString().
SeverityRatingpublic final ControlStatus securityControlStatus()
The enablement status of a security control in a specific standard.
If the service returns an enum value that is not available in the current SDK version,
securityControlStatus will return ControlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from securityControlStatusAsString().
ControlStatuspublic final String securityControlStatusAsString()
The enablement status of a security control in a specific standard.
If the service returns an enum value that is not available in the current SDK version,
securityControlStatus will return ControlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from securityControlStatusAsString().
ControlStatuspublic SecurityControl.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SecurityControl.Builder,SecurityControl>public static SecurityControl.Builder builder()
public static Class<? extends SecurityControl.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.