Class Severity

    • Method Detail

      • product

        public final Double product()

        Deprecated. This attribute isn't included in findings. 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.

        Returns:
        Deprecated. This attribute isn't included in findings. 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.

      • label

        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().

        Returns:
        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

        See Also:
        SeverityLabel
      • labelAsString

        public 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().

        Returns:
        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

        See Also:
        SeverityLabel
      • normalized

        public final Integer normalized()

        Deprecated. The normalized severity of a finding. Instead of providing Normalized, provide Label.

        The value of Normalized can be an integer between 0 and 100.

        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

        Returns:
        Deprecated. The normalized severity of a finding. Instead of providing Normalized, provide Label.

        The value of Normalized can be an integer between 0 and 100.

        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

      • original

        public final String original()

        The native severity from the finding product that generated the finding.

        Length Constraints: Minimum length of 1. Maximum length of 64.

        Returns:
        The native severity from the finding product that generated the finding.

        Length Constraints: Minimum length of 1. Maximum length of 64.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)