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
Returns
#attack_complexity=
def
attack_complexity=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
AttackComplexity
Parameter
Returns
#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
Returns
#authentication=
def
authentication=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Authentication
Parameter
- value( ::Grafeas::V1::CVSS::Authentication )
Returns
#availability_impact
def
availability_impact
()
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
Returns
#availability_impact=
def
availability_impact=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
Parameter
- value( ::Grafeas::V1::CVSS::Impact )
Returns
#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
Returns
#confidentiality_impact=
def
confidentiality_impact=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
Parameter
- value( ::Grafeas::V1::CVSS::Impact )
Returns
#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
Returns
#integrity_impact=
def
integrity_impact=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Impact
Parameter
- value( ::Grafeas::V1::CVSS::Impact )
Returns
#privileges_required
def
privileges_required
()
-
>
::
Grafeas
::
V1
::
CVSS
::
PrivilegesRequired
Returns
#privileges_required=
def
privileges_required=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
PrivilegesRequired
Parameter
Returns
#scope
def
scope
()
-
>
::
Grafeas
::
V1
::
CVSS
::
Scope
Returns
#scope=
def
scope=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
Scope
Parameter
- value( ::Grafeas::V1::CVSS::Scope )
Returns
#user_interaction
def
user_interaction
()
-
>
::
Grafeas
::
V1
::
CVSS
::
UserInteraction
Returns
#user_interaction=
def
user_interaction=
(
value
)
-
>
::
Grafeas
::
V1
::
CVSS
::
UserInteraction
Parameter
- value( ::Grafeas::V1::CVSS::UserInteraction )
Returns