@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
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.7](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.6...@lansweeper/scanningconfig-grpc@0.1.7) (2024-07-30)
7
+
8
+ **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.1.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.5...@lansweeper/scanningconfig-grpc@0.1.6) (2024-06-21)
15
+
16
+ **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.1.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.4...@lansweeper/scanningconfig-grpc@0.1.5) (2024-05-03)
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.4</PackageVersion>
11
- <Version>0.1.4</Version>
12
- <FileVersion>0.1.4</FileVersion>
10
+ <PackageVersion>0.1.6</PackageVersion>
11
+ <Version>0.1.6</Version>
12
+ <FileVersion>0.1.6</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.4": {
9
+ "Lansweeper.ScanningConfig.GRPC/0.1.6": {
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.4": {
82
+ "Lansweeper.ScanningConfig.GRPC/0.1.6": {
83
83
  "type": "project",
84
84
  "serviceable": false,
85
85
  "sha512": ""
@@ -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":"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"},{"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,99,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,75,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,20]},{"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,4],"span":[73,4,28]},{"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,9],"span":[77,0,79,1]},{"path":[4,9,1],"span":[77,8,17]},{"path":[4,9,2,0],"span":[78,2,30]},{"path":[4,9,2,0,4],"span":[78,2,10]},{"path":[4,9,2,0,5],"span":[78,11,17]},{"path":[4,9,2,0,1],"span":[78,18,25]},{"path":[4,9,2,0,3],"span":[78,28,29]},{"path":[4,10],"span":[81,0,89,1]},{"path":[4,10,1],"span":[81,8,13]},{"path":[4,10,4,0],"span":[82,2,86,3]},{"path":[4,10,4,0,1],"span":[82,7,16]},{"path":[4,10,4,0,2,0],"span":[83,4,12]},{"path":[4,10,4,0,2,0,1],"span":[83,4,7]},{"path":[4,10,4,0,2,0,2],"span":[83,10,11]},{"path":[4,10,4,0,2,1],"span":[84,4,14]},{"path":[4,10,4,0,2,1,1],"span":[84,4,9]},{"path":[4,10,4,0,2,1,2],"span":[84,12,13]},{"path":[4,10,4,0,2,2],"span":[85,4,18]},{"path":[4,10,4,0,2,2,1],"span":[85,4,13]},{"path":[4,10,4,0,2,2,2],"span":[85,16,17]},{"path":[4,10,2,0],"span":[88,2,27]},{"path":[4,10,2,0,6],"span":[88,2,11]},{"path":[4,10,2,0,1],"span":[88,12,22]},{"path":[4,10,2,0,3],"span":[88,25,26]},{"path":[4,11],"span":[91,0,99,1]},{"path":[4,11,1],"span":[91,8,18]},{"path":[4,11,4,0],"span":[92,2,95,3]},{"path":[4,11,4,0,1],"span":[92,7,21]},{"path":[4,11,4,0,2,0],"span":[94,4,20]},{"path":[4,11,4,0,2,0,1],"span":[94,4,15]},{"path":[4,11,4,0,2,0,2],"span":[94,18,19]},{"path":[4,11,2,0],"span":[97,2,26]},{"path":[4,11,2,0,6],"span":[97,2,16]},{"path":[4,11,2,0,1],"span":[97,17,21]},{"path":[4,11,2,0,3],"span":[97,24,25]},{"path":[4,11,2,1],"span":[98,2,16]},{"path":[4,11,2,1,5],"span":[98,2,8]},{"path":[4,11,2,1,1],"span":[98,9,11]},{"path":[4,11,2,1,3],"span":[98,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"},{"name":"id","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"}],"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,113,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,77,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,8,2,6],"span":[76,2,16]},{"path":[4,8,2,6,5],"span":[76,2,8]},{"path":[4,8,2,6,1],"span":[76,9,11]},{"path":[4,8,2,6,3],"span":[76,14,15]},{"path":[4,9],"span":[79,0,81,1]},{"path":[4,9,1],"span":[79,8,17]},{"path":[4,9,2,0],"span":[80,2,30]},{"path":[4,9,2,0,4],"span":[80,2,10]},{"path":[4,9,2,0,5],"span":[80,11,17]},{"path":[4,9,2,0,1],"span":[80,18,25]},{"path":[4,9,2,0,3],"span":[80,28,29]},{"path":[4,10],"span":[83,0,93,1]},{"path":[4,10,1],"span":[83,8,24]},{"path":[4,10,4,0],"span":[85,2,89,3]},{"path":[4,10,4,0,1],"span":[85,7,16]},{"path":[4,10,4,0,2,0],"span":[86,4,12]},{"path":[4,10,4,0,2,0,1],"span":[86,4,7]},{"path":[4,10,4,0,2,0,2],"span":[86,10,11]},{"path":[4,10,4,0,2,1],"span":[87,4,14]},{"path":[4,10,4,0,2,1,1],"span":[87,4,9]},{"path":[4,10,4,0,2,1,2],"span":[87,12,13]},{"path":[4,10,4,0,2,2],"span":[88,4,18]},{"path":[4,10,4,0,2,2,1],"span":[88,4,13]},{"path":[4,10,4,0,2,2,2],"span":[88,16,17]},{"path":[4,10,2,0],"span":[91,2,36]},{"path":[4,10,2,0,4],"span":[91,2,10]},{"path":[4,10,2,0,6],"span":[91,11,20]},{"path":[4,10,2,0,1],"span":[91,21,31]},{"path":[4,10,2,0,3],"span":[91,34,35]},{"path":[4,10,2,1],"span":[92,2,30]},{"path":[4,10,2,1,4],"span":[92,2,10]},{"path":[4,10,2,1,5],"span":[92,11,17]},{"path":[4,10,2,1,1],"span":[92,18,25]},{"path":[4,10,2,1,3],"span":[92,28,29]},{"path":[4,11],"span":[95,0,103,1]},{"path":[4,11,1],"span":[95,8,13]},{"path":[4,11,4,0],"span":[96,2,100,3]},{"path":[4,11,4,0,1],"span":[96,7,16]},{"path":[4,11,4,0,2,0],"span":[97,4,12]},{"path":[4,11,4,0,2,0,1],"span":[97,4,7]},{"path":[4,11,4,0,2,0,2],"span":[97,10,11]},{"path":[4,11,4,0,2,1],"span":[98,4,14]},{"path":[4,11,4,0,2,1,1],"span":[98,4,9]},{"path":[4,11,4,0,2,1,2],"span":[98,12,13]},{"path":[4,11,4,0,2,2],"span":[99,4,18]},{"path":[4,11,4,0,2,2,1],"span":[99,4,13]},{"path":[4,11,4,0,2,2,2],"span":[99,16,17]},{"path":[4,11,2,0],"span":[102,2,27]},{"path":[4,11,2,0,6],"span":[102,2,11]},{"path":[4,11,2,0,1],"span":[102,12,22]},{"path":[4,11,2,0,3],"span":[102,25,26]},{"path":[4,12],"span":[105,0,113,1]},{"path":[4,12,1],"span":[105,8,18]},{"path":[4,12,4,0],"span":[106,2,109,3]},{"path":[4,12,4,0,1],"span":[106,7,21]},{"path":[4,12,4,0,2,0],"span":[108,4,20]},{"path":[4,12,4,0,2,0,1],"span":[108,4,15]},{"path":[4,12,4,0,2,0,2],"span":[108,18,19]},{"path":[4,12,2,0],"span":[111,2,26]},{"path":[4,12,2,0,6],"span":[111,2,16]},{"path":[4,12,2,0,1],"span":[111,17,21]},{"path":[4,12,2,0,3],"span":[111,24,25]},{"path":[4,12,2,1],"span":[112,2,16]},{"path":[4,12,2,1,5],"span":[112,2,8]},{"path":[4,12,2,1,1],"span":[112,9,11]},{"path":[4,12,2,1,3],"span":[112,14,15]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -249,6 +249,13 @@ export class Action extends jspb.Message {
249
249
  getAgentless(): Agentless | undefined;
250
250
  setAgentless(value?: Agentless): Action;
251
251
 
252
+ hasActionDefinition(): boolean;
253
+ clearActionDefinition(): void;
254
+ getActionDefinition(): ActionDefinition | undefined;
255
+ setActionDefinition(value?: ActionDefinition): Action;
256
+ getId(): string;
257
+ setId(value: string): Action;
258
+
252
259
  getDefinitionCase(): Action.DefinitionCase;
253
260
 
254
261
  serializeBinary(): Uint8Array;
@@ -268,6 +275,8 @@ export namespace Action {
268
275
  credentialsList: Array<Credential.AsObject>,
269
276
  agent?: Agent.AsObject,
270
277
  agentless?: Agentless.AsObject,
278
+ actionDefinition?: ActionDefinition.AsObject,
279
+ id: string,
271
280
  }
272
281
 
273
282
  export enum ActionType {
@@ -307,6 +316,41 @@ export namespace Agentless {
307
316
  }
308
317
  }
309
318
 
319
+ export class ActionDefinition extends jspb.Message {
320
+
321
+ hasScanFocus(): boolean;
322
+ clearScanFocus(): void;
323
+ getScanFocus(): ActionDefinition.ScanFocus | undefined;
324
+ setScanFocus(value: ActionDefinition.ScanFocus): ActionDefinition;
325
+ clearTargetsList(): void;
326
+ getTargetsList(): Array<string>;
327
+ setTargetsList(value: Array<string>): ActionDefinition;
328
+ addTargets(value: string, index?: number): string;
329
+
330
+ serializeBinary(): Uint8Array;
331
+ toObject(includeInstance?: boolean): ActionDefinition.AsObject;
332
+ static toObject(includeInstance: boolean, msg: ActionDefinition): ActionDefinition.AsObject;
333
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
334
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
335
+ static serializeBinaryToWriter(message: ActionDefinition, writer: jspb.BinaryWriter): void;
336
+ static deserializeBinary(bytes: Uint8Array): ActionDefinition;
337
+ static deserializeBinaryFromReader(message: ActionDefinition, reader: jspb.BinaryReader): ActionDefinition;
338
+ }
339
+
340
+ export namespace ActionDefinition {
341
+ export type AsObject = {
342
+ scanFocus?: ActionDefinition.ScanFocus,
343
+ targetsList: Array<string>,
344
+ }
345
+
346
+ export enum ScanFocus {
347
+ ALL = 0,
348
+ USERS = 1,
349
+ INVENTORY = 2,
350
+ }
351
+
352
+ }
353
+
310
354
  export class Agent extends jspb.Message {
311
355
  getScanFocus(): Agent.ScanFocus;
312
356
  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
@@ -1937,7 +1960,9 @@ proto.lansweeper.scanningconfig.v1.Action.toObject = function(includeInstance, m
1937
1960
  credentialsList: jspb.Message.toObjectList(msg.getCredentialsList(),
1938
1961
  proto.lansweeper.scanningconfig.v1.Credential.toObject, includeInstance),
1939
1962
  agent: (f = msg.getAgent()) && proto.lansweeper.scanningconfig.v1.Agent.toObject(includeInstance, f),
1940
- 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),
1965
+ id: jspb.Message.getFieldWithDefault(msg, 7, "")
1941
1966
  };
1942
1967
 
1943
1968
  if (includeInstance) {
@@ -1998,6 +2023,15 @@ proto.lansweeper.scanningconfig.v1.Action.deserializeBinaryFromReader = function
1998
2023
  reader.readMessage(value,proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader);
1999
2024
  msg.setAgentless(value);
2000
2025
  break;
2026
+ case 6:
2027
+ var value = new proto.lansweeper.scanningconfig.v1.ActionDefinition;
2028
+ reader.readMessage(value,proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader);
2029
+ msg.setActionDefinition(value);
2030
+ break;
2031
+ case 7:
2032
+ var value = /** @type {string} */ (reader.readString());
2033
+ msg.setId(value);
2034
+ break;
2001
2035
  default:
2002
2036
  reader.skipField();
2003
2037
  break;
@@ -2066,6 +2100,21 @@ proto.lansweeper.scanningconfig.v1.Action.serializeBinaryToWriter = function(mes
2066
2100
  proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter
2067
2101
  );
2068
2102
  }
2103
+ f = message.getActionDefinition();
2104
+ if (f != null) {
2105
+ writer.writeMessage(
2106
+ 6,
2107
+ f,
2108
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter
2109
+ );
2110
+ }
2111
+ f = message.getId();
2112
+ if (f.length > 0) {
2113
+ writer.writeString(
2114
+ 7,
2115
+ f
2116
+ );
2117
+ }
2069
2118
  };
2070
2119
 
2071
2120
 
@@ -2246,6 +2295,61 @@ proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgentless = function() {
2246
2295
  };
2247
2296
 
2248
2297
 
2298
+ /**
2299
+ * optional ActionDefinition action_definition = 6;
2300
+ * @return {?proto.lansweeper.scanningconfig.v1.ActionDefinition}
2301
+ */
2302
+ proto.lansweeper.scanningconfig.v1.Action.prototype.getActionDefinition = function() {
2303
+ return /** @type{?proto.lansweeper.scanningconfig.v1.ActionDefinition} */ (
2304
+ jspb.Message.getWrapperField(this, proto.lansweeper.scanningconfig.v1.ActionDefinition, 6));
2305
+ };
2306
+
2307
+
2308
+ /**
2309
+ * @param {?proto.lansweeper.scanningconfig.v1.ActionDefinition|undefined} value
2310
+ * @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
2311
+ */
2312
+ proto.lansweeper.scanningconfig.v1.Action.prototype.setActionDefinition = function(value) {
2313
+ return jspb.Message.setWrapperField(this, 6, value);
2314
+ };
2315
+
2316
+
2317
+ /**
2318
+ * Clears the message field making it undefined.
2319
+ * @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
2320
+ */
2321
+ proto.lansweeper.scanningconfig.v1.Action.prototype.clearActionDefinition = function() {
2322
+ return this.setActionDefinition(undefined);
2323
+ };
2324
+
2325
+
2326
+ /**
2327
+ * Returns whether this field is set.
2328
+ * @return {boolean}
2329
+ */
2330
+ proto.lansweeper.scanningconfig.v1.Action.prototype.hasActionDefinition = function() {
2331
+ return jspb.Message.getField(this, 6) != null;
2332
+ };
2333
+
2334
+
2335
+ /**
2336
+ * optional string id = 7;
2337
+ * @return {string}
2338
+ */
2339
+ proto.lansweeper.scanningconfig.v1.Action.prototype.getId = function() {
2340
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2341
+ };
2342
+
2343
+
2344
+ /**
2345
+ * @param {string} value
2346
+ * @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
2347
+ */
2348
+ proto.lansweeper.scanningconfig.v1.Action.prototype.setId = function(value) {
2349
+ return jspb.Message.setProto3StringField(this, 7, value);
2350
+ };
2351
+
2352
+
2249
2353
 
2250
2354
  /**
2251
2355
  * List of repeated fields within this message type.
@@ -2403,6 +2507,219 @@ proto.lansweeper.scanningconfig.v1.Agentless.prototype.clearTargetsList = functi
2403
2507
 
2404
2508
 
2405
2509
 
2510
+ /**
2511
+ * List of repeated fields within this message type.
2512
+ * @private {!Array<number>}
2513
+ * @const
2514
+ */
2515
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.repeatedFields_ = [2];
2516
+
2517
+
2518
+
2519
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2520
+ /**
2521
+ * Creates an object representation of this proto.
2522
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2523
+ * Optional fields that are not set will be set to undefined.
2524
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2525
+ * For the list of reserved names please see:
2526
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2527
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2528
+ * JSPB instance for transitional soy proto support:
2529
+ * http://goto/soy-param-migration
2530
+ * @return {!Object}
2531
+ */
2532
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.toObject = function(opt_includeInstance) {
2533
+ return proto.lansweeper.scanningconfig.v1.ActionDefinition.toObject(opt_includeInstance, this);
2534
+ };
2535
+
2536
+
2537
+ /**
2538
+ * Static version of the {@see toObject} method.
2539
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2540
+ * the JSPB instance for transitional soy proto support:
2541
+ * http://goto/soy-param-migration
2542
+ * @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} msg The msg instance to transform.
2543
+ * @return {!Object}
2544
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2545
+ */
2546
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.toObject = function(includeInstance, msg) {
2547
+ var f, obj = {
2548
+ scanFocus: jspb.Message.getFieldWithDefault(msg, 1, 0),
2549
+ targetsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
2550
+ };
2551
+
2552
+ if (includeInstance) {
2553
+ obj.$jspbMessageInstance = msg;
2554
+ }
2555
+ return obj;
2556
+ };
2557
+ }
2558
+
2559
+
2560
+ /**
2561
+ * Deserializes binary data (in protobuf wire format).
2562
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2563
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition}
2564
+ */
2565
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinary = function(bytes) {
2566
+ var reader = new jspb.BinaryReader(bytes);
2567
+ var msg = new proto.lansweeper.scanningconfig.v1.ActionDefinition;
2568
+ return proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader(msg, reader);
2569
+ };
2570
+
2571
+
2572
+ /**
2573
+ * Deserializes binary data (in protobuf wire format) from the
2574
+ * given reader into the given message object.
2575
+ * @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} msg The message object to deserialize into.
2576
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2577
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition}
2578
+ */
2579
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.deserializeBinaryFromReader = function(msg, reader) {
2580
+ while (reader.nextField()) {
2581
+ if (reader.isEndGroup()) {
2582
+ break;
2583
+ }
2584
+ var field = reader.getFieldNumber();
2585
+ switch (field) {
2586
+ case 1:
2587
+ var value = /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (reader.readEnum());
2588
+ msg.setScanFocus(value);
2589
+ break;
2590
+ case 2:
2591
+ var value = /** @type {string} */ (reader.readString());
2592
+ msg.addTargets(value);
2593
+ break;
2594
+ default:
2595
+ reader.skipField();
2596
+ break;
2597
+ }
2598
+ }
2599
+ return msg;
2600
+ };
2601
+
2602
+
2603
+ /**
2604
+ * Serializes the message to binary data (in protobuf wire format).
2605
+ * @return {!Uint8Array}
2606
+ */
2607
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.serializeBinary = function() {
2608
+ var writer = new jspb.BinaryWriter();
2609
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter(this, writer);
2610
+ return writer.getResultBuffer();
2611
+ };
2612
+
2613
+
2614
+ /**
2615
+ * Serializes the given message to binary data (in protobuf wire
2616
+ * format), writing to the given BinaryWriter.
2617
+ * @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition} message
2618
+ * @param {!jspb.BinaryWriter} writer
2619
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2620
+ */
2621
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.serializeBinaryToWriter = function(message, writer) {
2622
+ var f = undefined;
2623
+ f = /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (jspb.Message.getField(message, 1));
2624
+ if (f != null) {
2625
+ writer.writeEnum(
2626
+ 1,
2627
+ f
2628
+ );
2629
+ }
2630
+ f = message.getTargetsList();
2631
+ if (f.length > 0) {
2632
+ writer.writeRepeatedString(
2633
+ 2,
2634
+ f
2635
+ );
2636
+ }
2637
+ };
2638
+
2639
+
2640
+ /**
2641
+ * @enum {number}
2642
+ */
2643
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus = {
2644
+ ALL: 0,
2645
+ USERS: 1,
2646
+ INVENTORY: 2
2647
+ };
2648
+
2649
+ /**
2650
+ * optional ScanFocus scan_focus = 1;
2651
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus}
2652
+ */
2653
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.getScanFocus = function() {
2654
+ return /** @type {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2655
+ };
2656
+
2657
+
2658
+ /**
2659
+ * @param {!proto.lansweeper.scanningconfig.v1.ActionDefinition.ScanFocus} value
2660
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
2661
+ */
2662
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.setScanFocus = function(value) {
2663
+ return jspb.Message.setField(this, 1, value);
2664
+ };
2665
+
2666
+
2667
+ /**
2668
+ * Clears the field making it undefined.
2669
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
2670
+ */
2671
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.clearScanFocus = function() {
2672
+ return jspb.Message.setField(this, 1, undefined);
2673
+ };
2674
+
2675
+
2676
+ /**
2677
+ * Returns whether this field is set.
2678
+ * @return {boolean}
2679
+ */
2680
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.hasScanFocus = function() {
2681
+ return jspb.Message.getField(this, 1) != null;
2682
+ };
2683
+
2684
+
2685
+ /**
2686
+ * repeated string targets = 2;
2687
+ * @return {!Array<string>}
2688
+ */
2689
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.getTargetsList = function() {
2690
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
2691
+ };
2692
+
2693
+
2694
+ /**
2695
+ * @param {!Array<string>} value
2696
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
2697
+ */
2698
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.setTargetsList = function(value) {
2699
+ return jspb.Message.setField(this, 2, value || []);
2700
+ };
2701
+
2702
+
2703
+ /**
2704
+ * @param {string} value
2705
+ * @param {number=} opt_index
2706
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
2707
+ */
2708
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.addTargets = function(value, opt_index) {
2709
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
2710
+ };
2711
+
2712
+
2713
+ /**
2714
+ * Clears the list making it empty but non-null.
2715
+ * @return {!proto.lansweeper.scanningconfig.v1.ActionDefinition} returns this
2716
+ */
2717
+ proto.lansweeper.scanningconfig.v1.ActionDefinition.prototype.clearTargetsList = function() {
2718
+ return this.setTargetsList([]);
2719
+ };
2720
+
2721
+
2722
+
2406
2723
 
2407
2724
 
2408
2725
  if (jspb.Message.GENERATE_TO_OBJECT) {