@lansweeper/scanningconfig-grpc 0.1.1 → 0.1.2

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 CHANGED
@@ -3,6 +3,14 @@
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.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.1...@lansweeper/scanningconfig-grpc@0.1.2) (2024-04-09)
7
+
8
+ **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.1.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.0...@lansweeper/scanningconfig-grpc@0.1.1) (2023-12-14)
7
15
 
8
16
  **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.0</PackageVersion>
11
- <Version>0.1.0</Version>
12
- <FileVersion>0.1.0</FileVersion>
10
+ <PackageVersion>0.1.1</PackageVersion>
11
+ <Version>0.1.1</Version>
12
+ <FileVersion>0.1.1</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.0": {
9
+ "Lansweeper.ScanningConfig.GRPC/0.1.1": {
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.0": {
82
+ "Lansweeper.ScanningConfig.GRPC/0.1.1": {
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":"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"}],"enumType":[{"name":"ActionType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1}]}],"oneofDecl":[{"name":"definition"}]},{"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"}],"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,91,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,72,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,64,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,2,0],"span":[66,2,32]},{"path":[4,8,2,0,4],"span":[66,2,10]},{"path":[4,8,2,0,6],"span":[66,11,18]},{"path":[4,8,2,0,1],"span":[66,19,27]},{"path":[4,8,2,0,3],"span":[66,30,31]},{"path":[4,8,2,1],"span":[67,2,29]},{"path":[4,8,2,1,6],"span":[67,2,12]},{"path":[4,8,2,1,1],"span":[67,13,24]},{"path":[4,8,2,1,3],"span":[67,27,28]},{"path":[4,8,2,2],"span":[68,2,38]},{"path":[4,8,2,2,4],"span":[68,2,10]},{"path":[4,8,2,2,6],"span":[68,11,21]},{"path":[4,8,2,2,1],"span":[68,22,33]},{"path":[4,8,2,2,3],"span":[68,36,37]},{"path":[4,8,8,0],"span":[69,2,71,3]},{"path":[4,8,8,0,1],"span":[69,8,18]},{"path":[4,8,2,3],"span":[70,4,20]},{"path":[4,8,2,3,6],"span":[70,4,9]},{"path":[4,8,2,3,1],"span":[70,10,15]},{"path":[4,8,2,3,3],"span":[70,18,19]},{"path":[4,9],"span":[74,0,82,1]},{"path":[4,9,1],"span":[74,8,13]},{"path":[4,9,4,0],"span":[75,2,79,3]},{"path":[4,9,4,0,1],"span":[75,7,16]},{"path":[4,9,4,0,2,0],"span":[76,4,12]},{"path":[4,9,4,0,2,0,1],"span":[76,4,7]},{"path":[4,9,4,0,2,0,2],"span":[76,10,11]},{"path":[4,9,4,0,2,1],"span":[77,4,14]},{"path":[4,9,4,0,2,1,1],"span":[77,4,9]},{"path":[4,9,4,0,2,1,2],"span":[77,12,13]},{"path":[4,9,4,0,2,2],"span":[78,4,18]},{"path":[4,9,4,0,2,2,1],"span":[78,4,13]},{"path":[4,9,4,0,2,2,2],"span":[78,16,17]},{"path":[4,9,2,0],"span":[81,2,27]},{"path":[4,9,2,0,6],"span":[81,2,11]},{"path":[4,9,2,0,1],"span":[81,12,22]},{"path":[4,9,2,0,3],"span":[81,25,26]},{"path":[4,10],"span":[84,0,91,1]},{"path":[4,10,1],"span":[84,8,18]},{"path":[4,10,4,0],"span":[85,2,88,3]},{"path":[4,10,4,0,1],"span":[85,7,21]},{"path":[4,10,4,0,2,0],"span":[87,4,20]},{"path":[4,10,4,0,2,0,1],"span":[87,4,15]},{"path":[4,10,4,0,2,0,2],"span":[87,18,19]},{"path":[4,10,2,0],"span":[90,2,26]},{"path":[4,10,2,0,6],"span":[90,2,16]},{"path":[4,10,2,0,1],"span":[90,17,21]},{"path":[4,10,2,0,3],"span":[90,24,25]}]},"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":"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}]}],"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"}],"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,96,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,73,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,64,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,2,0],"span":[66,2,32]},{"path":[4,8,2,0,4],"span":[66,2,10]},{"path":[4,8,2,0,6],"span":[66,11,18]},{"path":[4,8,2,0,1],"span":[66,19,27]},{"path":[4,8,2,0,3],"span":[66,30,31]},{"path":[4,8,2,1],"span":[67,2,29]},{"path":[4,8,2,1,6],"span":[67,2,12]},{"path":[4,8,2,1,1],"span":[67,13,24]},{"path":[4,8,2,1,3],"span":[67,27,28]},{"path":[4,8,2,2],"span":[68,2,38]},{"path":[4,8,2,2,4],"span":[68,2,10]},{"path":[4,8,2,2,6],"span":[68,11,21]},{"path":[4,8,2,2,1],"span":[68,22,33]},{"path":[4,8,2,2,3],"span":[68,36,37]},{"path":[4,8,8,0],"span":[69,2,72,3]},{"path":[4,8,8,0,1],"span":[69,8,18]},{"path":[4,8,2,3],"span":[70,4,20]},{"path":[4,8,2,3,6],"span":[70,4,9]},{"path":[4,8,2,3,1],"span":[70,10,15]},{"path":[4,8,2,3,3],"span":[70,18,19]},{"path":[4,8,2,4],"span":[71,4,28]},{"path":[4,8,2,4,6],"span":[71,4,13]},{"path":[4,8,2,4,1],"span":[71,14,23]},{"path":[4,8,2,4,3],"span":[71,26,27]},{"path":[4,9],"span":[75,0,77,1]},{"path":[4,9,1],"span":[75,8,17]},{"path":[4,9,2,0],"span":[76,2,30]},{"path":[4,9,2,0,4],"span":[76,2,10]},{"path":[4,9,2,0,5],"span":[76,11,17]},{"path":[4,9,2,0,1],"span":[76,18,25]},{"path":[4,9,2,0,3],"span":[76,28,29]},{"path":[4,10],"span":[79,0,87,1]},{"path":[4,10,1],"span":[79,8,13]},{"path":[4,10,4,0],"span":[80,2,84,3]},{"path":[4,10,4,0,1],"span":[80,7,16]},{"path":[4,10,4,0,2,0],"span":[81,4,12]},{"path":[4,10,4,0,2,0,1],"span":[81,4,7]},{"path":[4,10,4,0,2,0,2],"span":[81,10,11]},{"path":[4,10,4,0,2,1],"span":[82,4,14]},{"path":[4,10,4,0,2,1,1],"span":[82,4,9]},{"path":[4,10,4,0,2,1,2],"span":[82,12,13]},{"path":[4,10,4,0,2,2],"span":[83,4,18]},{"path":[4,10,4,0,2,2,1],"span":[83,4,13]},{"path":[4,10,4,0,2,2,2],"span":[83,16,17]},{"path":[4,10,2,0],"span":[86,2,27]},{"path":[4,10,2,0,6],"span":[86,2,11]},{"path":[4,10,2,0,1],"span":[86,12,22]},{"path":[4,10,2,0,3],"span":[86,25,26]},{"path":[4,11],"span":[89,0,96,1]},{"path":[4,11,1],"span":[89,8,18]},{"path":[4,11,4,0],"span":[90,2,93,3]},{"path":[4,11,4,0,1],"span":[90,7,21]},{"path":[4,11,4,0,2,0],"span":[92,4,20]},{"path":[4,11,4,0,2,0,1],"span":[92,4,15]},{"path":[4,11,4,0,2,0,2],"span":[92,18,19]},{"path":[4,11,2,0],"span":[95,2,26]},{"path":[4,11,2,0,6],"span":[95,2,16]},{"path":[4,11,2,0,1],"span":[95,17,21]},{"path":[4,11,2,0,3],"span":[95,24,25]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -241,6 +241,11 @@ export class Action extends jspb.Message {
241
241
  getAgent(): Agent | undefined;
