@lansweeper/data-platform-outbound-grpc 0.1.92 → 0.1.94
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/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +366 -11
- package/gen-proto/outbound_pb.js +2890 -79
- package/generated-go/outbound.pb.go +9249 -8331
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +84 -2
package/java.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.94",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "908346fcd709a16c11397b5c0399cfbd19b45a6f"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -197,6 +197,18 @@ message Asset {
|
|
|
197
197
|
|
|
198
198
|
optional CloudEntity cloud = 17;
|
|
199
199
|
|
|
200
|
+
repeated AssetChangeEvent change_log = 80;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Asset change event log.
|
|
205
|
+
*/
|
|
206
|
+
message AssetChangeEvent {
|
|
207
|
+
google.protobuf.Timestamp timestamp = 1;
|
|
208
|
+
oneof event {
|
|
209
|
+
SoftwareChangeEvent sw = 2;
|
|
210
|
+
OperatingSystemChangeEvent os = 3;
|
|
211
|
+
}
|
|
200
212
|
}
|
|
201
213
|
|
|
202
214
|
/**
|
|
@@ -247,6 +259,7 @@ message Computer {
|
|
|
247
259
|
repeated OperatingSystemService os_service = 105;
|
|
248
260
|
optional ComputerSystemProduct computer_system_product = 106;
|
|
249
261
|
repeated ComputerWindowsPageFile page_file = 107;
|
|
262
|
+
optional WindowsComputerSystem computer_system = 108;
|
|
250
263
|
|
|
251
264
|
// SW
|
|
252
265
|
optional SoftwareInventory software_inventory = 201;
|
|
@@ -257,7 +270,7 @@ message Computer {
|
|
|
257
270
|
repeated RunningProcess running_process = 206;
|
|
258
271
|
repeated SharedResource shared_resource = 207;
|
|
259
272
|
optional InternetExplorer internet_explorer = 208; // specific to IE on Windows
|
|
260
|
-
|
|
273
|
+
repeated WindowsSqlServer windows_sql_server = 209; // specific to SQL server on Windows
|
|
261
274
|
repeated ComputerWindowsNetworkClient windows_network_client = 210;
|
|
262
275
|
repeated NetworkVolume network_volume = 211;
|
|
263
276
|
repeated ComputerWindowsCertificate windows_cert = 212;
|
|
@@ -844,6 +857,25 @@ message WindowsOperatingSystemInfo {
|
|
|
844
857
|
optional uint32 data_execution_prevention_support_policy = 54;
|
|
845
858
|
}
|
|
846
859
|
|
|
860
|
+
/**
|
|
861
|
+
* Log entry for OS change log, tracking install, uninstall and update.
|
|
862
|
+
*/
|
|
863
|
+
message OperatingSystemChangeEvent {
|
|
864
|
+
enum EventType {
|
|
865
|
+
INSTALL = 0;
|
|
866
|
+
UNINSTALL = 1;
|
|
867
|
+
UPDATE = 2;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
EventType event_type = 1;
|
|
871
|
+
|
|
872
|
+
google.protobuf.Timestamp start = 2;
|
|
873
|
+
optional google.protobuf.Timestamp end = 3;
|
|
874
|
+
|
|
875
|
+
OperatingSystem os = 4;
|
|
876
|
+
optional OperatingSystem prev_os = 5;
|
|
877
|
+
|
|
878
|
+
}
|
|
847
879
|
|
|
848
880
|
/* OS Feature, i.e. WindowsFeature */
|
|
849
881
|
message OperatingSystemFeature {
|
|
@@ -1724,6 +1756,53 @@ message ComputerSystemProduct {
|
|
|
1724
1756
|
optional string version = 5;
|
|
1725
1757
|
}
|
|
1726
1758
|
|
|
1759
|
+
/**
|
|
1760
|
+
* ComputerSystemProduct, only Windows atm.
|
|
1761
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystem
|
|
1762
|
+
*/
|
|
1763
|
+
message WindowsComputerSystem {
|
|
1764
|
+
optional MappedValue admin_password_status = 2;
|
|
1765
|
+
optional bool automatic_reset_boot_option = 3;
|
|
1766
|
+
optional bool automatic_reset_capability = 4;
|
|
1767
|
+
optional MappedValue boot_option_on_limit = 5;
|
|
1768
|
+
optional MappedValue boot_option_on_watch_dog = 6;
|
|
1769
|
+
optional bool boot_rom_supported = 7;
|
|
1770
|
+
optional string boot_up_state = 8;
|
|
1771
|
+
optional MappedValue chassis_boot_up_state = 9;
|
|
1772
|
+
optional int32 current_time_zone = 10;
|
|
1773
|
+
optional bool daylight_in_effect = 11;
|
|
1774
|
+
optional string description = 12;
|
|
1775
|
+
optional string domain = 13;
|
|
1776
|
+
optional MappedValue domain_role = 14;
|
|
1777
|
+
optional MappedValue front_panel_reset_status = 15;
|
|
1778
|
+
optional bool infrared_supported = 16;
|
|
1779
|
+
optional MappedValue keyboard_password_status = 17;
|
|
1780
|
+
optional string manufacturer = 18;
|
|
1781
|
+
optional string name = 19;
|
|
1782
|
+
optional string model = 20;
|
|
1783
|
+
optional bool network_server_mode_enabled = 21;
|
|
1784
|
+
optional int32 number_of_processors = 22;
|
|
1785
|
+
optional int64 pause_after_reset = 23;
|
|
1786
|
+
optional MappedValue power_on_password_status = 24;
|
|
1787
|
+
optional MappedValue power_state = 25;
|
|
1788
|
+
optional MappedValue power_supply_state = 26;
|
|
1789
|
+
optional string primary_owner_name = 27;
|
|
1790
|
+
optional MappedValue reset_capability = 28;
|
|
1791
|
+
optional int32 reset_count = 29;
|
|
1792
|
+
optional int32 reset_limit = 30;
|
|
1793
|
+
repeated string roles = 31;
|
|
1794
|
+
optional string status = 32;
|
|
1795
|
+
optional int32 system_startup_delay = 33;
|
|
1796
|
+
repeated string system_startup_options = 34;
|
|
1797
|
+
optional string system_type = 36;
|
|
1798
|
+
optional MappedValue thermal_state = 37;
|
|
1799
|
+
optional int64 total_physical_memory = 38;
|
|
1800
|
+
optional MappedValue wakeup_type = 39;
|
|
1801
|
+
optional bool enable_daylight_savings_time = 40;
|
|
1802
|
+
optional bool part_of_domain = 41;
|
|
1803
|
+
optional int32 number_of_logical_processors = 42;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1727
1806
|
/**
|
|
1728
1807
|
* TrustedPlatformModule, only Windows atm.
|
|
1729
1808
|
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/secprov/win32-tpm
|
|
@@ -2253,9 +2332,11 @@ message IpInfo {
|
|
|
2253
2332
|
message SoftwareInventory {
|
|
2254
2333
|
google.protobuf.Timestamp timestamp = 1;
|
|
2255
2334
|
repeated Software software = 2;
|
|
2256
|
-
|
|
2335
|
+
reserved 3; // depcrecated software change event log
|
|
2257
2336
|
}
|
|
2258
2337
|
|
|
2338
|
+
|
|
2339
|
+
|
|
2259
2340
|
/**
|
|
2260
2341
|
* Software definition: normalized and with link to raw.
|
|
2261
2342
|
* Translated and enriched from:
|
|
@@ -2322,6 +2403,7 @@ message RawSoftware {
|
|
|
2322
2403
|
optional bool is_current_user = 10;
|
|
2323
2404
|
}
|
|
2324
2405
|
|
|
2406
|
+
|
|
2325
2407
|
/**
|
|
2326
2408
|
* Log entry for software change log, tracking install, uninstall and update.
|
|
2327
2409
|
*/
|