@Generated(value="software.amazon.awssdk:codegen") public final class Severity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Severity.Builder,Severity>
The severity of the finding.
The finding provider can provide the initial severity. The finding provider can only update the severity if it hasn't
been updated using BatchUpdateFindings.
The finding must have either Label or Normalized populated. If only one of these attributes
is populated, then Security Hub automatically populates the other one. If neither attribute is populated, then the
finding is invalid. Label is the preferred attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Severity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Severity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SeverityLabel |
label()
The severity value of the finding.
|
String |
labelAsString()
The severity value of the finding.
|
Integer |
normalized()
Deprecated.
|
String |
original()
The native severity from the finding product that generated the finding.
|
Double |
product()
Deprecated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Severity.Builder> |
serializableBuilderClass() |
Severity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double product()
Deprecated. This attribute is being deprecated. Instead of providing Product, provide
Original.
The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
Product, provide
Original.
The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
public final SeverityLabel label()
The severity value of the finding. The allowed values are the following.
INFORMATIONAL - No issue was found.
LOW - The issue does not require action on its own.
MEDIUM - The issue must be addressed but not urgently.
HIGH - The issue must be addressed as a priority.
CRITICAL - The issue must be remediated immediately to avoid it escalating.
If you provide Normalized and do not provide Label, then Label is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
If the service returns an enum value that is not available in the current SDK version, label will return
SeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
labelAsString().
INFORMATIONAL - No issue was found.
LOW - The issue does not require action on its own.
MEDIUM - The issue must be addressed but not urgently.
HIGH - The issue must be addressed as a priority.
CRITICAL - The issue must be remediated immediately to avoid it escalating.
If you provide Normalized and do not provide Label, then Label is
set automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
SeverityLabelpublic final String labelAsString()
The severity value of the finding. The allowed values are the following.
INFORMATIONAL - No issue was found.
LOW - The issue does not require action on its own.
MEDIUM - The issue must be addressed but not urgently.
HIGH - The issue must be addressed as a priority.
CRITICAL - The issue must be remediated immediately to avoid it escalating.
If you provide Normalized and do not provide Label, then Label is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
If the service returns an enum value that is not available in the current SDK version, label will return
SeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
labelAsString().
INFORMATIONAL - No issue was found.
LOW - The issue does not require action on its own.
MEDIUM - The issue must be addressed but not urgently.
HIGH - The issue must be addressed as a priority.
CRITICAL - The issue must be remediated immediately to avoid it escalating.
If you provide Normalized and do not provide Label, then Label is
set automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
SeverityLabelpublic final Integer normalized()
Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing
Normalized, provide Label.
If you provide Label and do not provide Normalized, then Normalized is set
automatically as follows.
INFORMATIONAL - 0
LOW - 1
MEDIUM - 40
HIGH - 70
CRITICAL - 90
Normalized, provide Label.
If you provide Label and do not provide Normalized, then
Normalized is set automatically as follows.
INFORMATIONAL - 0
LOW - 1
MEDIUM - 40
HIGH - 70
CRITICAL - 90
public final String original()
The native severity from the finding product that generated the finding.
public Severity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Severity.Builder,Severity>public static Severity.Builder builder()
public static Class<? extends Severity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.