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 multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.
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
- ( ::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
- value( ::Grafeas::V1::CVSS::AttackVector ) — Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
- ( ::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
- value( ::Grafeas::V1::CVSS::Authentication )
#availability_impact
def
availability_impact
()
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
#availability_impact=
def
availability_impact=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
- value( ::Grafeas::V1::CVSS::Impact )
#base_score
def
base_score
()
-
>
::
Float
- (::Float) — The base score is a function of the base metric scores.
#base_score=
def
base_score=
(
value
)
-
>
::
Float
- value(::Float) — The base score is a function of the base metric scores.
- (::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
- value( ::Grafeas::V1::CVSS::Impact )
#exploitability_score
def
exploitability_score
()
-
>
::
Float
- (::Float)
#exploitability_score=
def
exploitability_score=
(
value
)
-
>
::
Float
- value(::Float)
- (::Float)
#impact_score
def
impact_score
()
-
>
::
Float
- (::Float)
#impact_score=
def
impact_score=
(
value
)
-
>
::
Float
- value(::Float)
- (::Float)
#integrity_impact
def
integrity_impact
()
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
#integrity_impact=
def
integrity_impact=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
- value( ::Grafeas::V1::CVSS::Impact )
#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
- value( ::Grafeas::V1::CVSS::Scope )
#user_interaction
def
user_interaction
()
-
>
::
Grafeas
::
V1
::
CVSS
::
UserInteraction
#user_interaction=
def
user_interaction=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
UserInteraction
- value( ::Grafeas::V1::CVSS::UserInteraction )

