Severity

class 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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The severity value of the finding. The allowed values are the following.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Deprecated. This attribute isn't included in findings. Instead of providing Product, provide Original.

Functions

Link copied to clipboard
inline fun copy(block: Severity.Builder.() -> Unit = {}): Severity
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String