@lansweeper/scanningconfig-grpc 0.1.4 → 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 +16 -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 +44 -0
- package/gen-proto/scanningconfig_pb.js +319 -2
- package/generated-go/scanningconfig.pb.go +290 -129
- 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.assets.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.FileListAbsolute.txt +2 -2
- 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 +362 -26
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +3 -4
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +1 -1
- package/obj/project.assets.json +9 -22
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +17 -3
- package/obj/Debug/net6.0/refint/Lansweeper.ScanningConfig.GRPC.dll +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.1.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.5...@lansweeper/scanningconfig-grpc@0.1.6) (2024-06-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.1.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.4...@lansweeper/scanningconfig-grpc@0.1.5) (2024-05-03)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.1.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.3...@lansweeper/scanningconfig-grpc@0.1.4) (2024-04-23)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper ScanningConfig model/proto</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.1.
|
|
11
|
-
<Version>0.1.
|
|
12
|
-
<FileVersion>0.1.
|
|
10
|
+
<PackageVersion>0.1.5</PackageVersion>
|
|
11
|
+
<Version>0.1.5</Version>
|
|
12
|
+
<FileVersion>0.1.5</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
15
|
<ItemGroup>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.ScanningConfig.GRPC/0.1.
|
|
9
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.5": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Google.Protobuf": "3.22.0",
|
|
12
12
|
"Grpc.Core": "2.46.6",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"libraries": {
|
|
82
|
-
"Lansweeper.ScanningConfig.GRPC/0.1.
|
|
82
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.5": {
|
|
83
83
|
"type": "project",
|
|
84
84
|
"serviceable": false,
|
|
85
85
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/scanningconfig.proto","package":"lansweeper.scanningconfig.v1","messageType":[{"name":"GetConfigurationsBySourceRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"}]},{"name":"GetConfigurationsBySourceResponse","field":[{"name":"configs","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Component","jsonName":"configs"}]},{"name":"Component","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Component.ComponentType","jsonName":"type"},{"name":"actions","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Action","jsonName":"actions"},{"name":"op_config","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.OperationalConfig","oneofIndex":0,"jsonName":"opConfig","proto3Optional":true},{"name":"enabled","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"}],"enumType":[{"name":"ComponentType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"IT_SENSOR","number":2},{"name":"IT_HUB","number":3}]}],"oneofDecl":[{"name":"_op_config"}]},{"name":"AssetRadar","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}],"options":{"deprecated":true}},{"name":"NetworkVisibility","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}]},{"name":"AutoUpdate","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"schedule","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"schedule"}]},{"name":"OperationalConfig","field":[{"name":"asset_radar_config","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AssetRadar","oneofIndex":0,"jsonName":"assetRadarConfig","options":{"deprecated":true},"proto3Optional":true},{"name":"auto_update_config","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AutoUpdate","oneofIndex":1,"jsonName":"autoUpdateConfig","proto3Optional":true},{"name":"network_visibility_config","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.NetworkVisibility","oneofIndex":2,"jsonName":"networkVisibilityConfig","proto3Optional":true}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_config"},{"name":"_network_visibility_config"}]},{"name":"Trigger","field":[{"name":"cron_expr","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cronExpr"}]},{"name":"Action","field":[{"name":"triggers","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Trigger","jsonName":"triggers"},{"name":"action_type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Action.ActionType","jsonName":"actionType"},{"name":"credentials","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Credential","jsonName":"credentials"},{"name":"agent","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agent","oneofIndex":0,"jsonName":"agent"},{"name":"agentless","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agentless","oneofIndex":0,"jsonName":"agentless"}],"enumType":[{"name":"ActionType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"AGENTLESS","number":2}]}],"oneofDecl":[{"name":"definition"}]},{"name":"Agentless","field":[{"name":"targets","number":1,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"targets"}]},{"name":"Agent","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Agent.ScanFocus","jsonName":"scanFocus"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}]},{"name":"Credential","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Credential.CredentialType","jsonName":"type"},{"name":"id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"}],"enumType":[{"name":"CredentialType","value":[{"name":"UNSPECIFIED","number":0}]}]}],"service":[{"name":"ScanningConfigService","method":[{"name":"GetConfigurationsBySource","inputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest","outputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,98,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,31,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,2,2,4],"span":[30,2,19]},{"path":[4,2,2,4,5],"span":[30,2,6]},{"path":[4,2,2,4,1],"span":[30,7,14]},{"path":[4,2,2,4,3],"span":[30,17,18]},{"path":[4,3],"span":[35,0,39,1]},{"path":[4,3,1],"span":[35,8,18]},{"path":[4,3,7],"span":[36,2,27]},{"path":[4,3,7,3],"span":[36,2,27]},{"path":[4,3,2,0],"span":[37,2,19]},{"path":[4,3,2,0,5],"span":[37,2,6]},{"path":[4,3,2,0,1],"span":[37,7,14]},{"path":[4,3,2,0,3],"span":[37,17,18]},{"path":[4,3,2,1],"span":[38,2,42]},{"path":[4,3,2,1,4],"span":[38,2,10]},{"path":[4,3,2,1,5],"span":[38,11,17]},{"path":[4,3,2,1,1],"span":[38,18,37]},{"path":[4,3,2,1,3],"span":[38,40,41]},{"path":[4,4],"span":[41,0,44,1]},{"path":[4,4,1],"span":[41,8,25]},{"path":[4,4,2,0],"span":[42,2,19]},{"path":[4,4,2,0,5],"span":[42,2,6]},{"path":[4,4,2,0,1],"span":[42,7,14]},{"path":[4,4,2,0,3],"span":[42,17,18]},{"path":[4,4,2,1],"span":[43,2,42]},{"path":[4,4,2,1,4],"span":[43,2,10]},{"path":[4,4,2,1,5],"span":[43,11,17]},{"path":[4,4,2,1,1],"span":[43,18,37]},{"path":[4,4,2,1,3],"span":[43,40,41]},{"path":[4,5],"span":[45,0,48,1]},{"path":[4,5,1],"span":[45,8,18]},{"path":[4,5,2,0],"span":[46,2,19]},{"path":[4,5,2,0,5],"span":[46,2,6]},{"path":[4,5,2,0,1],"span":[46,7,14]},{"path":[4,5,2,0,3],"span":[46,17,18]},{"path":[4,5,2,1],"span":[47,2,22]},{"path":[4,5,2,1,5],"span":[47,2,8]},{"path":[4,5,2,1,1],"span":[47,9,17]},{"path":[4,5,2,1,3],"span":[47,20,21]},{"path":[4,6],"span":[50,0,54,1]},{"path":[4,6,1],"span":[50,8,25]},{"path":[4,6,2,0],"span":[51,2,65]},{"path":[4,6,2,0,4],"span":[51,2,10]},{"path":[4,6,2,0,6],"span":[51,11,21]},{"path":[4,6,2,0,1],"span":[51,22,40]},{"path":[4,6,2,0,3],"span":[51,43,44]},{"path":[4,6,2,0,8],"span":[51,45,64]},{"path":[4,6,2,0,8,3],"span":[51,46,63]},{"path":[4,6,2,1],"span":[52,2,45]},{"path":[4,6,2,1,4],"span":[52,2,10]},{"path":[4,6,2,1,6],"span":[52,11,21]},{"path":[4,6,2,1,1],"span":[52,22,40]},{"path":[4,6,2,1,3],"span":[52,43,44]},{"path":[4,6,2,2],"span":[53,2,59]},{"path":[4,6,2,2,4],"span":[53,2,10]},{"path":[4,6,2,2,6],"span":[53,11,28]},{"path":[4,6,2,2,1],"span":[53,29,54]},{"path":[4,6,2,2,3],"span":[53,57,58]},{"path":[4,7],"span":[56,0,58,1]},{"path":[4,7,1],"span":[56,8,15]},{"path":[4,7,2,0],"span":[57,2,22]},{"path":[4,7,2,0,5],"span":[57,2,8]},{"path":[4,7,2,0,1],"span":[57,9,18]},{"path":[4,7,2,0,3],"span":[57,20,21]},{"path":[4,8],"span":[60,0,74,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,65,3]},{"path":[4,8,4,0,1],"span":[61,7,17]},{"path":[4,8,4,0,2,0],"span":[62,4,20]},{"path":[4,8,4,0,2,0,1],"span":[62,4,15]},{"path":[4,8,4,0,2,0,2],"span":[62,18,19]},{"path":[4,8,4,0,2,1],"span":[63,4,14]},{"path":[4,8,4,0,2,1,1],"span":[63,4,9]},{"path":[4,8,4,0,2,1,2],"span":[63,12,13]},{"path":[4,8,4,0,2,2],"span":[64,4,18]},{"path":[4,8,4,0,2,2,1],"span":[64,4,13]},{"path":[4,8,4,0,2,2,2],"span":[64,16,17]},{"path":[4,8,2,0],"span":[67,2,32]},{"path":[4,8,2,0,4],"span":[67,2,10]},{"path":[4,8,2,0,6],"span":[67,11,18]},{"path":[4,8,2,0,1],"span":[67,19,27]},{"path":[4,8,2,0,3],"span":[67,30,31]},{"path":[4,8,2,1],"span":[68,2,29]},{"path":[4,8,2,1,6],"span":[68,2,12]},{"path":[4,8,2,1,1],"span":[68,13,24]},{"path":[4,8,2,1,3],"span":[68,27,28]},{"path":[4,8,2,2],"span":[69,2,38]},{"path":[4,8,2,2,4],"span":[69,2,10]},{"path":[4,8,2,2,6],"span":[69,11,21]},{"path":[4,8,2,2,1],"span":[69,22,33]},{"path":[4,8,2,2,3],"span":[69,36,37]},{"path":[4,8,8,0],"span":[70,2,73,3]},{"path":[4,8,8,0,1],"span":[70,8,18]},{"path":[4,8,2,3],"span":[71,4,20]},{"path":[4,8,2,3,6],"span":[71,4,9]},{"path":[4,8,2,3,1],"span":[71,10,15]},{"path":[4,8,2,3,3],"span":[71,18,19]},{"path":[4,8,2,4],"span":[72,4,28]},{"path":[4,8,2,4,6],"span":[72,4,13]},{"path":[4,8,2,4,1],"span":[72,14,23]},{"path":[4,8,2,4,3],"span":[72,26,27]},{"path":[4,9],"span":[76,0,78,1]},{"path":[4,9,1],"span":[76,8,17]},{"path":[4,9,2,0],"span":[77,2,30]},{"path":[4,9,2,0,4],"span":[77,2,10]},{"path":[4,9,2,0,5],"span":[77,11,17]},{"path":[4,9,2,0,1],"span":[77,18,25]},{"path":[4,9,2,0,3],"span":[77,28,29]},{"path":[4,10],"span":[80,0,88,1]},{"path":[4,10,1],"span":[80,8,13]},{"path":[4,10,4,0],"span":[81,2,85,3]},{"path":[4,10,4,0,1],"span":[81,7,16]},{"path":[4,10,4,0,2,0],"span":[82,4,12]},{"path":[4,10,4,0,2,0,1],"span":[82,4,7]},{"path":[4,10,4,0,2,0,2],"span":[82,10,11]},{"path":[4,10,4,0,2,1],"span":[83,4,14]},{"path":[4,10,4,0,2,1,1],"span":[83,4,9]},{"path":[4,10,4,0,2,1,2],"span":[83,12,13]},{"path":[4,10,4,0,2,2],"span":[84,4,18]},{"path":[4,10,4,0,2,2,1],"span":[84,4,13]},{"path":[4,10,4,0,2,2,2],"span":[84,16,17]},{"path":[4,10,2,0],"span":[87,2,27]},{"path":[4,10,2,0,6],"span":[87,2,11]},{"path":[4,10,2,0,1],"span":[87,12,22]},{"path":[4,10,2,0,3],"span":[87,25,26]},{"path":[4,11],"span":[90,0,98,1]},{"path":[4,11,1],"span":[90,8,18]},{"path":[4,11,4,0],"span":[91,2,94,3]},{"path":[4,11,4,0,1],"span":[91,7,21]},{"path":[4,11,4,0,2,0],"span":[93,4,20]},{"path":[4,11,4,0,2,0,1],"span":[93,4,15]},{"path":[4,11,4,0,2,0,2],"span":[93,18,19]},{"path":[4,11,2,0],"span":[96,2,26]},{"path":[4,11,2,0,6],"span":[96,2,16]},{"path":[4,11,2,0,1],"span":[96,17,21]},{"path":[4,11,2,0,3],"span":[96,24,25]},{"path":[4,11,2,1],"span":[97,2,16]},{"path":[4,11,2,1,5],"span":[97,2,8]},{"path":[4,11,2,1,1],"span":[97,9,11]},{"path":[4,11,2,1,3],"span":[97,14,15]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
1
|
+
{"file":[{"name":"proto/scanningconfig.proto","package":"lansweeper.scanningconfig.v1","messageType":[{"name":"GetConfigurationsBySourceRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"}]},{"name":"GetConfigurationsBySourceResponse","field":[{"name":"configs","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Component","jsonName":"configs"}]},{"name":"Component","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Component.ComponentType","jsonName":"type"},{"name":"actions","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Action","jsonName":"actions"},{"name":"op_config","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.OperationalConfig","oneofIndex":0,"jsonName":"opConfig","proto3Optional":true},{"name":"enabled","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"}],"enumType":[{"name":"ComponentType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"IT_SENSOR","number":2},{"name":"IT_HUB","number":3}]}],"oneofDecl":[{"name":"_op_config"}]},{"name":"AssetRadar","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}],"options":{"deprecated":true}},{"name":"NetworkVisibility","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}]},{"name":"AutoUpdate","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"schedule","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"schedule"}]},{"name":"OperationalConfig","field":[{"name":"asset_radar_config","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AssetRadar","oneofIndex":0,"jsonName":"assetRadarConfig","options":{"deprecated":true},"proto3Optional":true},{"name":"auto_update_config","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AutoUpdate","oneofIndex":1,"jsonName":"autoUpdateConfig","proto3Optional":true},{"name":"network_visibility_config","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.NetworkVisibility","oneofIndex":2,"jsonName":"networkVisibilityConfig","proto3Optional":true}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_config"},{"name":"_network_visibility_config"}]},{"name":"Trigger","field":[{"name":"cron_expr","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cronExpr"},{"name":"name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"}]},{"name":"Action","field":[{"name":"triggers","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Trigger","jsonName":"triggers"},{"name":"action_type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Action.ActionType","jsonName":"actionType"},{"name":"credentials","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Credential","jsonName":"credentials"},{"name":"agent","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agent","oneofIndex":0,"jsonName":"agent","options":{"deprecated":true}},{"name":"agentless","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agentless","oneofIndex":0,"jsonName":"agentless","options":{"deprecated":true}},{"name":"action_definition","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.ActionDefinition","jsonName":"actionDefinition"}],"enumType":[{"name":"ActionType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"AGENTLESS","number":2}]}],"oneofDecl":[{"name":"definition"}]},{"name":"Agentless","field":[{"name":"targets","number":1,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"targets"}]},{"name":"ActionDefinition","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus","oneofIndex":0,"jsonName":"scanFocus","proto3Optional":true},{"name":"targets","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"targets"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}],"oneofDecl":[{"name":"_scan_focus"}]},{"name":"Agent","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Agent.ScanFocus","jsonName":"scanFocus"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}]},{"name":"Credential","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Credential.CredentialType","jsonName":"type"},{"name":"id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"}],"enumType":[{"name":"CredentialType","value":[{"name":"UNSPECIFIED","number":0}]}]}],"service":[{"name":"ScanningConfigService","method":[{"name":"GetConfigurationsBySource","inputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest","outputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,112,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,31,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,2,2,4],"span":[30,2,19]},{"path":[4,2,2,4,5],"span":[30,2,6]},{"path":[4,2,2,4,1],"span":[30,7,14]},{"path":[4,2,2,4,3],"span":[30,17,18]},{"path":[4,3],"span":[35,0,39,1]},{"path":[4,3,1],"span":[35,8,18]},{"path":[4,3,7],"span":[36,2,27]},{"path":[4,3,7,3],"span":[36,2,27]},{"path":[4,3,2,0],"span":[37,2,19]},{"path":[4,3,2,0,5],"span":[37,2,6]},{"path":[4,3,2,0,1],"span":[37,7,14]},{"path":[4,3,2,0,3],"span":[37,17,18]},{"path":[4,3,2,1],"span":[38,2,42]},{"path":[4,3,2,1,4],"span":[38,2,10]},{"path":[4,3,2,1,5],"span":[38,11,17]},{"path":[4,3,2,1,1],"span":[38,18,37]},{"path":[4,3,2,1,3],"span":[38,40,41]},{"path":[4,4],"span":[41,0,44,1]},{"path":[4,4,1],"span":[41,8,25]},{"path":[4,4,2,0],"span":[42,2,19]},{"path":[4,4,2,0,5],"span":[42,2,6]},{"path":[4,4,2,0,1],"span":[42,7,14]},{"path":[4,4,2,0,3],"span":[42,17,18]},{"path":[4,4,2,1],"span":[43,2,42]},{"path":[4,4,2,1,4],"span":[43,2,10]},{"path":[4,4,2,1,5],"span":[43,11,17]},{"path":[4,4,2,1,1],"span":[43,18,37]},{"path":[4,4,2,1,3],"span":[43,40,41]},{"path":[4,5],"span":[45,0,48,1]},{"path":[4,5,1],"span":[45,8,18]},{"path":[4,5,2,0],"span":[46,2,19]},{"path":[4,5,2,0,5],"span":[46,2,6]},{"path":[4,5,2,0,1],"span":[46,7,14]},{"path":[4,5,2,0,3],"span":[46,17,18]},{"path":[4,5,2,1],"span":[47,2,22]},{"path":[4,5,2,1,5],"span":[47,2,8]},{"path":[4,5,2,1,1],"span":[47,9,17]},{"path":[4,5,2,1,3],"span":[47,20,21]},{"path":[4,6],"span":[50,0,54,1]},{"path":[4,6,1],"span":[50,8,25]},{"path":[4,6,2,0],"span":[51,2,65]},{"path":[4,6,2,0,4],"span":[51,2,10]},{"path":[4,6,2,0,6],"span":[51,11,21]},{"path":[4,6,2,0,1],"span":[51,22,40]},{"path":[4,6,2,0,3],"span":[51,43,44]},{"path":[4,6,2,0,8],"span":[51,45,64]},{"path":[4,6,2,0,8,3],"span":[51,46,63]},{"path":[4,6,2,1],"span":[52,2,45]},{"path":[4,6,2,1,4],"span":[52,2,10]},{"path":[4,6,2,1,6],"span":[52,11,21]},{"path":[4,6,2,1,1],"span":[52,22,40]},{"path":[4,6,2,1,3],"span":[52,43,44]},{"path":[4,6,2,2],"span":[53,2,59]},{"path":[4,6,2,2,4],"span":[53,2,10]},{"path":[4,6,2,2,6],"span":[53,11,28]},{"path":[4,6,2,2,1],"span":[53,29,54]},{"path":[4,6,2,2,3],"span":[53,57,58]},{"path":[4,7],"span":[56,0,59,1]},{"path":[4,7,1],"span":[56,8,15]},{"path":[4,7,2,0],"span":[57,2,22]},{"path":[4,7,2,0,5],"span":[57,2,8]},{"path":[4,7,2,0,1],"span":[57,9,18]},{"path":[4,7,2,0,3],"span":[57,20,21]},{"path":[4,7,2,1],"span":[58,2,18]},{"path":[4,7,2,1,5],"span":[58,2,8]},{"path":[4,7,2,1,1],"span":[58,9,13]},{"path":[4,7,2,1,3],"span":[58,16,17]},{"path":[4,8],"span":[61,0,76,1]},{"path":[4,8,1],"span":[61,8,14]},{"path":[4,8,4,0],"span":[62,2,66,3]},{"path":[4,8,4,0,1],"span":[62,7,17]},{"path":[4,8,4,0,2,0],"span":[63,4,20]},{"path":[4,8,4,0,2,0,1],"span":[63,4,15]},{"path":[4,8,4,0,2,0,2],"span":[63,18,19]},{"path":[4,8,4,0,2,1],"span":[64,4,14]},{"path":[4,8,4,0,2,1,1],"span":[64,4,9]},{"path":[4,8,4,0,2,1,2],"span":[64,12,13]},{"path":[4,8,4,0,2,2],"span":[65,4,18]},{"path":[4,8,4,0,2,2,1],"span":[65,4,13]},{"path":[4,8,4,0,2,2,2],"span":[65,16,17]},{"path":[4,8,2,0],"span":[68,2,32]},{"path":[4,8,2,0,4],"span":[68,2,10]},{"path":[4,8,2,0,6],"span":[68,11,18]},{"path":[4,8,2,0,1],"span":[68,19,27]},{"path":[4,8,2,0,3],"span":[68,30,31]},{"path":[4,8,2,1],"span":[69,2,29]},{"path":[4,8,2,1,6],"span":[69,2,12]},{"path":[4,8,2,1,1],"span":[69,13,24]},{"path":[4,8,2,1,3],"span":[69,27,28]},{"path":[4,8,2,2],"span":[70,2,38]},{"path":[4,8,2,2,4],"span":[70,2,10]},{"path":[4,8,2,2,6],"span":[70,11,21]},{"path":[4,8,2,2,1],"span":[70,22,33]},{"path":[4,8,2,2,3],"span":[70,36,37]},{"path":[4,8,8,0],"span":[71,2,74,3]},{"path":[4,8,8,0,1],"span":[71,8,18]},{"path":[4,8,2,3],"span":[72,4,40]},{"path":[4,8,2,3,6],"span":[72,4,9]},{"path":[4,8,2,3,1],"span":[72,10,15]},{"path":[4,8,2,3,3],"span":[72,18,19]},{"path":[4,8,2,3,8],"span":[72,20,39]},{"path":[4,8,2,3,8,3],"span":[72,21,38]},{"path":[4,8,2,4],"span":[73,4,48]},{"path":[4,8,2,4,6],"span":[73,4,13]},{"path":[4,8,2,4,1],"span":[73,14,23]},{"path":[4,8,2,4,3],"span":[73,26,27]},{"path":[4,8,2,4,8],"span":[73,28,47]},{"path":[4,8,2,4,8,3],"span":[73,29,46]},{"path":[4,8,2,5],"span":[75,2,41]},{"path":[4,8,2,5,6],"span":[75,2,18]},{"path":[4,8,2,5,1],"span":[75,19,36]},{"path":[4,8,2,5,3],"span":[75,39,40]},{"path":[4,9],"span":[78,0,80,1]},{"path":[4,9,1],"span":[78,8,17]},{"path":[4,9,2,0],"span":[79,2,30]},{"path":[4,9,2,0,4],"span":[79,2,10]},{"path":[4,9,2,0,5],"span":[79,11,17]},{"path":[4,9,2,0,1],"span":[79,18,25]},{"path":[4,9,2,0,3],"span":[79,28,29]},{"path":[4,10],"span":[82,0,92,1]},{"path":[4,10,1],"span":[82,8,24]},{"path":[4,10,4,0],"span":[84,2,88,3]},{"path":[4,10,4,0,1],"span":[84,7,16]},{"path":[4,10,4,0,2,0],"span":[85,4,12]},{"path":[4,10,4,0,2,0,1],"span":[85,4,7]},{"path":[4,10,4,0,2,0,2],"span":[85,10,11]},{"path":[4,10,4,0,2,1],"span":[86,4,14]},{"path":[4,10,4,0,2,1,1],"span":[86,4,9]},{"path":[4,10,4,0,2,1,2],"span":[86,12,13]},{"path":[4,10,4,0,2,2],"span":[87,4,18]},{"path":[4,10,4,0,2,2,1],"span":[87,4,13]},{"path":[4,10,4,0,2,2,2],"span":[87,16,17]},{"path":[4,10,2,0],"span":[90,2,36]},{"path":[4,10,2,0,4],"span":[90,2,10]},{"path":[4,10,2,0,6],"span":[90,11,20]},{"path":[4,10,2,0,1],"span":[90,21,31]},{"path":[4,10,2,0,3],"span":[90,34,35]},{"path":[4,10,2,1],"span":[91,2,30]},{"path":[4,10,2,1,4],"span":[91,2,10]},{"path":[4,10,2,1,5],"span":[91,11,17]},{"path":[4,10,2,1,1],"span":[91,18,25]},{"path":[4,10,2,1,3],"span":[91,28,29]},{"path":[4,11],"span":[94,0,102,1]},{"path":[4,11,1],"span":[94,8,13]},{"path":[4,11,4,0],"span":[95,2,99,3]},{"path":[4,11,4,0,1],"span":[95,7,16]},{"path":[4,11,4,0,2,0],"span":[96,4,12]},{"path":[4,11,4,0,2,0,1],"span":[96,4,7]},{"path":[4,11,4,0,2,0,2],"span":[96,10,11]},{"path":[4,11,4,0,2,1],"span":[97,4,14]},{"path":[4,11,4,0,2,1,1],"span":[97,4,9]},{"path":[4,11,4,0,2,1,2],"span":[97,12,13]},{"path":[4,11,4,0,2,2],"span":[98,4,18]},{"path":[4,11,4,0,2,2,1],"span":[98,4,13]},{"path":[4,11,4,0,2,2,2],"span":[98,16,17]},{"path":[4,11,2,0],"span":[101,2,27]},{"path":[4,11,2,0,6],"span":[101,2,11]},{"path":[4,11,2,0,1],"span":[101,12,22]},{"path":[4,11,2,0,3],"span":[101,25,26]},{"path":[4,12],"span":[104,0,112,1]},{"path":[4,12,1],"span":[104,8,18]},{"path":[4,12,4,0],"span":[105,2,108,3]},{"path":[4,12,4,0,1],"span":[105,7,21]},{"path":[4,12,4,0,2,0],"span":[107,4,20]},{"path":[4,12,4,0,2,0,1],"span":[107,4,15]},{"path":[4,12,4,0,2,0,2],"span":[107,18,19]},{"path":[4,12,2,0],"span":[110,2,26]},{"path":[4,12,2,0,6],"span":[110,2,16]},{"path":[4,12,2,0,1],"span":[110,17,21]},{"path":[4,12,2,0,3],"span":[110,24,25]},{"path":[4,12,2,1],"span":[111,2,16]},{"path":[4,12,2,1,5],"span":[111,2,8]},{"path":[4,12,2,1,1],"span":[111,9,11]},{"path":[4,12,2,1,3],"span":[111,14,15]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -207,6 +207,8 @@ export namespace OperationalConfig {
|
|
|
207
207
|
export class Trigger extends jspb.Message {
|
|
208
208
|
getCronExpr(): string;
|
|
209
209
|
setCronExpr(value: string): Trigger;
|
|
210
|
+
getName(): string;
|
|
211
|
+
setName(value: string): Trigger;
|
|
210
212
|
|
|
211
213
|
serializeBinary(): Uint8Array;
|
|
212
214
|
toObject(includeInstance?: boolean): Trigger.AsObject;
|
|
@@ -221,6 +223,7 @@ export class Trigger extends jspb.Message {
|
|
|
221
223
|
export namespace Trigger {
|
|
222
224
|
export type AsObject = {
|
|
223
225
|
cronExpr: string,
|
|
226
|
+
name: string,
|
|
224
227
|
}
|
|
225
228
|
}
|
|
226
229
|
|
|
@@ -246,6 +249,11 @@ export class Action extends jspb.Message {
|
|
|
246
249
|
getAgentless(): Agentless | undefined;
|
|
247
250
|
setAgentless(value?: Agentless): Action;
|
|
248
251
|
|
|
252
|
+
hasActionDefinition(): boolean;
|
|
253
|
+
clearActionDefinition(): void;
|
|
254
|
+
getActionDefinition(): ActionDefinition | undefined;
|
|
255
|
+
setActionDefinition(value?: ActionDefinition): Action;
|
|
256
|
+
|
|
249
257
|
getDefinitionCase(): Action.DefinitionCase;
|
|
250
258
|
|
|
251
259
|
serializeBinary(): Uint8Array;
|
|
@@ -265,6 +273,7 @@ export namespace Action {
|
|
|
265
273
|
credentialsList: Array<Credential.AsObject>,
|
|
266
274
|
agent?: Agent.AsObject,
|
|
267
275
|
agentless?: Agentless.AsObject,
|
|
276
|
+
actionDefinition?: ActionDefinition.AsObject,
|
|
268
277
|
}
|
|
269
278
|
|
|
270
279
|
export enum ActionType {
|
|
@@ -304,6 +313,41 @@ export namespace Agentless {
|
|
|
304
313
|
}
|
|
305
314
|
}
|
|
306
315
|
|
|
316
|
+
export class ActionDefinition extends jspb.Message {
|
|
317
|
+
|
|
318
|
+
hasScanFocus(): boolean;
|
|
319
|
+
clearScanFocus(): void;
|
|
320
|
+
getScanFocus(): ActionDefinition.ScanFocus | undefined;
|
|
321
|
+
setScanFocus(value: ActionDefinition.ScanFocus): ActionDefinition;
|
|
322
|
+
clearTargetsList(): void;
|
|
323
|
+
getTargetsList(): Array<string>;
|
|
324
|
+
setTargetsList(value: Array<string>): ActionDefinition;
|
|
325
|
+
addTargets(value: string, index?: number): string;
|
|
326
|
+
|
|
327
|
+
serializeBinary(): Uint8Array;
|
|
328
|
+
toObject(includeInstance?: boolean): ActionDefinition.AsObject;
|
|
329
|
+
static toObject(includeInstance: boolean, msg: ActionDefinition): ActionDefinition.AsObject;
|
|
330
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
331
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
332
|
+
static serializeBinaryToWriter(message: ActionDefinition, writer: jspb.BinaryWriter): void;
|
|
333
|
+
static deserializeBinary(bytes: Uint8Array): ActionDefinition;
|
|
334
|
+
static deserializeBinaryFromReader(message: ActionDefinition, reader: jspb.BinaryReader): ActionDefinition;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export namespace ActionDefinition {
|
|
338
|
+
export type AsObject = {
|
|
339
|
+
scanFocus?: ActionDefinition.ScanFocus,
|
|
340
|
+
targetsList: Array<string>,
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export enum ScanFocus {
|
|
344
|
+
ALL = 0,
|
|
345
|
+
USERS = 1,
|
|
346
|
+
INVENTORY = 2,
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
}
|
|
350
|
+
|
|
307
351
|
export class Agent extends jspb.Message {
|
|
308
352
|
getScanFocus(): Agent.ScanFocus;
|
|
309
353
|
setScanFocus(value: Agent.ScanFocus): Agent;
|
|
@@ -24,6 +24,8 @@ var global = (function() {
|
|
|
24
24
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action', null, global);
|
|
25
25
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action.ActionType', null, global);
|
|
26
26
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action.DefinitionCase', null, global);
|
|
27
|
+
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.ActionDefinition', null, global);
|
|
28
|
+
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus', null, global);
|
|
27
29
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agent', null, global);
|
|
28
30
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agent.ScanFocus', null, global);
|
|
29
31
|
goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agentless', null, global);
|
|
@@ -248,6 +250,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
248
250
|
*/
|
|
249
251
|
proto.lansweeper.scanningconfig.v1.Agentless.displayName = 'proto.lansweeper.scanningconfig.v1.Agentless';
|
|
250
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* Generated by JsPbCodeGenerator.
|
|
255
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
256
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
257
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
258
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
259
|
+
* valid.
|
|
260
|
+
* @extends {jspb.Message}
|
|
261
|
+
* @constructor
|
|
262
|
+
*/
|
|
263
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition = function(opt_data) {
|
|
264
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.scanningconfig.v1.ActionDefinition.repeatedFields_, null);
|
|
265
|
+
};
|
|
266
|
+
goog.inherits(proto.lansweeper.scanningconfig.v1.ActionDefinition, jspb.Message);
|
|
267
|
+
if (goog.DEBUG && !COMPILED) {
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @override
|
|
271
|
+
*/
|
|
272
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.displayName = 'proto.lansweeper.scanningconfig.v1.ActionDefinition';
|
|
273
|
+
}
|
|
251
274
|
/**
|
|
252
275
|
* Generated by JsPbCodeGenerator.
|
|
253
276
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1738,7 +1761,8 @@ proto.lansweeper.scanningconfig.v1.Trigger.prototype.toObject = function(opt_inc
|
|
|
1738
1761
|
*/
|
|
1739
1762
|
proto.lansweeper.scanningconfig.v1.Trigger.toObject = function(includeInstance, msg) {
|
|
1740
1763
|
var f, obj = {
|
|
1741
|
-
cronExpr: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1764
|
+
cronExpr: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1765
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1742
1766
|
};
|
|
1743
1767
|
|
|
1744
1768
|
if (includeInstance) {
|
|
@@ -1779,6 +1803,10 @@ proto.lansweeper.scanningconfig.v1.Trigger.deserializeBinaryFromReader = functio
|
|
|
1779
1803
|
var value = /** @type {string} */ (reader.readString());
|
|
1780
1804
|
msg.setCronExpr(value);
|
|
1781
1805
|
break;
|
|
1806
|
+
case 2:
|
|
1807
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1808
|
+
msg.setName(value);
|
|
1809
|
+
break;
|
|
1782
1810
|
default:
|
|
1783
1811
|
reader.skipField();
|
|
1784
1812
|
break;
|
|
@@ -1815,6 +1843,13 @@ proto.lansweeper.scanningconfig.v1.Trigger.serializeBinaryToWriter = function(me
|
|
|
1815
1843
|
f
|
|
1816
1844
|
);
|
|
1817
1845
|
}
|
|
1846
|
+
f = message.getName();
|
|
1847
|
+
if (f.length > 0) {
|
|
1848
|
+
writer.writeString(
|
|
1849
|
+
2,
|
|
1850
|
+
f
|
|
1851
|
+
);
|
|
1852
|
+
}
|
|
1818
1853
|
};
|
|
1819
1854
|
|
|
1820
1855
|
|
|
@@ -1836,6 +1871,24 @@ proto.lansweeper.scanningconfig.v1.Trigger.prototype.setCronExpr = function(valu
|
|
|
1836
1871
|
};
|
|
1837
1872
|
|
|
1838
1873
|
|
|
1874
|
+
/**
|
|
1875
|
+
* optional string name = 2;
|
|
1876
|
+
* @return {string}
|
|
1877
|
+
*/
|
|
1878
|
+
proto.lansweeper.scanningconfig.v1.Trigger.prototype.getName = function() {
|
|
1879
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1880
|
+
};
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* @param {string} value
|
|
1885
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Trigger} returns this
|
|
1886
|
+
*/
|
|
1887
|
+
proto.lansweeper.scanningconfig.v1.Trigger.prototype.setName = function(value) {
|
|
1888
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1889
|
+
};
|
|
1890
|
+
|
|
1891
|
+
|
|
1839
1892
|
|
|
1840
1893
|
/**
|
|
1841
1894
|
* List of repeated fields within this message type.
|
|
@@ -1907,7 +1960,8 @@ proto.lansweeper.scanningconfig.v1.Action.toObject = function(includeInstance, m
|
|
|
1907
1960
|
credentialsList: jspb.Message.toObjectList(msg.getCredentialsList(),
|
|
1908
1961
|
proto.lansweeper.scanningconfig.v1.Credential.toObject, includeInstance),
|
|
1909
1962
|
agent: (f = msg.getAgent()) && proto.lansweeper.scanningconfig.v1.Agent.toObject(includeInstance, f),
|
|
1910
|
-
agentless: (f = msg.getAgentless()) && proto.lansweeper.scanningconfig.v1.Agentless.toObject(includeInstance, f)
|
|
1963
|
+
agentless: (f = msg.getAgentless()) && proto.lansweeper.scanningconfig.v1.Agentless.toObject(includeInstance, f),
|
|
1964
|
+
actionDefinition: (f = msg.getActionDefinition()) && proto.lansweeper.scanningconfig.v1.ActionDefinition.toObject(includeInstance, f)
|
|
1911
1965
|
};
|
|
1912
1966
|
|
|
1913
1967
|
if (includeInstance) {
|
|
@@ -1968,6 +2022,11 @@ proto.lansweeper.scanningconfig.v1.Action.deserializeBinaryFromReader = function
|
|
|
1968
2022
|
reader.readMessage(value,proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader);
|
|
1969
2023
|
msg.setAgentless(value);
|
|
1970
2024
|
break;
|
|
2025
|
+
case 6:
|
|
2026
|
+
var value = new proto.lansweeper.scanningconfig.v1.ActionDefinition;
|
|
2027
|
+
reader.readMessage(value,proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader);
|
|
2028
|
+
msg.setActionDefinition(value);
|
|
2029
|
+
break;
|
|
1971
2030
|
default:
|
|
1972
2031
|
reader.skipField();
|
|
1973
2032
|
break;
|
|
@@ -2036,6 +2095,14 @@ proto.lansweeper.scanningconfig.v1.Action.serializeBinaryToWriter = function(mes
|
|
|
2036
2095
|
proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter
|
|
2037
2096
|
);
|
|
2038
2097
|
}
|
|
2098
|
+
f = message.getActionDefinition();
|
|
2099
|
+
if (f != null) {
|
|
2100
|
+
writer.writeMessage(
|
|
2101
|
+
6,
|
|
2102
|
+
f,
|
|
2103
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter
|
|
2104
|
+
);
|
|
2105
|
+
}
|
|
2039
2106
|
};
|
|
2040
2107
|
|
|
2041
2108
|
|
|
@@ -2216,6 +2283,43 @@ proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgentless = function() {
|
|
|
2216
2283
|
};
|
|
2217
2284
|
|
|
2218
2285
|
|
|
2286
|
+
/**
|
|
2287
|
+
* optional ActionDefinition action_definition = 6;
|
|
2288
|
+
* @return {?proto.lansweeper.scanningconfig.v1.ActionDefinition}
|
|
2289
|
+
*/
|
|
2290
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.getActionDefinition = function() {
|
|
2291
|
+
return /** @type{?proto.lansweeper.scanningconfig.v1.ActionDefinition} */ (
|
|
2292
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.scanningconfig.v1.ActionDefinition, 6));
|
|
2293
|
+
};
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* @param {?proto.lansweeper.scanningconfig.v1.ActionDefinition|undefined} value
|
|
2298
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
|
|
2299
|
+
*/
|
|
2300
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.setActionDefinition = function(value) {
|
|
2301
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* Clears the message field making it undefined.
|
|
2307
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
|
|
2308
|
+
*/
|
|
2309
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.clearActionDefinition = function() {
|
|
2310
|
+
return this.setActionDefinition(undefined);
|
|
2311
|
+
};
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Returns whether this field is set.
|
|
2316
|
+
* @return {boolean}
|
|
2317
|
+
*/
|
|
2318
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.hasActionDefinition = function() {
|
|
2319
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
|
|
2219
2323
|
|
|
2220
2324
|
/**
|
|
2221
2325
|
* List of repeated fields within this message type.
|
|
@@ -2373,6 +2477,219 @@ proto.lansweeper.scanningconfig.v1.Agentless.prototype.clearTargetsList = functi
|
|
|
2373
2477
|
|
|
2374
2478
|
|
|
2375
2479
|
|
|
2480
|
+
/**
|
|
2481
|
+
* List of repeated fields within this message type.
|
|
2482
|
+
* @private {!Array<number>}
|
|
2483
|
+
* @const
|
|
2484
|
+
*/
|
|
2485
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.repeatedFields_ = [2];
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2490
|
+
/**
|
|
2491
|
+
* Creates an object representation of this proto.
|
|
2492
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2493
|
+
* Optional fields that are not set will be set to undefined.
|
|
2494
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2495
|
+
* For the list of reserved names please see:
|
|
2496
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2497
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2498
|
+
* JSPB instance for transitional soy proto support:
|
|
2499
|
+
* http://goto/soy-param-migration
|
|
2500
|
+
* @return {!Object}
|
|
2501
|
+
*/
|
|
2502
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.toObject = function(opt_includeInstance) {
|
|
2503
|
+
return proto.lansweeper.scanningconfig.v1.ActionDefinition.toObject(opt_includeInstance, this);
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Static version of the {@see toObject} method.
|
|
2509
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2510
|
+
* the JSPB instance for transitional soy proto support:
|
|
2511
|
+
* http://goto/soy-param-migration
|
|
2512
|
+
* @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} msg The msg instance to transform.
|
|
2513
|
+
* @return {!Object}
|
|
2514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2515
|
+
*/
|
|
2516
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.toObject = function(includeInstance, msg) {
|
|
2517
|
+
var f, obj = {
|
|
2518
|
+
scanFocus: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2519
|
+
targetsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
2520
|
+
};
|
|
2521
|
+
|
|
2522
|
+
if (includeInstance) {
|
|
2523
|
+
obj.$jspbMessageInstance = msg;
|
|
2524
|
+
}
|
|
2525
|
+
return obj;
|
|
2526
|
+
};
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2532
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2533
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition}
|
|
2534
|
+
*/
|
|
2535
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinary = function(bytes) {
|
|
2536
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2537
|
+
var msg = new proto.lansweeper.scanningconfig.v1.ActionDefinition;
|
|
2538
|
+
return proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader(msg, reader);
|
|
2539
|
+
};
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2544
|
+
* given reader into the given message object.
|
|
2545
|
+
* @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} msg The message object to deserialize into.
|
|
2546
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2547
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition}
|
|
2548
|
+
*/
|
|
2549
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader = function(msg, reader) {
|
|
2550
|
+
while (reader.nextField()) {
|
|
2551
|
+
if (reader.isEndGroup()) {
|
|
2552
|
+
break;
|
|
2553
|
+
}
|
|
2554
|
+
var field = reader.getFieldNumber();
|
|
2555
|
+
switch (field) {
|
|
2556
|
+
case 1:
|
|
2557
|
+
var value = /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (reader.readEnum());
|
|
2558
|
+
msg.setScanFocus(value);
|
|
2559
|
+
break;
|
|
2560
|
+
case 2:
|
|
2561
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2562
|
+
msg.addTargets(value);
|
|
2563
|
+
break;
|
|
2564
|
+
default:
|
|
2565
|
+
reader.skipField();
|
|
2566
|
+
break;
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
return msg;
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2575
|
+
* @return {!Uint8Array}
|
|
2576
|
+
*/
|
|
2577
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.serializeBinary = function() {
|
|
2578
|
+
var writer = new jspb.BinaryWriter();
|
|
2579
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter(this, writer);
|
|
2580
|
+
return writer.getResultBuffer();
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2586
|
+
* format), writing to the given BinaryWriter.
|
|
2587
|
+
* @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} message
|
|
2588
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2589
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2590
|
+
*/
|
|
2591
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter = function(message, writer) {
|
|
2592
|
+
var f = undefined;
|
|
2593
|
+
f = /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (jspb.Message.getField(message, 1));
|
|
2594
|
+
if (f != null) {
|
|
2595
|
+
writer.writeEnum(
|
|
2596
|
+
1,
|
|
2597
|
+
f
|
|
2598
|
+
);
|
|
2599
|
+
}
|
|
2600
|
+
f = message.getTargetsList();
|
|
2601
|
+
if (f.length > 0) {
|
|
2602
|
+
writer.writeRepeatedString(
|
|
2603
|
+
2,
|
|
2604
|
+
f
|
|
2605
|
+
);
|
|
2606
|
+
}
|
|
2607
|
+
};
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
/**
|
|
2611
|
+
* @enum {number}
|
|
2612
|
+
*/
|
|
2613
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus = {
|
|
2614
|
+
ALL: 0,
|
|
2615
|
+
USERS: 1,
|
|
2616
|
+
INVENTORY: 2
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* optional ScanFocus scan_focus = 1;
|
|
2621
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus}
|
|
2622
|
+
*/
|
|
2623
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.getScanFocus = function() {
|
|
2624
|
+
return /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2625
|
+
};
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} value
|
|
2630
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
|
|
2631
|
+
*/
|
|
2632
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.setScanFocus = function(value) {
|
|
2633
|
+
return jspb.Message.setField(this, 1, value);
|
|
2634
|
+
};
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
/**
|
|
2638
|
+
* Clears the field making it undefined.
|
|
2639
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
|
|
2640
|
+
*/
|
|
2641
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.clearScanFocus = function() {
|
|
2642
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
2643
|
+
};
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* Returns whether this field is set.
|
|
2648
|
+
* @return {boolean}
|
|
2649
|
+
*/
|
|
2650
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.hasScanFocus = function() {
|
|
2651
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* repeated string targets = 2;
|
|
2657
|
+
* @return {!Array<string>}
|
|
2658
|
+
*/
|
|
2659
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.getTargetsList = function() {
|
|
2660
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
2661
|
+
};
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* @param {!Array<string>} value
|
|
2666
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
|
|
2667
|
+
*/
|
|
2668
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.setTargetsList = function(value) {
|
|
2669
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
2670
|
+
};
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* @param {string} value
|
|
2675
|
+
* @param {number=} opt_index
|
|
2676
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
|
|
2677
|
+
*/
|
|
2678
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.addTargets = function(value, opt_index) {
|
|
2679
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
2680
|
+
};
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
/**
|
|
2684
|
+
* Clears the list making it empty but non-null.
|
|
2685
|
+
* @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
|
|
2686
|
+
*/
|
|
2687
|
+
proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.clearTargetsList = function() {
|
|
2688
|
+
return this.setTargetsList([]);
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
2376
2693
|
|
|
2377
2694
|
|
|
2378
2695
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|