@lansweeper/scanningconfig-grpc 0.0.2 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/Lansweeper.ScanningConfig.GRPC.csproj +12 -4
  3. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +86 -4
  4. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  5. package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  6. package/gen-proto/image.json +1 -1
  7. package/gen-proto/scanningconfig_pb.d.ts +34 -0
  8. package/gen-proto/scanningconfig_pb.js +298 -3
  9. package/generated-go/scanningconfig.pb.go +245 -140
  10. package/generated-go/scanningconfig_grpc.pb.go +1 -1
  11. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
  12. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
  13. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.assets.cache +0 -0
  14. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
  15. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -1
  16. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  17. package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
  18. package/obj/Debug/net6.0/dfe805b7589f203f_scanningconfig.protodep +2 -0
  19. package/{Scanningconfig.cs → obj/Debug/net6.0/proto/Scanningconfig.cs} +541 -49
  20. package/obj/Debug/net6.0/proto/ScanningconfigGrpc.cs +124 -0
  21. package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  22. package/obj/Debug/net6.0/refint/Lansweeper.ScanningConfig.GRPC.dll +0 -0
  23. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +12 -2
  24. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +7 -1
  25. package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.targets +5 -1
  26. package/obj/project.assets.json +209 -3
  27. package/obj/project.nuget.cache +6 -2
  28. package/package.json +2 -2
  29. package/proto/scanningconfig.proto +11 -2
  30. package/.useprotoc +0 -0
  31. package/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs +0 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.0...@lansweeper/scanningconfig-grpc@0.1.1) (2023-12-14)
7
+
8
+ **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
9
+
10
+
11
+
12
+
13
+
14
+ # [0.1.0](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.0.2...@lansweeper/scanningconfig-grpc@0.1.0) (2023-04-28)
15
+
16
+
17
+ ### Features
18
+
19
+ * ITD-825: Made GRPC services for client ([dd109e9](https://github.com/Lansweeper/lansweeperapis/commit/dd109e9a10e10f4c47edfa8946e0f1a0d49a9016))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.0.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.0.1...@lansweeper/scanningconfig-grpc@0.0.2) (2023-03-30)
7
26
 
8
27
  **Note:** Version bump only for package @lansweeper/scanningconfig-grpc
@@ -7,15 +7,23 @@
7
7
  <Company>Lansweeper</Company>
8
8
  <Product>Lansweeper ScanningConfig model/proto</Product>
9
9
  <Copyright>Lansweeper</Copyright>
10
- <PackageVersion>0.0.1</PackageVersion>
11
- <Version>0.0.1</Version>
12
- <FileVersion>0.0.1</FileVersion>
10
+ <PackageVersion>0.1.0</PackageVersion>
11
+ <Version>0.1.0</Version>
12
+ <FileVersion>0.1.0</FileVersion>
13
13
  <RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
14
14
  </PropertyGroup>
15
+ <ItemGroup>
16
+ <None Remove="proto\scanningconfig.proto"/>
17
+ </ItemGroup>
15
18
  <ItemGroup>
16
19
  <PackageReference Include="Google.Protobuf" Version="3.22.0"/>
20
+ <PackageReference Include="Grpc.Core" Version="2.46.6"/>
21
+ <PackageReference Include="Grpc.Tools" Version="2.54.0">
22
+ <PrivateAssets>all</PrivateAssets>
23
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
24
+ </PackageReference>
17
25
  </ItemGroup>
18
26
  <ItemGroup>
19
- <Protobuf Include=".scanningconfig.proto"/>
27
+ <Protobuf Include="proto\scanningconfig.proto" GrpcServices="Client"/>
20
28
  </ItemGroup>
21
29
  </Project>
@@ -6,9 +6,11 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v6.0": {
9
- "Lansweeper.ScanningConfig.GRPC/0.0.1": {
9
+ "Lansweeper.ScanningConfig.GRPC/0.1.0": {
10
10
  "dependencies": {
11
- "Google.Protobuf": "3.22.0"
11
+ "Google.Protobuf": "3.22.0",
12
+ "Grpc.Core": "2.46.6",
13
+ "Grpc.Tools": "2.54.0"
12
14
  },
13
15
  "runtime": {
14
16
  "Lansweeper.ScanningConfig.GRPC.dll": {}
@@ -21,11 +23,63 @@
21
23
  "fileVersion": "3.22.0.0"
22
24
  }
23
25
  }
24
- }
26
+ },
27
+ "Grpc.Core/2.46.6": {
28
+ "dependencies": {
29
+ "Grpc.Core.Api": "2.46.6",
30
+ "System.Memory": "4.5.3"
31
+ },
32
+ "runtime": {
33
+ "lib/netstandard2.0/Grpc.Core.dll": {
34
+ "assemblyVersion": "2.0.0.0",
35
+ "fileVersion": "2.46.6.0"
36
+ }
37
+ },
38
+ "runtimeTargets": {
39
+ "runtimes/linux-arm64/native/libgrpc_csharp_ext.arm64.so": {
40
+ "rid": "linux-arm64",
41
+ "assetType": "native",
42
+ "fileVersion": "0.0.0.0"
43
+ },
44
+ "runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so": {
45
+ "rid": "linux-x64",
46
+ "assetType": "native",
47
+ "fileVersion": "0.0.0.0"
48
+ },
49
+ "runtimes/osx-x64/native/libgrpc_csharp_ext.x64.dylib": {
50
+ "rid": "osx-x64",
51
+ "assetType": "native",
52
+ "fileVersion": "0.0.0.0"
53
+ },
54
+ "runtimes/win-x64/native/grpc_csharp_ext.x64.dll": {
55
+ "rid": "win-x64",
56
+ "assetType": "native",
57
+ "fileVersion": "0.0.0.0"
58
+ },
59
+ "runtimes/win-x86/native/grpc_csharp_ext.x86.dll": {
60
+ "rid": "win-x86",
61
+ "assetType": "native",
62
+ "fileVersion": "0.0.0.0"
63
+ }
64
+ }
65
+ },
66
+ "Grpc.Core.Api/2.46.6": {
67
+ "dependencies": {
68
+ "System.Memory": "4.5.3"
69
+ },
70
+ "runtime": {
71
+ "lib/netstandard2.1/Grpc.Core.Api.dll": {
72
+ "assemblyVersion": "2.0.0.0",
73
+ "fileVersion": "2.46.6.0"
74
+ }
75
+ }
76
+ },
77
+ "Grpc.Tools/2.54.0": {},
78
+ "System.Memory/4.5.3": {}
25
79
  }
26
80
  },
27
81
  "libraries": {
28
- "Lansweeper.ScanningConfig.GRPC/0.0.1": {
82
+ "Lansweeper.ScanningConfig.GRPC/0.1.0": {
29
83
  "type": "project",
30
84
  "serviceable": false,
31
85
  "sha512": ""
@@ -36,6 +90,34 @@
36
90
  "sha512": "sha512-UE1TRMrBBBmnA8xbqzTvX4sSwn+2W/Xxrs/v5Aws/7C8RD6fY6STi1eAnCu7Ez93oHcPdpyStGnFel/aIB407Q==",
37
91
  "path": "google.protobuf/3.22.0",
38
92
  "hashPath": "google.protobuf.3.22.0.nupkg.sha512"
93
+ },
94
+ "Grpc.Core/2.46.6": {
95
+ "type": "package",
96
+ "serviceable": true,
97
+ "sha512": "sha512-ZoRg3KmOJ2urTF4+u3H0b1Yv10xzz2Y/flFWS2tnRmj8dbKLeiJaSRqu4LOBD3ova90evqLkVZ85kUkC4JT4lw==",
98
+ "path": "grpc.core/2.46.6",
99
+ "hashPath": "grpc.core.2.46.6.nupkg.sha512"
100
+ },
101
+ "Grpc.Core.Api/2.46.6": {
102
+ "type": "package",
103
+ "serviceable": true,
104
+ "sha512": "sha512-Z7HJGqJYyKb53qfp1jf0wRDYs3sxOnkAFxXAW6q52LLmX/zxzjtFLI9eaWO5UC0weiWjn4iT1FzR+tj9qYZAMg==",
105
+ "path": "grpc.core.api/2.46.6",
106
+ "hashPath": "grpc.core.api.2.46.6.nupkg.sha512"
107
+ },
108
+ "Grpc.Tools/2.54.0": {
109
+ "type": "package",
110
+ "serviceable": true,
111
+ "sha512": "sha512-E+c9vTTSM1AHX5085MeF4J6QS0qACiz0Svm2zk+/F6gjuSo178gMLn7n6jMOSdF6OEHde5Cm86ouD8X49SrVbA==",
112
+ "path": "grpc.tools/2.54.0",
113
+ "hashPath": "grpc.tools.2.54.0.nupkg.sha512"
114
+ },
115
+ "System.Memory/4.5.3": {
116
+ "type": "package",
117
+ "serviceable": true,
118
+ "sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
119
+ "path": "system.memory/4.5.3",
120
+ "hashPath": "system.memory.4.5.3.nupkg.sha512"
39
121
  }
40
122
  }
41
123
  }
