@lansweeper/scanningconfig-grpc 0.1.5 → 0.1.6
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.
- package/CHANGELOG.md +8 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/bin/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_pb.d.ts +41 -0
- package/gen-proto/scanningconfig_pb.js +288 -1
- package/generated-go/scanningconfig.pb.go +261 -109
- package/generated-go/scanningconfig_grpc.pb.go +5 -4
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Scanningconfig.cs +319 -20
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +16 -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.
|
|
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[
|
|
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[
|
|
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{
|
|
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[
|
|
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[
|
|
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{
|
|
262
|
+
return file_scanningconfig_proto_rawDescGZIP(), []int{12, 0}
|
|
214
263
|
}
|
|
215
264
|
|
|
216
265
|
type GetConfigurationsBySourceRequest struct {
|
|
@@ -692,7 +741,8 @@ type Action struct {
|
|
|
692
741
|
//
|
|
693
742
|
// *Action_Agent
|
|
694
743
|
// *Action_Agentless
|
|
695
|
-
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"`
|
|
696
746
|
}
|
|
697
747
|
|
|
698
748
|
func (x *Action) Reset() {
|
|
@@ -755,6 +805,7 @@ func (m *Action) GetDefinition() isAction_Definition {
|
|
|
755
805
|
return nil
|
|
756
806
|
}
|
|
757
807
|
|
|
808
|
+
// Deprecated: Marked as deprecated in scanningconfig.proto.
|
|
758
809
|
func (x *Action) GetAgent() *Agent {
|
|
759
810
|
if x, ok := x.GetDefinition().(*Action_Agent); ok {
|
|
760
811
|
return x.Agent
|
|
@@ -762,6 +813,7 @@ func (x *Action) GetAgent() *Agent {
|
|
|
762
813
|
return nil
|
|
763
814
|
}
|
|
764
815
|
|
|
816
|
+
// Deprecated: Marked as deprecated in scanningconfig.proto.
|
|
765
817
|
func (x *Action) GetAgentless() *Agentless {
|
|
766
818
|
if x, ok := x.GetDefinition().(*Action_Agentless); ok {
|
|
767
819
|
return x.Agentless
|
|
@@ -769,15 +821,24 @@ func (x *Action) GetAgentless() *Agentless {
|
|
|
769
821
|
return nil
|
|
770
822
|
}
|
|
771
823
|
|
|
824
|
+
func (x *Action) GetActionDefinition() *ActionDefinition {
|
|
825
|
+
if x != nil {
|
|
826
|
+
return x.ActionDefinition
|
|
827
|
+
}
|
|
828
|
+
return nil
|
|
829
|
+
}
|
|
830
|
+
|
|
772
831
|
type isAction_Definition interface {
|
|
773
832
|
isAction_Definition()
|
|
774
833
|
}
|
|
775
834
|
|
|
776
835
|
type Action_Agent struct {
|
|
836
|
+
// Deprecated: Marked as deprecated in scanningconfig.proto.
|
|
777
837
|
Agent *Agent `protobuf:"bytes,4,opt,name=agent,proto3,oneof"`
|
|
778
838
|
}
|
|
779
839
|
|
|
780
840
|
type Action_Agentless struct {
|
|
841
|
+
// Deprecated: Marked as deprecated in scanningconfig.proto.
|
|
781
842
|
Agentless *Agentless `protobuf:"bytes,5,opt,name=agentless,proto3,oneof"`
|
|
782
843
|
}
|
|
783
844
|
|
|
@@ -832,6 +893,61 @@ func (x *Agentless) GetTargets() []string {
|
|
|
832
893
|
return nil
|
|
833
894
|
}
|
|
834
895
|
|
|
896
|
+
type ActionDefinition struct {
|
|
897
|
+
state protoimpl.MessageState
|
|
898
|
+
sizeCache protoimpl.SizeCache
|
|
899
|
+
unknownFields protoimpl.UnknownFields
|
|
900
|
+
|
|
901
|
+
ScanFocus *ActionDefinition_ScanFocus `protobuf:"varint,1,opt,name=scan_focus,json=scanFocus,proto3,enum=lansweeper.scanningconfig.v1.ActionDefinition_ScanFocus,oneof" json:"scan_focus,omitempty"`
|
|
902
|
+
Targets []string `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
func (x *ActionDefinition) Reset() {
|
|
906
|
+
*x = ActionDefinition{}
|
|
907
|
+
if protoimpl.UnsafeEnabled {
|
|
908
|
+
mi := &file_scanningconfig_proto_msgTypes[10]
|
|
909
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
910
|
+
ms.StoreMessageInfo(mi)
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
func (x *ActionDefinition) String() string {
|
|
915
|
+
return protoimpl.X.MessageStringOf(x)
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
func (*ActionDefinition) ProtoMessage() {}
|
|
919
|
+
|
|
920
|
+
func (x *ActionDefinition) ProtoReflect() protoreflect.Message {
|
|
921
|
+
mi := &file_scanningconfig_proto_msgTypes[10]
|
|
922
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
923
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
924
|
+
if ms.LoadMessageInfo() == nil {
|
|
925
|
+
ms.StoreMessageInfo(mi)
|
|
926
|
+
}
|
|
927
|
+
return ms
|
|
928
|
+
}
|
|
929
|
+
return mi.MessageOf(x)
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
// Deprecated: Use ActionDefinition.ProtoReflect.Descriptor instead.
|
|
933
|
+
func (*ActionDefinition) Descriptor() ([]byte, []int) {
|
|
934
|
+
return file_scanningconfig_proto_rawDescGZIP(), []int{10}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
func (x *ActionDefinition) GetScanFocus() ActionDefinition_ScanFocus {
|
|
938
|
+
if x != nil && x.ScanFocus != nil {
|
|
939
|
+
return *x.ScanFocus
|
|
940
|
+
}
|
|
941
|
+
return ActionDefinition_ALL
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
func (x *ActionDefinition) GetTargets() []string {
|
|
945
|
+
if x != nil {
|
|
946
|
+
return x.Targets
|
|
947
|
+
}
|
|
948
|
+
return nil
|
|
949
|
+
}
|
|
950
|
+
|
|
835
951
|
type Agent struct {
|
|
836
952
|
state protoimpl.MessageState
|
|
837
953
|
sizeCache protoimpl.SizeCache
|
|
@@ -843,7 +959,7 @@ type Agent struct {
|
|
|
843
959
|
func (x *Agent) Reset() {
|
|
844
960
|
*x = Agent{}
|
|
845
961
|
if protoimpl.UnsafeEnabled {
|
|
846
|
-
mi := &file_scanningconfig_proto_msgTypes[
|
|
962
|
+
mi := &file_scanningconfig_proto_msgTypes[11]
|
|
847
963
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
848
964
|
ms.StoreMessageInfo(mi)
|
|
849
965
|
}
|
|
@@ -856,7 +972,7 @@ func (x *Agent) String() string {
|
|
|
856
972
|
func (*Agent) ProtoMessage() {}
|
|
857
973
|
|
|
858
974
|
func (x *Agent) ProtoReflect() protoreflect.Message {
|
|
859
|
-
mi := &file_scanningconfig_proto_msgTypes[
|
|
975
|
+
mi := &file_scanningconfig_proto_msgTypes[11]
|
|
860
976
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
861
977
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
862
978
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -869,7 +985,7 @@ func (x *Agent) ProtoReflect() protoreflect.Message {
|
|
|
869
985
|
|
|
870
986
|
// Deprecated: Use Agent.ProtoReflect.Descriptor instead.
|
|
871
987
|
func (*Agent) Descriptor() ([]byte, []int) {
|
|
872
|
-
return file_scanningconfig_proto_rawDescGZIP(), []int{
|
|
988
|
+
return file_scanningconfig_proto_rawDescGZIP(), []int{11}
|
|
873
989
|
}
|
|
874
990
|
|
|
875
991
|
func (x *Agent) GetScanFocus() Agent_ScanFocus {
|
|
@@ -891,7 +1007,7 @@ type Credential struct {
|
|
|
891
1007
|
func (x *Credential) Reset() {
|
|
892
1008
|
*x = Credential{}
|
|
893
1009
|
if protoimpl.UnsafeEnabled {
|
|
894
|
-
mi := &file_scanningconfig_proto_msgTypes[
|
|
1010
|
+
mi := &file_scanningconfig_proto_msgTypes[12]
|
|
895
1011
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
896
1012
|
ms.StoreMessageInfo(mi)
|
|
897
1013
|
}
|
|
@@ -904,7 +1020,7 @@ func (x *Credential) String() string {
|
|
|
904
1020
|
func (*Credential) ProtoMessage() {}
|
|
905
1021
|
|
|
906
1022
|
func (x *Credential) ProtoReflect() protoreflect.Message {
|
|
907
|
-
mi := &file_scanningconfig_proto_msgTypes[
|
|
1023
|
+
mi := &file_scanningconfig_proto_msgTypes[12]
|
|
908
1024
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
909
1025
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
910
1026
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -917,7 +1033,7 @@ func (x *Credential) ProtoReflect() protoreflect.Message {
|
|
|
917
1033
|
|
|
918
1034
|
// Deprecated: Use Credential.ProtoReflect.Descriptor instead.
|
|
919
1035
|
func (*Credential) Descriptor() ([]byte, []int) {
|
|
920
|
-
return file_scanningconfig_proto_rawDescGZIP(), []int{
|
|
1036
|
+
return file_scanningconfig_proto_rawDescGZIP(), []int{12}
|
|
921
1037
|
}
|
|
922
1038
|
|
|
923
1039
|
func (x *Credential) GetType() Credential_CredentialType {
|
|
@@ -1020,7 +1136,7 @@ var file_scanningconfig_proto_rawDesc = []byte{
|
|
|
1020
1136
|
0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20,
|
|
1021
1137
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x12, 0x0a,
|
|
1022
1138
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
1023
|
-
0x65, 0x22,
|
|
1139
|
+
0x65, 0x22, 0x9b, 0x04, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x08,
|
|
1024
1140
|
0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
|
|
1025
1141
|
0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e,
|
|
1026
1142
|
0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72,
|
|
@@ -1034,53 +1150,72 @@ var file_scanningconfig_proto_rawDesc = []byte{
|
|
|
1034
1150
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
|
|
1035
1151
|
0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
|
|
1036
1152
|
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,
|
|
1153
|
+
0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x3f, 0x0a,
|
|
1038
1154
|
0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c,
|
|
1039
1155
|
0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69,
|
|
1040
1156
|
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,
|
|
1042
|
-
0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
1043
|
-
0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
|
|
1044
|
-
0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1157
|
+
0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4b,
|
|
1158
|
+
0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
1159
|
+
0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
|
|
1160
|
+
0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
|
|
1161
|
+
0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00,
|
|
1162
|
+
0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x11, 0x61,
|
|
1163
|
+
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
1164
|
+
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
|
|
1165
|
+
0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66,
|
|
1166
|
+
0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69,
|
|
1167
|
+
0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
|
|
1168
|
+
0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69,
|
|
1169
|
+
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
|
|
1170
|
+
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54,
|
|
1171
|
+
0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x4c, 0x45, 0x53, 0x53, 0x10,
|
|
1172
|
+
0x02, 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
|
|
1173
|
+
0x25, 0x0a, 0x09, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
|
1174
|
+
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74,
|
|
1175
|
+
0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x10, 0x41, 0x63, 0x74, 0x69, 0x6f,
|
|
1176
|
+
0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0a, 0x73,
|
|
1054
1177
|
0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
1055
|
-
|
|
1178
|
+
0x38, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61,
|
|
1056
1179
|
0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41,
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73,
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
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,
|
|
1180
|
+
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
1181
|
+
0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x48, 0x00, 0x52, 0x09, 0x73, 0x63, 0x61,
|
|
1182
|
+
0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72,
|
|
1183
|
+
0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67,
|
|
1184
|
+
0x65, 0x74, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73,
|
|
1185
|
+
0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x53, 0x45,
|
|
1186
|
+
0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52,
|
|
1187
|
+
0x59, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63,
|
|
1188
|
+
0x75, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0a,
|
|
1189
|
+
0x73, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
|
1190
|
+
0x32, 0x2d, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63,
|
|
1075
1191
|
0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e,
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
0x65,
|
|
1083
|
-
0x65,
|
|
1192
|
+
0x41, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x52,
|
|
1193
|
+
0x09, 0x73, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63,
|
|
1194
|
+
0x61, 0x6e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00,
|
|
1195
|
+
0x12, 0x09, 0x0a, 0x05, 0x55, 0x53, 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49,
|
|
1196
|
+
0x4e, 0x56, 0x45, 0x4e, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x02, 0x22, 0x8c, 0x01, 0x0a, 0x0a, 0x43,
|
|
1197
|
+
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
|
1198
|
+
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65,
|
|
1199
|
+
0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e,
|
|
1200
|
+
0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
|
|
1201
|
+
0x6c, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65,
|
|
1202
|
+
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
1203
|
+
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
1204
|
+
0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50,
|
|
1205
|
+
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63,
|
|
1206
|
+
0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76,
|
|
1207
|
+
0x69, 0x63, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
1208
|
+
0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63,
|
|
1209
|
+
0x65, 0x12, 0x3e, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
|
|
1210
|
+
0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
|
|
1211
|
+
0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
1212
|
+
0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
1213
|
+
0x74, 0x1a, 0x3f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
|
|
1214
|
+
0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
|
|
1215
|
+
0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
1216
|
+
0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
1217
|
+
0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
|
|
1218
|
+
0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
1084
1219
|
}
|
|
1085
1220
|
|
|
1086
1221
|
var (
|
|
@@ -1095,48 +1230,52 @@ func file_scanningconfig_proto_rawDescGZIP() []byte {
|
|
|
1095
1230
|
return file_scanningconfig_proto_rawDescData
|
|
1096
1231
|
}
|
|
1097
1232
|
|
|
1098
|
-
var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo,
|
|
1099
|
-
var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
1100
|
-
var file_scanningconfig_proto_goTypes = []
|
|
1233
|
+
var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
|
|
1234
|
+
var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
1235
|
+
var file_scanningconfig_proto_goTypes = []any{
|
|
1101
1236
|
(Component_ComponentType)(0), // 0: lansweeper.scanningconfig.v1.Component.ComponentType
|
|
1102
1237
|
(Action_ActionType)(0), // 1: lansweeper.scanningconfig.v1.Action.ActionType
|
|
1103
|
-
(
|
|
1104
|
-
(
|
|
1105
|
-
(
|
|
1106
|
-
(*
|
|
1107
|
-
(*
|
|
1108
|
-
(*
|
|
1109
|
-
(*
|
|
1110
|
-
(*
|
|
1111
|
-
(*
|
|
1112
|
-
(*
|
|
1113
|
-
(*
|
|
1114
|
-
(*
|
|
1115
|
-
(*
|
|
1116
|
-
(*
|
|
1238
|
+
(ActionDefinition_ScanFocus)(0), // 2: lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus
|
|
1239
|
+
(Agent_ScanFocus)(0), // 3: lansweeper.scanningconfig.v1.Agent.ScanFocus
|
|
1240
|
+
(Credential_CredentialType)(0), // 4: lansweeper.scanningconfig.v1.Credential.CredentialType
|
|
1241
|
+
(*GetConfigurationsBySourceRequest)(nil), // 5: lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
|
|
1242
|
+
(*GetConfigurationsBySourceResponse)(nil), // 6: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
|
|
1243
|
+
(*Component)(nil), // 7: lansweeper.scanningconfig.v1.Component
|
|
1244
|
+
(*AssetRadar)(nil), // 8: lansweeper.scanningconfig.v1.AssetRadar
|
|
1245
|
+
(*NetworkVisibility)(nil), // 9: lansweeper.scanningconfig.v1.NetworkVisibility
|
|
1246
|
+
(*AutoUpdate)(nil), // 10: lansweeper.scanningconfig.v1.AutoUpdate
|
|
1247
|
+
(*OperationalConfig)(nil), // 11: lansweeper.scanningconfig.v1.OperationalConfig
|
|
1248
|
+
(*Trigger)(nil), // 12: lansweeper.scanningconfig.v1.Trigger
|
|
1249
|
+
(*Action)(nil), // 13: lansweeper.scanningconfig.v1.Action
|
|
1250
|
+
(*Agentless)(nil), // 14: lansweeper.scanningconfig.v1.Agentless
|
|
1251
|
+
(*ActionDefinition)(nil), // 15: lansweeper.scanningconfig.v1.ActionDefinition
|
|
1252
|
+
(*Agent)(nil), // 16: lansweeper.scanningconfig.v1.Agent
|
|
1253
|
+
(*Credential)(nil), // 17: lansweeper.scanningconfig.v1.Credential
|
|
1117
1254
|
}
|
|
1118
1255
|
var file_scanningconfig_proto_depIdxs = []int32{
|
|
1119
|
-
|
|
1256
|
+
7, // 0: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse.configs:type_name -> lansweeper.scanningconfig.v1.Component
|
|
1120
1257
|
0, // 1: lansweeper.scanningconfig.v1.Component.type:type_name -> lansweeper.scanningconfig.v1.Component.ComponentType
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1258
|
+
13, // 2: lansweeper.scanningconfig.v1.Component.actions:type_name -> lansweeper.scanningconfig.v1.Action
|
|
1259
|
+
11, // 3: lansweeper.scanningconfig.v1.Component.op_config:type_name -> lansweeper.scanningconfig.v1.OperationalConfig
|
|
1260
|
+
8, // 4: lansweeper.scanningconfig.v1.OperationalConfig.asset_radar_config:type_name -> lansweeper.scanningconfig.v1.AssetRadar
|
|
1261
|
+
10, // 5: lansweeper.scanningconfig.v1.OperationalConfig.auto_update_config:type_name -> lansweeper.scanningconfig.v1.AutoUpdate
|
|
1262
|
+
9, // 6: lansweeper.scanningconfig.v1.OperationalConfig.network_visibility_config:type_name -> lansweeper.scanningconfig.v1.NetworkVisibility
|
|
1263
|
+
12, // 7: lansweeper.scanningconfig.v1.Action.triggers:type_name -> lansweeper.scanningconfig.v1.Trigger
|
|
1127
1264
|
1, // 8: lansweeper.scanningconfig.v1.Action.action_type:type_name -> lansweeper.scanningconfig.v1.Action.ActionType
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1265
|
+
17, // 9: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
|
|
1266
|
+
16, // 10: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
|
|
1267
|
+
14, // 11: lansweeper.scanningconfig.v1.Action.agentless:type_name -> lansweeper.scanningconfig.v1.Agentless
|
|
1268
|
+
15, // 12: lansweeper.scanningconfig.v1.Action.action_definition:type_name -> lansweeper.scanningconfig.v1.ActionDefinition
|
|
1269
|
+
2, // 13: lansweeper.scanningconfig.v1.ActionDefinition.scan_focus:type_name -> lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus
|
|
1270
|
+
3, // 14: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
|
|
1271
|
+
4, // 15: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
|
|
1272
|
+
5, // 16: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
|
|
1273
|
+
6, // 17: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
|
|
1274
|
+
17, // [17:18] is the sub-list for method output_type
|
|
1275
|
+
16, // [16:17] is the sub-list for method input_type
|
|
1276
|
+
16, // [16:16] is the sub-list for extension type_name
|
|
1277
|
+
16, // [16:16] is the sub-list for extension extendee
|
|
1278
|
+
0, // [0:16] is the sub-list for field type_name
|
|
1140
1279
|
}
|
|
1141
1280
|
|
|
1142
1281
|
func init() { file_scanningconfig_proto_init() }
|
|
@@ -1145,7 +1284,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1145
1284
|
return
|
|
1146
1285
|
}
|
|
1147
1286
|
if !protoimpl.UnsafeEnabled {
|
|
1148
|
-
file_scanningconfig_proto_msgTypes[0].Exporter = func(v
|
|
1287
|
+
file_scanningconfig_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
1149
1288
|
switch v := v.(*GetConfigurationsBySourceRequest); i {
|
|
1150
1289
|
case 0:
|
|
1151
1290
|
return &v.state
|
|
@@ -1157,7 +1296,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1157
1296
|
return nil
|
|
1158
1297
|
}
|
|
1159
1298
|
}
|
|
1160
|
-
file_scanningconfig_proto_msgTypes[1].Exporter = func(v
|
|
1299
|
+
file_scanningconfig_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
1161
1300
|
switch v := v.(*GetConfigurationsBySourceResponse); i {
|
|
1162
1301
|
case 0:
|
|
1163
1302
|
return &v.state
|
|
@@ -1169,7 +1308,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1169
1308
|
return nil
|
|
1170
1309
|
}
|
|
1171
1310
|
}
|
|
1172
|
-
file_scanningconfig_proto_msgTypes[2].Exporter = func(v
|
|
1311
|
+
file_scanningconfig_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
1173
1312
|
switch v := v.(*Component); i {
|
|
1174
1313
|
case 0:
|
|
1175
1314
|
return &v.state
|
|
@@ -1181,7 +1320,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1181
1320
|
return nil
|
|
1182
1321
|
}
|
|
1183
1322
|
}
|
|
1184
|
-
file_scanningconfig_proto_msgTypes[3].Exporter = func(v
|
|
1323
|
+
file_scanningconfig_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
1185
1324
|
switch v := v.(*AssetRadar); i {
|
|
1186
1325
|
case 0:
|
|
1187
1326
|
return &v.state
|
|
@@ -1193,7 +1332,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1193
1332
|
return nil
|
|
1194
1333
|
}
|
|
1195
1334
|
}
|
|
1196
|
-
file_scanningconfig_proto_msgTypes[4].Exporter = func(v
|
|
1335
|
+
file_scanningconfig_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
1197
1336
|
switch v := v.(*NetworkVisibility); i {
|
|
1198
1337
|
case 0:
|
|
1199
1338
|
return &v.state
|
|
@@ -1205,7 +1344,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1205
1344
|
return nil
|
|
1206
1345
|
}
|
|
1207
1346
|
}
|
|
1208
|
-
file_scanningconfig_proto_msgTypes[5].Exporter = func(v
|
|
1347
|
+
file_scanningconfig_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
1209
1348
|
switch v := v.(*AutoUpdate); i {
|
|
1210
1349
|
case 0:
|
|
1211
1350
|
return &v.state
|
|
@@ -1217,7 +1356,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1217
1356
|
return nil
|
|
1218
1357
|
}
|
|
1219
1358
|
}
|
|
1220
|
-
file_scanningconfig_proto_msgTypes[6].Exporter = func(v
|
|
1359
|
+
file_scanningconfig_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
1221
1360
|
switch v := v.(*OperationalConfig); i {
|
|
1222
1361
|
case 0:
|
|
1223
1362
|
return &v.state
|
|
@@ -1229,7 +1368,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1229
1368
|
return nil
|
|
1230
1369
|
}
|
|
1231
1370
|
}
|
|
1232
|
-
file_scanningconfig_proto_msgTypes[7].Exporter = func(v
|
|
1371
|
+
file_scanningconfig_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
1233
1372
|
switch v := v.(*Trigger); i {
|
|
1234
1373
|
case 0:
|
|
1235
1374
|
return &v.state
|
|
@@ -1241,7 +1380,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1241
1380
|
return nil
|
|
1242
1381
|
}
|
|
1243
1382
|
}
|
|
1244
|
-
file_scanningconfig_proto_msgTypes[8].Exporter = func(v
|
|
1383
|
+
file_scanningconfig_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
|
1245
1384
|
switch v := v.(*Action); i {
|
|
1246
1385
|
case 0:
|
|
1247
1386
|
return &v.state
|
|
@@ -1253,7 +1392,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1253
1392
|
return nil
|
|
1254
1393
|
}
|
|
1255
1394
|
}
|
|
1256
|
-
file_scanningconfig_proto_msgTypes[9].Exporter = func(v
|
|
1395
|
+
file_scanningconfig_proto_msgTypes[9].Exporter = func(v any, i int) any {
|
|
1257
1396
|
switch v := v.(*Agentless); i {
|
|
1258
1397
|
case 0:
|
|
1259
1398
|
return &v.state
|
|
@@ -1265,7 +1404,19 @@ func file_scanningconfig_proto_init() {
|
|
|
1265
1404
|
return nil
|
|
1266
1405
|
}
|
|
1267
1406
|
}
|
|
1268
|
-
file_scanningconfig_proto_msgTypes[10].Exporter = func(v
|
|
1407
|
+
file_scanningconfig_proto_msgTypes[10].Exporter = func(v any, i int) any {
|
|
1408
|
+
switch v := v.(*ActionDefinition); i {
|
|
1409
|
+
case 0:
|
|
1410
|
+
return &v.state
|
|
1411
|
+
case 1:
|
|
1412
|
+
return &v.sizeCache
|
|
1413
|
+
case 2:
|
|
1414
|
+
return &v.unknownFields
|
|
1415
|
+
default:
|
|
1416
|
+
return nil
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
file_scanningconfig_proto_msgTypes[11].Exporter = func(v any, i int) any {
|
|
1269
1420
|
switch v := v.(*Agent); i {
|
|
1270
1421
|
case 0:
|
|
1271
1422
|
return &v.state
|
|
@@ -1277,7 +1428,7 @@ func file_scanningconfig_proto_init() {
|
|
|
1277
1428
|
return nil
|
|
1278
1429
|
}
|
|
1279
1430
|
}
|
|
1280
|
-
file_scanningconfig_proto_msgTypes[
|
|
1431
|
+
file_scanningconfig_proto_msgTypes[12].Exporter = func(v any, i int) any {
|
|
1281
1432
|
switch v := v.(*Credential); i {
|
|
1282
1433
|
case 0:
|
|
1283
1434
|
return &v.state
|
|
@@ -1290,19 +1441,20 @@ func file_scanningconfig_proto_init() {
|
|
|
1290
1441
|
}
|
|
1291
1442
|
}
|
|
1292
1443
|
}
|
|
1293
|
-
file_scanningconfig_proto_msgTypes[2].OneofWrappers = []
|
|
1294
|
-
file_scanningconfig_proto_msgTypes[6].OneofWrappers = []
|
|
1295
|
-
file_scanningconfig_proto_msgTypes[8].OneofWrappers = []
|
|
1444
|
+
file_scanningconfig_proto_msgTypes[2].OneofWrappers = []any{}
|
|
1445
|
+
file_scanningconfig_proto_msgTypes[6].OneofWrappers = []any{}
|
|
1446
|
+
file_scanningconfig_proto_msgTypes[8].OneofWrappers = []any{
|
|
1296
1447
|
(*Action_Agent)(nil),
|
|
1297
1448
|
(*Action_Agentless)(nil),
|
|
1298
1449
|
}
|
|
1450
|
+
file_scanningconfig_proto_msgTypes[10].OneofWrappers = []any{}
|
|
1299
1451
|
type x struct{}
|
|
1300
1452
|
out := protoimpl.TypeBuilder{
|
|
1301
1453
|
File: protoimpl.DescBuilder{
|
|
1302
1454
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
1303
1455
|
RawDescriptor: file_scanningconfig_proto_rawDesc,
|
|
1304
|
-
NumEnums:
|
|
1305
|
-
NumMessages:
|
|
1456
|
+
NumEnums: 5,
|
|
1457
|
+
NumMessages: 13,
|
|
1306
1458
|
NumExtensions: 0,
|
|
1307
1459
|
NumServices: 1,
|
|
1308
1460
|
},
|