Severity class
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.
Constructors
- Severity({SeverityLabel? label, int? normalized, String? original, double? product})
-
Severity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → SeverityLabel?
-
The severity value of the finding. The allowed values are the following.
final
- normalized → int?
-
Deprecated. The normalized severity of a finding. This attribute is being
deprecated. Instead of providing
Normalized
, provideLabel
.final - original → String?
-
The native severity from the finding product that generated the finding.
final
- product → double?
-
Deprecated. This attribute is being deprecated. Instead of providing
Product
, provideOriginal
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited