@lansweeper/scanningconfig-grpc 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.useprotoc +0 -0
  2. package/CHANGELOG.md +11 -0
  3. package/Lansweeper.ScanningConfig.GRPC.csproj +21 -0
  4. package/Scanningconfig.cs +2230 -0
  5. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +41 -0
  6. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  7. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  8. package/buf.yaml +22 -0
  9. package/gen-proto/image.json +1 -0
  10. package/gen-proto/index.d.ts +2 -0
  11. package/gen-proto/index.js +3 -0
  12. package/gen-proto/scanningconfig_grpc_pb.d.ts +41 -0
  13. package/gen-proto/scanningconfig_grpc_pb.js +44 -0
  14. package/gen-proto/scanningconfig_pb.d.ts +293 -0
  15. package/gen-proto/scanningconfig_pb.js +2125 -0
  16. package/generated-go/scanningconfig.pb.go +1107 -0
  17. package/generated-go/scanningconfig_grpc.pb.go +109 -0
  18. package/go.mod +3 -0
  19. package/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +4 -0
  20. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +25 -0
  21. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -0
  22. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.GeneratedMSBuildEditorConfig.editorconfig +10 -0
  23. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.assets.cache +0 -0
  24. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
  25. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -0
  26. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.FileListAbsolute.txt +12 -0
  27. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  28. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  29. package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  30. package/obj/Debug/net6.0/refint/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  31. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +68 -0
  32. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +15 -0
  33. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.targets +2 -0
  34. package/obj/project.assets.json +113 -0
  35. package/obj/project.nuget.cache +10 -0
  36. package/package.json +16 -0
  37. package/proto/scanningconfig.proto +83 -0
