CVSS::Severity
Inherits Enum < Comparable < Value < Object
Qualitative severity rating used across CVSS v3.x and v4.0. CVSS v2.0 ratings (Low/Medium/High) are mapped onto this enum for a consistent API surface.
Constants
None = 0
Low = 1
Medium = 2
High = 3
Critical = 4
Constructors
Maps a numeric base score (0.0..10.0) to a CVSS v3.x / v4.0 severity rating.
Instance methods
Appends a String representation of this enum member to the given io.
See also: to_s.
to_s
Explicit override of Enum#to_s : String. The defaults happen to
match the member names, but defining both branches insulates the
public label from a future enum rename.