@lansweeper/scanningconfig-grpc 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_pb.d.ts +30 -0
- package/gen-proto/scanningconfig_pb.js +235 -4
- package/generated-go/scanningconfig.pb.go +148 -60
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.csproj.CoreCompileInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Scanningconfig.cs +251 -16
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +2 -2
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.g.props +1 -1
- package/obj/project.assets.json +2 -2
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.1.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.2...@lansweeper/scanningconfig-grpc@0.1.3) (2024-04-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.1.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/scanningconfig-grpc@0.1.1...@lansweeper/scanningconfig-grpc@0.1.2) (2024-04-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [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
23
|
|
|
8
24
|
**Note:** Version bump only for package @lansweeper/scanningconfig-grpc
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper ScanningConfig model/proto</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.1.
|
|
11
|
-
<Version>0.1.
|
|
12
|
-
<FileVersion>0.1.
|
|
10
|
+
<PackageVersion>0.1.2</PackageVersion>
|
|
11
|
+
<Version>0.1.2</Version>
|
|
12
|
+
<FileVersion>0.1.2</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
15
|
<ItemGroup>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.ScanningConfig.GRPC/0.1.
|
|
9
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.2": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Google.Protobuf": "3.22.0",
|
|
12
12
|
"Grpc.Core": "2.46.6",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"libraries": {
|
|
82
|
-
"Lansweeper.ScanningConfig.GRPC/0.1.
|
|
82
|
+
"Lansweeper.ScanningConfig.GRPC/0.1.2": {
|
|
83
83
|
"type": "project",
|
|
84
84
|
"serviceable": false,
|
|
85
85
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/scanningconfig.proto","package":"lansweeper.scanningconfig.v1","messageType":[{"name":"GetConfigurationsBySourceRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"}]},{"name":"GetConfigurationsBySourceResponse","field":[{"name":"configs","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Component","jsonName":"configs"}]},{"name":"Component","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Component.ComponentType","jsonName":"type"},{"name":"actions","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Action","jsonName":"actions"},{"name":"op_config","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.OperationalConfig","oneofIndex":0,"jsonName":"opConfig","proto3Optional":true},{"name":"enabled","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"}],"enumType":[{"name":"ComponentType","value":[{"name":"UNSPECIFIED","number":0},{"name":"AGENT","number":1},{"name":"IT_SENSOR","number":2},{"name":"IT_HUB","number":3}]}],"oneofDecl":[{"name":"_op_config"}]},{"name":"AssetRadar","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}],"options":{"deprecated":true}},{"name":"NetworkVisibility","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"excluded_interfaces","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"excludedInterfaces"}]},{"name":"AutoUpdate","field":[{"name":"enabled","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"enabled"},{"name":"schedule","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"schedule"}]},{"name":"OperationalConfig","field":[{"name":"asset_radar_config","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AssetRadar","oneofIndex":0,"jsonName":"assetRadarConfig","options":{"deprecated":true},"proto3Optional":true},{"name":"auto_update_config","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.AutoUpdate","oneofIndex":1,"jsonName":"autoUpdateConfig","proto3Optional":true},{"name":"network_visibility_config","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.NetworkVisibility","oneofIndex":2,"jsonName":"networkVisibilityConfig","proto3Optional":true}],"oneofDecl":[{"name":"_asset_radar_config"},{"name":"_auto_update_config"},{"name":"_network_visibility_config"}]},{"name":"Trigger","field":[{"name":"cron_expr","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cronExpr"}]},{"name":"Action","field":[{"name":"triggers","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Trigger","jsonName":"triggers"},{"name":"action_type","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.scanningconfig.v1.Action.ActionType","jsonName":"actionType"},{"name":"credentials","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Credential","jsonName":"credentials"},{"name":"agent","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.scanningconfig.v1.Agent","oneofIndex":0,"jsonName":"agent"}],"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},{"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}}]}
|
|
@@ -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,21 +264,46 @@ 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 {
|
|
265
271
|
UNSPECIFIED = 0,
|
|
266
272
|
AGENT = 1,
|
|
273
|
+
AGENTLESS = 2,
|
|
267
274
|
}
|
|
268
275
|
|
|
269
276
|
|
|
270
277
|
export enum DefinitionCase {
|
|
271
278
|
DEFINITION_NOT_SET = 0,
|
|
272
279
|
AGENT = 4,
|
|
280
|
+
AGENTLESS = 5,
|
|
273
281
|
}
|
|
274
282
|
|
|
275
283
|
}
|
|
276
284
|
|
|
285
|
+
export class Agentless extends jspb.Message {
|
|
286
|
+
clearTargetsList(): void;
|
|
287
|
+
getTargetsList(): Array<string>;
|
|
288
|
+
setTargetsList(value: Array<string>): Agentless;
|
|
289
|
+
addTargets(value: string, index?: number): string;
|
|
290
|
+
|
|
291
|
+
serializeBinary(): Uint8Array;
|
|
292
|
+
toObject(includeInstance?: boolean): Agentless.AsObject;
|
|
293
|
+
static toObject(includeInstance: boolean, msg: Agentless): Agentless.AsObject;
|
|
294
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
295
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
296
|
+
static serializeBinaryToWriter(message: Agentless, writer: jspb.BinaryWriter): void;
|
|
297
|
+
static deserializeBinary(bytes: Uint8Array): Agentless;
|
|
298
|
+
static deserializeBinaryFromReader(message: Agentless, reader: jspb.BinaryReader): Agentless;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export namespace Agentless {
|
|
302
|
+
export type AsObject = {
|
|
303
|
+
targetsList: Array<string>,
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
277
307
|
export class Agent extends jspb.Message {
|
|
278
308
|
getScanFocus(): Agent.ScanFocus;
|
|
279
309
|
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
|
|
|
@@ -2007,7 +2044,8 @@ proto.lansweeper.scanningconfig.v1.Action.serializeBinaryToWriter = function(mes
|
|
|
2007
2044
|
*/
|
|
2008
2045
|
proto.lansweeper.scanningconfig.v1.Action.ActionType = {
|
|
2009
2046
|
UNSPECIFIED: 0,
|
|
2010
|
-
AGENT: 1
|
|
2047
|
+
AGENT: 1,
|
|
2048
|
+
AGENTLESS: 2
|
|
2011
2049
|
};
|
|
2012
2050
|
|
|
2013
2051
|
/**
|
|
@@ -2141,6 +2179,199 @@ proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgent = function() {
|
|
|
2141
2179
|
};
|
|
2142
2180
|
|
|
2143
2181
|
|
|
2182
|
+
/**
|
|
2183
|
+
* optional Agentless agentless = 5;
|
|
2184
|
+
* @return {?proto.lansweeper.scanningconfig.v1.Agentless}
|
|
2185
|
+
*/
|
|
2186
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.getAgentless = function() {
|
|
2187
|
+
return /** @type{?proto.lansweeper.scanningconfig.v1.Agentless} */ (
|
|
2188
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.scanningconfig.v1.Agentless, 5));
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* @param {?proto.lansweeper.scanningconfig.v1.Agentless|undefined} value
|
|
2194
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
|
|
2195
|
+
*/
|
|
2196
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.setAgentless = function(value) {
|
|
2197
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.lansweeper.scanningconfig.v1.Action.oneofGroups_[0], value);
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* Clears the message field making it undefined.
|
|
2203
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Action} returns this
|
|
2204
|
+
*/
|
|
2205
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.clearAgentless = function() {
|
|
2206
|
+
return this.setAgentless(undefined);
|
|
2207
|
+
};
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* Returns whether this field is set.
|
|
2212
|
+
* @return {boolean}
|
|
2213
|
+
*/
|
|
2214
|
+
proto.lansweeper.scanningconfig.v1.Action.prototype.hasAgentless = function() {
|
|
2215
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* List of repeated fields within this message type.
|
|
2222
|
+
* @private {!Array<number>}
|
|
2223
|
+
* @const
|
|
2224
|
+
*/
|
|
2225
|
+
proto.lansweeper.scanningconfig.v1.Agentless.repeatedFields_ = [1];
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2230
|
+
/**
|
|
2231
|
+
* Creates an object representation of this proto.
|
|
2232
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2233
|
+
* Optional fields that are not set will be set to undefined.
|
|
2234
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2235
|
+
* For the list of reserved names please see:
|
|
2236
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2237
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2238
|
+
* JSPB instance for transitional soy proto support:
|
|
2239
|
+
* http://goto/soy-param-migration
|
|
2240
|
+
* @return {!Object}
|
|
2241
|
+
*/
|
|
2242
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.toObject = function(opt_includeInstance) {
|
|
2243
|
+
return proto.lansweeper.scanningconfig.v1.Agentless.toObject(opt_includeInstance, this);
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Static version of the {@see toObject} method.
|
|
2249
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2250
|
+
* the JSPB instance for transitional soy proto support:
|
|
2251
|
+
* http://goto/soy-param-migration
|
|
2252
|
+
* @param {!proto.lansweeper.scanningconfig.v1.Agentless} msg The msg instance to transform.
|
|
2253
|
+
* @return {!Object}
|
|
2254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2255
|
+
*/
|
|
2256
|
+
proto.lansweeper.scanningconfig.v1.Agentless.toObject = function(includeInstance, msg) {
|
|
2257
|
+
var f, obj = {
|
|
2258
|
+
targetsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2261
|
+
if (includeInstance) {
|
|
2262
|
+
obj.$jspbMessageInstance = msg;
|
|
2263
|
+
}
|
|
2264
|
+
return obj;
|
|
2265
|
+
};
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2271
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2272
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Agentless}
|
|
2273
|
+
*/
|
|
2274
|
+
proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinary = function(bytes) {
|
|
2275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2276
|
+
var msg = new proto.lansweeper.scanningconfig.v1.Agentless;
|
|
2277
|
+
return proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader(msg, reader);
|
|
2278
|
+
};
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2283
|
+
* given reader into the given message object.
|
|
2284
|
+
* @param {!proto.lansweeper.scanningconfig.v1.Agentless} msg The message object to deserialize into.
|
|
2285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2286
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Agentless}
|
|
2287
|
+
*/
|
|
2288
|
+
proto.lansweeper.scanningconfig.v1.Agentless.deserializeBinaryFromReader = function(msg, reader) {
|
|
2289
|
+
while (reader.nextField()) {
|
|
2290
|
+
if (reader.isEndGroup()) {
|
|
2291
|
+
break;
|
|
2292
|
+
}
|
|
2293
|
+
var field = reader.getFieldNumber();
|
|
2294
|
+
switch (field) {
|
|
2295
|
+
case 1:
|
|
2296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2297
|
+
msg.addTargets(value);
|
|
2298
|
+
break;
|
|
2299
|
+
default:
|
|
2300
|
+
reader.skipField();
|
|
2301
|
+
break;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
return msg;
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2310
|
+
* @return {!Uint8Array}
|
|
2311
|
+
*/
|
|
2312
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.serializeBinary = function() {
|
|
2313
|
+
var writer = new jspb.BinaryWriter();
|
|
2314
|
+
proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter(this, writer);
|
|
2315
|
+
return writer.getResultBuffer();
|
|
2316
|
+
};
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2321
|
+
* format), writing to the given BinaryWriter.
|
|
2322
|
+
* @param {!proto.lansweeper.scanningconfig.v1.Agentless} message
|
|
2323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2325
|
+
*/
|
|
2326
|
+
proto.lansweeper.scanningconfig.v1.Agentless.serializeBinaryToWriter = function(message, writer) {
|
|
2327
|
+
var f = undefined;
|
|
2328
|
+
f = message.getTargetsList();
|
|
2329
|
+
if (f.length > 0) {
|
|
2330
|
+
writer.writeRepeatedString(
|
|
2331
|
+
1,
|
|
2332
|
+
f
|
|
2333
|
+
);
|
|
2334
|
+
}
|
|
2335
|
+
};
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* repeated string targets = 1;
|
|
2340
|
+
* @return {!Array<string>}
|
|
2341
|
+
*/
|
|
2342
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.getTargetsList = function() {
|
|
2343
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* @param {!Array<string>} value
|
|
2349
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
|
|
2350
|
+
*/
|
|
2351
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.setTargetsList = function(value) {
|
|
2352
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2353
|
+
};
|
|
2354
|
+
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* @param {string} value
|
|
2358
|
+
* @param {number=} opt_index
|
|
2359
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
|
|
2360
|
+
*/
|
|
2361
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.addTargets = function(value, opt_index) {
|
|
2362
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* Clears the list making it empty but non-null.
|
|
2368
|
+
* @return {!proto.lansweeper.scanningconfig.v1.Agentless} returns this
|
|
2369
|
+
*/
|
|
2370
|
+
proto.lansweeper.scanningconfig.v1.Agentless.prototype.clearTargetsList = function() {
|
|
2371
|
+
return this.setTargetsList([]);
|
|
2372
|
+
};
|
|
2373
|
+
|
|
2374
|
+
|
|
2144
2375
|
|
|
2145
2376
|
|
|
2146
2377
|
|