@@ -0,0 +1,1107 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.30.0
4
+ // protoc v3.15.6
5
+ // source: scanningconfig.proto
6
+
7
+ package generated_go
8
+
9
+ import (
10
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
+ reflect "reflect"
13
+ sync "sync"
14
+ )
15
+
16
+ const (
17
+ // Verify that this generated code is sufficiently up-to-date.
18
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
20
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
+ )
22
+
23
+ type Component_ComponentType int32
24
+
25
+ const (
26
+ Component_UNSPECIFIED Component_ComponentType = 0
27
+ Component_AGENT Component_ComponentType = 1
28
+ Component_IT_SENSOR Component_ComponentType = 2
29
+ Component_IT_HUB Component_ComponentType = 3
30
+ )
31
+
32
+ // Enum value maps for Component_ComponentType.
33
+ var (
34
+ Component_ComponentType_name = map[int32]string{
35
+ 0: "UNSPECIFIED",
36
+ 1: "AGENT",
37
+ 2: "IT_SENSOR",
38
+ 3: "IT_HUB",
39
+ }
40
+ Component_ComponentType_value = map[string]int32{
41
+ "UNSPECIFIED": 0,
42
+ "AGENT": 1,
43
+ "IT_SENSOR": 2,
44
+ "IT_HUB": 3,
45
+ }
46
+ )
47
+
48
+ func (x Component_ComponentType) Enum() *Component_ComponentType {
49
+ p := new(Component_ComponentType)
50
+ *p = x
51
+ return p
52
+ }
53
+
54
+ func (x Component_ComponentType) String() string {
55
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
56
+ }
57
+
58
+ func (Component_ComponentType) Descriptor() protoreflect.EnumDescriptor {
59
+ return file_scanningconfig_proto_enumTypes[0].Descriptor()
60
+ }
61
+
62
+ func (Component_ComponentType) Type() protoreflect.EnumType {
63
+ return &file_scanningconfig_proto_enumTypes[0]
64
+ }
65
+
66
+ func (x Component_ComponentType) Number() protoreflect.EnumNumber {
67
+ return protoreflect.EnumNumber(x)
68
+ }
69
+
70
+ // Deprecated: Use Component_ComponentType.Descriptor instead.
71
+ func (Component_ComponentType) EnumDescriptor() ([]byte, []int) {
72
+ return file_scanningconfig_proto_rawDescGZIP(), []int{2, 0}
73
+ }
74
+
75
+ type Action_ActionType int32
76
+
77
+ const (
78
+ Action_UNSPECIFIED Action_ActionType = 0
79
+ Action_AGENT Action_ActionType = 1
80
+ )
81
+
82
+ // Enum value maps for Action_ActionType.
83
+ var (
84
+ Action_ActionType_name = map[int32]string{
85
+ 0: "UNSPECIFIED",
86
+ 1: "AGENT",
87
+ }
88
+ Action_ActionType_value = map[string]int32{
89
+ "UNSPECIFIED": 0,
90
+ "AGENT": 1,
91
+ }
92
+ )
93
+
94
+ func (x Action_ActionType) Enum() *Action_ActionType {
95
+ p := new(Action_ActionType)
96
+ *p = x
97
+ return p
98
+ }
99
+
100
+ func (x Action_ActionType) String() string {
101
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
102
+ }
103
+
104
+ func (Action_ActionType) Descriptor() protoreflect.EnumDescriptor {
105
+ return file_scanningconfig_proto_enumTypes[1].Descriptor()
106
+ }
107
+
108
+ func (Action_ActionType) Type() protoreflect.EnumType {
109
+ return &file_scanningconfig_proto_enumTypes[1]
110
+ }
111
+
112
+ func (x Action_ActionType) Number() protoreflect.EnumNumber {
113
+ return protoreflect.EnumNumber(x)
114
+ }
115
+
116
+ // Deprecated: Use Action_ActionType.Descriptor instead.
117
+ func (Action_ActionType) EnumDescriptor() ([]byte, []int) {
118
+ return file_scanningconfig_proto_rawDescGZIP(), []int{7, 0}
119
+ }
120
+
121
+ type Agent_ScanFocus int32
122
+
123
+ const (
124
+ Agent_ALL Agent_ScanFocus = 0
125
+ Agent_USERS Agent_ScanFocus = 1
126
+ Agent_INVENTORY Agent_ScanFocus = 2
127
+ )
128
+
129
+ // Enum value maps for Agent_ScanFocus.
130
+ var (
131
+ Agent_ScanFocus_name = map[int32]string{
132
+ 0: "ALL",
133
+ 1: "USERS",
134
+ 2: "INVENTORY",
135
+ }
136
+ Agent_ScanFocus_value = map[string]int32{
137
+ "ALL": 0,
138
+ "USERS": 1,
139
+ "INVENTORY": 2,
140
+ }
141
+ )
142
+
143
+ func (x Agent_ScanFocus) Enum() *Agent_ScanFocus {
144
+ p := new(Agent_ScanFocus)
145
+ *p = x
146
+ return p
147
+ }
148
+
149
+ func (x Agent_ScanFocus) String() string {
150
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
151
+ }
152
+
153
+ func (Agent_ScanFocus) Descriptor() protoreflect.EnumDescriptor {
154
+ return file_scanningconfig_proto_enumTypes[2].Descriptor()
155
+ }
156
+
157
+ func (Agent_ScanFocus) Type() protoreflect.EnumType {
158
+ return &file_scanningconfig_proto_enumTypes[2]
159
+ }
160
+
161
+ func (x Agent_ScanFocus) Number() protoreflect.EnumNumber {
162
+ return protoreflect.EnumNumber(x)
163
+ }
164
+
165
+ // Deprecated: Use Agent_ScanFocus.Descriptor instead.
166
+ func (Agent_ScanFocus) EnumDescriptor() ([]byte, []int) {
167
+ return file_scanningconfig_proto_rawDescGZIP(), []int{8, 0}
168
+ }
169
+
170
+ type Credential_CredentialType int32
171
+
172
+ const (
173
+ Credential_UNSPECIFIED Credential_CredentialType = 0
174
+ )
175
+
176
+ // Enum value maps for Credential_CredentialType.
177
+ var (
178
+ Credential_CredentialType_name = map[int32]string{
179
+ 0: "UNSPECIFIED",
180
+ }
181
+ Credential_CredentialType_value = map[string]int32{
182
+ "UNSPECIFIED": 0,
183
+ }
184
+ )
185
+
186
+ func (x Credential_CredentialType) Enum() *Credential_CredentialType {
187
+ p := new(Credential_CredentialType)
188
+ *p = x
189
+ return p
190
+ }
191
+
192
+ func (x Credential_CredentialType) String() string {
193
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
194
+ }
195
+
196
+ func (Credential_CredentialType) Descriptor() protoreflect.EnumDescriptor {
197
+ return file_scanningconfig_proto_enumTypes[3].Descriptor()
198
+ }
199
+
200
+ func (Credential_CredentialType) Type() protoreflect.EnumType {
201
+ return &file_scanningconfig_proto_enumTypes[3]
202
+ }
203
+
204
+ func (x Credential_CredentialType) Number() protoreflect.EnumNumber {
205
+ return protoreflect.EnumNumber(x)
206
+ }
207
+
208
+ // Deprecated: Use Credential_CredentialType.Descriptor instead.
209
+ func (Credential_CredentialType) EnumDescriptor() ([]byte, []int) {
210
+ return file_scanningconfig_proto_rawDescGZIP(), []int{9, 0}
211
+ }
212
+
213
+ type GetConfigurationsBySourceRequest struct {
214
+ state protoimpl.MessageState
215
+ sizeCache protoimpl.SizeCache
216
+ unknownFields protoimpl.UnknownFields
217
+
218
+ SourceId string `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
219
+ SiteId string `protobuf:"bytes,2,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"`
220
+ }
221
+
222
+ func (x *GetConfigurationsBySourceRequest) Reset() {
223
+ *x = GetConfigurationsBySourceRequest{}
224
+ if protoimpl.UnsafeEnabled {
225
+ mi := &file_scanningconfig_proto_msgTypes[0]
226
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227
+ ms.StoreMessageInfo(mi)
228
+ }
229
+ }
230
+
231
+ func (x *GetConfigurationsBySourceRequest) String() string {
232
+ return protoimpl.X.MessageStringOf(x)
233
+ }
234
+
235
+ func (*GetConfigurationsBySourceRequest) ProtoMessage() {}
236
+
237
+ func (x *GetConfigurationsBySourceRequest) ProtoReflect() protoreflect.Message {
238
+ mi := &file_scanningconfig_proto_msgTypes[0]
239
+ if protoimpl.UnsafeEnabled && x != nil {
240
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241
+ if ms.LoadMessageInfo() == nil {
242
+ ms.StoreMessageInfo(mi)
243
+ }
244
+ return ms
245
+ }
246
+ return mi.MessageOf(x)
247
+ }
248
+
249
+ // Deprecated: Use GetConfigurationsBySourceRequest.ProtoReflect.Descriptor instead.
250
+ func (*GetConfigurationsBySourceRequest) Descriptor() ([]byte, []int) {
251
+ return file_scanningconfig_proto_rawDescGZIP(), []int{0}
252
+ }
253
+
254
+ func (x *GetConfigurationsBySourceRequest) GetSourceId() string {
255
+ if x != nil {
256
+ return x.SourceId
257
+ }
258
+ return ""
259
+ }
260
+
261
+ func (x *GetConfigurationsBySourceRequest) GetSiteId() string {
262
+ if x != nil {
263
+ return x.SiteId
264
+ }
265
+ return ""
266
+ }
267
+
268
+ type GetConfigurationsBySourceResponse struct {
269
+ state protoimpl.MessageState
270
+ sizeCache protoimpl.SizeCache
271
+ unknownFields protoimpl.UnknownFields
272
+
273
+ Configs []*Component `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
274
+ }
275
+
276
+ func (x *GetConfigurationsBySourceResponse) Reset() {
277
+ *x = GetConfigurationsBySourceResponse{}
278
+ if protoimpl.UnsafeEnabled {
279
+ mi := &file_scanningconfig_proto_msgTypes[1]
280
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281
+ ms.StoreMessageInfo(mi)
282
+ }
283
+ }
284
+
285
+ func (x *GetConfigurationsBySourceResponse) String() string {
286
+ return protoimpl.X.MessageStringOf(x)
287
+ }
288
+
289
+ func (*GetConfigurationsBySourceResponse) ProtoMessage() {}
290
+
291
+ func (x *GetConfigurationsBySourceResponse) ProtoReflect() protoreflect.Message {
292
+ mi := &file_scanningconfig_proto_msgTypes[1]
293
+ if protoimpl.UnsafeEnabled && x != nil {
294
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
295
+ if ms.LoadMessageInfo() == nil {
296
+ ms.StoreMessageInfo(mi)
297
+ }
298
+ return ms
299
+ }
300
+ return mi.MessageOf(x)
301
+ }
302
+
303
+ // Deprecated: Use GetConfigurationsBySourceResponse.ProtoReflect.Descriptor instead.
304
+ func (*GetConfigurationsBySourceResponse) Descriptor() ([]byte, []int) {
305
+ return file_scanningconfig_proto_rawDescGZIP(), []int{1}
306
+ }
307
+
308
+ func (x *GetConfigurationsBySourceResponse) GetConfigs() []*Component {
309
+ if x != nil {
310
+ return x.Configs
311
+ }
312
+ return nil
313
+ }
314
+
315
+ type Component struct {
316
+ state protoimpl.MessageState
317
+ sizeCache protoimpl.SizeCache
318
+ unknownFields protoimpl.UnknownFields
319
+
320
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
321
+ Type Component_ComponentType `protobuf:"varint,2,opt,name=type,proto3,enum=lansweeper.scanningconfig.v1.Component_ComponentType" json:"type,omitempty"`
322
+ Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
323
+ OpConfig *OperationalConfig `protobuf:"bytes,4,opt,name=op_config,json=opConfig,proto3,oneof" json:"op_config,omitempty"`
324
+ }
325
+
326
+ func (x *Component) Reset() {
327
+ *x = Component{}
328
+ if protoimpl.UnsafeEnabled {
329
+ mi := &file_scanningconfig_proto_msgTypes[2]
330
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331
+ ms.StoreMessageInfo(mi)
332
+ }
333
+ }
334
+
335
+ func (x *Component) String() string {
336
+ return protoimpl.X.MessageStringOf(x)
337
+ }
338
+
339
+ func (*Component) ProtoMessage() {}
340
+
341
+ func (x *Component) ProtoReflect() protoreflect.Message {
342
+ mi := &file_scanningconfig_proto_msgTypes[2]
343
+ if protoimpl.UnsafeEnabled && x != nil {
344
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
345
+ if ms.LoadMessageInfo() == nil {
346
+ ms.StoreMessageInfo(mi)
347
+ }
348
+ return ms
349
+ }
350
+ return mi.MessageOf(x)
351
+ }
352
+
353
+ // Deprecated: Use Component.ProtoReflect.Descriptor instead.
354
+ func (*Component) Descriptor() ([]byte, []int) {
355
+ return file_scanningconfig_proto_rawDescGZIP(), []int{2}
356
+ }
357
+
358
+ func (x *Component) GetId() string {
359
+ if x != nil {
360
+ return x.Id
361
+ }
362
+ return ""
363
+ }
364
+
365
+ func (x *Component) GetType() Component_ComponentType {
366
+ if x != nil {
367
+ return x.Type
368
+ }
369
+ return Component_UNSPECIFIED
370
+ }
371
+
372
+ func (x *Component) GetActions() []*Action {
373
+ if x != nil {
374
+ return x.Actions
375
+ }
376
+ return nil
377
+ }
378
+
379
+ func (x *Component) GetOpConfig() *OperationalConfig {
380
+ if x != nil {
381
+ return x.OpConfig
382
+ }
383
+ return nil
384
+ }
385
+
386
+ type AssetRadar struct {
387
+ state protoimpl.MessageState
388
+ sizeCache protoimpl.SizeCache
389
+ unknownFields protoimpl.UnknownFields
390
+
391
+ Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
392
+ ExcludedInterfaces []string `protobuf:"bytes,2,rep,name=excluded_interfaces,json=excludedInterfaces,proto3" json:"excluded_interfaces,omitempty"`
393
+ }
394
+
395
+ func (x *AssetRadar) Reset() {
396
+ *x = AssetRadar{}
397
+ if protoimpl.UnsafeEnabled {
398
+ mi := &file_scanningconfig_proto_msgTypes[3]
399
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400
+ ms.StoreMessageInfo(mi)
401
+ }
402
+ }
403
+
404
+ func (x *AssetRadar) String() string {
405
+ return protoimpl.X.MessageStringOf(x)
406
+ }
407
+
408
+ func (*AssetRadar) ProtoMessage() {}
409
+
410
+ func (x *AssetRadar) ProtoReflect() protoreflect.Message {
411
+ mi := &file_scanningconfig_proto_msgTypes[3]
412
+ if protoimpl.UnsafeEnabled && x != nil {
413
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
414
+ if ms.LoadMessageInfo() == nil {
415
+ ms.StoreMessageInfo(mi)
416
+ }
417
+ return ms
418
+ }
419
+ return mi.MessageOf(x)
420
+ }
421
+
422
+ // Deprecated: Use AssetRadar.ProtoReflect.Descriptor instead.
423
+ func (*AssetRadar) Descriptor() ([]byte, []int) {
424
+ return file_scanningconfig_proto_rawDescGZIP(), []int{3}
425
+ }
426
+
427
+ func (x *AssetRadar) GetEnabled() bool {
428
+ if x != nil {
429
+ return x.Enabled
430
+ }
431
+ return false
432
+ }
433
+
434
+ func (x *AssetRadar) GetExcludedInterfaces() []string {
435
+ if x != nil {
436
+ return x.ExcludedInterfaces
437
+ }
438
+ return nil
439
+ }
440
+
441
+ type AutoUpdate struct {
442
+ state protoimpl.MessageState
443
+ sizeCache protoimpl.SizeCache
444
+ unknownFields protoimpl.UnknownFields
445
+
446
+ Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
447
+ Schedule string `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"`
448
+ }
449
+
450
+ func (x *AutoUpdate) Reset() {
451
+ *x = AutoUpdate{}
452
+ if protoimpl.UnsafeEnabled {
453
+ mi := &file_scanningconfig_proto_msgTypes[4]
454
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455
+ ms.StoreMessageInfo(mi)
456
+ }
457
+ }
458
+
459
+ func (x *AutoUpdate) String() string {
460
+ return protoimpl.X.MessageStringOf(x)
461
+ }
462
+
463
+ func (*AutoUpdate) ProtoMessage() {}
464
+
465
+ func (x *AutoUpdate) ProtoReflect() protoreflect.Message {
466
+ mi := &file_scanningconfig_proto_msgTypes[4]
467
+ if protoimpl.UnsafeEnabled && x != nil {
468
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
469
+ if ms.LoadMessageInfo() == nil {
470
+ ms.StoreMessageInfo(mi)
471
+ }
472
+ return ms
473
+ }
474
+ return mi.MessageOf(x)
475
+ }
476
+
477
+ // Deprecated: Use AutoUpdate.ProtoReflect.Descriptor instead.
478
+ func (*AutoUpdate) Descriptor() ([]byte, []int) {
479
+ return file_scanningconfig_proto_rawDescGZIP(), []int{4}
480
+ }
481
+
482
+ func (x *AutoUpdate) GetEnabled() bool {
483
+ if x != nil {
484
+ return x.Enabled
485
+ }
486
+ return false
487
+ }
488
+
489
+ func (x *AutoUpdate) GetSchedule() string {
490
+ if x != nil {
491
+ return x.Schedule
492
+ }
493
+ return ""
494
+ }
495
+
496
+ type OperationalConfig struct {
497
+ state protoimpl.MessageState
498
+ sizeCache protoimpl.SizeCache
499
+ unknownFields protoimpl.UnknownFields
500
+
501
+ AssetRadarConfig *AssetRadar `protobuf:"bytes,1,opt,name=asset_radar_config,json=assetRadarConfig,proto3,oneof" json:"asset_radar_config,omitempty"`
502
+ AutoUpdateConfig *AutoUpdate `protobuf:"bytes,2,opt,name=auto_update_config,json=autoUpdateConfig,proto3,oneof" json:"auto_update_config,omitempty"`
503
+ }
504
+
505
+ func (x *OperationalConfig) Reset() {
506
+ *x = OperationalConfig{}
507
+ if protoimpl.UnsafeEnabled {
508
+ mi := &file_scanningconfig_proto_msgTypes[5]
509
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
510
+ ms.StoreMessageInfo(mi)
511
+ }
512
+ }
513
+
514
+ func (x *OperationalConfig) String() string {
515
+ return protoimpl.X.MessageStringOf(x)
516
+ }
517
+
518
+ func (*OperationalConfig) ProtoMessage() {}
519
+
520
+ func (x *OperationalConfig) ProtoReflect() protoreflect.Message {
521
+ mi := &file_scanningconfig_proto_msgTypes[5]
522
+ if protoimpl.UnsafeEnabled && x != nil {
523
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
524
+ if ms.LoadMessageInfo() == nil {
525
+ ms.StoreMessageInfo(mi)
526
+ }
527
+ return ms
528
+ }
529
+ return mi.MessageOf(x)
530
+ }
531
+
532
+ // Deprecated: Use OperationalConfig.ProtoReflect.Descriptor instead.
533
+ func (*OperationalConfig) Descriptor() ([]byte, []int) {
534
+ return file_scanningconfig_proto_rawDescGZIP(), []int{5}
535
+ }
536
+
537
+ func (x *OperationalConfig) GetAssetRadarConfig() *AssetRadar {
538
+ if x != nil {
539
+ return x.AssetRadarConfig
540
+ }
541
+ return nil
542
+ }
543
+
544
+ func (x *OperationalConfig) GetAutoUpdateConfig() *AutoUpdate {
545
+ if x != nil {
546
+ return x.AutoUpdateConfig
547
+ }
548
+ return nil
549
+ }
550
+
551
+ type Trigger struct {
552
+ state protoimpl.MessageState
553
+ sizeCache protoimpl.SizeCache
554
+ unknownFields protoimpl.UnknownFields
555
+
556
+ CronExpr string `protobuf:"bytes,1,opt,name=cron_expr,json=cronExpr,proto3" json:"cron_expr,omitempty"`
557
+ }
558
+
559
+ func (x *Trigger) Reset() {
560
+ *x = Trigger{}
561
+ if protoimpl.UnsafeEnabled {
562
+ mi := &file_scanningconfig_proto_msgTypes[6]
563
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
564
+ ms.StoreMessageInfo(mi)
565
+ }
566
+ }
567
+
568
+ func (x *Trigger) String() string {
569
+ return protoimpl.X.MessageStringOf(x)
570
+ }
571
+
572
+ func (*Trigger) ProtoMessage() {}
573
+
574
+ func (x *Trigger) ProtoReflect() protoreflect.Message {
575
+ mi := &file_scanningconfig_proto_msgTypes[6]
576
+ if protoimpl.UnsafeEnabled && x != nil {
577
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
578
+ if ms.LoadMessageInfo() == nil {
579
+ ms.StoreMessageInfo(mi)
580
+ }
581
+ return ms
582
+ }
583
+ return mi.MessageOf(x)
584
+ }
585
+
586
+ // Deprecated: Use Trigger.ProtoReflect.Descriptor instead.
587
+ func (*Trigger) Descriptor() ([]byte, []int) {
588
+ return file_scanningconfig_proto_rawDescGZIP(), []int{6}
589
+ }
590
+
591
+ func (x *Trigger) GetCronExpr() string {
592
+ if x != nil {
593
+ return x.CronExpr
594
+ }
595
+ return ""
596
+ }
597
+
598
+ type Action struct {
599
+ state protoimpl.MessageState
600
+ sizeCache protoimpl.SizeCache
601
+ unknownFields protoimpl.UnknownFields
602
+
603
+ Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
604
+ ActionType Action_ActionType `protobuf:"varint,2,opt,name=action_type,json=actionType,proto3,enum=lansweeper.scanningconfig.v1.Action_ActionType" json:"action_type,omitempty"`
605
+ Credentials []*Credential `protobuf:"bytes,3,rep,name=credentials,proto3" json:"credentials,omitempty"`
606
+ // Types that are assignable to Definition:
607
+ // *Action_Agent
608
+ Definition isAction_Definition `protobuf_oneof:"definition"`
609
+ }
610
+
611
+ func (x *Action) Reset() {
612
+ *x = Action{}
613
+ if protoimpl.UnsafeEnabled {
614
+ mi := &file_scanningconfig_proto_msgTypes[7]
615
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
616
+ ms.StoreMessageInfo(mi)
617
+ }
618
+ }
619
+
620
+ func (x *Action) String() string {
621
+ return protoimpl.X.MessageStringOf(x)
622
+ }
623
+
624
+ func (*Action) ProtoMessage() {}
625
+
626
+ func (x *Action) ProtoReflect() protoreflect.Message {
627
+ mi := &file_scanningconfig_proto_msgTypes[7]
628
+ if protoimpl.UnsafeEnabled && x != nil {
629
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
630
+ if ms.LoadMessageInfo() == nil {
631
+ ms.StoreMessageInfo(mi)
632
+ }
633
+ return ms
634
+ }
635
+ return mi.MessageOf(x)
636
+ }
637
+
638
+ // Deprecated: Use Action.ProtoReflect.Descriptor instead.
639
+ func (*Action) Descriptor() ([]byte, []int) {
640
+ return file_scanningconfig_proto_rawDescGZIP(), []int{7}
641
+ }
642
+
643
+ func (x *Action) GetTriggers() []*Trigger {
644
+ if x != nil {
645
+ return x.Triggers
646
+ }
647
+ return nil
648
+ }
649
+
650
+ func (x *Action) GetActionType() Action_ActionType {
651
+ if x != nil {
652
+ return x.ActionType
653
+ }
654
+ return Action_UNSPECIFIED
655
+ }
656
+
657
+ func (x *Action) GetCredentials() []*Credential {
658
+ if x != nil {
659
+ return x.Credentials
660
+ }
661
+ return nil
662
+ }
663
+
664
+ func (m *Action) GetDefinition() isAction_Definition {
665
+ if m != nil {
666
+ return m.Definition
667
+ }
668
+ return nil
669
+ }
670
+
671
+ func (x *Action) GetAgent() *Agent {
672
+ if x, ok := x.GetDefinition().(*Action_Agent); ok {
673
+ return x.Agent
674
+ }
675
+ return nil
676
+ }
677
+
678
+ type isAction_Definition interface {
679
+ isAction_Definition()
680
+ }
681
+
682
+ type Action_Agent struct {
683
+ Agent *Agent `protobuf:"bytes,4,opt,name=agent,proto3,oneof"`
684
+ }
685
+
686
+ func (*Action_Agent) isAction_Definition() {}
687
+
688
+ type Agent struct {
689
+ state protoimpl.MessageState
690
+ sizeCache protoimpl.SizeCache
691
+ unknownFields protoimpl.UnknownFields
692
+
693
+ ScanFocus Agent_ScanFocus `protobuf:"varint,1,opt,name=scan_focus,json=scanFocus,proto3,enum=lansweeper.scanningconfig.v1.Agent_ScanFocus" json:"scan_focus,omitempty"`
694
+ }
695
+
696
+ func (x *Agent) Reset() {
697
+ *x = Agent{}
698
+ if protoimpl.UnsafeEnabled {
699
+ mi := &file_scanningconfig_proto_msgTypes[8]
700
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701
+ ms.StoreMessageInfo(mi)
702
+ }
703
+ }
704
+
705
+ func (x *Agent) String() string {
706
+ return protoimpl.X.MessageStringOf(x)
707
+ }
708
+
709
+ func (*Agent) ProtoMessage() {}
710
+
711
+ func (x *Agent) ProtoReflect() protoreflect.Message {
712
+ mi := &file_scanningconfig_proto_msgTypes[8]
713
+ if protoimpl.UnsafeEnabled && x != nil {
714
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
715
+ if ms.LoadMessageInfo() == nil {
716
+ ms.StoreMessageInfo(mi)
717
+ }
718
+ return ms
719
+ }
720
+ return mi.MessageOf(x)
721
+ }
722
+
723
+ // Deprecated: Use Agent.ProtoReflect.Descriptor instead.
724
+ func (*Agent) Descriptor() ([]byte, []int) {
725
+ return file_scanningconfig_proto_rawDescGZIP(), []int{8}
726
+ }
727
+
728
+ func (x *Agent) GetScanFocus() Agent_ScanFocus {
729
+ if x != nil {
730
+ return x.ScanFocus
731
+ }
732
+ return Agent_ALL
733
+ }
734
+
735
+ type Credential struct {
736
+ state protoimpl.MessageState
737
+ sizeCache protoimpl.SizeCache
738
+ unknownFields protoimpl.UnknownFields
739
+
740
+ Type Credential_CredentialType `protobuf:"varint,1,opt,name=type,proto3,enum=lansweeper.scanningconfig.v1.Credential_CredentialType" json:"type,omitempty"`
741
+ }
742
+
743
+ func (x *Credential) Reset() {
744
+ *x = Credential{}
745
+ if protoimpl.UnsafeEnabled {
746
+ mi := &file_scanningconfig_proto_msgTypes[9]
747
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
748
+ ms.StoreMessageInfo(mi)
749
+ }
750
+ }
751
+
752
+ func (x *Credential) String() string {
753
+ return protoimpl.X.MessageStringOf(x)
754
+ }
755
+
756
+ func (*Credential) ProtoMessage() {}
757
+
758
+ func (x *Credential) ProtoReflect() protoreflect.Message {
759
+ mi := &file_scanningconfig_proto_msgTypes[9]
760
+ if protoimpl.UnsafeEnabled && x != nil {
761
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
762
+ if ms.LoadMessageInfo() == nil {
763
+ ms.StoreMessageInfo(mi)
764
+ }
765
+ return ms
766
+ }
767
+ return mi.MessageOf(x)
768
+ }
769
+
770
+ // Deprecated: Use Credential.ProtoReflect.Descriptor instead.
771
+ func (*Credential) Descriptor() ([]byte, []int) {
772
+ return file_scanningconfig_proto_rawDescGZIP(), []int{9}
773
+ }
774
+
775
+ func (x *Credential) GetType() Credential_CredentialType {
776
+ if x != nil {
777
+ return x.Type
778
+ }
779
+ return Credential_UNSPECIFIED
780
+ }
781
+
782
+ var File_scanningconfig_proto protoreflect.FileDescriptor
783
+
784
+ var file_scanningconfig_proto_rawDesc = []byte{
785
+ 0x0a, 0x14, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
786
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70,
787
+ 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69,
788
+ 0x67, 0x2e, 0x76, 0x31, 0x22, 0x58, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
789
+ 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63,
790
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72,
791
+ 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6f, 0x75,
792
+ 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64,
793
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x22, 0x66,
794
+ 0x0a, 0x21, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
795
+ 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
796
+ 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01,
797
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65,
798
+ 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
799
+ 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63,
800
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xcf, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6f,
801
+ 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
802
+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
803
+ 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e,
804
+ 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76,
805
+ 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
806
+ 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
807
+ 0x3e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
808
+ 0x32, 0x24, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
809
+ 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
810
+ 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
811
+ 0x51, 0x0a, 0x09, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01,
812
+ 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e,
813
+ 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76,
814
+ 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e,
815
+ 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88,
816
+ 0x01, 0x01, 0x22, 0x46, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54,
817
+ 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
818
+ 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12,
819
+ 0x0d, 0x0a, 0x09, 0x49, 0x54, 0x5f, 0x53, 0x45, 0x4e, 0x53, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0a,
820
+ 0x0a, 0x06, 0x49, 0x54, 0x5f, 0x48, 0x55, 0x42, 0x10, 0x03, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f,
821
+ 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x57, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65,
822
+ 0x74, 0x52, 0x61, 0x64, 0x61, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
823
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
824
+ 0x12, 0x2f, 0x0a, 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74,
825
+ 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x65,
826
+ 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
827
+ 0x73, 0x22, 0x42, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
828
+ 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
829
+ 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68,
830
+ 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68,
831
+ 0x65, 0x64, 0x75, 0x6c, 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
832
+ 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5b, 0x0a, 0x12, 0x61,
833
+ 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x61, 0x64, 0x61, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
834
+ 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65,
835
+ 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e,
836
+ 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x61, 0x64, 0x61,
837
+ 0x72, 0x48, 0x00, 0x52, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74, 0x52, 0x61, 0x64, 0x61, 0x72, 0x43,
838
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x88, 0x01, 0x01, 0x12, 0x5b, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f,
839
+ 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02,
840
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65,
841
+ 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
842
+ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x01,
843
+ 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66,
844
+ 0x69, 0x67, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
845
+ 0x72, 0x61, 0x64, 0x61, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x15, 0x0a, 0x13,
846
+ 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
847
+ 0x66, 0x69, 0x67, 0x22, 0x26, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1b,
848
+ 0x0a, 0x09, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
849
+ 0x09, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x22, 0xde, 0x02, 0x0a, 0x06,
850
+ 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65,
851
+ 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77,
852
+ 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f,
853
+ 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52,
854
+ 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0b, 0x61, 0x63, 0x74,
855
+ 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f,
856
+ 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e,
857
+ 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63,
858
+ 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52,
859
+ 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x63,
860
+ 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
861
+ 0x32, 0x28, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
862
+ 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
863
+ 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64,
864
+ 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74,
865
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
866
+ 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
867
+ 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x05, 0x61,
868
+ 0x67, 0x65, 0x6e, 0x74, 0x22, 0x28, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
869
+ 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
870
+ 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x42, 0x0c,
871
+ 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a,
872
+ 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x66,
873
+ 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6c, 0x61, 0x6e,
874
+ 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
875
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e,
876
+ 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x52, 0x09, 0x73, 0x63, 0x61, 0x6e, 0x46,
877
+ 0x6f, 0x63, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75,
878
+ 0x73, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x53,
879
+ 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f,
880
+ 0x52, 0x59, 0x10, 0x02, 0x22, 0x7c, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
881
+ 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
882
+ 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
883
+ 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
884
+ 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65,
885
+ 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,
886
+ 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70,
887
+ 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
888
+ 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x43,
889
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a,
890
+ 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
891
+ 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3e, 0x2e, 0x6c, 0x61, 0x6e,
892
+ 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
893
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
894
+ 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75,
895
+ 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x6c, 0x61, 0x6e,
896
+ 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
897
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
898
+ 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75,
899
+ 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a,
900
+ 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62,
901
+ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
902
+ }
903
+
904
+ var (
905
+ file_scanningconfig_proto_rawDescOnce sync.Once
906
+ file_scanningconfig_proto_rawDescData = file_scanningconfig_proto_rawDesc
907
+ )
908
+
909
+ func file_scanningconfig_proto_rawDescGZIP() []byte {
910
+ file_scanningconfig_proto_rawDescOnce.Do(func() {
911
+ file_scanningconfig_proto_rawDescData = protoimpl.X.CompressGZIP(file_scanningconfig_proto_rawDescData)
912
+ })
913
+ return file_scanningconfig_proto_rawDescData
914
+ }
915
+
916
+ var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
917
+ var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
918
+ var file_scanningconfig_proto_goTypes = []interface{}{
919
+ (Component_ComponentType)(0), // 0: lansweeper.scanningconfig.v1.Component.ComponentType
920
+ (Action_ActionType)(0), // 1: lansweeper.scanningconfig.v1.Action.ActionType
921
+ (Agent_ScanFocus)(0), // 2: lansweeper.scanningconfig.v1.Agent.ScanFocus
922
+ (Credential_CredentialType)(0), // 3: lansweeper.scanningconfig.v1.Credential.CredentialType
923
+ (*GetConfigurationsBySourceRequest)(nil), // 4: lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
924
+ (*GetConfigurationsBySourceResponse)(nil), // 5: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
925
+ (*Component)(nil), // 6: lansweeper.scanningconfig.v1.Component
926
+ (*AssetRadar)(nil), // 7: lansweeper.scanningconfig.v1.AssetRadar
927
+ (*AutoUpdate)(nil), // 8: lansweeper.scanningconfig.v1.AutoUpdate
928
+ (*OperationalConfig)(nil), // 9: lansweeper.scanningconfig.v1.OperationalConfig
929
+ (*Trigger)(nil), // 10: lansweeper.scanningconfig.v1.Trigger
930
+ (*Action)(nil), // 11: lansweeper.scanningconfig.v1.Action
931
+ (*Agent)(nil), // 12: lansweeper.scanningconfig.v1.Agent
932
+ (*Credential)(nil), // 13: lansweeper.scanningconfig.v1.Credential
933
+ }
934
+ var file_scanningconfig_proto_depIdxs = []int32{
935
+ 6, // 0: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse.configs:type_name -> lansweeper.scanningconfig.v1.Component
936
+ 0, // 1: lansweeper.scanningconfig.v1.Component.type:type_name -> lansweeper.scanningconfig.v1.Component.ComponentType
937
+ 11, // 2: lansweeper.scanningconfig.v1.Component.actions:type_name -> lansweeper.scanningconfig.v1.Action
938
+ 9, // 3: lansweeper.scanningconfig.v1.Component.op_config:type_name -> lansweeper.scanningconfig.v1.OperationalConfig
939
+ 7, // 4: lansweeper.scanningconfig.v1.OperationalConfig.asset_radar_config:type_name -> lansweeper.scanningconfig.v1.AssetRadar
940
+ 8, // 5: lansweeper.scanningconfig.v1.OperationalConfig.auto_update_config:type_name -> lansweeper.scanningconfig.v1.AutoUpdate
941
+ 10, // 6: lansweeper.scanningconfig.v1.Action.triggers:type_name -> lansweeper.scanningconfig.v1.Trigger
942
+ 1, // 7: lansweeper.scanningconfig.v1.Action.action_type:type_name -> lansweeper.scanningconfig.v1.Action.ActionType
943
+ 13, // 8: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
944
+ 12, // 9: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
945
+ 2, // 10: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
946
+ 3, // 11: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
947
+ 4, // 12: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
948
+ 5, // 13: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
949
+ 13, // [13:14] is the sub-list for method output_type
950
+ 12, // [12:13] is the sub-list for method input_type
951
+ 12, // [12:12] is the sub-list for extension type_name
952
+ 12, // [12:12] is the sub-list for extension extendee
953
+ 0, // [0:12] is the sub-list for field type_name
954
+ }
955
+
956
+ func init() { file_scanningconfig_proto_init() }
957
+ func file_scanningconfig_proto_init() {
958
+ if File_scanningconfig_proto != nil {
959
+ return
960
+ }
961
+ if !protoimpl.UnsafeEnabled {
962
+ file_scanningconfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
963
+ switch v := v.(*GetConfigurationsBySourceRequest); i {
964
+ case 0:
965
+ return &v.state
966
+ case 1:
967
+ return &v.sizeCache
968
+ case 2:
969
+ return &v.unknownFields
970
+ default:
971
+ return nil
972
+ }
973
+ }
974
+ file_scanningconfig_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
975
+ switch v := v.(*GetConfigurationsBySourceResponse); i {
976
+ case 0:
977
+ return &v.state
978
+ case 1:
979
+ return &v.sizeCache
980
+ case 2:
981
+ return &v.unknownFields
982
+ default:
983
+ return nil
984
+ }
985
+ }
986
+ file_scanningconfig_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
987
+ switch v := v.(*Component); i {
988
+ case 0:
989
+ return &v.state
990
+ case 1:
991
+ return &v.sizeCache
992
+ case 2:
993
+ return &v.unknownFields
994
+ default:
995
+ return nil
996
+ }
997
+ }
998
+ file_scanningconfig_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
999
+ switch v := v.(*AssetRadar); i {
1000
+ case 0:
1001
+ return &v.state
1002
+ case 1:
1003
+ return &v.sizeCache
1004
+ case 2:
1005
+ return &v.unknownFields
1006
+ default:
1007
+ return nil
1008
+ }
1009
+ }
1010
+ file_scanningconfig_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1011
+ switch v := v.(*AutoUpdate); i {
1012
+ case 0:
1013
+ return &v.state
1014
+ case 1:
1015
+ return &v.sizeCache
1016
+ case 2:
1017
+ return &v.unknownFields
1018
+ default:
1019
+ return nil
1020
+ }
1021
+ }
1022
+ file_scanningconfig_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1023
+ switch v := v.(*OperationalConfig); i {
1024
+ case 0:
1025
+ return &v.state
1026
+ case 1:
1027
+ return &v.sizeCache
1028
+ case 2:
1029
+ return &v.unknownFields
1030
+ default:
1031
+ return nil
1032
+ }
1033
+ }
1034
+ file_scanningconfig_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1035
+ switch v := v.(*Trigger); i {
1036
+ case 0:
1037
+ return &v.state
1038
+ case 1:
1039
+ return &v.sizeCache
1040
+ case 2:
1041
+ return &v.unknownFields
1042
+ default:
1043
+ return nil
1044
+ }
1045
+ }
1046
+ file_scanningconfig_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1047
+ switch v := v.(*Action); i {
1048
+ case 0:
1049
+ return &v.state
1050
+ case 1:
1051
+ return &v.sizeCache
1052
+ case 2:
1053
+ return &v.unknownFields
1054
+ default:
1055
+ return nil
1056
+ }
1057
+ }
1058
+ file_scanningconfig_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1059
+ switch v := v.(*Agent); i {
1060
+ case 0:
1061
+ return &v.state
1062
+ case 1:
1063
+ return &v.sizeCache
1064
+ case 2:
1065
+ return &v.unknownFields
1066
+ default:
1067
+ return nil
1068
+ }
1069
+ }
1070
+ file_scanningconfig_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1071
+ switch v := v.(*Credential); i {
1072
+ case 0:
1073
+ return &v.state
1074
+ case 1:
1075
+ return &v.sizeCache
1076
+ case 2:
1077
+ return &v.unknownFields
1078
+ default:
1079
+ return nil
1080
+ }
1081
+ }
1082
+ }
1083
+ file_scanningconfig_proto_msgTypes[2].OneofWrappers = []interface{}{}
1084
+ file_scanningconfig_proto_msgTypes[5].OneofWrappers = []interface{}{}
1085
+ file_scanningconfig_proto_msgTypes[7].OneofWrappers = []interface{}{
1086
+ (*Action_Agent)(nil),
1087
+ }
1088
+ type x struct{}
1089
+ out := protoimpl.TypeBuilder{
1090
+ File: protoimpl.DescBuilder{
1091
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1092
+ RawDescriptor: file_scanningconfig_proto_rawDesc,
1093
+ NumEnums: 4,
1094
+ NumMessages: 10,
1095
+ NumExtensions: 0,
1096
+ NumServices: 1,
1097
+ },
1098
+ GoTypes: file_scanningconfig_proto_goTypes,
1099
+ DependencyIndexes: file_scanningconfig_proto_depIdxs,
1100
+ EnumInfos: file_scanningconfig_proto_enumTypes,
1101
+ MessageInfos: file_scanningconfig_proto_msgTypes,
1102
+ }.Build()
1103
+ File_scanningconfig_proto = out.File
1104
+ file_scanningconfig_proto_rawDesc = nil
1105
+ file_scanningconfig_proto_goTypes = nil
1106
+ file_scanningconfig_proto_depIdxs = nil
1107
+ }