242
242
  setAgent(value?: Agent): Action;
243
243
 
244
+ hasAgentless(): boolean;
245
+ clearAgentless(): void;
246
+ getAgentless(): Agentless | undefined;
247
+ setAgentless(value?: Agentless): Action;
248
+
244
249
  getDefinitionCase(): Action.DefinitionCase;
245
250
 
246
251
  serializeBinary(): Uint8Array;
@@ -259,6 +264,7 @@ export namespace Action {
259
264
  actionType: Action.ActionType,
260
265
  credentialsList: Array<Credential.AsObject>,
261
266
  agent?: Agent.AsObject,
267
+ agentless?: Agentless.AsObject,
262
268
  }
263
269
 
264
270
  export enum ActionType {
@@ -270,10 +276,33 @@ export namespace Action {
270
276
  export enum DefinitionCase {
271
277
  DEFINITION_NOT_SET = 0,
272
278
  AGENT = 4,
279
+ AGENTLESS = 5,
273
280
  }
274
281
 
275
282
  }
276
283
 
284
+ export class Agentless extends jspb.Message {
285
+ clearTargetsList(): void;
286
+ getTargetsList(): Array<string>;
287
+ setTargetsList(value: Array<string>): Agentless;
288
+ addTargets(value: string, index?: number): string;
289
+
290
+ serializeBinary(): Uint8Array;
291
+ toObject(includeInstance?: boolean): Agentless.AsObject;
292
+ static toObject(includeInstance: boolean, msg: Agentless): Agentless.AsObject;
293
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
294
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
295
+ static serializeBinaryToWriter(message: Agentless, writer: jspb.BinaryWriter): void;
296
+ static deserializeBinary(bytes: Uint8Array): Agentless;
297
+ static deserializeBinaryFromReader(message: Agentless, reader: jspb.BinaryReader): Agentless;
298
+ }
299
+
300
+ export namespace Agentless {
301
+ export type AsObject = {
302
+ targetsList: Array<string>,
303
+ }
304
+ }
305
+
277
306
  export class Agent extends jspb.Message {
278
307
  getScanFocus(): Agent.ScanFocus;
279
308
  setScanFocus(value: Agent.ScanFocus): Agent;
@@ -26,6 +26,7 @@ goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action.ActionType', null,
26
26
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Action.DefinitionCase', null, global);
27
27
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agent', null, global);
28
28
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agent.ScanFocus', null, global);
29
+ goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Agentless', null, global);
29
30
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.AssetRadar', null, global);
30
31
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.AutoUpdate', null, global);
31
32
  goog.exportSymbol('proto.lansweeper.scanningconfig.v1.Component', null, global);
@@ -226,6 +227,27 @@ if (goog.DEBUG && !COMPILED) {
226
227
  */
227
228
  proto.lansweeper.scanningconfig.v1.Action.displayName = 'proto.lansweeper.scanningconfig.v1.Action';
228
229
  }
230
+ /**
231
+ * Generated by JsPbCodeGenerator.
232
+ * @param {Array=} opt_data Optional initial data array, typically from a
233
+ * server response, or constructed directly in Javascript. The array is used
234
+ * in place and becomes part of the constructed object. It is not cloned.
235
+ * If no data is provided, the constructed object will be empty, but still
236
+ * valid.
237
+ * @extends {jspb.Message}
238
+ * @constructor
239
+ */
240
+ proto.lansweeper.scanningconfig.v1.Agentless = function(opt_data) {
241
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.scanningconfig.v1.Agentless.repeatedFields_, null);
242
+ };
243
+ goog.inherits(proto.lansweeper.scanningconfig.v1.Agentless, jspb.Message);
244
+ if (goog.DEBUG && !COMPILED) {
245
+ /**
246
+ * @public
247
+ * @override
248
+ */
249
+ proto.lansweeper.scanningconfig.v1.Agentless.displayName = 'proto.lansweeper.scanningconfig.v1.Agentless';
250
+ }
229
251
  /**
230
252
  * Generated by JsPbCodeGenerator.
231
253
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1830,14 +1852,15 @@ proto.lansweeper.scanningconfig.v1.Action.repeatedFields_ = [1,3];
1830
1852
  * @private {!Array<!Array<number>>}
1831
1853
  * @const
1832
1854
  */
1833
- proto.lansweeper.scanningconfig.v1.Action.oneofGroups_ = [[4]];
1855
+ proto.lansweeper.scanningconfig.v1.Action.oneofGroups_ = [[4,5]];
1834
1856
 
1835
1857
  /**
1836
1858
  * @enum {number}
1837
1859
  */
1838
1860
  proto.lansweeper.scanningconfig.v1.Action.DefinitionCase = {
1839
1861
  DEFINITION_NOT_SET: 0,
1840
- AGENT: 4
1862
+ AGENT: 4,
1863
+ AGENTLESS: 5
1841
1864
  };
1842
1865
 
1843
1866
  /**
@@ -1883,7 +1906,8 @@ proto.lansweeper.scanningconfig.v1.Action.toObject = function(includeInstance, m
1883
1906
  actionType: jspb.Message.getFieldWithDefault(msg, 2, 0),
1884
1907
  credentialsList: jspb.Message.toObjectList(msg.getCredentialsList(),
1885
1908
  proto.lansweeper.scanningconfig.v1.Credential.toObject, includeInstance),
1886
- agent: (f = msg.getAgent()) && proto.lansweeper.scanningconfig.v1.Agent.toObject(includeInstance, f)
1909
+ 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)
1887
1911
  };
1888
1912
 
1889
1913
  if (includeInstance) {
@@ -1939,6 +1963,11 @@ proto.lansweeper.scanningconfig.v1.Action.deserializeBinaryFromReader = function
1939
1963
  reader.readMessage(value,proto.lansweeper.scanningconfig.v1.Agent.deserializeBinaryFromReader);
1940
1964
  msg.setAgent(value);
1941
1965
  break;
1966
+ case 5:
1967
+ var value = new proto.lansweeper.scanningconfig.v1.Agentless;
1968
+ reader.readMessage(value,proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader);
1969
+ msg.setAgentless(value);
1970
+ break;
1942
1971
  default:
1943
1972
  reader.skipField();
1944
1973
  break;
@@ -1999,6 +2028,14 @@ proto.lansweeper.scanningconfig.v1.Action.serializeBinaryToWriter = function(mes
1999
2028
  proto.lansweeper.scanningconfig.v1.Agent.serializeBinaryToWriter
2000
2029
  );
2001
2030
  }
2031
+ f = message.getAgentless();
2032
+ if (f != null) {
2033
+ writer.writeMessage(
2034
+ 5,
2035
+ f,
2036
+ proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter
2037
+ );
2038
+ }
2002
2039
  };
2003
2040
 
2004
2041
 
@@ -2141,6 +2178,199 @@ proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgent = function() {
2141
2178
  };
2142
2179
 
2143
2180
 
2181
+ /**
2182
+ * optional Agentless agentless = 5;
2183
+ * @return {?proto.lansweeper.scanningconfig.v1.Agentless}
2184
+ */
2185
+ proto.lansweeper.scanningconfig.v1.Action.prototype.getAgentless = function() {
2186
+ return /** @type{?proto.lansweeper.scanningconfig.v1.Agentless} */ (
2187
+ jspb.Message.getWrapperField(this, proto.lansweeper.scanningconfig.v1.Agentless, 5));
2188
+ };
2189
+
2190
+
2191
+ /**
2192
+ * @param {?proto.lansweeper.scanningconfig.v1.Agentless|undefined} value
2193
+ * @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
2194
+ */
2195
+ proto.lansweeper.scanningconfig.v1.Action.prototype.setAgentless = function(value) {
2196
+ return jspb.Message.setOneofWrapperField(this, 5, proto.lansweeper.scanningconfig.v1.Action.oneofGroups_[0], value);
2197
+ };
2198
+
2199
+
2200
+ /**
2201
+ * Clears the message field making it undefined.
2202
+ * @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
2203
+ */
2204
+ proto.lansweeper.scanningconfig.v1.Action.prototype.clearAgentless = function() {
2205
+ return this.setAgentless(undefined);
2206
+ };
2207
+
2208
+
2209
+ /**
2210
+ * Returns whether this field is set.
2211
+ * @return {boolean}
2212
+ */
2213
+ proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgentless = function() {
2214
+ return jspb.Message.getField(this, 5) != null;
2215
+ };
2216
+
2217
+
2218
+
2219
+ /**
2220
+ * List of repeated fields within this message type.
2221
+ * @private {!Array<number>}
2222
+ * @const
2223
+ */
2224
+ proto.lansweeper.scanningconfig.v1.Agentless.repeatedFields_ = [1];
2225
+
2226
+
2227
+
2228
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2229
+ /**
2230
+ * Creates an object representation of this proto.
2231
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2232
+ * Optional fields that are not set will be set to undefined.
2233
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2234
+ * For the list of reserved names please see:
2235
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2236
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2237
+ * JSPB instance for transitional soy proto support:
2238
+ * http://goto/soy-param-migration
2239
+ * @return {!Object}
2240
+ */
2241
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.toObject = function(opt_includeInstance) {
2242
+ return proto.lansweeper.scanningconfig.v1.Agentless.toObject(opt_includeInstance, this);
2243
+ };
2244
+
2245
+
2246
+ /**
2247
+ * Static version of the {@see toObject} method.
2248
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2249
+ * the JSPB instance for transitional soy proto support:
2250
+ * http://goto/soy-param-migration
2251
+ * @param {!proto.lansweeper.scanningconfig.v1.Agentless} msg The msg instance to transform.
2252
+ * @return {!Object}
2253
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2254
+ */
2255
+ proto.lansweeper.scanningconfig.v1.Agentless.toObject = function(includeInstance, msg) {
2256
+ var f, obj = {
2257
+ targetsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2258
+ };
2259
+
2260
+ if (includeInstance) {
2261
+ obj.$jspbMessageInstance = msg;
2262
+ }
2263
+ return obj;
2264
+ };
2265
+ }
2266
+
2267
+
2268
+ /**
2269
+ * Deserializes binary data (in protobuf wire format).
2270
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2271
+ * @return {!proto.lansweeper.scanningconfig.v1.Agentless}
2272
+ */
2273
+ proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinary = function(bytes) {
2274
+ var reader = new jspb.BinaryReader(bytes);
2275
+ var msg = new proto.lansweeper.scanningconfig.v1.Agentless;
2276
+ return proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader(msg, reader);
2277
+ };
2278
+
2279
+
2280
+ /**
2281
+ * Deserializes binary data (in protobuf wire format) from the
2282
+ * given reader into the given message object.
2283
+ * @param {!proto.lansweeper.scanningconfig.v1.Agentless} msg The message object to deserialize into.
2284
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2285
+ * @return {!proto.lansweeper.scanningconfig.v1.Agentless}
2286
+ */
2287
+ proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader = function(msg, reader) {
2288
+ while (reader.nextField()) {
2289
+ if (reader.isEndGroup()) {
2290
+ break;
2291
+ }
2292
+ var field = reader.getFieldNumber();
2293
+ switch (field) {
2294
+ case 1:
2295
+ var value = /** @type {string} */ (reader.readString());
2296
+ msg.addTargets(value);
2297
+ break;
2298
+ default:
2299
+ reader.skipField();
2300
+ break;
2301
+ }
2302
+ }
2303
+ return msg;
2304
+ };
2305
+
2306
+
2307
+ /**
2308
+ * Serializes the message to binary data (in protobuf wire format).
2309
+ * @return {!Uint8Array}
2310
+ */
2311
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.serializeBinary = function() {
2312
+ var writer = new jspb.BinaryWriter();
2313
+ proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter(this, writer);
2314
+ return writer.getResultBuffer();
2315
+ };
2316
+
2317
+
2318
+ /**
2319
+ * Serializes the given message to binary data (in protobuf wire
2320
+ * format), writing to the given BinaryWriter.
2321
+ * @param {!proto.lansweeper.scanningconfig.v1.Agentless} message
2322
+ * @param {!jspb.BinaryWriter} writer
2323
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2324
+ */
2325
+ proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter = function(message, writer) {
2326
+ var f = undefined;
2327
+ f = message.getTargetsList();
2328
+ if (f.length > 0) {
2329
+ writer.writeRepeatedString(
2330
+ 1,
2331
+ f
2332
+ );
2333
+ }
2334
+ };
2335
+
2336
+
2337
+ /**
2338
+ * repeated string targets = 1;
2339
+ * @return {!Array<string>}
2340
+ */
2341
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.getTargetsList = function() {
2342
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2343
+ };
2344
+
2345
+
2346
+ /**
2347
+ * @param {!Array<string>} value
2348
+ * @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
2349
+ */
2350
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.setTargetsList = function(value) {
2351
+ return jspb.Message.setField(this, 1, value || []);
2352
+ };
2353
+
2354
+
2355
+ /**
2356
+ * @param {string} value
2357
+ * @param {number=} opt_index
2358
+ * @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
2359
+ */
2360
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.addTargets = function(value, opt_index) {
2361
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2362
+ };
2363
+
2364
+
2365
+ /**
2366
+ * Clears the list making it empty but non-null.
2367
+ * @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
2368
+ */
2369
+ proto.lansweeper.scanningconfig.v1.Agentless.prototype.clearTargetsList = function() {
2370
+ return this.setTargetsList([]);
2371
+ };
2372
+
2373
+
2144
2374
 
