Severity

public struct Severity : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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

    Declaration

    Swift

    public let label: SeverityLabel?
  • 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

    Declaration

    Swift

    public let normalized: Int?
  • The native severity from the finding product that generated the finding.

    Declaration

    Swift

    public let original: String?
  • Deprecated. This attribute is being deprecated. Instead of providing Product, provide Original. The native severity as defined by the AWS service or integrated partner product that generated the finding.

    Declaration

    Swift

    public let product: Double?
  • Undocumented

    Declaration

    Swift

    public init(label: SeverityLabel? = nil, normalized: Int? = nil, original: String? = nil, product: Double? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws