@lansweeper/scanningconfig-grpc 0.1.3 → 0.1.4

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.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.3...@lansweeper/scanningconfig-grpc@0.1.4) (2024-04-23)
7
+
8
+ **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.1.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.2...@lansweeper/scanningconfig-grpc@0.1.3) (2024-04-12)
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.2</PackageVersion>
11
- <Version>0.1.2</Version>
12
- <FileVersion>0.1.2</FileVersion>
10
+ <PackageVersion>0.1.3</PackageVersion>
11
+ <Version>0.1.3</Version>
12
+ <FileVersion>0.1.3</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.2": {
9
+ "Lansweeper.ScanningConfig.GRPC/0.1.3": {
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.2": {
82
+ "Lansweeper.ScanningConfig.GRPC/0.1.3": {
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"},{"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"}],"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,97,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,31,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,2,2,4],"span":[30,2,19]},{"path":[4,2,2,4,5],"span":[30,2,6]},{"path":[4,2,2,4,1],"span":[30,7,14]},{"path":[4,2,2,4,3],"span":[30,17,18]},{"path":[4,3],"span":[35,0,39,1]},{"path":[4,3,1],"span":[35,8,18]},{"path":[4,3,7],"span":[36,2,27]},{"path":[4,3,7,3],"span":[36,2,27]},{"path":[4,3,2,0],"span":[37,2,19]},{"path":[4,3,2,0,5],"span":[37,2,6]},{"path":[4,3,2,0,1],"span":[37,7,14]},{"path":[4,3,2,0,3],"span":[37,17,18]},{"path":[4,3,2,1],"span":[38,2,42]},{"path":[4,3,2,1,4],"span":[38,2,10]},{"path":[4,3,2,1,5],"span":[38,11,17]},{"path":[4,3,2,1,1],"span":[38,18,37]},{"path":[4,3,2,1,3],"span":[38,40,41]},{"path":[4,4],"span":[41,0,44,1]},{"path":[4,4,1],"span":[41,8,25]},{"path":[4,4,2,0],"span":[42,2,19]},{"path":[4,4,2,0,5],"span":[42,2,6]},{"path":[4,4,2,0,1],"span":[42,7,14]},{"path":[4,4,2,0,3],"span":[42,17,18]},{"path":[4,4,2,1],"span":[43,2,42]},{"path":[4,4,2,1,4],"span":[43,2,10]},{"path":[4,4,2,1,5],"span":[43,11,17]},{"path":[4,4,2,1,1],"span":[43,18,37]},{"path":[4,4,2,1,3],"span":[43,40,41]},{"path":[4,5],"span":[45,0,48,1]},{"path":[4,5,1],"span":[45,8,18]},{"path":[4,5,2,0],"span":[46,2,19]},{"path":[4,5,2,0,5],"span":[46,2,6]},{"path":[4,5,2,0,1],"span":[46,7,14]},{"path":[4,5,2,0,3],"span":[46,17,18]},{"path":[4,5,2,1],"span":[47,2,22]},{"path":[4,5,2,1,5],"span":[47,2,8]},{"path":[4,5,2,1,1],"span":[47,9,17]},{"path":[4,5,2,1,3],"span":[47,20,21]},{"path":[4,6],"span":[50,0,54,1]},{"path":[4,6,1],"span":[50,8,25]},{"path":[4,6,2,0],"span":[51,2,65]},{"path":[4,6,2,0,4],"span":[51,2,10]},{"path":[4,6,2,0,6],"span":[51,11,21]},{"path":[4,6,2,0,1],"span":[51,22,40]},{"path":[4,6,2,0,3],"span":[51,43,44]},{"path":[4,6,2,0,8],"span":[51,45,64]},{"path":[4,6,2,0,8,3],"span":[51,46,63]},{"path":[4,6,2,1],"span":[52,2,45]},{"path":[4,6,2,1,4],"span":[52,2,10]},{"path":[4,6,2,1,6],"span":[52,11,21]},{"path":[4,6,2,1,1],"span":[52,22,40]},{"path":[4,6,2,1,3],"span":[52,43,44]},{"path":[4,6,2,2],"span":[53,2,59]},{"path":[4,6,2,2,4],"span":[53,2,10]},{"path":[4,6,2,2,6],"span":[53,11,28]},{"path":[4,6,2,2,1],"span":[53,29,54]},{"path":[4,6,2,2,3],"span":[53,57,58]},{"path":[4,7],"span":[56,0,58,1]},{"path":[4,7,1],"span":[56,8,15]},{"path":[4,7,2,0],"span":[57,2,22]},{"path":[4,7,2,0,5],"span":[57,2,8]},{"path":[4,7,2,0,1],"span":[57,9,18]},{"path":[4,7,2,0,3],"span":[57,20,21]},{"path":[4,8],"span":[60,0,74,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,65,3]},{"path":[4,8,4,0,1],"span":[61,7,17]},{"path":[4,8,4,0,2,0],"span":[62,4,20]},{"path":[4,8,4,0,2,0,1],"span":[62,4,15]},{"path":[4,8,4,0,2,0,2],"span":[62,18,19]},{"path":[4,8,4,0,2,1],"span":[63,4,14]},{"path":[4,8,4,0,2,1,1],"span":[63,4,9]},{"path":[4,8,4,0,2,1,2],"span":[63,12,13]},{"path":[4,8,4,0,2,2],"span":[64,4,18]},{"path":[4,8,4,0,2,2,1],"span":[64,4,13]},{"path":[4,8,4,0,2,2,2],"span":[64,16,17]},{"path":[4,8,2,0],"span":[67,2,32]},{"path":[4,8,2,0,4],"span":[67,2,10]},{"path":[4,8,2,0,6],"span":[67,11,18]},{"path":[4,8,2,0,1],"span":[67,19,27]},{"path":[4,8,2,0,3],"span":[67,30,31]},{"path":[4,8,2,1],"span":[68,2,29]},{"path":[4,8,2,1,6],"span":[68,2,12]},{"path":[4,8,2,1,1],"span":[68,13,24]},{"path":[4,8,2,1,3],"span":[68,27,28]},{"path":[4,8,2,2],"span":[69,2,38]},{"path":[4,8,2,2,4],"span":[69,2,10]},{"path":[4,8,2,2,6],"span":[69,11,21]},{"path":[4,8,2,2,1],"span":[69,22,33]},{"path":[4,8,2,2,3],"span":[69,36,37]},{"path":[4,8,8,0],"span":[70,2,73,3]},{"path":[4,8,8,0,1],"span":[70,8,18]},{"path":[4,8,2,3],"span":[71,4,20]},{"path":[4,8,2,3,6],"span":[71,4,9]},{"path":[4,8,2,3,1],"span":[71,10,15]},{"path":[4,8,2,3,3],"span":[71,18,19]},{"path":[4,8,2,4],"span":[72,4,28]},{"path":[4,8,2,4,6],"span":[72,4,13]},{"path":[4,8,2,4,1],"span":[72,14,23]},{"path":[4,8,2,4,3],"span":[72,26,27]},{"path":[4,9],"span":[76,0,78,1]},{"path":[4,9,1],"span":[76,8,17]},{"path":[4,9,2,0],"span":[77,2,30]},{"path":[4,9,2,0,4],"span":[77,2,10]},{"path":[4,9,2,0,5],"span":[77,11,17]},{"path":[4,9,2,0,1],"span":[77,18,25]},{"path":[4,9,2,0,3],"span":[77,28,29]},{"path":[4,10],"span":[80,0,88,1]},{"path":[4,10,1],"span":[80,8,13]},{"path":[4,10,4,0],"span":[81,2,85,3]},{"path":[4,10,4,0,1],"span":[81,7,16]},{"path":[4,10,4,0,2,0],"span":[82,4,12]},{"path":[4,10,4,0,2,0,1],"span":[82,4,7]},{"path":[4,10,4,0,2,0,2],"span":[82,10,11]},{"path":[4,10,4,0,2,1],"span":[83,4,14]},{"path":[4,10,4,0,2,1,1],"span":[83,4,9]},{"path":[4,10,4,0,2,1,2],"span":[83,12,13]},{"path":[4,10,4,0,2,2],"span":[84,4,18]},{"path":[4,10,4,0,2,2,1],"span":[84,4,13]},{"path":[4,10,4,0,2,2,2],"span":[84,16,17]},{"path":[4,10,2,0],"span":[87,2,27]},{"path":[4,10,2,0,6],"span":[87,2,11]},{"path":[4,10,2,0,1],"span":[87,12,22]},{"path":[4,10,2,0,3],"span":[87,25,26]},{"path":[4,11],"span":[90,0,97,1]},{"path":[4,11,1],"span":[90,8,18]},{"path":[4,11,4,0],"span":[91,2,94,3]},{"path":[4,11,4,0,1],"span":[91,7,21]},{"path":[4,11,4,0,2,0],"span":[93,4,20]},{"path":[4,11,4,0,2,0,1],"span":[93,4,15]},{"path":[4,11,4,0,2,0,2],"span":[93,18,19]},{"path":[4,11,2,0],"span":[96,2,26]},{"path":[4,11,2,0,6],"span":[96,2,16]},{"path":[4,11,2,0,1],"span":[96,17,21]},{"path":[4,11,2,0,3],"span":[96,24,25]}]},"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},{"name":"AGENTLESS","number":2}]}],"oneofDecl":[{"name":"definition"}]},{"name":"Agentless","field":[{"name":"targets","number":1,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"targets"}]},{"name":"Agent","field":[{"name":"scan_focus","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Agent.ScanFocus","jsonName":"scanFocus"}],"enumType":[{"name":"ScanFocus","value":[{"name":"ALL","number":0},{"name":"USERS","number":1},{"name":"INVENTORY","number":2}]}]},{"name":"Credential","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Credential.CredentialType","jsonName":"type"},{"name":"id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"}],"enumType":[{"name":"CredentialType","value":[{"name":"UNSPECIFIED","number":0}]}]}],"service":[{"name":"ScanningConfigService","method":[{"name":"GetConfigurationsBySource","inputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceRequest","outputType":".lansweeper.scanningconfig.v1.GetConfigurationsBySourceResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,98,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,37]},{"path":[8],"span":[3,0,37]},{"path":[8,11],"span":[3,0,37]},{"path":[6,0],"span":[5,0,7,1]},{"path":[6,0,1],"span":[5,8,29]},{"path":[6,0,2,0],"span":[6,2,112]},{"path":[6,0,2,0,1],"span":[6,6,31]},{"path":[6,0,2,0,2],"span":[6,32,64]},{"path":[6,0,2,0,3],"span":[6,75,108]},{"path":[4,0],"span":[9,0,12,1]},{"path":[4,0,1],"span":[9,8,40]},{"path":[4,0,2,0],"span":[10,2,23]},{"path":[4,0,2,0,5],"span":[10,2,8]},{"path":[4,0,2,0,1],"span":[10,9,18]},{"path":[4,0,2,0,3],"span":[10,21,22]},{"path":[4,0,2,1],"span":[11,2,21]},{"path":[4,0,2,1,5],"span":[11,2,8]},{"path":[4,0,2,1,1],"span":[11,9,16]},{"path":[4,0,2,1,3],"span":[11,19,20]},{"path":[4,1],"span":[14,0,16,1]},{"path":[4,1,1],"span":[14,8,41]},{"path":[4,1,2,0],"span":[15,2,33]},{"path":[4,1,2,0,4],"span":[15,2,10]},{"path":[4,1,2,0,6],"span":[15,11,20]},{"path":[4,1,2,0,1],"span":[15,21,28]},{"path":[4,1,2,0,3],"span":[15,31,32]},{"path":[4,2],"span":[18,0,31,1]},{"path":[4,2,1],"span":[18,8,17]},{"path":[4,2,4,0],"span":[19,2,24,3]},{"path":[4,2,4,0,1],"span":[19,7,20]},{"path":[4,2,4,0,2,0],"span":[20,4,20]},{"path":[4,2,4,0,2,0,1],"span":[20,4,15]},{"path":[4,2,4,0,2,0,2],"span":[20,18,19]},{"path":[4,2,4,0,2,1],"span":[21,4,14]},{"path":[4,2,4,0,2,1,1],"span":[21,4,9]},{"path":[4,2,4,0,2,1,2],"span":[21,12,13]},{"path":[4,2,4,0,2,2],"span":[22,4,18]},{"path":[4,2,4,0,2,2,1],"span":[22,4,13]},{"path":[4,2,4,0,2,2,2],"span":[22,16,17]},{"path":[4,2,4,0,2,3],"span":[23,4,15]},{"path":[4,2,4,0,2,3,1],"span":[23,4,10]},{"path":[4,2,4,0,2,3,2],"span":[23,13,14]},{"path":[4,2,2,0],"span":[26,2,16]},{"path":[4,2,2,0,5],"span":[26,2,8]},{"path":[4,2,2,0,1],"span":[26,9,11]},{"path":[4,2,2,0,3],"span":[26,14,15]},{"path":[4,2,2,1],"span":[27,2,25]},{"path":[4,2,2,1,6],"span":[27,2,15]},{"path":[4,2,2,1,1],"span":[27,16,20]},{"path":[4,2,2,1,3],"span":[27,23,24]},{"path":[4,2,2,2],"span":[28,2,30]},{"path":[4,2,2,2,4],"span":[28,2,10]},{"path":[4,2,2,2,6],"span":[28,11,17]},{"path":[4,2,2,2,1],"span":[28,18,25]},{"path":[4,2,2,2,3],"span":[28,28,29]},{"path":[4,2,2,3],"span":[29,2,43]},{"path":[4,2,2,3,4],"span":[29,2,10]},{"path":[4,2,2,3,6],"span":[29,11,28]},{"path":[4,2,2,3,1],"span":[29,29,38]},{"path":[4,2,2,3,3],"span":[29,41,42]},{"path":[4,2,2,4],"span":[30,2,19]},{"path":[4,2,2,4,5],"span":[30,2,6]},{"path":[4,2,2,4,1],"span":[30,7,14]},{"path":[4,2,2,4,3],"span":[30,17,18]},{"path":[4,3],"span":[35,0,39,1]},{"path":[4,3,1],"span":[35,8,18]},{"path":[4,3,7],"span":[36,2,27]},{"path":[4,3,7,3],"span":[36,2,27]},{"path":[4,3,2,0],"span":[37,2,19]},{"path":[4,3,2,0,5],"span":[37,2,6]},{"path":[4,3,2,0,1],"span":[37,7,14]},{"path":[4,3,2,0,3],"span":[37,17,18]},{"path":[4,3,2,1],"span":[38,2,42]},{"path":[4,3,2,1,4],"span":[38,2,10]},{"path":[4,3,2,1,5],"span":[38,11,17]},{"path":[4,3,2,1,1],"span":[38,18,37]},{"path":[4,3,2,1,3],"span":[38,40,41]},{"path":[4,4],"span":[41,0,44,1]},{"path":[4,4,1],"span":[41,8,25]},{"path":[4,4,2,0],"span":[42,2,19]},{"path":[4,4,2,0,5],"span":[42,2,6]},{"path":[4,4,2,0,1],"span":[42,7,14]},{"path":[4,4,2,0,3],"span":[42,17,18]},{"path":[4,4,2,1],"span":[43,2,42]},{"path":[4,4,2,1,4],"span":[43,2,10]},{"path":[4,4,2,1,5],"span":[43,11,17]},{"path":[4,4,2,1,1],"span":[43,18,37]},{"path":[4,4,2,1,3],"span":[43,40,41]},{"path":[4,5],"span":[45,0,48,1]},{"path":[4,5,1],"span":[45,8,18]},{"path":[4,5,2,0],"span":[46,2,19]},{"path":[4,5,2,0,5],"span":[46,2,6]},{"path":[4,5,2,0,1],"span":[46,7,14]},{"path":[4,5,2,0,3],"span":[46,17,18]},{"path":[4,5,2,1],"span":[47,2,22]},{"path":[4,5,2,1,5],"span":[47,2,8]},{"path":[4,5,2,1,1],"span":[47,9,17]},{"path":[4,5,2,1,3],"span":[47,20,21]},{"path":[4,6],"span":[50,0,54,1]},{"path":[4,6,1],"span":[50,8,25]},{"path":[4,6,2,0],"span":[51,2,65]},{"path":[4,6,2,0,4],"span":[51,2,10]},{"path":[4,6,2,0,6],"span":[51,11,21]},{"path":[4,6,2,0,1],"span":[51,22,40]},{"path":[4,6,2,0,3],"span":[51,43,44]},{"path":[4,6,2,0,8],"span":[51,45,64]},{"path":[4,6,2,0,8,3],"span":[51,46,63]},{"path":[4,6,2,1],"span":[52,2,45]},{"path":[4,6,2,1,4],"span":[52,2,10]},{"path":[4,6,2,1,6],"span":[52,11,21]},{"path":[4,6,2,1,1],"span":[52,22,40]},{"path":[4,6,2,1,3],"span":[52,43,44]},{"path":[4,6,2,2],"span":[53,2,59]},{"path":[4,6,2,2,4],"span":[53,2,10]},{"path":[4,6,2,2,6],"span":[53,11,28]},{"path":[4,6,2,2,1],"span":[53,29,54]},{"path":[4,6,2,2,3],"span":[53,57,58]},{"path":[4,7],"span":[56,0,58,1]},{"path":[4,7,1],"span":[56,8,15]},{"path":[4,7,2,0],"span":[57,2,22]},{"path":[4,7,2,0,5],"span":[57,2,8]},{"path":[4,7,2,0,1],"span":[57,9,18]},{"path":[4,7,2,0,3],"span":[57,20,21]},{"path":[4,8],"span":[60,0,74,1]},{"path":[4,8,1],"span":[60,8,14]},{"path":[4,8,4,0],"span":[61,2,65,3]},{"path":[4,8,4,0,1],"span":[61,7,17]},{"path":[4,8,4,0,2,0],"span":[62,4,20]},{"path":[4,8,4,0,2,0,1],"span":[62,4,15]},{"path":[4,8,4,0,2,0,2],"span":[62,18,19]},{"path":[4,8,4,0,2,1],"span":[63,4,14]},{"path":[4,8,4,0,2,1,1],"span":[63,4,9]},{"path":[4,8,4,0,2,1,2],"span":[63,12,13]},{"path":[4,8,4,0,2,2],"span":[64,4,18]},{"path":[4,8,4,0,2,2,1],"span":[64,4,13]},{"path":[4,8,4,0,2,2,2],"span":[64,16,17]},{"path":[4,8,2,0],"span":[67,2,32]},{"path":[4,8,2,0,4],"span":[67,2,10]},{"path":[4,8,2,0,6],"span":[67,11,18]},{"path":[4,8,2,0,1],"span":[67,19,27]},{"path":[4,8,2,0,3],"span":[67,30,31]},{"path":[4,8,2,1],"span":[68,2,29]},{"path":[4,8,2,1,6],"span":[68,2,12]},{"path":[4,8,2,1,1],"span":[68,13,24]},{"path":[4,8,2,1,3],"span":[68,27,28]},{"path":[4,8,2,2],"span":[69,2,38]},{"path":[4,8,2,2,4],"span":[69,2,10]},{"path":[4,8,2,2,6],"span":[69,11,21]},{"path":[4,8,2,2,1],"span":[69,22,33]},{"path":[4,8,2,2,3],"span":[69,36,37]},{"path":[4,8,8,0],"span":[70,2,73,3]},{"path":[4,8,8,0,1],"span":[70,8,18]},{"path":[4,8,2,3],"span":[71,4,20]},{"path":[4,8,2,3,6],"span":[71,4,9]},{"path":[4,8,2,3,1],"span":[71,10,15]},{"path":[4,8,2,3,3],"span":[71,18,19]},{"path":[4,8,2,4],"span":[72,4,28]},{"path":[4,8,2,4,6],"span":[72,4,13]},{"path":[4,8,2,4,1],"span":[72,14,23]},{"path":[4,8,2,4,3],"span":[72,26,27]},{"path":[4,9],"span":[76,0,78,1]},{"path":[4,9,1],"span":[76,8,17]},{"path":[4,9,2,0],"span":[77,2,30]},{"path":[4,9,2,0,4],"span":[77,2,10]},{"path":[4,9,2,0,5],"span":[77,11,17]},{"path":[4,9,2,0,1],"span":[77,18,25]},{"path":[4,9,2,0,3],"span":[77,28,29]},{"path":[4,10],"span":[80,0,88,1]},{"path":[4,10,1],"span":[80,8,13]},{"path":[4,10,4,0],"span":[81,2,85,3]},{"path":[4,10,4,0,1],"span":[81,7,16]},{"path":[4,10,4,0,2,0],"span":[82,4,12]},{"path":[4,10,4,0,2,0,1],"span":[82,4,7]},{"path":[4,10,4,0,2,0,2],"span":[82,10,11]},{"path":[4,10,4,0,2,1],"span":[83,4,14]},{"path":[4,10,4,0,2,1,1],"span":[83,4,9]},{"path":[4,10,4,0,2,1,2],"span":[83,12,13]},{"path":[4,10,4,0,2,2],"span":[84,4,18]},{"path":[4,10,4,0,2,2,1],"span":[84,4,13]},{"path":[4,10,4,0,2,2,2],"span":[84,16,17]},{"path":[4,10,2,0],"span":[87,2,27]},{"path":[4,10,2,0,6],"span":[87,2,11]},{"path":[4,10,2,0,1],"span":[87,12,22]},{"path":[4,10,2,0,3],"span":[87,25,26]},{"path":[4,11],"span":[90,0,98,1]},{"path":[4,11,1],"span":[90,8,18]},{"path":[4,11,4,0],"span":[91,2,94,3]},{"path":[4,11,4,0,1],"span":[91,7,21]},{"path":[4,11,4,0,2,0],"span":[93,4,20]},{"path":[4,11,4,0,2,0,1],"span":[93,4,15]},{"path":[4,11,4,0,2,0,2],"span":[93,18,19]},{"path":[4,11,2,0],"span":[96,2,26]},{"path":[4,11,2,0,6],"span":[96,2,16]},{"path":[4,11,2,0,1],"span":[96,17,21]},{"path":[4,11,2,0,3],"span":[96,24,25]},{"path":[4,11,2,1],"span":[97,2,16]},{"path":[4,11,2,1,5],"span":[97,2,8]},{"path":[4,11,2,1,1],"span":[97,9,11]},{"path":[4,11,2,1,3],"span":[97,14,15]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -334,6 +334,8 @@ export namespace Agent {
334
334
  export class Credential extends jspb.Message {
335
335
  getType(): Credential.CredentialType;
336
336
  setType(value: Credential.CredentialType): Credential;
337
+ getId(): string;
338
+ setId(value: string): Credential;
337
339
 
338
340
  serializeBinary(): Uint8Array;
339
341
  toObject(includeInstance?: boolean): Credential.AsObject;
@@ -348,6 +350,7 @@ export class Credential extends jspb.Message {
348
350
  export namespace Credential {
349
351
  export type AsObject = {
350
352
  type: Credential.CredentialType,
353
+ id: string,
351
354
  }
352
355
 
353
356
  export enum CredentialType {
@@ -2543,7 +2543,8 @@ proto.lansweeper.scanningconfig.v1.Credential.prototype.toObject = function(opt_
2543
2543
  */
2544
2544
  proto.lansweeper.scanningconfig.v1.Credential.toObject = function(includeInstance, msg) {
2545
2545
  var f, obj = {
2546
- type: jspb.Message.getFieldWithDefault(msg, 1, 0)
2546
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
2547
+ id: jspb.Message.getFieldWithDefault(msg, 2, "")
2547
2548
  };
2548
2549
 
2549
2550
  if (includeInstance) {
@@ -2584,6 +2585,10 @@ proto.lansweeper.scanningconfig.v1.Credential.deserializeBinaryFromReader = func
2584
2585
  var value = /** @type {!proto.lansweeper.scanningconfig.v1.Credential.CredentialType} */ (reader.readEnum());
2585
2586
  msg.setType(value);
2586
2587
  break;
2588
+ case 2:
2589
+ var value = /** @type {string} */ (reader.readString());
2590
+ msg.setId(value);
2591
+ break;
2587
2592
  default:
2588
2593
  reader.skipField();
2589
2594
  break;
@@ -2620,6 +2625,13 @@ proto.lansweeper.scanningconfig.v1.Credential.serializeBinaryToWriter = function
2620
2625
  f
2621
2626
  );
2622
2627
  }
2628
+ f = message.getId();
2629
+ if (f.length > 0) {
2630
+ writer.writeString(
2631
+ 2,
2632
+ f
2633
+ );
2634
+ }
2623
2635
  };
2624
2636
 
2625
2637
 
@@ -2648,4 +2660,22 @@ proto.lansweeper.scanningconfig.v1.Credential.prototype.setType = function(value
2648
2660
  };
2649
2661
 
2650
2662
 
2663
+ /**
2664
+ * optional string id = 2;
2665
+ * @return {string}
2666
+ */
2667
+ proto.lansweeper.scanningconfig.v1.Credential.prototype.getId = function() {
2668
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2669
+ };
2670
+
2671
+
2672
+ /**
2673
+ * @param {string} value
2674
+ * @return {!proto.lansweeper.scanningconfig.v1.Credential} returns this
2675
+ */
2676
+ proto.lansweeper.scanningconfig.v1.Credential.prototype.setId = function(value) {
2677
+ return jspb.Message.setProto3StringField(this, 2, value);
2678
+ };
2679
+
2680
+
2651
2681
  goog.object.extend(exports, proto.lansweeper.scanningconfig.v1);
@@ -877,6 +877,7 @@ type Credential struct {
877
877
  unknownFields protoimpl.UnknownFields
878
878
 
879
879
  Type Credential_CredentialType `protobuf:"varint,1,opt,name=type,proto3,enum=lansweeper.scanningconfig.v1.Credential_CredentialType" json:"type,omitempty"`
880
+ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
880
881
  }
881
882
 
882
883
  func (x *Credential) Reset() {
@@ -918,6 +919,13 @@ func (x *Credential) GetType() Credential_CredentialType {
918
919
  return Credential_UNSPECIFIED
919
920
  }
920
921
 
922
+ func (x *Credential) GetId() string {
923
+ if x != nil {
924
+ return x.Id
925
+ }
926
+ return ""
927
+ }
928
+
921
929
  var File_scanningconfig_proto protoreflect.FileDescriptor
922
930
 
923
931
  var file_scanningconfig_proto_rawDesc = []byte{
@@ -1041,28 +1049,29 @@ var file_scanningconfig_proto_rawDesc = []byte{
1041
1049
  0x46, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x2e, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x46, 0x6f, 0x63,
1042
1050
  0x75, 0x73, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x55,
1043
1051
  0x53, 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x56, 0x45, 0x4e, 0x54,
1044
- 0x4f, 0x52, 0x59, 0x10, 0x02, 0x22, 0x7c, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
1045
- 0x69, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1046
- 0x0e, 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73,
1047
- 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31,
1048
- 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x64,
1049
- 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
1050
- 0x22, 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79,
1051
- 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1052
- 0x44, 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
1053
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e, 0x01,
1054
- 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
1055
- 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3e, 0x2e, 0x6c, 0x61,
1056
- 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e,
1057
- 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f,
1058
- 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f,
1059
- 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x6c, 0x61,
1060
- 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e,
1061
- 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f,
1062
- 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f,
1063
- 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x10,
1064
- 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f,
1065
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1052
+ 0x4f, 0x52, 0x59, 0x10, 0x02, 0x22, 0x8c, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
1053
+ 0x74, 0x69, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
1054
+ 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e,
1055
+ 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76,
1056
+ 0x31, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65,
1057
+ 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
1058
+ 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
1059
+ 0x64, 0x22, 0x21, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54,
1060
+ 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
1061
+ 0x45, 0x44, 0x10, 0x00, 0x32, 0xb8, 0x01, 0x0a, 0x15, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e,
1062
+ 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9e,
1063
+ 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
1064
+ 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3e, 0x2e, 0x6c,
1065
+ 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69,
1066
+ 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43,
1067
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53,
1068
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x6c,
1069
+ 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x69,
1070
+ 0x6e, 0x67, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43,
1071
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x53,
1072
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
1073
+ 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67,
1074
+ 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1066
1075
  }
1067
1076
 
1068
1077
  var (
@@ -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.2")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.2")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.3")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.3")]
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.2.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.3.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
- 1d264bdca7f687ae118ed3b140c3bd7b3de52957
1
+ e6acf2de0f7b03a81ea43743ac6ab64abfd52004
@@ -60,14 +60,15 @@ namespace Lansweeper.Scanningconfig.V1 {
60
60
  "aXRpb24iHAoJQWdlbnRsZXNzEg8KB3RhcmdldHMYASADKAkiegoFQWdlbnQS",
61
61
  "QQoKc2Nhbl9mb2N1cxgBIAEoDjItLmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25m",
62
62
  "aWcudjEuQWdlbnQuU2NhbkZvY3VzIi4KCVNjYW5Gb2N1cxIHCgNBTEwQABIJ",
63
- "CgVVU0VSUxABEg0KCUlOVkVOVE9SWRACInYKCkNyZWRlbnRpYWwSRQoEdHlw",
64
- "ZRgBIAEoDjI3LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuQ3JlZGVu",
65
- "dGlhbC5DcmVkZW50aWFsVHlwZSIhCg5DcmVkZW50aWFsVHlwZRIPCgtVTlNQ",
66
- "RUNJRklFRBAAMrgBChVTY2FubmluZ0NvbmZpZ1NlcnZpY2USngEKGUdldENv",
67
- "bmZpZ3VyYXRpb25zQnlTb3VyY2USPi5sYW5zd2VlcGVyLnNjYW5uaW5nY29u",
68
- "ZmlnLnYxLkdldENvbmZpZ3VyYXRpb25zQnlTb3VyY2VSZXF1ZXN0Gj8ubGFu",
69
- "c3dlZXBlci5zY2FubmluZ2NvbmZpZy52MS5HZXRDb25maWd1cmF0aW9uc0J5",
70
- "U291cmNlUmVzcG9uc2UiAEIQWg4uL2dlbmVyYXRlZC1nb2IGcHJvdG8z"));
63
+ "CgVVU0VSUxABEg0KCUlOVkVOVE9SWRACIoIBCgpDcmVkZW50aWFsEkUKBHR5",
64
+ "cGUYASABKA4yNy5sYW5zd2VlcGVyLnNjYW5uaW5nY29uZmlnLnYxLkNyZWRl",
65
+ "bnRpYWwuQ3JlZGVudGlhbFR5cGUSCgoCaWQYAiABKAkiIQoOQ3JlZGVudGlh",
66
+ "bFR5cGUSDwoLVU5TUEVDSUZJRUQQADK4AQoVU2Nhbm5pbmdDb25maWdTZXJ2",
67
+ "aWNlEp4BChlHZXRDb25maWd1cmF0aW9uc0J5U291cmNlEj4ubGFuc3dlZXBl",
68
+ "ci5zY2FubmluZ2NvbmZpZy52MS5HZXRDb25maWd1cmF0aW9uc0J5U291cmNl",
69
+ "UmVxdWVzdBo/LmxhbnN3ZWVwZXIuc2Nhbm5pbmdjb25maWcudjEuR2V0Q29u",
70
+ "ZmlndXJhdGlvbnNCeVNvdXJjZVJlc3BvbnNlIgBCEFoOLi9nZW5lcmF0ZWQt",
71
+ "Z29iBnByb3RvMw=="));
71
72
  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
72
73
  new pbr::FileDescriptor[] { },
73
74
  new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@@ -82,7 +83,7 @@ namespace Lansweeper.Scanningconfig.V1 {
82
83
  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
84
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Agentless), global::Lansweeper.Scanningconfig.V1.Agentless.Parser, new[]{ "Targets" }, null, null, null, null),
84
85
  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),
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)
86
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Scanningconfig.V1.Credential), global::Lansweeper.Scanningconfig.V1.Credential.Parser, new[]{ "Type", "Id" }, null, new[]{ typeof(global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType) }, null, null)
86
87
  }));