2145
2375
 
2146
2376
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-go v1.31.0
3
+ // protoc-gen-go v1.33.0
4
4
  // protoc v3.19.1
5
5
  // source: scanningconfig.proto
6
6
 
@@ -164,7 +164,7 @@ func (x Agent_ScanFocus) Number() protoreflect.EnumNumber {
164
164
 
165
165
  // Deprecated: Use Agent_ScanFocus.Descriptor instead.
166
166
  func (Agent_ScanFocus) EnumDescriptor() ([]byte, []int) {
167
- return file_scanningconfig_proto_rawDescGZIP(), []int{9, 0}
167
+ return file_scanningconfig_proto_rawDescGZIP(), []int{10, 0}
168
168
  }
169
169
 
170
170
  type Credential_CredentialType int32
@@ -207,7 +207,7 @@ func (x Credential_CredentialType) Number() protoreflect.EnumNumber {
207
207
 
208
208
  // Deprecated: Use Credential_CredentialType.Descriptor instead.
209
209
  func (Credential_CredentialType) EnumDescriptor() ([]byte, []int) {
210
- return file_scanningconfig_proto_rawDescGZIP(), []int{10, 0}
210
+ return file_scanningconfig_proto_rawDescGZIP(), []int{11, 0}
211
211
  }
212
212
 
213
213
  type GetConfigurationsBySourceRequest struct {
@@ -678,7 +678,9 @@ type Action struct {
678
678
  ActionType Action_ActionType `protobuf:"varint,2,opt,name=action_type,json=actionType,proto3,enum=lansweeper.scanningconfig.v1.Action_ActionType" json:"action_type,omitempty"`
679
679
  Credentials []*Credential `protobuf:"bytes,3,rep,name=credentials,proto3" json:"credentials,omitempty"`
680
680
  // Types that are assignable to Definition:
681
+ //
681
682
  // *Action_Agent
683
+ // *Action_Agentless
682
684
  Definition isAction_Definition `protobuf_oneof:"definition"`
683
685
  }
684
686
 
@@ -749,6 +751,13 @@ func (x *Action) GetAgent() *Agent {
749
751
  return nil
750
752
  }
751
753
 
754
+ func (x *Action) GetAgentless() *Agentless {
755
+ if x, ok := x.GetDefinition().(*Action_Agentless); ok {
756
+ return x.Agentless
757
+ }
758
+ return nil
759
+ }
760
+
752
761
  type isAction_Definition interface {
753
762
  isAction_Definition()
754
763
  }
@@ -757,8 +766,61 @@ type Action_Agent struct {
757
766
  Agent *Agent `protobuf:"bytes,4,opt,name=agent,proto3,oneof"`
758
767
  }
759
768
 
769
+ type Action_Agentless struct {
770
+ Agentless *Agentless `protobuf:"bytes,5,opt,name=agentless,proto3,oneof"`
771
+ }
772
+
760
773
  func (*Action_Agent) isAction_Definition() {}
761
774
 
775
+ func (*Action_Agentless) isAction_Definition() {}
776
+
777
+ type Agentless struct {
778
+ state protoimpl.MessageState
779
+ sizeCache protoimpl.SizeCache
780
+ unknownFields protoimpl.UnknownFields
781
+
782
+ Targets []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
783
+ }
784
+
785
+ func (x *Agentless) Reset() {
786
+ *x = Agentless{}
787
+ if protoimpl.UnsafeEnabled {
788
+ mi := &file_scanningconfig_proto_msgTypes[9]
789
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
790
+ ms.StoreMessageInfo(mi)
791
+ }
792
+ }
793
+
794
+ func (x *Agentless) String() string {
795
+ return protoimpl.X.MessageStringOf(x)
796
+ }
797
+
798
+ func (*Agentless) ProtoMessage() {}
799
+
800
+ func (x *Agentless) ProtoReflect() protoreflect.Message {
801
+ mi := &file_scanningconfig_proto_msgTypes[9]
802
+ if protoimpl.UnsafeEnabled && x != nil {
803
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
804
+ if ms.LoadMessageInfo() == nil {
805
+ ms.StoreMessageInfo(mi)
806
+ }
807
+ return ms
808
+ }
809
+ return mi.MessageOf(x)
810
+ }
811
+
812
+ // Deprecated: Use Agentless.ProtoReflect.Descriptor instead.
813
+ func (*Agentless) Descriptor() ([]byte, []int) {
814
+ return file_scanningconfig_proto_rawDescGZIP(), []int{9}
815
+ }
816
+
817
+ func (x *Agentless) GetTargets() []string {
818
+ if x != nil {
819
+ return x.Targets
820
+ }
821
+ return nil
822
+ }
823
+
762
824
  type Agent struct {
763
825
  state protoimpl.MessageState
764
826
  sizeCache protoimpl.SizeCache
@@ -770,7 +832,7 @@ type Agent struct {
770
832
  func (x *Agent) Reset() {
771
833
  *x = Agent{}
772
834
  if protoimpl.UnsafeEnabled {
773
- mi := &file_scanningconfig_proto_msgTypes[9]
835
+ mi := &file_scanningconfig_proto_msgTypes[10]
774
836
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
775
837
  ms.StoreMessageInfo(mi)
776
838
  }
@@ -783,7 +845,7 @@ func (x *Agent) String() string {
783
845
  func (*Agent) ProtoMessage() {}
784
846
 
785
847
  func (x *Agent) ProtoReflect() protoreflect.Message {
786
- mi := &file_scanningconfig_proto_msgTypes[9]
848
+ mi := &file_scanningconfig_proto_msgTypes[10]
787
849
  if protoimpl.UnsafeEnabled && x != nil {
788
850
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
789
851
  if ms.LoadMessageInfo() == nil {
@@ -796,7 +858,7 @@ func (x *Agent) ProtoReflect() protoreflect.Message {
796
858
 
797
859
  // Deprecated: Use Agent.ProtoReflect.Descriptor instead.
798
860
  func (*Agent) Descriptor() ([]byte, []int) {
799
- return file_scanningconfig_proto_rawDescGZIP(), []int{9}
861
+ return file_scanningconfig_proto_rawDescGZIP(), []int{10}
800
862
  }
801
863
 
802
864
  func (x *Agent) GetScanFocus() Agent_ScanFocus {
@@ -817,7 +879,7 @@ type Credential struct {
817
879
  func (x *Credential) Reset() {
818
880
  *x = Credential{}
819
881
  if protoimpl.UnsafeEnabled {
820
- mi := &file_scanningconfig_proto_msgTypes[10]
882
+ mi := &file_scanningconfig_proto_msgTypes[11]
821
883
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
822
884
  ms.StoreMessageInfo(mi)
823
885
  }
@@ -830,7 +892,7 @@ func (x *Credential) String() string {
830
892
  func (*Credential) ProtoMessage() {}
831
893
 
832
894
  func (x *Credential) ProtoReflect() protoreflect.Message {
833
- mi := &file_scanningconfig_proto_msgTypes[10]
895
+ mi := &file_scanningconfig_proto_msgTypes[11]
834
896
  if protoimpl.UnsafeEnabled && x != nil {
835
897
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
836
898
  if ms.LoadMessageInfo() == nil {
@@ -843,7 +905,7 @@ func (x *Credential) ProtoReflect() protoreflect.Message {
843
905
 
844
906
  // Deprecated: Use Credential.ProtoReflect.Descriptor instead.
845
907
  func (*Credential) Descriptor() ([]byte, []int) {
846
- return file_scanningconfig_proto_rawDescGZIP(), []int{10}
908
+ return file_scanningconfig_proto_rawDescGZIP(), []int{11}
847
909
  }
848
910
 
849
911
  func (x *Credential) GetType() Credential_CredentialType {
@@ -937,7 +999,7 @@ var file_scanningconfig_proto_rawDesc = []byte{
937
999
  0x6f, 0x72, 0x6b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x63,
938
1000
  0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x26, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
939
1001
  0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20,
940
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x22, 0xde, 0x02,
1002
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x22, 0xa7, 0x03,
941
1003
  0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67,
942
1004
  0x67, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6c, 0x61, 0x6e,
943
1005
  0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
@@ -956,10 +1018,17 @@ var file_scanningconfig_proto_rawDesc = []byte{
956
1018
  0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77,
957
1019
  0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f,
958
1020
  0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52,
959
- 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x28, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
960
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
961
- 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01,
962
- 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85,
1021
+ 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c,
1022
+ 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73,
1023
+ 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63,
1024
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65,
1025
+ 0x73, 0x73, 0x48, 0x00, 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x6c, 0x65, 0x73, 0x73, 0x22,
1026
+ 0x28, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a,
1027
+ 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09,
1028
+ 0x0a, 0x05, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x64, 0x65, 0x66,
1029
+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x09, 0x41, 0x67, 0x65, 0x6e, 0x74,
1030
+ 0x6c, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18,
1031
+ 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0x85,
963
1032
  0x01, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x73, 0x63, 0x61, 0x6e,
964
1033
  0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6c,
965
1034
  0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69,
@@ -1005,7 +1074,7 @@ func file_scanningconfig_proto_rawDescGZIP() []byte {
1005
1074
  }
1006
1075
 
1007
1076
  var file_scanningconfig_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
1008
- var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
1077
+ var file_scanningconfig_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1009
1078
  var file_scanningconfig_proto_goTypes = []interface{}{
1010
1079
  (Component_ComponentType)(0), // 0: lansweeper.scanningconfig.v1.Component.ComponentType
1011
1080
  (Action_ActionType)(0), // 1: lansweeper.scanningconfig.v1.Action.ActionType
@@ -1020,8 +1089,9 @@ var file_scanningconfig_proto_goTypes = []interface{}{
1020
1089
  (*OperationalConfig)(nil), // 10: lansweeper.scanningconfig.v1.OperationalConfig
1021
1090
  (*Trigger)(nil), // 11: lansweeper.scanningconfig.v1.Trigger
1022
1091
  (*Action)(nil), // 12: lansweeper.scanningconfig.v1.Action
1023
- (*Agent)(nil), // 13: lansweeper.scanningconfig.v1.Agent
1024
- (*Credential)(nil), // 14: lansweeper.scanningconfig.v1.Credential
1092
+ (*Agentless)(nil), // 13: lansweeper.scanningconfig.v1.Agentless
1093
+ (*Agent)(nil), // 14: lansweeper.scanningconfig.v1.Agent
1094
+ (*Credential)(nil), // 15: lansweeper.scanningconfig.v1.Credential
1025
1095
  }
1026
1096
  var file_scanningconfig_proto_depIdxs = []int32{
1027
1097
  6, // 0: lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse.configs:type_name -> lansweeper.scanningconfig.v1.Component
@@ -1033,17 +1103,18 @@ var file_scanningconfig_proto_depIdxs = []int32{
1033
1103
  8, // 6: lansweeper.scanningconfig.v1.OperationalConfig.network_visibility_config:type_name -> lansweeper.scanningconfig.v1.NetworkVisibility
1034
1104
  11, // 7: lansweeper.scanningconfig.v1.Action.triggers:type_name -> lansweeper.scanningconfig.v1.Trigger
1035
1105
  1, // 8: lansweeper.scanningconfig.v1.Action.action_type:type_name -> lansweeper.scanningconfig.v1.Action.ActionType
1036
- 14, // 9: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
1037
- 13, // 10: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
1038
- 2, // 11: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
1039
- 3, // 12: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
1040
- 4, // 13: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1041
- 5, // 14: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1042
- 14, // [14:15] is the sub-list for method output_type
1043
- 13, // [13:14] is the sub-list for method input_type
1044
- 13, // [13:13] is the sub-list for extension type_name
1045
- 13, // [13:13] is the sub-list for extension extendee
1046
- 0, // [0:13] is the sub-list for field type_name
1106
+ 15, // 9: lansweeper.scanningconfig.v1.Action.credentials:type_name -> lansweeper.scanningconfig.v1.Credential
1107
+ 14, // 10: lansweeper.scanningconfig.v1.Action.agent:type_name -> lansweeper.scanningconfig.v1.Agent
1108
+ 13, // 11: lansweeper.scanningconfig.v1.Action.agentless:type_name -> lansweeper.scanningconfig.v1.Agentless
1109
+ 2, // 12: lansweeper.scanningconfig.v1.Agent.scan_focus:type_name -> lansweeper.scanningconfig.v1.Agent.ScanFocus
1110
+ 3, // 13: lansweeper.scanningconfig.v1.Credential.type:type_name -> lansweeper.scanningconfig.v1.Credential.CredentialType
1111
+ 4, // 14: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:input_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest
1112
+ 5, // 15: lansweeper.scanningconfig.v1.ScanningConfigService.GetConfigurationsBySource:output_type -> lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse
1113
+ 15, // [15:16] is the sub-list for method output_type
1114
+ 14, // [14:15] is the sub-list for method input_type
1115
+ 14, // [14:14] is the sub-list for extension type_name
1116
+ 14, // [14:14] is the sub-list for extension extendee
1117
+ 0, // [0:14] is the sub-list for field type_name
1047
1118
  }
1048
1119
 
1049
1120
  func init() { file_scanningconfig_proto_init() }
@@ -1161,7 +1232,7 @@ func file_scanningconfig_proto_init() {
1161
1232
  }
1162
1233
  }
1163
1234
  file_scanningconfig_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1164
- switch v := v.(*Agent); i {
1235
+ switch v := v.(*Agentless); i {
1165
1236
  case 0:
1166
1237
  return &v.state
1167
1238
  case 1:
@@ -1173,6 +1244,18 @@ func file_scanningconfig_proto_init() {
1173
1244
  }
1174
1245
  }
1175
1246
  file_scanningconfig_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1247
+ switch v := v.(*Agent); i {
1248
+ case 0:
1249
+ return &v.state
1250
+ case 1:
1251
+ return &v.sizeCache
1252
+ case 2:
1253
+ return &v.unknownFields
1254
+ default:
1255
+ return nil
1256
+ }
1257
+ }
1258
+ file_scanningconfig_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1176
1259
  switch v := v.(*Credential); i {
1177
1260
  case 0:
1178
1261
  return &v.state
@@ -1189,6 +1272,7 @@ func file_scanningconfig_proto_init() {
1189
1272
  file_scanningconfig_proto_msgTypes[6].OneofWrappers = []interface{}{}
1190
1273
  file_scanningconfig_proto_msgTypes[8].OneofWrappers = []interface{}{
1191
1274
  (*Action_Agent)(nil),
1275
+ (*Action_Agentless)(nil),
1192
1276
  }
1193
1277
  type x struct{}
1194
1278
  out := protoimpl.TypeBuilder{
@@ -1196,7 +1280,7 @@ func file_scanningconfig_proto_init() {
1196
1280
  GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1197
1281
  RawDescriptor: file_scanningconfig_proto_rawDesc,
1198
1282
  NumEnums: 4,
1199
- NumMessages: 11,
1283
+ NumMessages: 12,
1200
1284
  NumExtensions: 0,
1201
1285
  NumServices: 1,
1202
1286
  },
@@ -14,11 +14,11 @@ using System.Reflection;
14
14
  [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15
15
  [assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
16
16
  [assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
17
- [assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.0")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.1")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper ScanningConfig model/proto")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.ScanningConfig.GRPC")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.1.0")]
22
22
  [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
23
23
 
24
24
  // Generated by the MSBuild WriteCodeFragment class.
@@ -1 +1 @@
1
- f6b75295d927d0d9d4090d518ef7dfb84e150a19
1
+ b776ff5537a6aeac5410b033fbbad423237f8793
@@ -1 +1 @@
1
- 865f14b9856c81e2e5ecab8a8e4d40be645a7dcb
1
+ ec4446b0cedf0b4b1f7cb211cfe9e6d3589ab9c7
@@ -48,24 +48,26 @@ namespace Lansweeper.Scanningconfig.V1 {
48
48
  "bGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5OZXR3b3JrVmlzaWJpbGl0",
49
49
  "eUgCiAEBQhUKE19hc3NldF9yYWRhcl9jb25maWdCFQoTX2F1dG9fdXBkYXRl",
50
50
  "X2NvbmZpZ0IcChpfbmV0d29ya192aXNpYmlsaXR5X2NvbmZpZyIcCgdUcmln",
51
- "Z2VyEhEKCWNyb25fZXhwchgBIAEoCSK0AgoGQWN0aW9uEjcKCHRyaWdnZXJz",
51
+ "Z2VyEhEKCWNyb25fZXhwchgBIAEoCSLyAgoGQWN0aW9uEjcKCHRyaWdnZXJz",
52
52
  "GAEgAygLMiUubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5UcmlnZ2Vy",
53
53
  "EkQKC2FjdGlvbl90eXBlGAIgASgOMi8ubGFuc3dlZXBlci5zY2FubmluZ2Nv",
54
54
  "bmZpZy52MS5BY3Rpb24uQWN0aW9uVHlwZRI9CgtjcmVkZW50aWFscxgDIAMo",
55
55
  "CzIoLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQ3JlZGVudGlhbBI0",
56
56
  "CgVhZ2VudBgEIAEoCzIjLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEu",
57
- "QWdlbnRIACIoCgpBY3Rpb25UeXBlEg8KC1VOU1BFQ0lGSUVEEAASCQoFQUdF",
58
- "TlQQAUIMCgpkZWZpbml0aW9uInoKBUFnZW50EkEKCnNjYW5fZm9jdXMYASAB",
59
- "KA4yLS5sYW5zd2VlcGVyLnNjYW5uaW5nY29uZmlnLnYxLkFnZW50LlNjYW5G",
60
- "b2N1cyIuCglTY2FuRm9jdXMSBwoDQUxMEAASCQoFVVNFUlMQARINCglJTlZF",
61
- "TlRPUlkQAiJ2CgpDcmVkZW50aWFsEkUKBHR5cGUYASABKA4yNy5sYW5zd2Vl",
62
- "cGVyLnNjYW5uaW5nY29uZmlnLnYxLkNyZWRlbnRpYWwuQ3JlZGVudGlhbFR5",
63
- "cGUiIQoOQ3JlZGVudGlhbFR5cGUSDwoLVU5TUEVDSUZJRUQQADK4AQoVU2Nh",
64
- "bm5pbmdDb25maWdTZXJ2aWNlEp4BChlHZXRDb25maWd1cmF0aW9uc0J5U291",
65
- "cmNlEj4ubGFuc3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5HZXRDb25maWd1",
66
- "cmF0aW9uc0J5U291cmNlUmVxdWVzdBo/LmxhbnN3ZWVwZXIuc2Nhbm5pbmdj",
67
- "b25maWcudjEuR2V0Q29uZmlndXJhdGlvbnNCeVNvdXJjZVJlc3BvbnNlIgBC",
68
- "EFoOLi9nZW5lcmF0ZWQtZ29iBnByb3RvMw=="));
57
+ "QWdlbnRIABI8CglhZ2VudGxlc3MYBSABKAsyJy5sYW5zd2VlcGVyLnNjYW5u",
58
+ "aW5nY29uZmlnLnYxLkFnZW50bGVzc0gAIigKCkFjdGlvblR5cGUSDwoLVU5T",
59
+ "UEVDSUZJRUQQABIJCgVBR0VOVBABQgwKCmRlZmluaXRpb24iHAoJQWdlbnRs",
60
+ "ZXNzEg8KB3RhcmdldHMYASADKAkiegoFQWdlbnQSQQoKc2Nhbl9mb2N1cxgB",
61
+ "IAEoDjItLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQWdlbnQuU2Nh",
62
+ "bkZvY3VzIi4KCVNjYW5Gb2N1cxIHCgNBTEwQABIJCgVVU0VSUxABEg0KCUlO",
63
+ "VkVOVE9SWRACInYKCkNyZWRlbnRpYWwSRQoEdHlwZRgBIAEoDjI3LmxhbnN3",
64
+ "ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQ3JlZGVudGlhbC5DcmVkZW50aWFs",
65
+ "VHlwZSIhCg5DcmVkZW50aWFsVHlwZRIPCgtVTlNQRUNJRklFRBAAMrgBChVT",
66
+ "Y2FubmluZ0NvbmZpZ1NlcnZpY2USngEKGUdldENvbmZpZ3VyYXRpb25zQnlT",
67
+ "b3VyY2USPi5sYW5zd2VlcGVyLnNjYW5uaW5nY29uZmlnLnYxLkdldENvbmZp",
68
+ "Z3VyYXRpb25zQnlTb3VyY2VSZXF1ZXN0Gj8ubGFuc3dlZXBlci5zY2Fubmlu",
69
+ "Z2NvbmZpZy52MS5HZXRDb25maWd1cmF0aW9uc0J5U291cmNlUmVzcG9uc2Ui",
70
+ "AEIQWg4uL2dlbmVyYXRlZC1nb2IGcHJvdG8z"));
69
71
  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
70
72
  new pbr::FileDescriptor[] { },
71
73
  new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@@ -77,7 +79,8 @@ namespace Lansweeper.Scanningconfig.V1 {
77
79
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.AutoUpdate), global::Lansweeper.Scanningconfig.V1.AutoUpdate.Parser, new[]{ "Enabled", "Schedule" }, null, null, null, null),
78
80
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.OperationalConfig), global::Lansweeper.Scanningconfig.V1.OperationalConfig.Parser, new[]{ "AssetRadarConfig", "AutoUpdateConfig", "NetworkVisibilityConfig" }, new[]{ "AssetRadarConfig", "AutoUpdateConfig", "NetworkVisibilityConfig" }, null, null, null),
79
81
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Trigger), global::Lansweeper.Scanningconfig.V1.Trigger.Parser, new[]{ "CronExpr" }, null, null, null, null),
80
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Action), global::Lansweeper.Scanningconfig.V1.Action.Parser, new[]{ "Triggers", "ActionType", "Credentials", "Agent" }, new[]{ "Definition" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Action.Types.ActionType) }, null, null),
82
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Action), global::Lansweeper.Scanningconfig.V1.Action.Parser, new[]{ "Triggers", "ActionType", "Credentials", "Agent", "Agentless" }, new[]{ "Definition" }, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Action.Types.ActionType) }, null, null),
83
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agentless), global::Lansweeper.Scanningconfig.V1.Agentless.Parser, new[]{ "Targets" }, null, null, null, null),
81
84
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agent), global::Lansweeper.Scanningconfig.V1.Agent.Parser, new[]{ "ScanFocus" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Agent.Types.ScanFocus) }, null, null),
82
85
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Credential), global::Lansweeper.Scanningconfig.V1.Credential.Parser, new[]{ "Type" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType) }, null, null)
83
86
  }));
@@ -2018,6 +2021,9 @@ namespace Lansweeper.Scanningconfig.V1 {
2018
2021
  case DefinitionOneofCase.Agent:
2019
2022
  Agent = other.Agent.Clone();
2020
2023
  break;
2024
+ case DefinitionOneofCase.Agentless:
2025
+ Agentless = other.Agentless.Clone();
2026
+ break;
2021
2027
  }
2022
2028
 
2023
2029
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
@@ -2075,11 +2081,24 @@ namespace Lansweeper.Scanningconfig.V1 {
2075
2081
  }
2076
2082
  }
2077
2083
 
2084
+ /// <summary>Field number for the "agentless" field.</summary>
2085
+ public const int AgentlessFieldNumber = 5;
2086
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2087
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2088
+ public global::Lansweeper.Scanningconfig.V1.Agentless Agentless {
2089
+ get { return definitionCase_ == DefinitionOneofCase.Agentless ? (global::Lansweeper.Scanningconfig.V1.Agentless) definition_ : null; }
2090
+ set {
2091
+ definition_ = value;
2092
+ definitionCase_ = value == null ? DefinitionOneofCase.None : DefinitionOneofCase.Agentless;
2093
+ }
2094
+ }
2095
+
2078
2096
  private object definition_;
2079
2097
  /// <summary>Enum of possible cases for the "definition" oneof.</summary>
2080
2098
  public enum DefinitionOneofCase {
2081
2099
  None = 0,
2082
2100
  Agent = 4,
2101
+ Agentless = 5,
2083
2102
  }
2084
2103
  private DefinitionOneofCase definitionCase_ = DefinitionOneofCase.None;
2085
2104
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -2114,6 +2133,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2114
2133
  if (ActionType != other.ActionType) return false;
2115
2134
  if(!credentials_.Equals(other.credentials_)) return false;
2116
2135
  if (!object.Equals(Agent, other.Agent)) return false;
2136
+ if (!object.Equals(Agentless, other.Agentless)) return false;
2117
2137
  if (DefinitionCase != other.DefinitionCase) return false;
2118
2138
  return Equals(_unknownFields, other._unknownFields);
2119
2139
  }
@@ -2126,6 +2146,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2126
2146
  if (ActionType != global::Lansweeper.Scanningconfig.V1.Action.Types.ActionType.Unspecified) hash ^= ActionType.GetHashCode();
2127
2147
  hash ^= credentials_.GetHashCode();
2128
2148
  if (definitionCase_ == DefinitionOneofCase.Agent) hash ^= Agent.GetHashCode();
2149
+ if (definitionCase_ == DefinitionOneofCase.Agentless) hash ^= Agentless.GetHashCode();
2129
2150
  hash ^= (int) definitionCase_;
2130
2151
  if (_unknownFields != null) {
2131
2152
  hash ^= _unknownFields.GetHashCode();
@@ -2155,6 +2176,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2155
2176
  output.WriteRawTag(34);
2156
2177
  output.WriteMessage(Agent);
2157
2178
  }
2179
+ if (definitionCase_ == DefinitionOneofCase.Agentless) {
2180
+ output.WriteRawTag(42);
2181
+ output.WriteMessage(Agentless);
2182
+ }
2158
2183
  if (_unknownFields != null) {
2159
2184
  _unknownFields.WriteTo(output);
2160
2185
  }
@@ -2175,6 +2200,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2175
2200
  output.WriteRawTag(34);
2176
2201
  output.WriteMessage(Agent);
2177
2202
  }
2203
+ if (definitionCase_ == DefinitionOneofCase.Agentless) {
2204
+ output.WriteRawTag(42);
2205
+ output.WriteMessage(Agentless);
2206
+ }
2178
2207
  if (_unknownFields != null) {
2179
2208
  _unknownFields.WriteTo(ref output);
2180
2209
  }
@@ -2193,6 +2222,9 @@ namespace Lansweeper.Scanningconfig.V1 {
2193
2222
  if (definitionCase_ == DefinitionOneofCase.Agent) {
2194
2223
  size += 1 + pb::CodedOutputStream.ComputeMessageSize(Agent);
2195
2224
  }
2225
+ if (definitionCase_ == DefinitionOneofCase.Agentless) {
2226
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Agentless);
2227
+ }
2196
2228
  if (_unknownFields != null) {
2197
2229
  size += _unknownFields.CalculateSize();
2198
2230
  }
@@ -2217,6 +2249,12 @@ namespace Lansweeper.Scanningconfig.V1 {
2217
2249
  }
2218
2250
  Agent.MergeFrom(other.Agent);
2219
2251
  break;
2252
+ case DefinitionOneofCase.Agentless:
2253
+ if (Agentless == null) {
2254
+ Agentless = new global::Lansweeper.Scanningconfig.V1.Agentless();
2255
+ }
2256
+ Agentless.MergeFrom(other.Agentless);
2257
+ break;
2220
2258
  }
