@lansweeper/scanningconfig-grpc 0.1.5 → 0.1.7

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 (25) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
  3. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
  4. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  5. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  6. package/bin/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  7. package/gen-proto/image.json +1 -1
  8. package/gen-proto/scanningconfig_pb.d.ts +44 -0
  9. package/gen-proto/scanningconfig_pb.js +318 -1
  10. package/generated-go/scanningconfig.pb.go +270 -109
  11. package/generated-go/scanningconfig_grpc.pb.go +5 -4
  12. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
  13. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
  14. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
  15. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -1
  16. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  17. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  18. package/obj/Debug/net6.0/proto/Scanningconfig.cs +356 -20
  19. package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  20. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +2 -2
  21. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +1 -1
  22. package/obj/project.assets.json +2 -2
  23. package/obj/project.nuget.cache +1 -1
  24. package/package.json +2 -2
  25. package/proto/scanningconfig.proto +17 -3
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-go v1.34.0
3
+ // protoc-gen-go v1.34.2
4
4
  // protoc v3.19.1
5
5
  // source: scanningconfig.proto
6
6
 
@@ -121,6 +121,55 @@ func (Action_ActionType) EnumDescriptor() ([]byte, []int) {
121
121
  return file_scanningconfig_proto_rawDescGZIP(), []int{8, 0}
122
122
  }
123
123
 
124
+ type ActionDefinition_ScanFocus int32
125
+
126
+ const (
127
+ ActionDefinition_ALL ActionDefinition_ScanFocus = 0
128
+ ActionDefinition_USERS ActionDefinition_ScanFocus = 1
129
+ ActionDefinition_INVENTORY ActionDefinition_ScanFocus = 2
130
+ )
131
+
132
+ // Enum value maps for ActionDefinition_ScanFocus.
133
+ var (
134
+ ActionDefinition_ScanFocus_name = map[int32]string{
135
+ 0: "ALL",
136
+ 1: "USERS",
137
+ 2: "INVENTORY",
138
+ }
139
+ ActionDefinition_ScanFocus_value = map[string]int32{
140
+ "ALL": 0,
141
+ "USERS": 1,
142
+ "INVENTORY": 2,
143
+ }
144
+ )
145
+
146
+ func (x ActionDefinition_ScanFocus) Enum() *ActionDefinition_ScanFocus {
147
+ p := new(ActionDefinition_ScanFocus)
148
+ *p = x
149
+ return p
150
+ }
151
+
152
+ func (x ActionDefinition_ScanFocus) String() string {
153
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
154
+ }
155
+
156
+ func (ActionDefinition_ScanFocus) Descriptor() protoreflect.EnumDescriptor {
157
+ return file_scanningconfig_proto_enumTypes[2].Descriptor()
158
+ }
159
+
160
+ func (ActionDefinition_ScanFocus) Type() protoreflect.EnumType {
161
+ return &file_scanningconfig_proto_enumTypes[2]
162
+ }
163
+
164
+ func (x ActionDefinition_ScanFocus) Number() protoreflect.EnumNumber {
165
+ return protoreflect.EnumNumber(x)
166
+ }
167
+
168
+ // Deprecated: Use ActionDefinition_ScanFocus.Descriptor instead.
169
+ func (ActionDefinition_ScanFocus) EnumDescriptor() ([]byte, []int) {
170
+ return file_scanningconfig_proto_rawDescGZIP(), []int{10, 0}
171
+ }
172
+
124
173
  type Agent_ScanFocus int32
125
174
 
