Grafeas V1 API - Class Grafeas::V1::CVSS (v0.5.0)

Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::CVSS.

Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attack_complexity

def attack_complexity() -> ::Grafeas::V1::CVSS::AttackComplexity

#attack_complexity=

def attack_complexity=(value) -> ::Grafeas::V1::CVSS::AttackComplexity

#attack_vector

def attack_vector() -> ::Grafeas::V1::CVSS::AttackVector
Returns
  • (::Grafeas::V1::CVSS::AttackVector) — Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

#attack_vector=

def attack_vector=(value) -> ::Grafeas::V1::CVSS::AttackVector
Parameter
  • value (::Grafeas::V1::CVSS::AttackVector) — Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
Returns
  • (::Grafeas::V1::CVSS::AttackVector) — Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

#authentication

def authentication() -> ::Grafeas::V1::CVSS::Authentication

#authentication=

def authentication=(value) -> ::Grafeas::V1::CVSS::Authentication

#availability_impact

def availability_impact() -> ::Grafeas::V1::CVSS::Impact

#availability_impact=

def availability_impact=(value) -> ::Grafeas::V1::CVSS::Impact
Parameter

#base_score

def base_score() -> ::Float
Returns
  • (::Float) — The base score is a function of the base metric scores.

#base_score=

def base_score=(value) -> ::Float
Parameter
  • value (::Float) — The base score is a function of the base metric scores.
Returns
  • (::Float) — The base score is a function of the base metric scores.

#confidentiality_impact

def confidentiality_impact() -> ::Grafeas::V1::CVSS::Impact

#confidentiality_impact=

def confidentiality_impact=(value) -> ::Grafeas::V1::CVSS::Impact
Parameter

#exploitability_score

def exploitability_score() -> ::Float
Returns
  • (::Float)

#exploitability_score=

def exploitability_score=(value) -> ::Float
Parameter
  • value (::Float)
Returns
  • (::Float)

#impact_score

def impact_score() -> ::Float
Returns
  • (::Float)

#impact_score=

def impact_score=(value) -> ::Float
Parameter
  • value (::Float)
Returns
  • (::Float)

#integrity_impact

def integrity_impact() -> ::Grafeas::V1::CVSS::Impact

#integrity_impact=

def integrity_impact=(value) -> ::Grafeas::V1::CVSS::Impact
Parameter

#privileges_required

def privileges_required() -> ::Grafeas::V1::CVSS::PrivilegesRequired

#privileges_required=

def privileges_required=(value) -> ::Grafeas::V1::CVSS::PrivilegesRequired

#scope

def scope() -> ::Grafeas::V1::CVSS::Scope

#scope=

def scope=(value) -> ::Grafeas::V1::CVSS::Scope
Parameter

#user_interaction

def user_interaction() -> ::Grafeas::V1::CVSS::UserInteraction

#user_interaction=

def user_interaction=(value) -> ::Grafeas::V1::CVSS::UserInteraction