@@ -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}],"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"}]},{"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","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}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_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,82,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,30,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,3],"span":[32,0,35,1]},{"path":[4,3,1],"span":[32,8,18]},{"path":[4,3,2,0],"span":[33,2,19]},{"path":[4,3,2,0,5],"span":[33,2,6]},{"path":[4,3,2,0,1],"span":[33,7,14]},{"path":[4,3,2,0,3],"span":[33,17,18]},{"path":[4,3,2,1],"span":[34,2,42]},{"path":[4,3,2,1,4],"span":[34,2,10]},{"path":[4,3,2,1,5],"span":[34,11,17]},{"path":[4,3,2,1,1],"span":[34,18,37]},{"path":[4,3,2,1,3],"span":[34,40,41]},{"path":[4,4],"span":[37,0,40,1]},{"path":[4,4,1],"span":[37,8,18]},{"path":[4,4,2,0],"span":[38,2,19]},{"path":[4,4,2,0,5],"span":[38,2,6]},{"path":[4,4,2,0,1],"span":[38,7,14]},{"path":[4,4,2,0,3],"span":[38,17,18]},{"path":[4,4,2,1],"span":[39,2,22]},{"path":[4,4,2,1,5],"span":[39,2,8]},{"path":[4,4,2,1,1],"span":[39,9,17]},{"path":[4,4,2,1,3],"span":[39,20,21]},{"path":[4,5],"span":[42,0,45,1]},{"path":[4,5,1],"span":[42,8,25]},{"path":[4,5,2,0],"span":[43,2,45]},{"path":[4,5,2,0,4],"span":[43,2,10]},{"path":[4,5,2,0,6],"span":[43,11,21]},{"path":[4,5,2,0,1],"span":[43,22,40]},{"path":[4,5,2,0,3],"span":[43,43,44]},{"path":[4,5,2,1],"span":[44,2,45]},{"path":[4,5,2,1,4],"span":[44,2,10]},{"path":[4,5,2,1,6],"span":[44,11,21]},{"path":[4,5,2,1,1],"span":[44,22,40]},{"path":[4,5,2,1,3],"span":[44,43,44]},{"path":[4,6],"span":[47,0,49,1]},{"path":[4,6,1],"span":[47,8,15]},{"path":[4,6,2,0],"span":[48,2,22]},{"path":[4,6,2,0,5],"span":[48,2,8]},{"path":[4,6,2,0,1],"span":[48,9,18]},{"path":[4,6,2,0,3],"span":[48,20,21]},{"path":[4,7],"span":[51,0,63,1]},{"path":[4,7,1],"span":[51,8,14]},{"path":[4,7,4,0],"span":[52,2,55,3]},{"path":[4,7,4,0,1],"span":[52,7,17]},{"path":[4,7,4,0,2,0],"span":[53,4,20]},{"path":[4,7,4,0,2,0,1],"span":[53,4,15]},{"path":[4,7,4,0,2,0,2],"span":[53,18,19]},{"path":[4,7,4,0,2,1],"span":[54,4,14]},{"path":[4,7,4,0,2,1,1],"span":[54,4,9]},{"path":[4,7,4,0,2,1,2],"span":[54,12,13]},{"path":[4,7,2,0],"span":[57,2,32]},{"path":[4,7,2,0,4],"span":[57,2,10]},{"path":[4,7,2,0,6],"span":[57,11,18]},{"path":[4,7,2,0,1],"span":[57,19,27]},{"path":[4,7,2,0,3],"span":[57,30,31]},{"path":[4,7,2,1],"span":[58,2,29]},{"path":[4,7,2,1,6],"span":[58,2,12]},{"path":[4,7,2,1,1],"span":[58,13,24]},{"path":[4,7,2,1,3],"span":[58,27,28]},{"path":[4,7,2,2],"span":[59,2,38]},{"path":[4,7,2,2,4],"span":[59,2,10]},{"path":[4,7,2,2,6],"span":[59,11,21]},{"path":[4,7,2,2,1],"span":[59,22,33]},{"path":[4,7,2,2,3],"span":[59,36,37]},{"path":[4,7,8,0],"span":[60,2,62,3]},{"path":[4,7,8,0,1],"span":[60,8,18]},{"path":[4,7,2,3],"span":[61,4,20]},{"path":[4,7,2,3,6],"span":[61,4,9]},{"path":[4,7,2,3,1],"span":[61,10,15]},{"path":[4,7,2,3,3],"span":[61,18,19]},{"path":[4,8],"span":[65,0,73,1]},{"path":[4,8,1],"span":[65,8,13]},{"path":[4,8,4,0],"span":[66,2,70,3]},{"path":[4,8,4,0,1],"span":[66,7,16]},{"path":[4,8,4,0,2,0],"span":[67,4,12]},{"path":[4,8,4,0,2,0,1],"span":[67,4,7]},{"path":[4,8,4,0,2,0,2],"span":[67,10,11]},{"path":[4,8,4,0,2,1],"span":[68,4,14]},{"path":[4,8,4,0,2,1,1],"span":[68,4,9]},{"path":[4,8,4,0,2,1,2],"span":[68,12,13]},{"path":[4,8,4,0,2,2],"span":[69,4,18]},{"path":[4,8,4,0,2,2,1],"span":[69,4,13]},{"path":[4,8,4,0,2,2,2],"span":[69,16,17]},{"path":[4,8,2,0],"span":[72,2,27]},{"path":[4,8,2,0,6],"span":[72,2,11]},{"path":[4,8,2,0,1],"span":[72,12,22]},{"path":[4,8,2,0,3],"span":[72,25,26]},{"path":[4,9],"span":[75,0,82,1]},{"path":[4,9,1],"span":[75,8,18]},{"path":[4,9,4,0],"span":[76,2,79,3]},{"path":[4,9,4,0,1],"span":[76,7,21]},{"path":[4,9,4,0,2,0],"span":[78,4,20]},{"path":[4,9,4,0,2,0,1],"span":[78,4,15]},{"path":[4,9,4,0,2,0,2],"span":[78,18,19]},{"path":[4,9,2,0],"span":[81,2,26]},{"path":[4,9,2,0,6],"span":[81,2,16]},{"path":[4,9,2,0,1],"span":[81,17,21]},{"path":[4,9,2,0,3],"span":[81,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"}],"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}}]}
@@ -65,6 +65,8 @@ export class Component extends jspb.Message {
65
65
  clearOpConfig(): void;
66
66
  getOpConfig(): OperationalConfig | undefined;
67
67
  setOpConfig(value?: OperationalConfig): Component;
68
+ getEnabled(): boolean;
69
+ setEnabled(value: boolean): Component;
68
70
 
69
71
  serializeBinary(): Uint8Array;
70
72
  toObject(includeInstance?: boolean): Component.AsObject;
@@ -82,6 +84,7 @@ export namespace Component {
82
84
  type: Component.ComponentType,
83
85
  actionsList: Array<Action.AsObject>,
84
86
  opConfig?: OperationalConfig.AsObject,
87
+ enabled: boolean,
85
88
  }
86
89
 
87
90
  export enum ComponentType {
@@ -118,6 +121,31 @@ export namespace AssetRadar {
118
121
  }
119
122
  }
120
123
 
124
+ export class NetworkVisibility extends jspb.Message {
125
+ getEnabled(): boolean;
126
+ setEnabled(value: boolean): NetworkVisibility;
127
+ clearExcludedInterfacesList(): void;
128
+ getExcludedInterfacesList(): Array<string>;
129
+ setExcludedInterfacesList(value: Array<string>): NetworkVisibility;
130
+ addExcludedInterfaces(value: string, index?: number): string;
131
+
132
+ serializeBinary(): Uint8Array;
133
+ toObject(includeInstance?: boolean): NetworkVisibility.AsObject;
134
+ static toObject(includeInstance: boolean, msg: NetworkVisibility): NetworkVisibility.AsObject;
135
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
136
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
137
+ static serializeBinaryToWriter(message: NetworkVisibility, writer: jspb.BinaryWriter): void;
138
+ static deserializeBinary(bytes: Uint8Array): NetworkVisibility;
139
+ static deserializeBinaryFromReader(message: NetworkVisibility, reader: jspb.BinaryReader): NetworkVisibility;
140
+ }
141
+
142
+ export namespace NetworkVisibility {
143
+ export type AsObject = {
144
+ enabled: boolean,
145
+ excludedInterfacesList: Array<string>,
146
+ }
147
+ }
148
+
121
149
  export class AutoUpdate extends jspb.Message {
122
150
  getEnabled(): boolean;
123
151
  setEnabled(value: boolean): AutoUpdate;
@@ -153,6 +181,11 @@ export class OperationalConfig extends jspb.Message {
153
181
  getAutoUpdateConfig(): AutoUpdate | undefined;
154
182
  setAutoUpdateConfig(value?: AutoUpdate): OperationalConfig;
155
183
 
184
+ hasNetworkVisibilityConfig(): boolean;
185
+ clearNetworkVisibilityConfig(): void;
186
+ getNetworkVisibilityConfig(): NetworkVisibility | undefined;
187
+ setNetworkVisibilityConfig(value?: NetworkVisibility): OperationalConfig;
188
+
156
189
  serializeBinary(): Uint8Array;
157
190
  toObject(includeInstance?: boolean): OperationalConfig.AsObject;
158
191
  static toObject(includeInstance: boolean, msg: OperationalConfig): OperationalConfig.AsObject;
@@ -167,6 +200,7 @@ export namespace OperationalConfig {
167
200
  export type AsObject = {
168
201
  assetRadarConfig?: AssetRadar.AsObject,
169
202
  autoUpdateConfig?: AutoUpdate.AsObject,
203
+ networkVisibilityConfig?: NetworkVisibility.AsObject,
170
204
  }
171
205
  }
172
206