126
175
  const (
@@ -154,11 +203,11 @@ func (x Agent_ScanFocus) String() string {
154
203
  }
155
204
 
156
205
  func (Agent_ScanFocus) Descriptor() protoreflect.EnumDescriptor {
157
- return file_scanningconfig_proto_enumTypes[2].Descriptor()
206
+ return file_scanningconfig_proto_enumTypes[3].Descriptor()
158
207
  }
159
208
 
160
209
  func (Agent_ScanFocus) Type() protoreflect.EnumType {
161
- return &file_scanningconfig_proto_enumTypes[2]
210
+ return &file_scanningconfig_proto_enumTypes[3]
162
211
  }
163
212
 
164
213
  func (x Agent_ScanFocus) Number() protoreflect.EnumNumber {
@@ -167,7 +216,7 @@ func (x Agent_ScanFocus) Number() protoreflect.EnumNumber {
167
216
 
168
217
  // Deprecated: Use Agent_ScanFocus.Descriptor instead.
169
218
  func (Agent_ScanFocus) EnumDescriptor() ([]byte, []int) {
170
- return file_scanningconfig_proto_rawDescGZIP(), []int{10, 0}
219
+ return file_scanningconfig_proto_rawDescGZIP(), []int{11, 0}
171
220
  }
172
221
 
173
222
  type Credential_CredentialType int32
@@ -197,11 +246,11 @@ func (x Credential_CredentialType) String() string {
197
246
  }
198
247
 
199
248
  func (Credential_CredentialType) Descriptor() protoreflect.EnumDescriptor {
200
- return file_scanningconfig_proto_enumTypes[3].Descriptor()
249
+ return file_scanningconfig_proto_enumTypes[4].Descriptor()
201
250
  }
202
251
 
203
252
  func (Credential_CredentialType) Type() protoreflect.EnumType {
204
- return &file_scanningconfig_proto_enumTypes[3]
253
+ return &file_scanningconfig_proto_enumTypes[4]
205
254
  }
206
255
 
207
256
  func (x Credential_CredentialType) Number() protoreflect.EnumNumber {
@@ -210,7 +259,7 @@ func (x Credential_CredentialType) Number() protoreflect.EnumNumber {
210
259
 
211
260
  // Deprecated: Use Credential_CredentialType.Descriptor instead.
212
261
  func (Credential_CredentialType) EnumDescriptor() ([]byte, []int) {
213
- return file_scanningconfig_proto_rawDescGZIP(), []int{11, 0}
262
+ return file_scanningconfig_proto_rawDescGZIP(), []int{12, 0}
214
263
  }
215
264
 
216
265
  type GetConfigurationsBySourceRequest struct {
@@ -692,7 +741,9 @@ type Action struct {
692
741
  //
693
742
  // *Action_Agent
694
743
  // *Action_Agentless
695
- Definition isAction_Definition `protobuf_oneof:"definition"`
744
+ Definition isAction_Definition `protobuf_oneof:"definition"`
745
+ ActionDefinition *ActionDefinition `protobuf:"bytes,6,opt,name=action_definition,json=actionDefinition,proto3" json:"action_definition,omitempty"`
746
+ Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
696
747
  }
697
748
 
698
749
  func (x *Action) Reset() {
@@ -755,6 +806,7 @@ func (m *Action) GetDefinition() isAction_Definition {
755
806
  return nil
756
807
  }
757
808
 
809
+ // Deprecated: Marked as deprecated in scanningconfig.proto.
758
810
  func (x *Action) GetAgent() *Agent {
759
811
  if x, ok := x.GetDefinition().(*Action_Agent); ok {
760
812
  return x.Agent
@@ -762,6 +814,7 @@ func (x *Action) GetAgent() *Agent {
762
814
  return nil
763
815
  }
764
816
 
817
+ // Deprecated: Marked as deprecated in scanningconfig.proto.
765
818
  func (x *Action) GetAgentless() *Agentless {
766
819
  if x, ok := x.GetDefinition().(*Action_Agentless); ok {
767
820
  return x.Agentless
@@ -769,15 +822,31 @@ func (x *Action) GetAgentless() *Agentless {
769
822
  return nil
770
823
  }
771
824
 
825
+ func (x *Action) GetActionDefinition() *ActionDefinition {
826
+ if x != nil {
827
+ return x.ActionDefinition
828
+ }
829
+ return nil
830
+ }
831
+
832
+ func (x *Action) GetId() string {
833
+ if x != nil {
834
+ return x.Id
835
+ }
836
+ return ""
837
+ }
838
+
772
839
  type isAction_Definition interface {
773
840
  isAction_Definition()
774
841
  }
775
842
 
776
843
  type Action_Agent struct {
844
+ // Deprecated: Marked as deprecated in scanningconfig.proto.
777
845
  Agent *Agent `protobuf:"bytes,4,opt,name=agent,proto3,oneof"`
778
846
  }
779
847
 
780
848
  type Action_Agentless struct {
849
+ // Deprecated: Marked as deprecated in scanningconfig.proto.
781
850
  Agentless *Agentless `protobuf:"bytes,5,opt,name=agentless,proto3,oneof"`
782
851
  }
783
852
 
@@ -832,6 +901,61 @@ func (x *Agentless) GetTargets() []string {
832
901
  return nil
833
902
  }
834
903
 
904
+ type ActionDefinition struct {
905
+ state protoimpl.MessageState
906
+ sizeCache protoimpl.SizeCache
907
+ unknownFields protoimpl.UnknownFields
908
+
909
+ ScanFocus *ActionDefinition_ScanFocus `protobuf:"varint,1,opt,name=scan_focus,json=scanFocus,proto3,enum=lansweeper.scanningconfig.v1.ActionDefinition_ScanFocus,oneof" json:"scan_focus,omitempty"`
910
+ Targets []string `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
911
+ }
912
+
913
+ func (x *ActionDefinition) Reset() {
914
+ *x = ActionDefinition{}
915
+ if protoimpl.UnsafeEnabled {
916
+ mi := &file_scanningconfig_proto_msgTypes[10]
917
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
918
+ ms.StoreMessageInfo(mi)
919
+ }
920
+ }
921
+
922
+ func (x *ActionDefinition) String() string {
923
+ return protoimpl.X.MessageStringOf(x)
924
+ }
925
+
926
+ func (*ActionDefinition) ProtoMessage() {}
927
+
928
+ func (x *ActionDefinition) ProtoReflect() protoreflect.Message {
929
+ mi := &file_scanningconfig_proto_msgTypes[10]
930
+ if protoimpl.UnsafeEnabled && x != nil {
931
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
932
+ if ms.LoadMessageInfo() == nil {
933
+ ms.StoreMessageInfo(mi)
934
+ }
935
+ return ms
936
+ }
937
+ return mi.MessageOf(x)
938
+ }
939
+
940
+ // Deprecated: Use ActionDefinition.ProtoReflect.Descriptor instead.
941
+ func (*ActionDefinition) Descriptor() ([]byte, []int) {
942
+ return file_scanningconfig_proto_rawDescGZIP(), []int{10}
943
+ }
944
+
945
+ func (x *ActionDefinition) GetScanFocus() ActionDefinition_ScanFocus {
946
+ if x != nil && x.ScanFocus != nil {
947
+ return *x.ScanFocus
948
+ }
949
+ return ActionDefinition_ALL
950
+ }
951
+
952
+ func (x *ActionDefinition) GetTargets() []string {
953
+ if x != nil {
954
+ return x.Targets
955
+ }
956
+ return nil
957
+ }
958
+
835
959
  type Agent struct {
836
960
  state protoimpl.MessageState
837
961
  sizeCache protoimpl.SizeCache
@@ -843,7 +967,7 @@ type Agent struct {
843
967
  func (x *Agent) Reset() {
844
968
  *x = Agent{}
845
969
  if protoimpl.UnsafeEnabled {
846
- mi := &file_scanningconfig_proto_msgTypes[10]
970
+ mi := &file_scanningconfig_proto_msgTypes[11]
847
971
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
848
972
  ms.StoreMessageInfo(mi)
849
973
  }
@@ -856,7 +980,7 @@ func (x *Agent) String() string {
856
980
  func (*Agent) ProtoMessage() {}
857
981
 
858
982
  func (x *Agent) ProtoReflect() protoreflect.Message {
859
- mi := &file_scanningconfig_proto_msgTypes[10]
983
+ mi := &file_scanningconfig_proto_msgTypes[11]
860
984
  if protoimpl.UnsafeEnabled && x != nil {
861
985
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
862
986
  if ms.LoadMessageInfo() == nil {
@@ -869,7 +993,7 @@ func (x *Agent) ProtoReflect() protoreflect.Message {
869
993
 
870
994
  // Deprecated: Use Agent.ProtoReflect.Descriptor instead.
871
995
  func (*Agent) Descriptor() ([]byte, []int) {
872
- return file_scanningconfig_proto_rawDescGZIP(), []int{10}
996
+ return file_scanningconfig_proto_rawDescGZIP(), []int{11}
873
997
  }
874
998
 
875
999
  func (x *Agent) GetScanFocus() Agent_ScanFocus {
@@ -891,7 +1015,7 @@ type Credential struct {
891
1015
  func (x *Credential) Reset() {
892
1016
  *x = Credential{}
893
1017
  if protoimpl.UnsafeEnabled {
894
- mi := &file_scanningconfig_proto_msgTypes[11]
1018
+ mi := &file_scanningconfig_proto_msgTypes[12]
895
1019
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
896
1020
  ms.StoreMessageInfo(mi)
897
1021
  }
@@ -904,7 +1028,7 @@ func (x *Credential) String() string {
904
1028
  func (*Credential) ProtoMessage() {}
905
1029
 
906
1030
  func (x *Credential) ProtoReflect() protoreflect.Message {
907
- mi := &file_scanningconfig_proto_msgTypes[11]
1031
+ mi := &file_scanningconfig_proto_msgTypes[12]
908
1032
  if protoimpl.UnsafeEnabled && x != nil {
909
1033
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
910
1034
  if ms.LoadMessageInfo() == nil {
@@ -917,7 +1041,7 @@ func (x *Credential) ProtoReflect() protoreflect.Message {
917
1041
 
918
1042
  // Deprecated: Use Credential.ProtoReflect.Descriptor instead.
919
1043
  func (*Credential) Descriptor() ([]byte, []int) {
920
- return file_scanningconfig_proto_rawDescGZIP(), []int{11}
1044
+ return file_scanningconfig_proto_rawDescGZIP(), []int{12}
921
1045
  }
922
1046
 
923
1047
  func (x *Credential) GetType() Credential_CredentialType {
@@ -1020,7 +1144,7 @@ var file_scanningconfig_proto_rawDesc = []byte{
1020
1144
  0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20,
1021
1145
  0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x12, 0x0a,
1022
1146
  0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
1023
- 0x65, 0x22, 0xb6, 0x03, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x08,
1147
+ 0x65, 0x22, 0xab, 0x04, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x08,
1024
1148
  0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
1025
1149
  0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e,
1026
1150
  0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72,
@@ -1034,53 +1158,73 @@ var file_scanningconfig_proto_rawDesc = []byte{
1034
1158
  0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
1035
1159
  0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
1036
1160
  0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
1037
- 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3b, 0x0a,
1161
+ 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3f, 0x0a,
1038
1162
  0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c,
1039
1163
  0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69,
1040
1164
  0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e,
1041
- 0x74, 0x48, 0x00, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x67,
1042
- 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1043
- 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e,
1044
- 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65,
1045
- 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c,
1046
- 0x65, 0x73, 0x73, 0x22, 0x37, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
1047
- 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
1048
- 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a,
1049
- 0x09, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x4c, 0x45, 0x53, 0x53, 0x10, 0x02, 0x42, 0x0c, 0x0a, 0x0a,
1050
- 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x09, 0x41, 0x67,
1051
- 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
1052
- 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
1053
- 0x73, 0x22, 0x85, 0x01, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x73,
1165
+ 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4b,
1166
+ 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
1167
+ 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
1168
+ 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
1169
+ 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00,
1170
+ 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x11, 0x61,
1171
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1172
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
1173
+ 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
1174
+ 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69,
1175
+ 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
1176
+ 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07,
1177
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69,
1178
+ 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
1179
+ 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54,
1180
+ 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x4c, 0x45, 0x53, 0x53, 0x10,
1181
+ 0x02, 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
1182
+ 0x25, 0x0a, 0x09, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07,
1183
+ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74,
1184
+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x10, 0x41, 0x63, 0x74, 0x69, 0x6f,
1185
+ 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0a, 0x73,
1054
1186
  0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1055
- 0x2d, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61,
1187
+ 0x38, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61,
1056
1188
  0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41,
1057
- 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x52, 0x09,
1058
- 0x73, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63, 0x61,
1059
- 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12,
1060
- 0x09, 0x0a, 0x05, 0x55, 0x53, 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e,
1061
- 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x02, 0x22, 0x8c, 0x01, 0x0a, 0x0a, 0x43, 0x72,
1062
- 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
1063
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
1064
- 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
1065
- 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
1066
- 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52,
1067
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1068
- 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
1069
- 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45,
1070
- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63, 0x61,
1071
- 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69,
1072
- 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1073
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
1074
- 0x12, 0x3e, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
1075
- 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
1076
- 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1077
- 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1078
- 0x1a, 0x3f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
1189
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
1190
+ 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x48, 0x00, 0x52, 0x09, 0x73, 0x63, 0x61,
1191
+ 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72,
1192
+ 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67,
1193
+ 0x65, 0x74, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73,
1194
+ 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x53, 0x45,
1195
+ 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52,
1196
+ 0x59, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63,
1197
+ 0x75, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0a,
1198
+ 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
1199
+ 0x32, 0x2d, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
1079
1200
  0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
1080
- 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1081
- 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1082
- 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
1083
- 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1201
+ 0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x52,
1202
+ 0x09, 0x73, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63,
1203
+ 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00,
1204
+ 0x12, 0x09, 0x0a, 0x05, 0x55, 0x53, 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49,
1205
+ 0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x02, 0x22, 0x8c, 0x01, 0x0a, 0x0a, 0x43,
1206
+ 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70,
1207
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65,
1208
+ 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e,
1209
+ 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
1210
+ 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65,
1211
+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
1212
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
1213
+ 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50,
1214
+ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63,
1215
+ 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76,
1216
+ 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1217
+ 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63,
1218
+ 0x65, 0x12, 0x3e, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
1219
+ 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
1220
+ 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
1221
+ 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1222
+ 0x74, 0x1a, 0x3f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
1223
+ 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
1224
+ 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
1225
+ 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1226
+ 0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
1227
+ 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1084
1228
  }
1085
1229
 
1086
1230
  var (
@@ -1095,48 +1239,52 @@ func file_scanningconfig_proto_rawDescGZIP() []byte {
1095
1239
  return file_scanningconfig_proto_rawDescData
1096
1240
  }
1097
1241
 
1098
- var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
1099
- var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1100
- var file_scanningconfig_proto_goTypes = []interface{}{
1242
+ var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
1243
+ var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
1244
+ var file_scanningconfig_proto_goTypes = []any{
1101
1245
  (Component_ComponentType)(0), // 0: lansweeper.scanningconfig.v1.Component.ComponentType
1102
1246
  (Action_ActionType)(0), // 1: lansweeper.scanningconfig.v1.Action.ActionType
1103
- (Agent_ScanFocus)(0), // 2: lansweeper.scanningconfig.v1.Agent.ScanFocus
1104
- (Credential_CredentialType)(0), // 3: lansweeper.scanningconfig.v1.Credential.CredentialType
1105
- (*GetConfigurationsBySourceRequest)(nil), // 4: lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1106
- (*GetConfigurationsBySourceResponse)(nil), // 5: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1107
- (*Component)(nil), // 6: lansweeper.scanningconfig.v1.Component
1108
- (*AssetRadar)(nil), // 7: lansweeper.scanningconfig.v1.AssetRadar
1109
- (*NetworkVisibility)(nil), // 8: lansweeper.scanningconfig.v1.NetworkVisibility
1110
- (*AutoUpdate)(nil), // 9: lansweeper.scanningconfig.v1.AutoUpdate
1111
- (*OperationalConfig)(nil), // 10: lansweeper.scanningconfig.v1.OperationalConfig
1112
- (*Trigger)(nil), // 11: lansweeper.scanningconfig.v1.Trigger
1113
- (*Action)(nil), // 12: lansweeper.scanningconfig.v1.Action
1114
- (*Agentless)(nil), // 13: lansweeper.scanningconfig.v1.Agentless
1115
- (*Agent)(nil), // 14: lansweeper.scanningconfig.v1.Agent
1116
- (*Credential)(nil), // 15: lansweeper.scanningconfig.v1.Credential
1247
+ (ActionDefinition_ScanFocus)(0), // 2: lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus
1248
+ (Agent_ScanFocus)(0), // 3: lansweeper.scanningconfig.v1.Agent.ScanFocus
1249
+ (Credential_CredentialType)(0), // 4: lansweeper.scanningconfig.v1.Credential.CredentialType
1250
+ (*GetConfigurationsBySourceRequest)(nil), // 5: lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1251
+ (*GetConfigurationsBySourceResponse)(nil), // 6: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1252
+ (*Component)(nil), // 7: lansweeper.scanningconfig.v1.Component
1253
+ (*AssetRadar)(nil), // 8: lansweeper.scanningconfig.v1.AssetRadar
1254
+ (*NetworkVisibility)(nil), // 9: lansweeper.scanningconfig.v1.NetworkVisibility
1255
+ (*AutoUpdate)(nil), // 10: lansweeper.scanningconfig.v1.AutoUpdate
1256
+ (*OperationalConfig)(nil), // 11: lansweeper.scanningconfig.v1.OperationalConfig
1257
+ (*Trigger)(nil), // 12: lansweeper.scanningconfig.v1.Trigger
1258
+ (*Action)(nil), // 13: lansweeper.scanningconfig.v1.Action
1259
+ (*Agentless)(nil), // 14: lansweeper.scanningconfig.v1.Agentless
1260
+ (*ActionDefinition)(nil), // 15: lansweeper.scanningconfig.v1.ActionDefinition
1261
+ (*Agent)(nil), // 16: lansweeper.scanningconfig.v1.Agent
1262
+ (*Credential)(nil), // 17: lansweeper.scanningconfig.v1.Credential
1117
1263
  }
1118
1264
  var file_scanningconfig_proto_depIdxs = []int32{
1119
- 6, // 0: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse.configs:type_name -> lansweeper.scanningconfig.v1.Component
1265
+ 7, // 0: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse.configs:type_name -> lansweeper.scanningconfig.v1.Component
1120
1266
  0, // 1: lansweeper.scanningconfig.v1.Component.type:type_name -> lansweeper.scanningconfig.v1.Component.ComponentType
1121
- 12, // 2: lansweeper.scanningconfig.v1.Component.actions:type_name -> lansweeper.scanningconfig.v1.Action
1122
- 10, // 3: lansweeper.scanningconfig.v1.Component.op_config:type_name -> lansweeper.scanningconfig.v1.OperationalConfig
1123
- 7, // 4: lansweeper.scanningconfig.v1.OperationalConfig.asset_radar_config:type_name -> lansweeper.scanningconfig.v1.AssetRadar
1124
- 9, // 5: lansweeper.scanningconfig.v1.OperationalConfig.auto_update_config:type_name -> lansweeper.scanningconfig.v1.AutoUpdate
1125
- 8, // 6: lansweeper.scanningconfig.v1.OperationalConfig.network_visibility_config:type_name -> lansweeper.scanningconfig.v1.NetworkVisibility
1126
- 11, // 7: lansweeper.scanningconfig.v1.Action.triggers:type_name -> lansweeper.scanningconfig.v1.Trigger
1267
+ 13, // 2: lansweeper.scanningconfig.v1.Component.actions:type_name -> lansweeper.scanningconfig.v1.Action
1268
+ 11, // 3: lansweeper.scanningconfig.v1.Component.op_config:type_name -> lansweeper.scanningconfig.v1.OperationalConfig
1269
+ 8, // 4: lansweeper.scanningconfig.v1.OperationalConfig.asset_radar_config:type_name -> lansweeper.scanningconfig.v1.AssetRadar
1270
+ 10, // 5: lansweeper.scanningconfig.v1.OperationalConfig.auto_update_config:type_name -> lansweeper.scanningconfig.v1.AutoUpdate
1271
+ 9, // 6: lansweeper.scanningconfig.v1.OperationalConfig.network_visibility_config:type_name -> lansweeper.scanningconfig.v1.NetworkVisibility
1272
+ 12, // 7: lansweeper.scanningconfig.v1.Action.triggers:type_name -> lansweeper.scanningconfig.v1.Trigger
1127
1273
  1, // 8: lansweeper.scanningconfig.v1.Action.action_type:type_name -> lansweeper.scanningconfig.v1.Action.ActionType
1128
- 15, // 9: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
1129
- 14, // 10: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
1130
- 13, // 11: lansweeper.scanningconfig.v1.Action.agentless:type_name -> lansweeper.scanningconfig.v1.Agentless
1131
- 2, // 12: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
1132
- 3, // 13: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
1133
- 4, // 14: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1134
- 5, // 15: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1135
- 15, // [15:16] is the sub-list for method output_type
1136
- 14, // [14:15] is the sub-list for method input_type
1137
- 14, // [14:14] is the sub-list for extension type_name
1138
- 14, // [14:14] is the sub-list for extension extendee
1139
- 0, // [0:14] is the sub-list for field type_name
1274
+ 17, // 9: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
1275
+ 16, // 10: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
1276
+ 14, // 11: lansweeper.scanningconfig.v1.Action.agentless:type_name -> lansweeper.scanningconfig.v1.Agentless
1277
+ 15, // 12: lansweeper.scanningconfig.v1.Action.action_definition:type_name -> lansweeper.scanningconfig.v1.ActionDefinition
1278
+ 2, // 13: lansweeper.scanningconfig.v1.ActionDefinition.scan_focus:type_name -> lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus
1279
+ 3, // 14: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
1280
+ 4, // 15: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
1281
+ 5, // 16: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1282
+ 6, // 17: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1283
+ 17, // [17:18] is the sub-list for method output_type
1284
+ 16, // [16:17] is the sub-list for method input_type
1285
+ 16, // [16:16] is the sub-list for extension type_name
1286
+ 16, // [16:16] is the sub-list for extension extendee
1287
+ 0, // [0:16] is the sub-list for field type_name
1140
1288
  }
1141
1289
 
1142
1290
  func init() { file_scanningconfig_proto_init() }
@@ -1145,7 +1293,7 @@ func file_scanningconfig_proto_init() {
1145
1293
  return
1146
1294
  }
1147
1295
  if !protoimpl.UnsafeEnabled {
1148
- file_scanningconfig_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1296
+ file_scanningconfig_proto_msgTypes[0].Exporter = func(v any, i int) any {
1149
1297
  switch v := v.(*GetConfigurationsBySourceRequest); i {
1150
1298
  case 0:
1151
1299
  return &v.state
@@ -1157,7 +1305,7 @@ func file_scanningconfig_proto_init() {
1157
1305
  return nil
1158
1306
  }
1159
1307
  }
1160
- file_scanningconfig_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1308
+ file_scanningconfig_proto_msgTypes[1].Exporter = func(v any, i int) any {
1161
1309
  switch v := v.(*GetConfigurationsBySourceResponse); i {
1162
1310
  case 0:
1163
1311
  return &v.state
@@ -1169,7 +1317,7 @@ func file_scanningconfig_proto_init() {
1169
1317
  return nil
1170
1318
  }
1171
1319
  }
1172
- file_scanningconfig_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1320
+ file_scanningconfig_proto_msgTypes[2].Exporter = func(v any, i int) any {
1173
1321
  switch v := v.(*Component); i {
1174
1322
  case 0:
1175
1323
  return &v.state
@@ -1181,7 +1329,7 @@ func file_scanningconfig_proto_init() {
1181
1329
  return nil
1182
1330
  }
1183
1331
  }
1184
- file_scanningconfig_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1332
+ file_scanningconfig_proto_msgTypes[3].Exporter = func(v any, i int) any {
1185
1333
  switch v := v.(*AssetRadar); i {
1186
1334
  case 0:
1187
1335
  return &v.state
@@ -1193,7 +1341,7 @@ func file_scanningconfig_proto_init() {
1193
1341
  return nil
1194
1342
  }
1195
1343
  }
1196
- file_scanningconfig_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1344
+ file_scanningconfig_proto_msgTypes[4].Exporter = func(v any, i int) any {
1197
1345
  switch v := v.(*NetworkVisibility); i {
1198
1346
  case 0:
1199
1347
  return &v.state
@@ -1205,7 +1353,7 @@ func file_scanningconfig_proto_init() {
1205
1353
  return nil
1206
1354
  }
1207
1355
  }
1208
- file_scanningconfig_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1356
+ file_scanningconfig_proto_msgTypes[5].Exporter = func(v any, i int) any {
1209
1357
  switch v := v.(*AutoUpdate); i {
1210
1358
  case 0:
1211
1359
  return &v.state
@@ -1217,7 +1365,7 @@ func file_scanningconfig_proto_init() {
1217
1365
  return nil
1218
1366
  }
1219
1367
  }
1220
- file_scanningconfig_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1368
+ file_scanningconfig_proto_msgTypes[6].Exporter = func(v any, i int) any {
1221
1369
  switch v := v.(*OperationalConfig); i {
1222
1370
  case 0:
1223
1371
  return &v.state
@@ -1229,7 +1377,7 @@ func file_scanningconfig_proto_init() {
1229
1377
  return nil
1230
1378
  }
1231
1379
  }
1232
- file_scanningconfig_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1380
+ file_scanningconfig_proto_msgTypes[7].Exporter = func(v any, i int) any {
1233
1381
  switch v := v.(*Trigger); i {
1234
1382
  case 0:
1235
1383
  return &v.state
@@ -1241,7 +1389,7 @@ func file_scanningconfig_proto_init() {
1241
1389
  return nil
1242
1390
  }
1243
1391
  }
1244
- file_scanningconfig_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1392
+ file_scanningconfig_proto_msgTypes[8].Exporter = func(v any, i int) any {
1245
1393
  switch v := v.(*Action); i {
1246
1394
  case 0:
1247
1395
  return &v.state
@@ -1253,7 +1401,7 @@ func file_scanningconfig_proto_init() {
1253
1401
  return nil
1254
1402
  }
1255
1403
  }
1256
- file_scanningconfig_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1404
+ file_scanningconfig_proto_msgTypes[9].Exporter = func(v any, i int) any {
1257
1405
  switch v := v.(*Agentless); i {
1258
1406
  case 0:
1259
1407
  return &v.state
@@ -1265,7 +1413,19 @@ func file_scanningconfig_proto_init() {
1265
1413
  return nil
1266
1414
  }
1267
1415
  }
1268
- file_scanningconfig_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1416
+ file_scanningconfig_proto_msgTypes[10].Exporter = func(v any, i int) any {
1417
+ switch v := v.(*ActionDefinition); i {
1418
+ case 0:
1419
+ return &v.state
1420
+ case 1:
1421
+ return &v.sizeCache
1422
+ case 2:
1423
+ return &v.unknownFields
1424
+ default:
1425
+ return nil
1426
+ }
1427
+ }
1428
+ file_scanningconfig_proto_msgTypes[11].Exporter = func(v any, i int) any {
1269
1429
  switch v := v.(*Agent); i {
1270
1430
  case 0:
1271
1431
  return &v.state
@@ -1277,7 +1437,7 @@ func file_scanningconfig_proto_init() {
1277
1437
  return nil
1278
1438
  }
1279
1439
  }
1280
- file_scanningconfig_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1440
+ file_scanningconfig_proto_msgTypes[12].Exporter = func(v any, i int) any {
1281
1441
  switch v := v.(*Credential); i {
1282
1442
  case 0:
1283
1443
  return &v.state
@@ -1290,19 +1450,20 @@ func file_scanningconfig_proto_init() {
1290
1450
  }
1291
1451
  }
1292
1452
  }
1293
- file_scanningconfig_proto_msgTypes[2].OneofWrappers = []interface{}{}
1294
- file_scanningconfig_proto_msgTypes[6].OneofWrappers = []interface{}{}
1295
- file_scanningconfig_proto_msgTypes[8].OneofWrappers = []interface{}{
1453
+ file_scanningconfig_proto_msgTypes[2].OneofWrappers = []any{}
1454
+ file_scanningconfig_proto_msgTypes[6].OneofWrappers = []any{}
1455
+ file_scanningconfig_proto_msgTypes[8].OneofWrappers = []any{
1296
1456
  (*Action_Agent)(nil),
1297
1457
  (*Action_Agentless)(nil),
1298
1458
  }
1459
+ file_scanningconfig_proto_msgTypes[10].OneofWrappers = []any{}
1299
1460
  type x struct{}
1300
1461
  out := protoimpl.TypeBuilder{
1301
1462
  File: protoimpl.DescBuilder{
1302
1463
  GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1303
1464
  RawDescriptor: file_scanningconfig_proto_rawDesc,
1304
- NumEnums: 4,
1305
- NumMessages: 12,
1465
+ NumEnums: 5,
1466
+ NumMessages: 13,
1306
1467
  NumExtensions: 0,
1307
1468
  NumServices: 1,
1308
1469
  },