Class: Grafeas::V1::CVSSv3

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/cvss.rb

Overview

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

Defined Under Namespace

Modules: AttackComplexity, AttackVector, Impact, PrivilegesRequired, Scope, UserInteraction

Instance Attribute Summary collapse

Instance Attribute Details

#attack_complexity::Grafeas::V1::CVSSv3::AttackComplexity



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#attack_vector::Grafeas::V1::CVSSv3::AttackVector

Returns Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

Returns:



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#availability_impact::Grafeas::V1::CVSSv3::Impact



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#base_score::Float

Returns The base score is a function of the base metric scores.

Returns:

  • (::Float)

    The base score is a function of the base metric scores.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#confidentiality_impact::Grafeas::V1::CVSSv3::Impact



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#exploitability_score::Float

Returns:

  • (::Float)


50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#impact_score::Float

Returns:

  • (::Float)


50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#integrity_impact::Grafeas::V1::CVSSv3::Impact



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#privileges_required::Grafeas::V1::CVSSv3::PrivilegesRequired



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#scope::Grafeas::V1::CVSSv3::Scope



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end

#user_interaction::Grafeas::V1::CVSSv3::UserInteraction



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'proto_docs/grafeas/v1/cvss.rb', line 50

class CVSSv3
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  module AttackVector
    ATTACK_VECTOR_UNSPECIFIED = 0

    ATTACK_VECTOR_NETWORK = 1

    ATTACK_VECTOR_ADJACENT = 2

    ATTACK_VECTOR_LOCAL = 3

    ATTACK_VECTOR_PHYSICAL = 4
  end

  module AttackComplexity
    ATTACK_COMPLEXITY_UNSPECIFIED = 0

    ATTACK_COMPLEXITY_LOW = 1

    ATTACK_COMPLEXITY_HIGH = 2
  end

  module PrivilegesRequired
    PRIVILEGES_REQUIRED_UNSPECIFIED = 0

    PRIVILEGES_REQUIRED_NONE = 1

    PRIVILEGES_REQUIRED_LOW = 2

    PRIVILEGES_REQUIRED_HIGH = 3
  end

  module UserInteraction
    USER_INTERACTION_UNSPECIFIED = 0

    USER_INTERACTION_NONE = 1

    USER_INTERACTION_REQUIRED = 2
  end

  module Scope
    SCOPE_UNSPECIFIED = 0

    SCOPE_UNCHANGED = 1

    SCOPE_CHANGED = 2
  end

  module Impact
    IMPACT_UNSPECIFIED = 0

    IMPACT_HIGH = 1

    IMPACT_LOW = 2

    IMPACT_NONE = 3
  end
end