1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package containersecurity_logging
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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41 type FindingType int32
42
43 const (
44
45 FindingType_FINDING_TYPE_UNSPECIFIED FindingType = 0
46
47 FindingType_FINDING_TYPE_MISCONFIG FindingType = 1
48
49 FindingType_FINDING_TYPE_VULNERABILITY FindingType = 2
50 )
51
52
53 var (
54 FindingType_name = map[int32]string{
55 0: "FINDING_TYPE_UNSPECIFIED",
56 1: "FINDING_TYPE_MISCONFIG",
57 2: "FINDING_TYPE_VULNERABILITY",
58 }
59 FindingType_value = map[string]int32{
60 "FINDING_TYPE_UNSPECIFIED": 0,
61 "FINDING_TYPE_MISCONFIG": 1,
62 "FINDING_TYPE_VULNERABILITY": 2,
63 }
64 )
65
66 func (x FindingType) Enum() *FindingType {
67 p := new(FindingType)
68 *p = x
69 return p
70 }
71
72 func (x FindingType) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (FindingType) Descriptor() protoreflect.EnumDescriptor {
77 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[0].Descriptor()
78 }
79
80 func (FindingType) Type() protoreflect.EnumType {
81 return &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[0]
82 }
83
84 func (x FindingType) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88
89 func (FindingType) EnumDescriptor() ([]byte, []int) {
90 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP(), []int{0}
91 }
92
93
94 type Severity int32
95
96 const (
97
98 Severity_SEVERITY_UNSPECIFIED Severity = 0
99
100 Severity_SEVERITY_CRITICAL Severity = 1
101
102 Severity_SEVERITY_HIGH Severity = 2
103
104 Severity_SEVERITY_MEDIUM Severity = 3
105
106 Severity_SEVERITY_LOW Severity = 4
107 )
108
109
110 var (
111 Severity_name = map[int32]string{
112 0: "SEVERITY_UNSPECIFIED",
113 1: "SEVERITY_CRITICAL",
114 2: "SEVERITY_HIGH",
115 3: "SEVERITY_MEDIUM",
116 4: "SEVERITY_LOW",
117 }
118 Severity_value = map[string]int32{
119 "SEVERITY_UNSPECIFIED": 0,
120 "SEVERITY_CRITICAL": 1,
121 "SEVERITY_HIGH": 2,
122 "SEVERITY_MEDIUM": 3,
123 "SEVERITY_LOW": 4,
124 }
125 )
126
127 func (x Severity) Enum() *Severity {
128 p := new(Severity)
129 *p = x
130 return p
131 }
132
133 func (x Severity) String() string {
134 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
135 }
136
137 func (Severity) Descriptor() protoreflect.EnumDescriptor {
138 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[1].Descriptor()
139 }
140
141 func (Severity) Type() protoreflect.EnumType {
142 return &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[1]
143 }
144
145 func (x Severity) Number() protoreflect.EnumNumber {
146 return protoreflect.EnumNumber(x)
147 }
148
149
150 func (Severity) EnumDescriptor() ([]byte, []int) {
151 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP(), []int{1}
152 }
153
154
155 type Finding_State int32
156
157 const (
158
159 Finding_STATE_UNSPECIFIED Finding_State = 0
160
161 Finding_ACTIVE Finding_State = 1
162
163 Finding_REMEDIATED Finding_State = 2
164 )
165
166
167 var (
168 Finding_State_name = map[int32]string{
169 0: "STATE_UNSPECIFIED",
170 1: "ACTIVE",
171 2: "REMEDIATED",
172 }
173 Finding_State_value = map[string]int32{
174 "STATE_UNSPECIFIED": 0,
175 "ACTIVE": 1,
176 "REMEDIATED": 2,
177 }
178 )
179
180 func (x Finding_State) Enum() *Finding_State {
181 p := new(Finding_State)
182 *p = x
183 return p
184 }
185
186 func (x Finding_State) String() string {
187 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
188 }
189
190 func (Finding_State) Descriptor() protoreflect.EnumDescriptor {
191 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[2].Descriptor()
192 }
193
194 func (Finding_State) Type() protoreflect.EnumType {
195 return &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes[2]
196 }
197
198 func (x Finding_State) Number() protoreflect.EnumNumber {
199 return protoreflect.EnumNumber(x)
200 }
201
202
203 func (Finding_State) EnumDescriptor() ([]byte, []int) {
204 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP(), []int{1, 0}
205 }
206
207
208 type Vulnerability struct {
209 state protoimpl.MessageState
210 sizeCache protoimpl.SizeCache
211 unknownFields protoimpl.UnknownFields
212
213
214 PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
215
216 AffectedPackageVersion string `protobuf:"bytes,2,opt,name=affected_package_version,json=affectedPackageVersion,proto3" json:"affected_package_version,omitempty"`
217
218 CveId string `protobuf:"bytes,3,opt,name=cve_id,json=cveId,proto3" json:"cve_id,omitempty"`
219
220 CpeUri string `protobuf:"bytes,4,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
221
222 Severity Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=cloud.kubernetes.security.containersecurity_logging.Severity" json:"severity,omitempty"`
223
224 CvssScore float32 `protobuf:"fixed32,6,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"`
225
226 CvssVector string `protobuf:"bytes,7,opt,name=cvss_vector,json=cvssVector,proto3" json:"cvss_vector,omitempty"`
227
228 FixedCpeUri string `protobuf:"bytes,8,opt,name=fixed_cpe_uri,json=fixedCpeUri,proto3" json:"fixed_cpe_uri,omitempty"`
229
230 PackageType string `protobuf:"bytes,9,opt,name=package_type,json=packageType,proto3" json:"package_type,omitempty"`
231
232 FixedPackage string `protobuf:"bytes,10,opt,name=fixed_package,json=fixedPackage,proto3" json:"fixed_package,omitempty"`
233
234 FixedPackageVersion string `protobuf:"bytes,11,opt,name=fixed_package_version,json=fixedPackageVersion,proto3" json:"fixed_package_version,omitempty"`
235
236 Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
237
238 RelatedUrls []string `protobuf:"bytes,13,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
239
240 AffectedImages []string `protobuf:"bytes,14,rep,name=affected_images,json=affectedImages,proto3" json:"affected_images,omitempty"`
241 }
242
243 func (x *Vulnerability) Reset() {
244 *x = Vulnerability{}
245 if protoimpl.UnsafeEnabled {
246 mi := &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[0]
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 ms.StoreMessageInfo(mi)
249 }
250 }
251
252 func (x *Vulnerability) String() string {
253 return protoimpl.X.MessageStringOf(x)
254 }
255
256 func (*Vulnerability) ProtoMessage() {}
257
258 func (x *Vulnerability) ProtoReflect() protoreflect.Message {
259 mi := &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[0]
260 if protoimpl.UnsafeEnabled && x != nil {
261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
262 if ms.LoadMessageInfo() == nil {
263 ms.StoreMessageInfo(mi)
264 }
265 return ms
266 }
267 return mi.MessageOf(x)
268 }
269
270
271 func (*Vulnerability) Descriptor() ([]byte, []int) {
272 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP(), []int{0}
273 }
274
275 func (x *Vulnerability) GetPackageName() string {
276 if x != nil {
277 return x.PackageName
278 }
279 return ""
280 }
281
282 func (x *Vulnerability) GetAffectedPackageVersion() string {
283 if x != nil {
284 return x.AffectedPackageVersion
285 }
286 return ""
287 }
288
289 func (x *Vulnerability) GetCveId() string {
290 if x != nil {
291 return x.CveId
292 }
293 return ""
294 }
295
296 func (x *Vulnerability) GetCpeUri() string {
297 if x != nil {
298 return x.CpeUri
299 }
300 return ""
301 }
302
303 func (x *Vulnerability) GetSeverity() Severity {
304 if x != nil {
305 return x.Severity
306 }
307 return Severity_SEVERITY_UNSPECIFIED
308 }
309
310 func (x *Vulnerability) GetCvssScore() float32 {
311 if x != nil {
312 return x.CvssScore
313 }
314 return 0
315 }
316
317 func (x *Vulnerability) GetCvssVector() string {
318 if x != nil {
319 return x.CvssVector
320 }
321 return ""
322 }
323
324 func (x *Vulnerability) GetFixedCpeUri() string {
325 if x != nil {
326 return x.FixedCpeUri
327 }
328 return ""
329 }
330
331 func (x *Vulnerability) GetPackageType() string {
332 if x != nil {
333 return x.PackageType
334 }
335 return ""
336 }
337
338 func (x *Vulnerability) GetFixedPackage() string {
339 if x != nil {
340 return x.FixedPackage
341 }
342 return ""
343 }
344
345 func (x *Vulnerability) GetFixedPackageVersion() string {
346 if x != nil {
347 return x.FixedPackageVersion
348 }
349 return ""
350 }
351
352 func (x *Vulnerability) GetDescription() string {
353 if x != nil {
354 return x.Description
355 }
356 return ""
357 }
358
359 func (x *Vulnerability) GetRelatedUrls() []string {
360 if x != nil {
361 return x.RelatedUrls
362 }
363 return nil
364 }
365
366 func (x *Vulnerability) GetAffectedImages() []string {
367 if x != nil {
368 return x.AffectedImages
369 }
370 return nil
371 }
372
373
374
375
376
377 type Finding struct {
378 state protoimpl.MessageState
379 sizeCache protoimpl.SizeCache
380 unknownFields protoimpl.UnknownFields
381
382
383
384 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
385
386 Type FindingType `protobuf:"varint,2,opt,name=type,proto3,enum=cloud.kubernetes.security.containersecurity_logging.FindingType" json:"type,omitempty"`
387
388 State Finding_State `protobuf:"varint,3,opt,name=state,proto3,enum=cloud.kubernetes.security.containersecurity_logging.Finding_State" json:"state,omitempty"`
389
390
391 Finding string `protobuf:"bytes,4,opt,name=finding,proto3" json:"finding,omitempty"`
392
393 Severity Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=cloud.kubernetes.security.containersecurity_logging.Severity" json:"severity,omitempty"`
394
395 EventTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
396
397
398
399
400
401 Details isFinding_Details `protobuf_oneof:"details"`
402 }
403
404 func (x *Finding) Reset() {
405 *x = Finding{}
406 if protoimpl.UnsafeEnabled {
407 mi := &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[1]
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 ms.StoreMessageInfo(mi)
410 }
411 }
412
413 func (x *Finding) String() string {
414 return protoimpl.X.MessageStringOf(x)
415 }
416
417 func (*Finding) ProtoMessage() {}
418
419 func (x *Finding) ProtoReflect() protoreflect.Message {
420 mi := &file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[1]
421 if protoimpl.UnsafeEnabled && x != nil {
422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
423 if ms.LoadMessageInfo() == nil {
424 ms.StoreMessageInfo(mi)
425 }
426 return ms
427 }
428 return mi.MessageOf(x)
429 }
430
431
432 func (*Finding) Descriptor() ([]byte, []int) {
433 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP(), []int{1}
434 }
435
436 func (x *Finding) GetResourceName() string {
437 if x != nil {
438 return x.ResourceName
439 }
440 return ""
441 }
442
443 func (x *Finding) GetType() FindingType {
444 if x != nil {
445 return x.Type
446 }
447 return FindingType_FINDING_TYPE_UNSPECIFIED
448 }
449
450 func (x *Finding) GetState() Finding_State {
451 if x != nil {
452 return x.State
453 }
454 return Finding_STATE_UNSPECIFIED
455 }
456
457 func (x *Finding) GetFinding() string {
458 if x != nil {
459 return x.Finding
460 }
461 return ""
462 }
463
464 func (x *Finding) GetSeverity() Severity {
465 if x != nil {
466 return x.Severity
467 }
468 return Severity_SEVERITY_UNSPECIFIED
469 }
470
471 func (x *Finding) GetEventTime() *timestamppb.Timestamp {
472 if x != nil {
473 return x.EventTime
474 }
475 return nil
476 }
477
478 func (m *Finding) GetDetails() isFinding_Details {
479 if m != nil {
480 return m.Details
481 }
482 return nil
483 }
484
485 func (x *Finding) GetVulnerability() *Vulnerability {
486 if x, ok := x.GetDetails().(*Finding_Vulnerability); ok {
487 return x.Vulnerability
488 }
489 return nil
490 }
491
492 type isFinding_Details interface {
493 isFinding_Details()
494 }
495
496 type Finding_Vulnerability struct {
497 Vulnerability *Vulnerability `protobuf:"bytes,7,opt,name=vulnerability,proto3,oneof"`
498 }
499
500 func (*Finding_Vulnerability) isFinding_Details() {}
501
502 var File_google_cloud_kubernetes_security_containersecurity_logging_logging_proto protoreflect.FileDescriptor
503
504 var file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDesc = []byte{
505 0x0a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6b,
506 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
507 0x74, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75,
508 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x6c, 0x6f, 0x67,
509 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x63, 0x6c, 0x6f, 0x75,
510 0x64, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63,
511 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
512 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a,
513 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
514 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
515 0x22, 0xc5, 0x04, 0x0a, 0x0d, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69,
516 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61,
517 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67,
518 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
519 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
520 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
521 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
522 0x15, 0x0a, 0x06, 0x63, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
523 0x05, 0x63, 0x76, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72,
524 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70, 0x65, 0x55, 0x72, 0x69, 0x12,
525 0x59, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
526 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e,
527 0x65, 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f,
528 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f,
529 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79,
530 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x76,
531 0x73, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09,
532 0x63, 0x76, 0x73, 0x73, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x76, 0x73,
533 0x73, 0x5f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
534 0x63, 0x76, 0x73, 0x73, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x69,
535 0x78, 0x65, 0x64, 0x5f, 0x63, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28,
536 0x09, 0x52, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x43, 0x70, 0x65, 0x55, 0x72, 0x69, 0x12, 0x21,
537 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09,
538 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
539 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61,
540 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x50,
541 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f,
542 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
543 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x66, 0x69, 0x78, 0x65, 0x64, 0x50, 0x61, 0x63, 0x6b,
544 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
545 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,
546 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c,
547 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03,
548 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x73, 0x12,
549 0x27, 0x0a, 0x0f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67,
550 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74,
551 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x22, 0xc1, 0x04, 0x0a, 0x07, 0x46, 0x69, 0x6e,
552 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
553 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73,
554 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x04, 0x74, 0x79, 0x70,
555 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
556 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
557 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63,
558 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x69,
559 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
560 0x58, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42,
561 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65,
562 0x73, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
563 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67,
564 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x61,
565 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6e,
566 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6e, 0x64,
567 0x69, 0x6e, 0x67, 0x12, 0x59, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18,
568 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x75,
569 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
570 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72,
571 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65,
572 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39,
573 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
574 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
575 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
576 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x6a, 0x0a, 0x0d, 0x76, 0x75, 0x6c,
577 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
578 0x32, 0x42, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65,
579 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
580 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c,
581 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69,
582 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62,
583 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x3a, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15,
584 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
585 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10,
586 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10,
587 0x02, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2a, 0x67, 0x0a, 0x0b,
588 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x46,
589 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
590 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x4e,
591 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x43, 0x4f, 0x4e,
592 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47,
593 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x49, 0x4c,
594 0x49, 0x54, 0x59, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74,
595 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e,
596 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53,
597 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c,
598 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x48,
599 0x49, 0x47, 0x48, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54,
600 0x59, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45,
601 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x42, 0x92, 0x03, 0x0a,
602 0x3e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
603 0x64, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x63,
604 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
605 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42,
606 0x1d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
607 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
608 0x5a, 0x73, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
609 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
610 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6b, 0x75,
611 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
612 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72,
613 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3b, 0x63, 0x6f, 0x6e, 0x74,
614 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x6f,
615 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
616 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e,
617 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
618 0x65, 0x72, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69,
619 0x6e, 0x67, 0xca, 0x02, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
620 0x64, 0x5c, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5c, 0x53, 0x65, 0x63,
621 0x75, 0x72, 0x69, 0x74, 0x79, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53,
622 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xea,
623 0x02, 0x3f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
624 0x3a, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x3a, 0x3a, 0x53, 0x65, 0x63,
625 0x75, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
626 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
627 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
628 }
629
630 var (
631 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescOnce sync.Once
632 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescData = file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDesc
633 )
634
635 func file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescGZIP() []byte {
636 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescOnce.Do(func() {
637 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescData)
638 })
639 return file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDescData
640 }
641
642 var file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
643 var file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
644 var file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_goTypes = []interface{}{
645 (FindingType)(0),
646 (Severity)(0),
647 (Finding_State)(0),
648 (*Vulnerability)(nil),
649 (*Finding)(nil),
650 (*timestamppb.Timestamp)(nil),
651 }
652 var file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_depIdxs = []int32{
653 1,
654 0,
655 2,
656 1,
657 5,
658 3,
659 6,
660 6,
661 6,
662 6,
663 0,
664 }
665
666 func init() { file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_init() }
667 func file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_init() {
668 if File_google_cloud_kubernetes_security_containersecurity_logging_logging_proto != nil {
669 return
670 }
671 if !protoimpl.UnsafeEnabled {
672 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
673 switch v := v.(*Vulnerability); i {
674 case 0:
675 return &v.state
676 case 1:
677 return &v.sizeCache
678 case 2:
679 return &v.unknownFields
680 default:
681 return nil
682 }
683 }
684 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
685 switch v := v.(*Finding); i {
686 case 0:
687 return &v.state
688 case 1:
689 return &v.sizeCache
690 case 2:
691 return &v.unknownFields
692 default:
693 return nil
694 }
695 }
696 }
697 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes[1].OneofWrappers = []interface{}{
698 (*Finding_Vulnerability)(nil),
699 }
700 type x struct{}
701 out := protoimpl.TypeBuilder{
702 File: protoimpl.DescBuilder{
703 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
704 RawDescriptor: file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDesc,
705 NumEnums: 3,
706 NumMessages: 2,
707 NumExtensions: 0,
708 NumServices: 0,
709 },
710 GoTypes: file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_goTypes,
711 DependencyIndexes: file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_depIdxs,
712 EnumInfos: file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_enumTypes,
713 MessageInfos: file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_msgTypes,
714 }.Build()
715 File_google_cloud_kubernetes_security_containersecurity_logging_logging_proto = out.File
716 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_rawDesc = nil
717 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_goTypes = nil
718 file_google_cloud_kubernetes_security_containersecurity_logging_logging_proto_depIdxs = nil
719 }
720
View as plain text