1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package cvss
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 type CVSSv3_AttackVector int32
39
40 const (
41 CVSSv3_ATTACK_VECTOR_UNSPECIFIED CVSSv3_AttackVector = 0
42 CVSSv3_ATTACK_VECTOR_NETWORK CVSSv3_AttackVector = 1
43 CVSSv3_ATTACK_VECTOR_ADJACENT CVSSv3_AttackVector = 2
44 CVSSv3_ATTACK_VECTOR_LOCAL CVSSv3_AttackVector = 3
45 CVSSv3_ATTACK_VECTOR_PHYSICAL CVSSv3_AttackVector = 4
46 )
47
48
49 var (
50 CVSSv3_AttackVector_name = map[int32]string{
51 0: "ATTACK_VECTOR_UNSPECIFIED",
52 1: "ATTACK_VECTOR_NETWORK",
53 2: "ATTACK_VECTOR_ADJACENT",
54 3: "ATTACK_VECTOR_LOCAL",
55 4: "ATTACK_VECTOR_PHYSICAL",
56 }
57 CVSSv3_AttackVector_value = map[string]int32{
58 "ATTACK_VECTOR_UNSPECIFIED": 0,
59 "ATTACK_VECTOR_NETWORK": 1,
60 "ATTACK_VECTOR_ADJACENT": 2,
61 "ATTACK_VECTOR_LOCAL": 3,
62 "ATTACK_VECTOR_PHYSICAL": 4,
63 }
64 )
65
66 func (x CVSSv3_AttackVector) Enum() *CVSSv3_AttackVector {
67 p := new(CVSSv3_AttackVector)
68 *p = x
69 return p
70 }
71
72 func (x CVSSv3_AttackVector) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (CVSSv3_AttackVector) Descriptor() protoreflect.EnumDescriptor {
77 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[0].Descriptor()
78 }
79
80 func (CVSSv3_AttackVector) Type() protoreflect.EnumType {
81 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[0]
82 }
83
84 func (x CVSSv3_AttackVector) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88
89 func (CVSSv3_AttackVector) EnumDescriptor() ([]byte, []int) {
90 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 0}
91 }
92
93 type CVSSv3_AttackComplexity int32
94
95 const (
96 CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED CVSSv3_AttackComplexity = 0
97 CVSSv3_ATTACK_COMPLEXITY_LOW CVSSv3_AttackComplexity = 1
98 CVSSv3_ATTACK_COMPLEXITY_HIGH CVSSv3_AttackComplexity = 2
99 )
100
101
102 var (
103 CVSSv3_AttackComplexity_name = map[int32]string{
104 0: "ATTACK_COMPLEXITY_UNSPECIFIED",
105 1: "ATTACK_COMPLEXITY_LOW",
106 2: "ATTACK_COMPLEXITY_HIGH",
107 }
108 CVSSv3_AttackComplexity_value = map[string]int32{
109 "ATTACK_COMPLEXITY_UNSPECIFIED": 0,
110 "ATTACK_COMPLEXITY_LOW": 1,
111 "ATTACK_COMPLEXITY_HIGH": 2,
112 }
113 )
114
115 func (x CVSSv3_AttackComplexity) Enum() *CVSSv3_AttackComplexity {
116 p := new(CVSSv3_AttackComplexity)
117 *p = x
118 return p
119 }
120
121 func (x CVSSv3_AttackComplexity) String() string {
122 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
123 }
124
125 func (CVSSv3_AttackComplexity) Descriptor() protoreflect.EnumDescriptor {
126 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[1].Descriptor()
127 }
128
129 func (CVSSv3_AttackComplexity) Type() protoreflect.EnumType {
130 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[1]
131 }
132
133 func (x CVSSv3_AttackComplexity) Number() protoreflect.EnumNumber {
134 return protoreflect.EnumNumber(x)
135 }
136
137
138 func (CVSSv3_AttackComplexity) EnumDescriptor() ([]byte, []int) {
139 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 1}
140 }
141
142 type CVSSv3_PrivilegesRequired int32
143
144 const (
145 CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED CVSSv3_PrivilegesRequired = 0
146 CVSSv3_PRIVILEGES_REQUIRED_NONE CVSSv3_PrivilegesRequired = 1
147 CVSSv3_PRIVILEGES_REQUIRED_LOW CVSSv3_PrivilegesRequired = 2
148 CVSSv3_PRIVILEGES_REQUIRED_HIGH CVSSv3_PrivilegesRequired = 3
149 )
150
151
152 var (
153 CVSSv3_PrivilegesRequired_name = map[int32]string{
154 0: "PRIVILEGES_REQUIRED_UNSPECIFIED",
155 1: "PRIVILEGES_REQUIRED_NONE",
156 2: "PRIVILEGES_REQUIRED_LOW",
157 3: "PRIVILEGES_REQUIRED_HIGH",
158 }
159 CVSSv3_PrivilegesRequired_value = map[string]int32{
160 "PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
161 "PRIVILEGES_REQUIRED_NONE": 1,
162 "PRIVILEGES_REQUIRED_LOW": 2,
163 "PRIVILEGES_REQUIRED_HIGH": 3,
164 }
165 )
166
167 func (x CVSSv3_PrivilegesRequired) Enum() *CVSSv3_PrivilegesRequired {
168 p := new(CVSSv3_PrivilegesRequired)
169 *p = x
170 return p
171 }
172
173 func (x CVSSv3_PrivilegesRequired) String() string {
174 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
175 }
176
177 func (CVSSv3_PrivilegesRequired) Descriptor() protoreflect.EnumDescriptor {
178 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[2].Descriptor()
179 }
180
181 func (CVSSv3_PrivilegesRequired) Type() protoreflect.EnumType {
182 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[2]
183 }
184
185 func (x CVSSv3_PrivilegesRequired) Number() protoreflect.EnumNumber {
186 return protoreflect.EnumNumber(x)
187 }
188
189
190 func (CVSSv3_PrivilegesRequired) EnumDescriptor() ([]byte, []int) {
191 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 2}
192 }
193
194 type CVSSv3_UserInteraction int32
195
196 const (
197 CVSSv3_USER_INTERACTION_UNSPECIFIED CVSSv3_UserInteraction = 0
198 CVSSv3_USER_INTERACTION_NONE CVSSv3_UserInteraction = 1
199 CVSSv3_USER_INTERACTION_REQUIRED CVSSv3_UserInteraction = 2
200 )
201
202
203 var (
204 CVSSv3_UserInteraction_name = map[int32]string{
205 0: "USER_INTERACTION_UNSPECIFIED",
206 1: "USER_INTERACTION_NONE",
207 2: "USER_INTERACTION_REQUIRED",
208 }
209 CVSSv3_UserInteraction_value = map[string]int32{
210 "USER_INTERACTION_UNSPECIFIED": 0,
211 "USER_INTERACTION_NONE": 1,
212 "USER_INTERACTION_REQUIRED": 2,
213 }
214 )
215
216 func (x CVSSv3_UserInteraction) Enum() *CVSSv3_UserInteraction {
217 p := new(CVSSv3_UserInteraction)
218 *p = x
219 return p
220 }
221
222 func (x CVSSv3_UserInteraction) String() string {
223 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
224 }
225
226 func (CVSSv3_UserInteraction) Descriptor() protoreflect.EnumDescriptor {
227 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[3].Descriptor()
228 }
229
230 func (CVSSv3_UserInteraction) Type() protoreflect.EnumType {
231 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[3]
232 }
233
234 func (x CVSSv3_UserInteraction) Number() protoreflect.EnumNumber {
235 return protoreflect.EnumNumber(x)
236 }
237
238
239 func (CVSSv3_UserInteraction) EnumDescriptor() ([]byte, []int) {
240 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 3}
241 }
242
243 type CVSSv3_Scope int32
244
245 const (
246 CVSSv3_SCOPE_UNSPECIFIED CVSSv3_Scope = 0
247 CVSSv3_SCOPE_UNCHANGED CVSSv3_Scope = 1
248 CVSSv3_SCOPE_CHANGED CVSSv3_Scope = 2
249 )
250
251
252 var (
253 CVSSv3_Scope_name = map[int32]string{
254 0: "SCOPE_UNSPECIFIED",
255 1: "SCOPE_UNCHANGED",
256 2: "SCOPE_CHANGED",
257 }
258 CVSSv3_Scope_value = map[string]int32{
259 "SCOPE_UNSPECIFIED": 0,
260 "SCOPE_UNCHANGED": 1,
261 "SCOPE_CHANGED": 2,
262 }
263 )
264
265 func (x CVSSv3_Scope) Enum() *CVSSv3_Scope {
266 p := new(CVSSv3_Scope)
267 *p = x
268 return p
269 }
270
271 func (x CVSSv3_Scope) String() string {
272 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
273 }
274
275 func (CVSSv3_Scope) Descriptor() protoreflect.EnumDescriptor {
276 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[4].Descriptor()
277 }
278
279 func (CVSSv3_Scope) Type() protoreflect.EnumType {
280 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[4]
281 }
282
283 func (x CVSSv3_Scope) Number() protoreflect.EnumNumber {
284 return protoreflect.EnumNumber(x)
285 }
286
287
288 func (CVSSv3_Scope) EnumDescriptor() ([]byte, []int) {
289 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 4}
290 }
291
292 type CVSSv3_Impact int32
293
294 const (
295 CVSSv3_IMPACT_UNSPECIFIED CVSSv3_Impact = 0
296 CVSSv3_IMPACT_HIGH CVSSv3_Impact = 1
297 CVSSv3_IMPACT_LOW CVSSv3_Impact = 2
298 CVSSv3_IMPACT_NONE CVSSv3_Impact = 3
299 )
300
301
302 var (
303 CVSSv3_Impact_name = map[int32]string{
304 0: "IMPACT_UNSPECIFIED",
305 1: "IMPACT_HIGH",
306 2: "IMPACT_LOW",
307 3: "IMPACT_NONE",
308 }
309 CVSSv3_Impact_value = map[string]int32{
310 "IMPACT_UNSPECIFIED": 0,
311 "IMPACT_HIGH": 1,
312 "IMPACT_LOW": 2,
313 "IMPACT_NONE": 3,
314 }
315 )
316
317 func (x CVSSv3_Impact) Enum() *CVSSv3_Impact {
318 p := new(CVSSv3_Impact)
319 *p = x
320 return p
321 }
322
323 func (x CVSSv3_Impact) String() string {
324 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
325 }
326
327 func (CVSSv3_Impact) Descriptor() protoreflect.EnumDescriptor {
328 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[5].Descriptor()
329 }
330
331 func (CVSSv3_Impact) Type() protoreflect.EnumType {
332 return &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes[5]
333 }
334
335 func (x CVSSv3_Impact) Number() protoreflect.EnumNumber {
336 return protoreflect.EnumNumber(x)
337 }
338
339
340 func (CVSSv3_Impact) EnumDescriptor() ([]byte, []int) {
341 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0, 5}
342 }
343
344
345
346 type CVSSv3 struct {
347 state protoimpl.MessageState
348 sizeCache protoimpl.SizeCache
349 unknownFields protoimpl.UnknownFields
350
351
352 BaseScore float32 `protobuf:"fixed32,1,opt,name=base_score,json=baseScore,proto3" json:"base_score,omitempty"`
353 ExploitabilityScore float32 `protobuf:"fixed32,2,opt,name=exploitability_score,json=exploitabilityScore,proto3" json:"exploitability_score,omitempty"`
354 ImpactScore float32 `protobuf:"fixed32,3,opt,name=impact_score,json=impactScore,proto3" json:"impact_score,omitempty"`
355
356
357
358 AttackVector CVSSv3_AttackVector `protobuf:"varint,5,opt,name=attack_vector,json=attackVector,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_AttackVector" json:"attack_vector,omitempty"`
359 AttackComplexity CVSSv3_AttackComplexity `protobuf:"varint,6,opt,name=attack_complexity,json=attackComplexity,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_AttackComplexity" json:"attack_complexity,omitempty"`
360 PrivilegesRequired CVSSv3_PrivilegesRequired `protobuf:"varint,7,opt,name=privileges_required,json=privilegesRequired,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_PrivilegesRequired" json:"privileges_required,omitempty"`
361 UserInteraction CVSSv3_UserInteraction `protobuf:"varint,8,opt,name=user_interaction,json=userInteraction,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_UserInteraction" json:"user_interaction,omitempty"`
362 Scope CVSSv3_Scope `protobuf:"varint,9,opt,name=scope,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_Scope" json:"scope,omitempty"`
363 ConfidentialityImpact CVSSv3_Impact `protobuf:"varint,10,opt,name=confidentiality_impact,json=confidentialityImpact,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_Impact" json:"confidentiality_impact,omitempty"`
364 IntegrityImpact CVSSv3_Impact `protobuf:"varint,11,opt,name=integrity_impact,json=integrityImpact,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_Impact" json:"integrity_impact,omitempty"`
365 AvailabilityImpact CVSSv3_Impact `protobuf:"varint,12,opt,name=availability_impact,json=availabilityImpact,proto3,enum=grafeas.v1beta1.vulnerability.CVSSv3_Impact" json:"availability_impact,omitempty"`
366 }
367
368 func (x *CVSSv3) Reset() {
369 *x = CVSSv3{}
370 if protoimpl.UnsafeEnabled {
371 mi := &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_msgTypes[0]
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 ms.StoreMessageInfo(mi)
374 }
375 }
376
377 func (x *CVSSv3) String() string {
378 return protoimpl.X.MessageStringOf(x)
379 }
380
381 func (*CVSSv3) ProtoMessage() {}
382
383 func (x *CVSSv3) ProtoReflect() protoreflect.Message {
384 mi := &file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_msgTypes[0]
385 if protoimpl.UnsafeEnabled && x != nil {
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 if ms.LoadMessageInfo() == nil {
388 ms.StoreMessageInfo(mi)
389 }
390 return ms
391 }
392 return mi.MessageOf(x)
393 }
394
395
396 func (*CVSSv3) Descriptor() ([]byte, []int) {
397 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP(), []int{0}
398 }
399
400 func (x *CVSSv3) GetBaseScore() float32 {
401 if x != nil {
402 return x.BaseScore
403 }
404 return 0
405 }
406
407 func (x *CVSSv3) GetExploitabilityScore() float32 {
408 if x != nil {
409 return x.ExploitabilityScore
410 }
411 return 0
412 }
413
414 func (x *CVSSv3) GetImpactScore() float32 {
415 if x != nil {
416 return x.ImpactScore
417 }
418 return 0
419 }
420
421 func (x *CVSSv3) GetAttackVector() CVSSv3_AttackVector {
422 if x != nil {
423 return x.AttackVector
424 }
425 return CVSSv3_ATTACK_VECTOR_UNSPECIFIED
426 }
427
428 func (x *CVSSv3) GetAttackComplexity() CVSSv3_AttackComplexity {
429 if x != nil {
430 return x.AttackComplexity
431 }
432 return CVSSv3_ATTACK_COMPLEXITY_UNSPECIFIED
433 }
434
435 func (x *CVSSv3) GetPrivilegesRequired() CVSSv3_PrivilegesRequired {
436 if x != nil {
437 return x.PrivilegesRequired
438 }
439 return CVSSv3_PRIVILEGES_REQUIRED_UNSPECIFIED
440 }
441
442 func (x *CVSSv3) GetUserInteraction() CVSSv3_UserInteraction {
443 if x != nil {
444 return x.UserInteraction
445 }
446 return CVSSv3_USER_INTERACTION_UNSPECIFIED
447 }
448
449 func (x *CVSSv3) GetScope() CVSSv3_Scope {
450 if x != nil {
451 return x.Scope
452 }
453 return CVSSv3_SCOPE_UNSPECIFIED
454 }
455
456 func (x *CVSSv3) GetConfidentialityImpact() CVSSv3_Impact {
457 if x != nil {
458 return x.ConfidentialityImpact
459 }
460 return CVSSv3_IMPACT_UNSPECIFIED
461 }
462
463 func (x *CVSSv3) GetIntegrityImpact() CVSSv3_Impact {
464 if x != nil {
465 return x.IntegrityImpact
466 }
467 return CVSSv3_IMPACT_UNSPECIFIED
468 }
469
470 func (x *CVSSv3) GetAvailabilityImpact() CVSSv3_Impact {
471 if x != nil {
472 return x.AvailabilityImpact
473 }
474 return CVSSv3_IMPACT_UNSPECIFIED
475 }
476
477 var File_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto protoreflect.FileDescriptor
478
479 var file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDesc = []byte{
480 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
481 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
482 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x76, 0x73, 0x73,
483 0x2f, 0x63, 0x76, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x72, 0x61,
484 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c,
485 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x92, 0x0c, 0x0a, 0x06, 0x43,
486 0x56, 0x53, 0x53, 0x76, 0x33, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63,
487 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x53,
488 0x63, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x69, 0x74, 0x61,
489 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01,
490 0x28, 0x02, 0x52, 0x13, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x69, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69,
491 0x74, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x61, 0x63,
492 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x69,
493 0x6d, 0x70, 0x61, 0x63, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x57, 0x0a, 0x0d, 0x61, 0x74,
494 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
495 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
496 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74,
497 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x56,
498 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x56, 0x65, 0x63,
499 0x74, 0x6f, 0x72, 0x12, 0x63, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x63, 0x6f,
500 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36,
501 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
502 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43,
503 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70,
504 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f,
505 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x12, 0x69, 0x0a, 0x13, 0x70, 0x72, 0x69, 0x76,
506 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18,
507 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e,
508 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62,
509 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x69,
510 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52,
511 0x12, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69,
512 0x72, 0x65, 0x64, 0x12, 0x60, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x74, 0x65,
513 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e,
514 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
515 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56,
516 0x53, 0x53, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
517 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61,
518 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x09,
519 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
520 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69,
521 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70,
522 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x66,
523 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61,
524 0x63, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65,
525 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65,
526 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e,
527 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e,
528 0x74, 0x69, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x57, 0x0a,
529 0x10, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63,
530 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61,
531 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72,
532 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x49,
533 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x69, 0x74, 0x79,
534 0x49, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x5d, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61,
535 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x0c, 0x20,
536 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
537 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c,
538 0x69, 0x74, 0x79, 0x2e, 0x43, 0x56, 0x53, 0x53, 0x76, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x61, 0x63,
539 0x74, 0x52, 0x12, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49,
540 0x6d, 0x70, 0x61, 0x63, 0x74, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
541 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b,
542 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
543 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f,
544 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x10, 0x01,
545 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f,
546 0x52, 0x5f, 0x41, 0x44, 0x4a, 0x41, 0x43, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13,
547 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x4c, 0x4f,
548 0x43, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f,
549 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x50, 0x48, 0x59, 0x53, 0x49, 0x43, 0x41, 0x4c, 0x10,
550 0x04, 0x22, 0x6c, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c,
551 0x65, 0x78, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f,
552 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
553 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, 0x54, 0x41,
554 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x4f,
555 0x57, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x54, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x43, 0x4f,
556 0x4d, 0x50, 0x4c, 0x45, 0x58, 0x49, 0x54, 0x59, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, 0x22,
557 0x92, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x52, 0x65,
558 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c,
559 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x55, 0x4e,
560 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x50,
561 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52,
562 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x49,
563 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44,
564 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c,
565 0x45, 0x47, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x48, 0x49,
566 0x47, 0x48, 0x10, 0x03, 0x22, 0x6d, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65,
567 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x1c, 0x55, 0x53, 0x45, 0x52, 0x5f,
568 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50,
569 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45,
570 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f,
571 0x4e, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x54,
572 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45,
573 0x44, 0x10, 0x02, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11,
574 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
575 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x43,
576 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x43, 0x4f, 0x50,
577 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x22, 0x52, 0x0a, 0x06, 0x49,
578 0x6d, 0x70, 0x61, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f,
579 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a,
580 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x01, 0x12, 0x0e,
581 0x0a, 0x0a, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0f,
582 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x42,
583 0x7e, 0x0a, 0x20, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
584 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c,
585 0x69, 0x74, 0x79, 0x50, 0x01, 0x5a, 0x52, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
586 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
587 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76,
588 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61,
589 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
590 0x63, 0x76, 0x73, 0x73, 0x3b, 0x63, 0x76, 0x73, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62,
591 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
592 }
593
594 var (
595 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescOnce sync.Once
596 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDesc
597 )
598
599 func file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescGZIP() []byte {
600 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescOnce.Do(func() {
601 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescData)
602 })
603 return file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDescData
604 }
605
606 var file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
607 var file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
608 var file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_goTypes = []interface{}{
609 (CVSSv3_AttackVector)(0),
610 (CVSSv3_AttackComplexity)(0),
611 (CVSSv3_PrivilegesRequired)(0),
612 (CVSSv3_UserInteraction)(0),
613 (CVSSv3_Scope)(0),
614 (CVSSv3_Impact)(0),
615 (*CVSSv3)(nil),
616 }
617 var file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_depIdxs = []int32{
618 0,
619 1,
620 2,
621 3,
622 4,
623 5,
624 5,
625 5,
626 8,
627 8,
628 8,
629 8,
630 0,
631 }
632
633 func init() { file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_init() }
634 func file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_init() {
635 if File_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto != nil {
636 return
637 }
638 if !protoimpl.UnsafeEnabled {
639 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
640 switch v := v.(*CVSSv3); i {
641 case 0:
642 return &v.state
643 case 1:
644 return &v.sizeCache
645 case 2:
646 return &v.unknownFields
647 default:
648 return nil
649 }
650 }
651 }
652 type x struct{}
653 out := protoimpl.TypeBuilder{
654 File: protoimpl.DescBuilder{
655 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
656 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDesc,
657 NumEnums: 6,
658 NumMessages: 1,
659 NumExtensions: 0,
660 NumServices: 0,
661 },
662 GoTypes: file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_goTypes,
663 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_depIdxs,
664 EnumInfos: file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_enumTypes,
665 MessageInfos: file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_msgTypes,
666 }.Build()
667 File_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto = out.File
668 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_rawDesc = nil
669 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_goTypes = nil
670 file_google_devtools_containeranalysis_v1beta1_cvss_cvss_proto_depIdxs = nil
671 }
672
View as plain text