enum

Shards::Audit::Severity

Inherits Enum < Comparable < Value < Object

Constants

Critical = 0
High = 1
Medium = 2
Low = 3
Unknown = 4

Constructors

from_cvss(score : Float64) : Severity
Source
from_string(value : String) : Severity
Source

Instance methods

color_code
Source
critical?

Returns true if this enum value equals Critical

Source
high?

Returns true if this enum value equals High

Source
label
Source
low?

Returns true if this enum value equals Low

Source
medium?

Returns true if this enum value equals Medium

Source
meets_threshold?(threshold : Severity) : Bool
Source
priority
Source
unknown?

Returns true if this enum value equals Unknown

Source