enum

KEV::RansomwareUse

Inherits Enum < Comparable < Value < Object

CISA's knownRansomwareCampaignUse field. The KEV catalog uses exactly two string values: "Known" (confirmed leveraged in a ransomware campaign) and "Unknown" (CISA lacks confirmation — not a denial).

Constants

Known = 0
Unknown = 1

Constructors

parse(raw : String) : RansomwareUse
Source

Class methods

parse?(raw : String) : RansomwareUse | Nil
Source

Instance methods

known?

Returns true if this enum value equals Known

Source
to_s(io : IO) : Nil

Appends a String representation of this enum member to the given io.

See also: to_s.

Source
to_s

Canonical CISA spelling (capitalised). Used for JSON serialization so the output round-trips against the official feed.

Source
unknown?

Returns true if this enum value equals Unknown

Source