2221
2259
 
2222
2260
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
@@ -2255,6 +2293,15 @@ namespace Lansweeper.Scanningconfig.V1 {
2255
2293
  Agent = subBuilder;
2256
2294
  break;
2257
2295
  }
2296
+ case 42: {
2297
+ global::Lansweeper.Scanningconfig.V1.Agentless subBuilder = new global::Lansweeper.Scanningconfig.V1.Agentless();
2298
+ if (definitionCase_ == DefinitionOneofCase.Agentless) {
2299
+ subBuilder.MergeFrom(Agentless);
2300
+ }
2301
+ input.ReadMessage(subBuilder);
2302
+ Agentless = subBuilder;
2303
+ break;
2304
+ }
2258
2305
  }
2259
2306
  }
2260
2307
  #endif
@@ -2291,6 +2338,15 @@ namespace Lansweeper.Scanningconfig.V1 {
2291
2338
  Agent = subBuilder;
2292
2339
  break;
2293
2340
  }
2341
+ case 42: {
2342
+ global::Lansweeper.Scanningconfig.V1.Agentless subBuilder = new global::Lansweeper.Scanningconfig.V1.Agentless();
2343
+ if (definitionCase_ == DefinitionOneofCase.Agentless) {
2344
+ subBuilder.MergeFrom(Agentless);
2345
+ }
2346
+ input.ReadMessage(subBuilder);
2347
+ Agentless = subBuilder;
2348
+ break;
2349
+ }
2294
2350
  }