87
88
  }
88
89
  #endregion
@@ -2784,6 +2785,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2784
2785
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2785
2786
  public Credential(Credential other) : this() {
2786
2787
  type_ = other.type_;
2788
+ id_ = other.id_;
2787
2789
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2788
2790
  }
2789
2791
 
@@ -2805,6 +2807,18 @@ namespace Lansweeper.Scanningconfig.V1 {
2805
2807
  }
2806
2808
  }
2807
2809
 
2810
+ /// <summary>Field number for the "id" field.</summary>
2811
+ public const int IdFieldNumber = 2;
2812
+ private string id_ = "";
2813
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2814
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2815
+ public string Id {
2816
+ get { return id_; }
2817
+ set {
2818
+ id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2819
+ }
2820
+ }
2821
+
2808
2822
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2809
2823
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2810
2824
  public override bool Equals(object other) {
@@ -2821,6 +2835,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2821
2835
  return true;
2822
2836
  }
2823
2837
  if (Type != other.Type) return false;
2838
+ if (Id != other.Id) return false;
2824
2839
  return Equals(_unknownFields, other._unknownFields);
2825
2840
  }
2826
2841
 
@@ -2829,6 +2844,7 @@ namespace Lansweeper.Scanningconfig.V1 {
2829
2844
  public override int GetHashCode() {
2830
2845
  int hash = 1;
2831
2846
  if (Type != global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType.Unspecified) hash ^= Type.GetHashCode();
2847
+ if (Id.Length != 0) hash ^= Id.GetHashCode();
2832
2848
  if (_unknownFields != null) {
2833
2849
  hash ^= _unknownFields.GetHashCode();
2834
2850
  }
@@ -2851,6 +2867,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2851
2867
  output.WriteRawTag(8);
2852
2868
  output.WriteEnum((int) Type);
2853
2869
  }
2870
+ if (Id.Length != 0) {
2871
+ output.WriteRawTag(18);
2872
+ output.WriteString(Id);
2873
+ }
2854
2874
  if (_unknownFields != null) {
2855
2875
  _unknownFields.WriteTo(output);
2856
2876
  }
@@ -2865,6 +2885,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2865
2885
  output.WriteRawTag(8);
2866
2886
  output.WriteEnum((int) Type);
2867
2887
  }
2888
+ if (Id.Length != 0) {
2889
+ output.WriteRawTag(18);
2890
+ output.WriteString(Id);
2891
+ }
2868
2892
  if (_unknownFields != null) {
2869
2893
  _unknownFields.WriteTo(ref output);
2870
2894
  }
@@ -2878,6 +2902,9 @@ namespace Lansweeper.Scanningconfig.V1 {
2878
2902
  if (Type != global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType.Unspecified) {
2879
2903
  size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
2880
2904
  }
2905
+ if (Id.Length != 0) {
2906
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
2907
+ }
2881
2908
  if (_unknownFields != null) {
2882
2909
  size += _unknownFields.CalculateSize();
2883
2910
  }
@@ -2893,6 +2920,9 @@ namespace Lansweeper.Scanningconfig.V1 {
2893
2920
  if (other.Type != global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType.Unspecified) {
2894
2921
  Type = other.Type;
2895
2922
  }
2923
+ if (other.Id.Length != 0) {
2924
+ Id = other.Id;
2925
+ }
2896
2926
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2897
2927
  }
2898
2928
 
@@ -2912,6 +2942,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2912
2942
  Type = (global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType) input.ReadEnum();
2913
2943
  break;
2914
2944
  }
2945
+ case 18: {
2946
+ Id = input.ReadString();
2947
+ break;
2948
+ }
2915
2949
  }
