Repository navigation
Expand file tree
/
Copy pathaudit.pb.go
More file actions
582 lines (507 loc) · 18.4 KB
/
Copy pathaudit.pb.go
File metadata and controls
582 lines (507 loc) · 18.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc v6.32.1
// source: api/v1/audit.proto
package v1
import (
storage "github.com/stackrox/rox/generated/storage"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Audit_RequestStatus int32
const (
Audit_UNKNOWN_STATUS Audit_RequestStatus = 0
Audit_REQUEST_SUCCEEDED Audit_RequestStatus = 1
Audit_AUTH_FAILED Audit_RequestStatus = 2
Audit_REQUEST_FAILED Audit_RequestStatus = 3
)
// Enum value maps for Audit_RequestStatus.
var (
Audit_RequestStatus_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "REQUEST_SUCCEEDED",
2: "AUTH_FAILED",
3: "REQUEST_FAILED",
}
Audit_RequestStatus_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"REQUEST_SUCCEEDED": 1,
"AUTH_FAILED": 2,
"REQUEST_FAILED": 3,
}
)
func (x Audit_RequestStatus) Enum() *Audit_RequestStatus {
p := new(Audit_RequestStatus)
*p = x
return p
}
func (x Audit_RequestStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Audit_RequestStatus) Descriptor() protoreflect.EnumDescriptor {
return file_api_v1_audit_proto_enumTypes[0].Descriptor()
}
func (Audit_RequestStatus) Type() protoreflect.EnumType {
return &file_api_v1_audit_proto_enumTypes[0]
}
func (x Audit_RequestStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Audit_RequestStatus.Descriptor instead.
func (Audit_RequestStatus) EnumDescriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 0}
}
type Audit_Interaction int32
const (
Audit_UNKNOWN_INTERACTION Audit_Interaction = 0
Audit_CREATE Audit_Interaction = 1
Audit_UPDATE Audit_Interaction = 2
Audit_DELETE Audit_Interaction = 3
)
// Enum value maps for Audit_Interaction.
var (
Audit_Interaction_name = map[int32]string{
0: "UNKNOWN_INTERACTION",
1: "CREATE",
2: "UPDATE",
3: "DELETE",
}
Audit_Interaction_value = map[string]int32{
"UNKNOWN_INTERACTION": 0,
"CREATE": 1,
"UPDATE": 2,
"DELETE": 3,
}
)
func (x Audit_Interaction) Enum() *Audit_Interaction {
p := new(Audit_Interaction)
*p = x
return p
}
func (x Audit_Interaction) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Audit_Interaction) Descriptor() protoreflect.EnumDescriptor {
return file_api_v1_audit_proto_enumTypes[1].Descriptor()
}
func (Audit_Interaction) Type() protoreflect.EnumType {
return &file_api_v1_audit_proto_enumTypes[1]
}
func (x Audit_Interaction) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Audit_Interaction.Descriptor instead.
func (Audit_Interaction) EnumDescriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 1}
}
type Audit_AccessMethod int32
const (
Audit_UNKNOWN_METHOD Audit_AccessMethod = 0
Audit_CLI Audit_AccessMethod = 1
Audit_UI Audit_AccessMethod = 2
Audit_API Audit_AccessMethod = 3
)
// Enum value maps for Audit_AccessMethod.
var (
Audit_AccessMethod_name = map[int32]string{
0: "UNKNOWN_METHOD",
1: "CLI",
2: "UI",
3: "API",
}
Audit_AccessMethod_value = map[string]int32{
"UNKNOWN_METHOD": 0,
"CLI": 1,
"UI": 2,
"API": 3,
}
)
func (x Audit_AccessMethod) Enum() *Audit_AccessMethod {
p := new(Audit_AccessMethod)
*p = x
return p
}
func (x Audit_AccessMethod) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Audit_AccessMethod) Descriptor() protoreflect.EnumDescriptor {
return file_api_v1_audit_proto_enumTypes[2].Descriptor()
}
func (Audit_AccessMethod) Type() protoreflect.EnumType {
return &file_api_v1_audit_proto_enumTypes[2]
}
func (x Audit_AccessMethod) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Audit_AccessMethod.Descriptor instead.
func (Audit_AccessMethod) EnumDescriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 2}
}
type Audit struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Audit) Reset() {
*x = Audit{}
mi := &file_api_v1_audit_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Audit) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Audit) ProtoMessage() {}
func (x *Audit) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_audit_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Audit.ProtoReflect.Descriptor instead.
func (*Audit) Descriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0}
}
type Audit_Message struct {
state protoimpl.MessageState `protogen:"open.v1"`
Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
Status Audit_RequestStatus `protobuf:"varint,2,opt,name=status,proto3,enum=v1.Audit_RequestStatus" json:"status,omitempty"`
StatusReason string `protobuf:"bytes,3,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
User *storage.UserInfo `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
Request *Audit_Message_Request `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"`
Method Audit_AccessMethod `protobuf:"varint,6,opt,name=method,proto3,enum=v1.Audit_AccessMethod" json:"method,omitempty"`
Interaction Audit_Interaction `protobuf:"varint,7,opt,name=interaction,proto3,enum=v1.Audit_Interaction" json:"interaction,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Audit_Message) Reset() {
*x = Audit_Message{}
mi := &file_api_v1_audit_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Audit_Message) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Audit_Message) ProtoMessage() {}
func (x *Audit_Message) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_audit_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Audit_Message.ProtoReflect.Descriptor instead.
func (*Audit_Message) Descriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Audit_Message) GetTime() *timestamppb.Timestamp {
if x != nil {
return x.Time
}
return nil
}
func (x *Audit_Message) GetStatus() Audit_RequestStatus {
if x != nil {
return x.Status
}
return Audit_UNKNOWN_STATUS
}
func (x *Audit_Message) GetStatusReason() string {
if x != nil {
return x.StatusReason
}
return ""
}
func (x *Audit_Message) GetUser() *storage.UserInfo {
if x != nil {
return x.User
}
return nil
}
func (x *Audit_Message) GetRequest() *Audit_Message_Request {
if x != nil {
return x.Request
}
return nil
}
func (x *Audit_Message) GetMethod() Audit_AccessMethod {
if x != nil {
return x.Method
}
return Audit_UNKNOWN_METHOD
}
func (x *Audit_Message) GetInteraction() Audit_Interaction {
if x != nil {
return x.Interaction
}
return Audit_UNKNOWN_INTERACTION
}
type Audit_Message_Request struct {
state protoimpl.MessageState `protogen:"open.v1"`
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Payload *anypb.Any `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
SourceHeaders *Audit_Message_Request_SourceHeaders `protobuf:"bytes,4,opt,name=source_headers,json=sourceHeaders,proto3" json:"source_headers,omitempty"`
// The source IP of the request.
// This is determined from the values found within the request's source.
// The following priority is given:
// 1. X-Forwarded-For
// 2. Remote-Addr
// 3. Request address
//
// Depending on how Central configured to be exposed, the source IP _may_ be a cluster internal IP.
//
// In case of exposure with a Kubernetes Load Balancer Service, follow this configuration instruction
// to preserve the client IP: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
//
// In case of exposure with a Route, following types support preserving the client IP:
// - edge
// - re-encrypt
// The tls-passthrough type does not support preserving the client IP, due to the router not being able
// to decrypt the incoming HTTP request and adding additional headers (i.e. X-Forwarded-For) to the request.
//
// In case of exposure with a custom loadbalancer / ingress controller, if HTTPS is passed through to the
// Central, it also might not preserve the client IP correctly.
SourceIp string `protobuf:"bytes,5,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Audit_Message_Request) Reset() {
*x = Audit_Message_Request{}
mi := &file_api_v1_audit_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Audit_Message_Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Audit_Message_Request) ProtoMessage() {}
func (x *Audit_Message_Request) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_audit_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Audit_Message_Request.ProtoReflect.Descriptor instead.
func (*Audit_Message_Request) Descriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 0, 0}
}
func (x *Audit_Message_Request) GetEndpoint() string {
if x != nil {
return x.Endpoint
}
return ""
}
func (x *Audit_Message_Request) GetMethod() string {
if x != nil {
return x.Method
}
return ""
}
func (x *Audit_Message_Request) GetPayload() *anypb.Any {
if x != nil {
return x.Payload
}
return nil
}
func (x *Audit_Message_Request) GetSourceHeaders() *Audit_Message_Request_SourceHeaders {
if x != nil {
return x.SourceHeaders
}
return nil
}
func (x *Audit_Message_Request) GetSourceIp() string {
if x != nil {
return x.SourceIp
}
return ""
}
// SourceHeaders holds information about the request's source.
type Audit_Message_Request_SourceHeaders struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The "X-Forwarded-For" header associated with the request, if it was present.
XForwardedFor string `protobuf:"bytes,1,opt,name=x_forwarded_for,json=xForwardedFor,proto3" json:"x_forwarded_for,omitempty"`
// The "Remote-Addr" header associated with the request, if it was present.
RemoteAddr string `protobuf:"bytes,2,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
// The HTTP request's address. This will always be present, but may not preserve
// the _actual_ client IP. See source_ip for a more detailed documentation.
RequestAddr string `protobuf:"bytes,3,opt,name=request_addr,json=requestAddr,proto3" json:"request_addr,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Audit_Message_Request_SourceHeaders) Reset() {
*x = Audit_Message_Request_SourceHeaders{}
mi := &file_api_v1_audit_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Audit_Message_Request_SourceHeaders) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Audit_Message_Request_SourceHeaders) ProtoMessage() {}
func (x *Audit_Message_Request_SourceHeaders) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_audit_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Audit_Message_Request_SourceHeaders.ProtoReflect.Descriptor instead.
func (*Audit_Message_Request_SourceHeaders) Descriptor() ([]byte, []int) {
return file_api_v1_audit_proto_rawDescGZIP(), []int{0, 0, 0, 0}
}
func (x *Audit_Message_Request_SourceHeaders) GetXForwardedFor() string {
if x != nil {
return x.XForwardedFor
}
return ""
}
func (x *Audit_Message_Request_SourceHeaders) GetRemoteAddr() string {
if x != nil {
return x.RemoteAddr
}
return ""
}
func (x *Audit_Message_Request_SourceHeaders) GetRequestAddr() string {
if x != nil {
return x.RequestAddr
}
return ""
}
var File_api_v1_audit_proto protoreflect.FileDescriptor
const file_api_v1_audit_proto_rawDesc = "" +
"\n" +
"\x12api/v1/audit.proto\x12\x02v1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x12storage/user.proto\"\xa3\a\n" +
"\x05Audit\x1a\xae\x05\n" +
"\aMessage\x12.\n" +
"\x04time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12/\n" +
"\x06status\x18\x02 \x01(\x0e2\x17.v1.Audit.RequestStatusR\x06status\x12#\n" +
"\rstatus_reason\x18\x03 \x01(\tR\fstatusReason\x12%\n" +
"\x04user\x18\x04 \x01(\v2\x11.storage.UserInfoR\x04user\x123\n" +
"\arequest\x18\x05 \x01(\v2\x19.v1.Audit.Message.RequestR\arequest\x12.\n" +
"\x06method\x18\x06 \x01(\x0e2\x16.v1.Audit.AccessMethodR\x06method\x127\n" +
"\vinteraction\x18\a \x01(\x0e2\x15.v1.Audit.InteractionR\vinteraction\x1a\xd7\x02\n" +
"\aRequest\x12\x1a\n" +
"\bendpoint\x18\x01 \x01(\tR\bendpoint\x12\x16\n" +
"\x06method\x18\x02 \x01(\tR\x06method\x12.\n" +
"\apayload\x18\x03 \x01(\v2\x14.google.protobuf.AnyR\apayload\x12N\n" +
"\x0esource_headers\x18\x04 \x01(\v2'.v1.Audit.Message.Request.SourceHeadersR\rsourceHeaders\x12\x1b\n" +
"\tsource_ip\x18\x05 \x01(\tR\bsourceIp\x1a{\n" +
"\rSourceHeaders\x12&\n" +
"\x0fx_forwarded_for\x18\x01 \x01(\tR\rxForwardedFor\x12\x1f\n" +
"\vremote_addr\x18\x02 \x01(\tR\n" +
"remoteAddr\x12!\n" +
"\frequest_addr\x18\x03 \x01(\tR\vrequestAddr\"_\n" +
"\rRequestStatus\x12\x12\n" +
"\x0eUNKNOWN_STATUS\x10\x00\x12\x15\n" +
"\x11REQUEST_SUCCEEDED\x10\x01\x12\x0f\n" +
"\vAUTH_FAILED\x10\x02\x12\x12\n" +
"\x0eREQUEST_FAILED\x10\x03\"J\n" +
"\vInteraction\x12\x17\n" +
"\x13UNKNOWN_INTERACTION\x10\x00\x12\n" +
"\n" +
"\x06CREATE\x10\x01\x12\n" +
"\n" +
"\x06UPDATE\x10\x02\x12\n" +
"\n" +
"\x06DELETE\x10\x03\"<\n" +
"\fAccessMethod\x12\x12\n" +
"\x0eUNKNOWN_METHOD\x10\x00\x12\a\n" +
"\x03CLI\x10\x01\x12\x06\n" +
"\x02UI\x10\x02\x12\a\n" +
"\x03API\x10\x03B'\n" +
"\x18io.stackrox.proto.api.v1Z\v./api/v1;v1b\x06proto3"
var (
file_api_v1_audit_proto_rawDescOnce sync.Once
file_api_v1_audit_proto_rawDescData []byte
)
func file_api_v1_audit_proto_rawDescGZIP() []byte {
file_api_v1_audit_proto_rawDescOnce.Do(func() {
file_api_v1_audit_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_audit_proto_rawDesc), len(file_api_v1_audit_proto_rawDesc)))
})
return file_api_v1_audit_proto_rawDescData
}
var file_api_v1_audit_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_api_v1_audit_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_api_v1_audit_proto_goTypes = []any{
(Audit_RequestStatus)(0), // 0: v1.Audit.RequestStatus
(Audit_Interaction)(0), // 1: v1.Audit.Interaction
(Audit_AccessMethod)(0), // 2: v1.Audit.AccessMethod
(*Audit)(nil), // 3: v1.Audit
(*Audit_Message)(nil), // 4: v1.Audit.Message
(*Audit_Message_Request)(nil), // 5: v1.Audit.Message.Request
(*Audit_Message_Request_SourceHeaders)(nil), // 6: v1.Audit.Message.Request.SourceHeaders
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
(*storage.UserInfo)(nil), // 8: storage.UserInfo
(*anypb.Any)(nil), // 9: google.protobuf.Any
}
var file_api_v1_audit_proto_depIdxs = []int32{
7, // 0: v1.Audit.Message.time:type_name -> google.protobuf.Timestamp
0, // 1: v1.Audit.Message.status:type_name -> v1.Audit.RequestStatus
8, // 2: v1.Audit.Message.user:type_name -> storage.UserInfo
5, // 3: v1.Audit.Message.request:type_name -> v1.Audit.Message.Request
2, // 4: v1.Audit.Message.method:type_name -> v1.Audit.AccessMethod
1, // 5: v1.Audit.Message.interaction:type_name -> v1.Audit.Interaction
9, // 6: v1.Audit.Message.Request.payload:type_name -> google.protobuf.Any
6, // 7: v1.Audit.Message.Request.source_headers:type_name -> v1.Audit.Message.Request.SourceHeaders
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_api_v1_audit_proto_init() }
func file_api_v1_audit_proto_init() {
if File_api_v1_audit_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_audit_proto_rawDesc), len(file_api_v1_audit_proto_rawDesc)),
NumEnums: 3,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_api_v1_audit_proto_goTypes,
DependencyIndexes: file_api_v1_audit_proto_depIdxs,
EnumInfos: file_api_v1_audit_proto_enumTypes,
MessageInfos: file_api_v1_audit_proto_msgTypes,
}.Build()
File_api_v1_audit_proto = out.File
file_api_v1_audit_proto_goTypes = nil
file_api_v1_audit_proto_depIdxs = nil
}