2295
2351
  }
2296
2352
  }
@@ -2311,6 +2367,184 @@ namespace Lansweeper.Scanningconfig.V1 {
2311
2367
 
2312
2368
  }
2313
2369
 
2370
+ public sealed partial class Agentless : pb::IMessage<Agentless>
2371
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2372
+ , pb::IBufferMessage
2373
+ #endif
2374
+ {
2375
+ private static readonly pb::MessageParser<Agentless> _parser = new pb::MessageParser<Agentless>(() => new Agentless());
2376
+ private pb::UnknownFieldSet _unknownFields;
2377
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2378
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2379
+ public static pb::MessageParser<Agentless> Parser { get { return _parser; } }
2380
+
2381
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2382
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2383
+ public static pbr::MessageDescriptor Descriptor {
2384
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[9]; }
2385
+ }
2386
+
2387
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2388
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2389
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
2390
+ get { return Descriptor; }
2391
+ }
2392
+
2393
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2394
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2395
+ public Agentless() {
2396
+ OnConstruction();
2397
+ }
2398
+
2399
+ partial void OnConstruction();
2400
+
2401
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2402
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2403
+ public Agentless(Agentless other) : this() {
2404
+ targets_ = other.targets_.Clone();
2405
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2406
+ }
2407
+
2408
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2409
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2410
+ public Agentless Clone() {
2411
+ return new Agentless(this);
2412
+ }
2413
+
2414
+ /// <summary>Field number for the "targets" field.</summary>
2415
+ public const int TargetsFieldNumber = 1;
2416
+ private static readonly pb::FieldCodec<string> _repeated_targets_codec
2417
+ = pb::FieldCodec.ForString(10);
2418
+ private readonly pbc::RepeatedField<string> targets_ = new pbc::RepeatedField<string>();
2419
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2420
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2421
+ public pbc::RepeatedField<string> Targets {
2422
+ get { return targets_; }
2423
+ }
2424
+
2425
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2426
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2427
+ public override bool Equals(object other) {
2428
+ return Equals(other as Agentless);
2429
+ }
2430
+
2431
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2432
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2433
+ public bool Equals(Agentless other) {
2434
+ if (ReferenceEquals(other, null)) {
2435
+ return false;
2436
+ }
2437
+ if (ReferenceEquals(other, this)) {
2438
+ return true;
2439
+ }
2440
+ if(!targets_.Equals(other.targets_)) return false;
2441
+ return Equals(_unknownFields, other._unknownFields);
2442
+ }
2443
+
2444
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2445
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2446
+ public override int GetHashCode() {
2447
+ int hash = 1;
2448
+ hash ^= targets_.GetHashCode();
2449
+ if (_unknownFields != null) {
2450
+ hash ^= _unknownFields.GetHashCode();
2451
+ }
2452
+ return hash;
2453
+ }
2454
+
2455
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2456
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2457
+ public override string ToString() {
2458
+ return pb::JsonFormatter.ToDiagnosticString(this);
2459
+ }
2460
+
2461
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2462
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2463
+ public void WriteTo(pb::CodedOutputStream output) {
2464
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2465
+ output.WriteRawMessage(this);
2466
+ #else
2467
+ targets_.WriteTo(output, _repeated_targets_codec);
2468
+ if (_unknownFields != null) {
2469
+ _unknownFields.WriteTo(output);
2470
+ }
2471
+ #endif
2472
+ }
2473
+
2474
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2475
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2476
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2477
+ void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2478
+ targets_.WriteTo(ref output, _repeated_targets_codec);
2479
+ if (_unknownFields != null) {
2480
+ _unknownFields.WriteTo(ref output);
2481
+ }
2482
+ }
2483
+ #endif
2484
+
2485
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2486
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2487
+ public int CalculateSize() {
2488
+ int size = 0;
2489
+ size += targets_.CalculateSize(_repeated_targets_codec);
2490
+ if (_unknownFields != null) {
2491
+ size += _unknownFields.CalculateSize();
2492
+ }
2493
+ return size;
2494
+ }
2495
+
2496
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2497
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2498
+ public void MergeFrom(Agentless other) {
2499
+ if (other == null) {
2500
+ return;
2501
+ }
2502
+ targets_.Add(other.targets_);
2503
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2504
+ }
2505
+
2506
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2507
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2508
+ public void MergeFrom(pb::CodedInputStream input) {
2509
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2510
+ input.ReadRawMessage(this);
2511
+ #else
2512
+ uint tag;
2513
+ while ((tag = input.ReadTag()) != 0) {
2514
+ switch(tag) {
2515
+ default:
2516
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2517
+ break;
2518
+ case 10: {
2519
+ targets_.AddEntriesFrom(input, _repeated_targets_codec);
2520
+ break;
2521
+ }
2522
+ }
2523
+ }
2524
+ #endif
2525
+ }
2526
+
2527
+ #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2528
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2529
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2530
+ void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2531
+ uint tag;
2532
+ while ((tag = input.ReadTag()) != 0) {
2533
+ switch(tag) {
2534
+ default:
2535
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2536
+ break;
2537
+ case 10: {
2538
+ targets_.AddEntriesFrom(ref input, _repeated_targets_codec);
2539
+ break;
2540
+ }
2541
+ }
2542
+ }
2543
+ }
2544
+ #endif
2545
+
2546
+ }
2547
+
2314
2548
  public sealed partial class Agent : pb::IMessage<Agent>
