• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 The Grafeas Authors. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: grafeas/v1/cvss.proto
19 
20 package io.grafeas.v1;
21 
22 public interface CVSSv3OrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.CVSSv3)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * The base score is a function of the base metric scores.
32    * </pre>
33    *
34    * <code>float base_score = 1;</code>
35    *
36    * @return The baseScore.
37    */
getBaseScore()38   float getBaseScore();
39 
40   /**
41    * <code>float exploitability_score = 2;</code>
42    *
43    * @return The exploitabilityScore.
44    */
getExploitabilityScore()45   float getExploitabilityScore();
46 
47   /**
48    * <code>float impact_score = 3;</code>
49    *
50    * @return The impactScore.
51    */
getImpactScore()52   float getImpactScore();
53 
54   /**
55    *
56    *
57    * <pre>
58    * Base Metrics
59    * Represents the intrinsic characteristics of a vulnerability that are
60    * constant over time and across user environments.
61    * </pre>
62    *
63    * <code>.grafeas.v1.CVSSv3.AttackVector attack_vector = 5;</code>
64    *
65    * @return The enum numeric value on the wire for attackVector.
66    */
getAttackVectorValue()67   int getAttackVectorValue();
68   /**
69    *
70    *
71    * <pre>
72    * Base Metrics
73    * Represents the intrinsic characteristics of a vulnerability that are
74    * constant over time and across user environments.
75    * </pre>
76    *
77    * <code>.grafeas.v1.CVSSv3.AttackVector attack_vector = 5;</code>
78    *
79    * @return The attackVector.
80    */
getAttackVector()81   io.grafeas.v1.CVSSv3.AttackVector getAttackVector();
82 
83   /**
84    * <code>.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;</code>
85    *
86    * @return The enum numeric value on the wire for attackComplexity.
87    */
getAttackComplexityValue()88   int getAttackComplexityValue();
89   /**
90    * <code>.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;</code>
91    *
92    * @return The attackComplexity.
93    */
getAttackComplexity()94   io.grafeas.v1.CVSSv3.AttackComplexity getAttackComplexity();
95 
96   /**
97    * <code>.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;</code>
98    *
99    * @return The enum numeric value on the wire for privilegesRequired.
100    */
getPrivilegesRequiredValue()101   int getPrivilegesRequiredValue();
102   /**
103    * <code>.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;</code>
104    *
105    * @return The privilegesRequired.
106    */
getPrivilegesRequired()107   io.grafeas.v1.CVSSv3.PrivilegesRequired getPrivilegesRequired();
108 
109   /**
110    * <code>.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;</code>
111    *
112    * @return The enum numeric value on the wire for userInteraction.
113    */
getUserInteractionValue()114   int getUserInteractionValue();
115   /**
116    * <code>.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;</code>
117    *
118    * @return The userInteraction.
119    */
getUserInteraction()120   io.grafeas.v1.CVSSv3.UserInteraction getUserInteraction();
121 
122   /**
123    * <code>.grafeas.v1.CVSSv3.Scope scope = 9;</code>
124    *
125    * @return The enum numeric value on the wire for scope.
126    */
getScopeValue()127   int getScopeValue();
128   /**
129    * <code>.grafeas.v1.CVSSv3.Scope scope = 9;</code>
130    *
131    * @return The scope.
132    */
getScope()133   io.grafeas.v1.CVSSv3.Scope getScope();
134 
135   /**
136    * <code>.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;</code>
137    *
138    * @return The enum numeric value on the wire for confidentialityImpact.
139    */
getConfidentialityImpactValue()140   int getConfidentialityImpactValue();
141   /**
142    * <code>.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;</code>
143    *
144    * @return The confidentialityImpact.
145    */
getConfidentialityImpact()146   io.grafeas.v1.CVSSv3.Impact getConfidentialityImpact();
147 
148   /**
149    * <code>.grafeas.v1.CVSSv3.Impact integrity_impact = 11;</code>
150    *
151    * @return The enum numeric value on the wire for integrityImpact.
152    */
getIntegrityImpactValue()153   int getIntegrityImpactValue();
154   /**
155    * <code>.grafeas.v1.CVSSv3.Impact integrity_impact = 11;</code>
156    *
157    * @return The integrityImpact.
158    */
getIntegrityImpact()159   io.grafeas.v1.CVSSv3.Impact getIntegrityImpact();
160 
161   /**
162    * <code>.grafeas.v1.CVSSv3.Impact availability_impact = 12;</code>
163    *
164    * @return The enum numeric value on the wire for availabilityImpact.
165    */
getAvailabilityImpactValue()166   int getAvailabilityImpactValue();
167   /**
168    * <code>.grafeas.v1.CVSSv3.Impact availability_impact = 12;</code>
169    *
170    * @return The availabilityImpact.
171    */
getAvailabilityImpact()172   io.grafeas.v1.CVSSv3.Impact getAvailabilityImpact();
173 }
174