@lansweeper/discovery-sensor-proto 2.79.1 → 2.80.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lansweeper/discovery-sensor-proto",
3
3
  "description": "Discovery Sensor proto",
4
- "version": "2.79.1",
4
+ "version": "2.80.0",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
7
7
  "license": "MIT",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "e6d8764d8b98c794f3b8816a7ea3d0be8589cb7c"
19
+ "gitHead": "7e4870161a2065e0ae1e9eaaec33eeb0a20bce31"
20
20
  }
@@ -95,12 +95,7 @@ message ActiveDirectoryUser {
95
95
  google.protobuf.StringValue primary_group_object_guid = 54;
96
96
  google.protobuf.StringValue manager_object_guid = 55;
97
97
  repeated google.protobuf.StringValue member_of_object_guids = 56;
98
- repeated DirectReport direct_reports = 57;
99
- }
100
-
101
- message DirectReport {
102
- google.protobuf.StringValue ad_user_key = 1;
103
- google.protobuf.StringValue display_name = 2;
98
+ repeated DirectReport direct_reports = 57 [deprecated=true];
104
99
  }
105
100
 
106
101
  message ActiveDirectoryGroup {
@@ -417,6 +412,12 @@ message AzureAdUser {
417
412
  google.protobuf.StringValue surname = 39;
418
413
  google.protobuf.StringValue state = 40;
419
414
  google.protobuf.StringValue user_principal_name = 41;
415
+ repeated DirectReport direct_reports = 42;
416
+ }
417
+
418
+ message DirectReport {
419
+ google.protobuf.StringValue ad_user_key = 1;
420
+ google.protobuf.StringValue display_name = 2;
420
421
  }
421
422
 
422
423
  /* ChromeOS API scanning root object */
@@ -367,6 +367,47 @@ message SoftwareEntry {
367
367
  google.protobuf.StringValue software_publisher = 14;
368
368
  google.protobuf.Int32Value approved = 15;
369
369
  google.protobuf.StringValue application_id = 16;
370
+ optional RhelBasedSoftwareDataPoints rpm_data_points = 17; // For RPM-based software, additional data points
371
+ optional DebianBasedSoftwareDataPoints debian_data_points = 18; // For Debian/Ubuntu-based software, additional data points
372
+ }
373
+
374
+ // Contains attributes specific to software packages found on RHEL-based distributions (e.g., RHEL, CentOS, Fedora, AlmaLinux, Rocky Linux, Amazon Linux) managed by rpm.
375
+ message RhelBasedSoftwareDataPoints {
376
+ // For RPM packages, the original source RPM file name from which the binary package was built.
377
+ // Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
378
+ google.protobuf.StringValue source_rpm = 1;
379
+
380
+ // The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
381
+ // Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
382
+ google.protobuf.UInt32Value epoch = 2;
383
+
384
+ // The originating repository for the software. Currently primarily observed for Amazon Linux 2+
385
+ // where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
386
+ google.protobuf.StringValue ui_from_repo = 3;
387
+ }
388
+
389
+ // Contains attributes specific to software packages found on Debian-based distributions (e.g., Debian, Ubuntu, Raspbian) managed by dpkg.
390
+ message DebianBasedSoftwareDataPoints {
391
+ // The abbreviated status of the Debian package as reported by `dpkg`.
392
+ // Common values include:
393
+ // "ii" - installed, installed (package is installed and configured)
394
+ // "rc" - removed, config-files (package removed, but configuration files remain)
395
+ // "un" - uninstalled (package is not installed)
396
+ google.protobuf.StringValue dpkg_status_abbrev = 1;
397
+
398
+ // The name of the binary package. For multi-arch setups or specific package splits,
399
+ // this might include the architecture suffix (e.g., "zlib1g:amd64").
400
+ // This is the actual package name installed on the system.
401
+ google.protobuf.StringValue binary_package_name = 2; // Renamed for clarity from 'binary_package'
402
+
403
+ // The name of the source package from which this binary package was built.
404
+ // Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
405
+ google.protobuf.StringValue source_package_name = 3; // Renamed from 'source' for clarity and consistency
406
+
407
+ // The version string of the source package. This can differ from the binary package's version
408
+ // if a patch or rebuild has occurred without a full version bump on the binary.
409
+ // Crucial for linking to source-level vulnerability information.
410
+ google.protobuf.StringValue source_version = 4;
370
411
  }
371
412
 
372
413
  /* Section element for system encolsure info on Unix */