2315
2549
  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2316
2550
  , pb::IBufferMessage
@@ -2325,7 +2559,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2325
2559
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2326
2560
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2327
2561
  public static pbr::MessageDescriptor Descriptor {
2328
- get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[9]; }
2562
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[10]; }
2329
2563
  }
2330
2564
 
2331
2565
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -2528,7 +2762,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2528
2762
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2529
2763
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2530
2764
  public static pbr::MessageDescriptor Descriptor {
2531
- get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[10]; }
2765
+ get { return global::Lansweeper.Scanningconfig.V1.ScanningconfigReflection.Descriptor.MessageTypes[11]; }
2532
2766
  }
2533
2767
 
2534
2768
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "projects": {
7
7
  "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj": {
8
- "version": "0.1.0",
8
+ "version": "0.1.1",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj",
11
11
  "projectName": "Lansweeper.ScanningConfig.GRPC",
@@ -70,7 +70,7 @@
70
70
  "privateAssets": "all"
71
71
  }
72
72
  },
73
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
73
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.420/RuntimeIdentifierGraph.json"
74
74
  }
75
75
  }
76
76
  }
@@ -7,7 +7,7 @@
7
7
  <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageRoot>
8
8
  <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageFolders>
9
9
  <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
- <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.3</NuGetToolVersion>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.4</NuGetToolVersion>
11
11
  </PropertyGroup>