2916
2950
  }
2917
2951
  #endif
@@ -2931,6 +2965,10 @@ namespace Lansweeper.Scanningconfig.V1 {
2931
2965
  Type = (global::Lansweeper.Scanningconfig.V1.Credential.Types.CredentialType) input.ReadEnum();
2932
2966
  break;
2933
2967
  }
2968
+ case 18: {
2969
+ Id = input.ReadString();
2970
+ break;
2971
+ }
2934
2972
  }
2935
2973
  }
2936
2974
  }
@@ -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.2",
8
+ "version": "0.1.3",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj",
11
11
  "projectName": "Lansweeper.ScanningConfig.GRPC",
@@ -247,7 +247,7 @@
247
247
  "/home/circleci/.nuget/packages/": {}
248
248
  },
249
249
  "project": {
250
- "version": "0.1.2",
250
+ "version": "0.1.3",
251
251
  "restore": {
252
252
  "projectUniqueName": "/home/circleci/project/packages/scanningconfig/grpc/Lansweeper.ScanningConfig.GRPC.csproj",
253
253
  "projectName": "Lansweeper.ScanningConfig.GRPC",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "eHbrJKVq49YnYdc6XvCCIbFAsCvzimgumLBHPJxm8KQWLNpKIqCjz3wl0wy1B/Mdnjl1tAa6OvesZp+UYOZ9XA==",
3
+ "dgSpecHash": "vk2Mb1mLP2sZFtR6UrAPtWNpEmZYIxaCG3p/Y22K+76W/jOAgI8rxjpgcmOF8lpPnMiXLtS6O6kA0+kyKhjTxg==",
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.3",
3
+ "version": "0.1.4",
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": "d7a714b0e3b5d3c79e912e805b8b63bf118f7347"
15
+ "gitHead": "64db52d668095d24571e046cb4899d32b48a5f7c"
16
16
  }
@@ -95,4 +95,5 @@ message Credential{
95
95
  }
96
96
 
97
97
  CredentialType type = 1;
98
+ string id = 2;
98
99
  }