@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Severity extends Object implements Serializable, Cloneable, StructuredPojo
The severity of the finding.
The finding provider can provide the initial severity. The finding provider can only update the severity if it has
not 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.
| Constructor and Description |
|---|
Severity() |
| Modifier and Type | Method and Description |
|---|---|
Severity |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The severity value of the finding.
|
Integer |
getNormalized()
Deprecated.
|
String |
getOriginal()
The native severity from the finding product that generated the finding.
|
Double |
getProduct()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setLabel(String label)
The severity value of the finding.
|
void |
setNormalized(Integer normalized)
Deprecated.
|
void |
setOriginal(String original)
The native severity from the finding product that generated the finding.
|
void |
setProduct(Double product)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
Severity |
withLabel(SeverityLabel label)
The severity value of the finding.
|
Severity |
withLabel(String label)
The severity value of the finding.
|
Severity |
withNormalized(Integer normalized)
Deprecated.
|
Severity |
withOriginal(String original)
The native severity from the finding product that generated the finding.
|
Severity |
withProduct(Double product)
Deprecated.
|
public void setProduct(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 - 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.
public Double getProduct()
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 Severity withProduct(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 - 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.
public void setLabel(String 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
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
SeverityLabelpublic String getLabel()
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
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 Severity withLabel(String 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
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
SeverityLabelpublic Severity withLabel(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
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
SeverityLabelpublic void setNormalized(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 - 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
public Integer getNormalized()
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 Severity withNormalized(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 - 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
public void setOriginal(String original)
The native severity from the finding product that generated the finding.
original - The native severity from the finding product that generated the finding.public String getOriginal()
The native severity from the finding product that generated the finding.
public Severity withOriginal(String original)
The native severity from the finding product that generated the finding.
original - The native severity from the finding product that generated the finding.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.