12
12
  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
13
  <SourceRoot Include="/home/circleci/.nuget/packages/" />
@@ -247,7 +247,7 @@
247
247
  "/home/circleci/.nuget/packages/": {}
248
248
  },
249
249
  "project": {
250
- "version": "0.1.0",
250
+ "version": "0.1.1",
251
251
  "restore": {
252
252
  "projectUniqueName": "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj",
253
253
  "projectName": "Lansweeper.ScanningConfig.GRPC",
@@ -312,7 +312,7 @@
312
312
  "privateAssets": "all"
313
313
  }
314
314
  },
315
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
315
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.420/RuntimeIdentifierGraph.json"
316
316
  }
317
317
  }
318
318
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "JJrky55EGDnoqkuCkRSgPGudGDflOLV1L+qGJQHa7dzBA/HvNl8h6qJwrk3z4p4zh71nJ5SBHLy4QliU7Qd3/g==",
3
+ "dgSpecHash": "HojTRtIi+2JVWgtG3PLjR2dWw1OTw6ftfPi0hbEX1rXivO6qYCo9eyDiIPl/Yh1RSqenmL/4CE/mU02qZKuteA==",
4
4
  "success": true,
5
5
  "projectFilePath": "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj",
6
6
  "expectedPackageFiles": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/scanningconfig-grpc",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "ScanningConfig grpc",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -12,5 +12,5 @@
12
12
  "@grpc/grpc-js": "^1.6.2",
13
13
  "@types/google-protobuf": "^3.15.5"
14
14
  },
15
- "gitHead": "b0242e9abdfc3e2b386b96f9732be0728eae6d1b"
15
+ "gitHead": "a3138d77bbf1b8305bcc20d9c3bb97c70cb4efd9"
16
16
  }
@@ -69,9 +69,14 @@ message Action{
69
69
  repeated Credential credentials = 3;
70
70
  oneof definition {
71
71
  Agent agent = 4;
72
+ Agentless agentless = 5;
72
73
  }
73
74
  }
74
75
 
76
+ message Agentless{
77
+ repeated string targets = 1;
78
+ }
79
+
75
80
  message Agent{
76
81
  enum ScanFocus {
77
82
  ALL = 0;