@lansweeper/data-platform-outbound-grpc 0.8.13 → 0.9.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 (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +94 -0
  4. package/gen-proto/outbound_pb.js +732 -2
  5. package/generated-go/outbound.pb.go +4726 -4463
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +44 -0
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPointsOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints$1.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints$Builder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPointsOrBuilder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software$1.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Software.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.class +0 -0
  26. package/model/target/classes/outbound.proto +44 -0
  27. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUser.java +157 -0
  28. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryUserOrBuilder.java +17 -0
  29. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPoints.java +1270 -0
  30. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DebianBasedSoftwareDataPointsOrBuilder.java +153 -0
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1319 -1279
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPoints.java +939 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/RhelBasedSoftwareDataPointsOrBuilder.java +95 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Software.java +370 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java +30 -0
  36. package/model/target/maven-archiver/pom.properties +2 -2
  37. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +8 -0
  38. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  39. package/model/target/{outbound-model-0.8.12-sources.jar → outbound-model-0.9.0-sources.jar} +0 -0
  40. package/model/target/{outbound-model-0.8.12.jar → outbound-model-0.9.0.jar} +0 -0
  41. package/package.json +2 -2
  42. package/pom.xml +1 -1
  43. package/proto/outbound.proto +44 -0
  44. package/service/pom.xml +1 -1
  45. package/service/target/maven-archiver/pom.properties +2 -2
  46. package/service/target/{outbound-service-0.8.12-sources.jar → outbound-service-0.9.0-sources.jar} +0 -0
  47. package/service/target/{outbound-service-0.8.12.jar → outbound-service-0.9.0.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.12",
2
+ "version": "0.9.0",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "name": "outbound",
5
5
  "service": true
package/model/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.8.12</version>
9
+ <version>0.9.0</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -3638,6 +3638,49 @@ message Software {
3638
3638
  optional CatalogSoftware catalog_software = 51;
3639
3639
  // placeholder to be able to inject the catalog meta-data if/when needed
3640
3640
  optional CatalogSoftware catalog_parent = 52;
3641
+
3642
+ optional RhelBasedSoftwareDataPoints rhel_based_data_points = 53;
3643
+ optional DebianBasedSoftwareDataPoints debian_based_data_points = 54;
3644
+ }
3645
+
3646
+
3647
+ // Contains attributes specific to software packages found on RHEL-based distributions (e.g., RHEL, CentOS, Fedora, AlmaLinux, Rocky Linux, Amazon Linux) managed by rpm.
3648
+ message RhelBasedSoftwareDataPoints {
3649
+ // For RPM packages, the original source RPM file name from which the binary package was built.
3650
+ // Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
3651
+ optional string source_rpm = 1;
3652
+
3653
+ // The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
3654
+ // Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
3655
+ optional uint32 epoch = 2;
3656
+
3657
+ // The originating repository for the software. Currently primarily observed for Amazon Linux 2+
3658
+ // where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
3659
+ optional string ui_from_repo = 3;
3660
+ }
3661
+
3662
+ // Contains attributes specific to software packages found on Debian-based distributions (e.g., Debian, Ubuntu, Raspbian) managed by dpkg.
3663
+ message DebianBasedSoftwareDataPoints {
3664
+ // The abbreviated status of the Debian package as reported by `dpkg`.
3665
+ // Common values include:
3666
+ // "ii" - installed, installed (package is installed and configured)
3667
+ // "rc" - removed, config-files (package removed, but configuration files remain)
3668
+ // "un" - uninstalled (package is not installed)
3669
+ optional string dpkg_status_abbrev = 1;
3670
+
3671
+ // The name of the binary package. For multi-arch setups or specific package splits,
3672
+ // this might include the architecture suffix (e.g., "zlib1g:amd64").
3673
+ // This is the actual package name installed on the system.
3674
+ optional string binary_package_name = 2; // Renamed for clarity from 'binary_package'
3675
+
3676
+ // The name of the source package from which this binary package was built.
3677
+ // Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
3678
+ optional string source_package_name = 3; // Renamed from 'source' for clarity and consistency
3679
+
3680
+ // The version string of the source package. This can differ from the binary package's version
3681
+ // if a patch or rebuild has occurred without a full version bump on the binary.
3682
+ // Crucial for linking to source-level vulnerability information.
3683
+ optional string source_version = 4;
3641
3684
  }
3642
3685
 
3643
3686
  /**
@@ -4191,6 +4234,7 @@ message ActiveDirectoryUser {
4191
4234
  optional string manager_oid = 56;
4192
4235
  repeated string member_of_oid = 57;
4193
4236
  repeated DirectReport direct_reports = 60;
4237
+ optional string manager_upn = 61;
4194
4238
  }
4195
4239
 
4196
4240
  message DirectReport {
@@ -3638,6 +3638,49 @@ message Software {
3638
3638
  optional CatalogSoftware catalog_software = 51;
3639
3639
  // placeholder to be able to inject the catalog meta-data if/when needed
3640
3640
  optional CatalogSoftware catalog_parent = 52;
3641
+
3642
+ optional RhelBasedSoftwareDataPoints rhel_based_data_points = 53;
3643
+ optional DebianBasedSoftwareDataPoints debian_based_data_points = 54;
3644
+ }
3645
+
3646
+
3647
+ // Contains attributes specific to software packages found on RHEL-based distributions (e.g., RHEL, CentOS, Fedora, AlmaLinux, Rocky Linux, Amazon Linux) managed by rpm.
3648
+ message RhelBasedSoftwareDataPoints {
3649
+ // For RPM packages, the original source RPM file name from which the binary package was built.
3650
+ // Example: "ntp-4.2.6p5-10.el6.centos.2.src.rpm"
3651
+ optional string source_rpm = 1;
3652
+
3653
+ // The epoch number for RPM packages. Used in version comparison to handle cases where upstream versioning changes.
3654
+ // Example: "1" for "1:2.3.4-5". Defaults to 0 if no explicit epoch is present.
3655
+ optional uint32 epoch = 2;
3656
+
3657
+ // The originating repository for the software. Currently primarily observed for Amazon Linux 2+
3658
+ // where 'repoquery' can provide this information (e.g., "amzn2-core", "epel").
3659
+ optional string ui_from_repo = 3;
3660
+ }
3661
+
3662
+ // Contains attributes specific to software packages found on Debian-based distributions (e.g., Debian, Ubuntu, Raspbian) managed by dpkg.
3663
+ message DebianBasedSoftwareDataPoints {
3664
+ // The abbreviated status of the Debian package as reported by `dpkg`.
3665
+ // Common values include:
3666
+ // "ii" - installed, installed (package is installed and configured)
3667
+ // "rc" - removed, config-files (package removed, but configuration files remain)
3668
+ // "un" - uninstalled (package is not installed)
3669
+ optional string dpkg_status_abbrev = 1;
3670
+
3671
+ // The name of the binary package. For multi-arch setups or specific package splits,
3672
+ // this might include the architecture suffix (e.g., "zlib1g:amd64").
3673
+ // This is the actual package name installed on the system.
3674
+ optional string binary_package_name = 2; // Renamed for clarity from 'binary_package'
3675
+
3676
+ // The name of the source package from which this binary package was built.
3677
+ // Many binary packages are built from a single source package (e.g., "bind9" source package builds "bind9-host", "bind9utils", etc.).
3678
+ optional string source_package_name = 3; // Renamed from 'source' for clarity and consistency
3679
+
3680
+ // The version string of the source package. This can differ from the binary package's version
3681
+ // if a patch or rebuild has occurred without a full version bump on the binary.
3682
+ // Crucial for linking to source-level vulnerability information.
3683
+ optional string source_version = 4;
3641
3684
  }
3642
3685
 
3643
3686
  /**
@@ -4191,6 +4234,7 @@ message ActiveDirectoryUser {
4191
4234
  optional string manager_oid = 56;
4192
4235
  repeated string member_of_oid = 57;
4193
4236
  repeated DirectReport direct_reports = 60;
4237
+ optional string manager_upn = 61;
4194
4238
  }
4195
4239
 
4196
4240
  message DirectReport {
@@ -68,6 +68,7 @@ private static final long serialVersionUID = 0L;
68
68
  memberOfOid_ =
69
69
  com.google.protobuf.LazyStringArrayList.emptyList();
70
70
  directReports_ = java.util.Collections.emptyList();
71
+ managerUpn_ = "";
71
72
  }
72
73
 
73
74
  @java.lang.Override
@@ -2511,6 +2512,53 @@ private static final long serialVersionUID = 0L;
2511
2512
  return directReports_.get(index);
2512
2513
  }
2513
2514
 
2515
+ public static final int MANAGER_UPN_FIELD_NUMBER = 61;
2516
+ @SuppressWarnings("serial")
2517
+ private volatile java.lang.Object managerUpn_ = "";
2518
+ /**
2519
+ * <code>optional string manager_upn = 61;</code>
2520
+ * @return Whether the managerUpn field is set.
2521
+ */
2522
+ @java.lang.Override
2523
+ public boolean hasManagerUpn() {
2524
+ return ((bitField1_ & 0x04000000) != 0);
2525
+ }
2526
+ /**
2527
+ * <code>optional string manager_upn = 61;</code>
2528
+ * @return The managerUpn.
2529
+ */
2530
+ @java.lang.Override
2531
+ public java.lang.String getManagerUpn() {
2532
+ java.lang.Object ref = managerUpn_;
2533
+ if (ref instanceof java.lang.String) {
2534
+ return (java.lang.String) ref;
2535
+ } else {
2536
+ com.google.protobuf.ByteString bs =
2537
+ (com.google.protobuf.ByteString) ref;
2538
+ java.lang.String s = bs.toStringUtf8();
2539
+ managerUpn_ = s;
2540
+ return s;
2541
+ }
2542
+ }
2543
+ /**
2544
+ * <code>optional string manager_upn = 61;</code>
2545
+ * @return The bytes for managerUpn.
2546
+ */
2547
+ @java.lang.Override
2548
+ public com.google.protobuf.ByteString
2549
+ getManagerUpnBytes() {
2550
+ java.lang.Object ref = managerUpn_;
2551
+ if (ref instanceof java.lang.String) {
2552
+ com.google.protobuf.ByteString b =
2553
+ com.google.protobuf.ByteString.copyFromUtf8(
2554
+ (java.lang.String) ref);
2555
+ managerUpn_ = b;
2556
+ return b;
2557
+ } else {
2558
+ return (com.google.protobuf.ByteString) ref;
2559
+ }
2560
+ }
2561
+
2514
2562
  private byte memoizedIsInitialized = -1;
2515
2563
  @java.lang.Override
2516
2564
  public final boolean isInitialized() {
@@ -2705,6 +2753,9 @@ private static final long serialVersionUID = 0L;
2705
2753
  for (int i = 0; i < directReports_.size(); i++) {
2706
2754
  output.writeMessage(60, directReports_.get(i));
2707
2755
  }
2756
+ if (((bitField1_ & 0x04000000) != 0)) {
2757
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 61, managerUpn_);
2758
+ }
2708
2759
  getUnknownFields().writeTo(output);
2709
2760
  }
2710
2761
 
@@ -2916,6 +2967,9 @@ private static final long serialVersionUID = 0L;
2916
2967
  size += com.google.protobuf.CodedOutputStream
2917
2968
  .computeMessageSize(60, directReports_.get(i));
2918
2969
  }
2970
+ if (((bitField1_ & 0x04000000) != 0)) {
2971
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(61, managerUpn_);
2972
+ }
2919
2973
  size += getUnknownFields().getSerializedSize();
2920
2974
  memoizedSize = size;
2921
2975
  return size;
@@ -3225,6 +3279,11 @@ private static final long serialVersionUID = 0L;
3225
3279
  .equals(other.getMemberOfOidList())) return false;
3226
3280
  if (!getDirectReportsList()
3227
3281
  .equals(other.getDirectReportsList())) return false;
3282
+ if (hasManagerUpn() != other.hasManagerUpn()) return false;
3283
+ if (hasManagerUpn()) {
3284
+ if (!getManagerUpn()
3285
+ .equals(other.getManagerUpn())) return false;
3286
+ }
3228
3287
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
3229
3288
  return true;
3230
3289
  }
@@ -3480,6 +3539,10 @@ private static final long serialVersionUID = 0L;
3480
3539
  hash = (37 * hash) + DIRECT_REPORTS_FIELD_NUMBER;
3481
3540
  hash = (53 * hash) + getDirectReportsList().hashCode();
3482
3541
  }
3542
+ if (hasManagerUpn()) {
3543
+ hash = (37 * hash) + MANAGER_UPN_FIELD_NUMBER;
3544
+ hash = (53 * hash) + getManagerUpn().hashCode();
3545
+ }
3483
3546
  hash = (29 * hash) + getUnknownFields().hashCode();
3484
3547
  memoizedHashCode = hash;
3485
3548
  return hash;
@@ -3735,6 +3798,7 @@ private static final long serialVersionUID = 0L;
3735
3798
  directReportsBuilder_.clear();
3736
3799
  }
3737
3800
  bitField1_ = (bitField1_ & ~0x08000000);
3801
+ managerUpn_ = "";
3738
3802
  return this;
3739
3803
  }
3740
3804
 
@@ -4043,6 +4107,10 @@ private static final long serialVersionUID = 0L;
4043
4107
  memberOfOid_.makeImmutable();
4044
4108
  result.memberOfOid_ = memberOfOid_;
4045
4109
  }
4110
+ if (((from_bitField1_ & 0x10000000) != 0)) {
4111
+ result.managerUpn_ = managerUpn_;
4112
+ to_bitField1_ |= 0x04000000;
4113
+ }
4046
4114
  result.bitField1_ |= to_bitField1_;
4047
4115
  }
4048
4116
 
@@ -4384,6 +4452,11 @@ private static final long serialVersionUID = 0L;
4384
4452
  }
4385
4453
  }
4386
4454
  }
4455
+ if (other.hasManagerUpn()) {
4456
+ managerUpn_ = other.managerUpn_;
4457
+ bitField1_ |= 0x10000000;
4458
+ onChanged();
4459
+ }
4387
4460
  this.mergeUnknownFields(other.getUnknownFields());
4388
4461
  onChanged();
4389
4462
  return this;
@@ -4737,6 +4810,11 @@ private static final long serialVersionUID = 0L;
4737
4810
  }
4738
4811
  break;
4739
4812
  } // case 482
4813
+ case 490: {
4814
+ managerUpn_ = input.readStringRequireUtf8();
4815
+ bitField1_ |= 0x10000000;
4816
+ break;
4817
+ } // case 490
4740
4818
  default: {
4741
4819
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
4742
4820
  done = true; // was an endgroup tag
@@ -9792,6 +9870,85 @@ private static final long serialVersionUID = 0L;
9792
9870
  }
9793
9871
  return directReportsBuilder_;
9794
9872
  }
9873
+
9874
+ private java.lang.Object managerUpn_ = "";
9875
+ /**
9876
+ * <code>optional string manager_upn = 61;</code>
9877
+ * @return Whether the managerUpn field is set.
9878
+ */
9879
+ public boolean hasManagerUpn() {
9880
+ return ((bitField1_ & 0x10000000) != 0);
9881
+ }
9882
+ /**
9883
+ * <code>optional string manager_upn = 61;</code>
9884
+ * @return The managerUpn.
9885
+ */
9886
+ public java.lang.String getManagerUpn() {
9887
+ java.lang.Object ref = managerUpn_;
9888
+ if (!(ref instanceof java.lang.String)) {
9889
+ com.google.protobuf.ByteString bs =
9890
+ (com.google.protobuf.ByteString) ref;
9891
+ java.lang.String s = bs.toStringUtf8();
9892
+ managerUpn_ = s;
9893
+ return s;
9894
+ } else {
9895
+ return (java.lang.String) ref;
9896
+ }
9897
+ }
9898
+ /**
9899
+ * <code>optional string manager_upn = 61;</code>
9900
+ * @return The bytes for managerUpn.
9901
+ */
9902
+ public com.google.protobuf.ByteString
9903
+ getManagerUpnBytes() {
9904
+ java.lang.Object ref = managerUpn_;
9905
+ if (ref instanceof String) {
9906
+ com.google.protobuf.ByteString b =
9907
+ com.google.protobuf.ByteString.copyFromUtf8(
9908
+ (java.lang.String) ref);
9909
+ managerUpn_ = b;
9910
+ return b;
9911
+ } else {
9912
+ return (com.google.protobuf.ByteString) ref;
9913
+ }
9914
+ }
9915
+ /**
9916
+ * <code>optional string manager_upn = 61;</code>
9917
+ * @param value The managerUpn to set.
9918
+ * @return This builder for chaining.
9919
+ */
9920
+ public Builder setManagerUpn(
9921
+ java.lang.String value) {
9922
+ if (value == null) { throw new NullPointerException(); }
9923
+ managerUpn_ = value;
9924
+ bitField1_ |= 0x10000000;
9925
+ onChanged();
9926
+ return this;
9927
+ }
9928
+ /**
9929
+ * <code>optional string manager_upn = 61;</code>
9930
+ * @return This builder for chaining.
9931
+ */
9932
+ public Builder clearManagerUpn() {
9933
+ managerUpn_ = getDefaultInstance().getManagerUpn();
9934
+ bitField1_ = (bitField1_ & ~0x10000000);
9935
+ onChanged();
9936
+ return this;
9937
+ }
9938
+ /**
9939
+ * <code>optional string manager_upn = 61;</code>
9940
+ * @param value The bytes for managerUpn to set.
9941
+ * @return This builder for chaining.
9942
+ */
9943
+ public Builder setManagerUpnBytes(
9944
+ com.google.protobuf.ByteString value) {
9945
+ if (value == null) { throw new NullPointerException(); }
9946
+ checkByteStringIsUtf8(value);
9947
+ managerUpn_ = value;
9948
+ bitField1_ |= 0x10000000;
9949
+ onChanged();
9950
+ return this;
9951
+ }
9795
9952
  @java.lang.Override
9796
9953
  public final Builder setUnknownFields(
9797
9954
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -982,4 +982,21 @@ public interface ActiveDirectoryUserOrBuilder extends
982
982
  */
983
983
  com.lansweeper.dp.outbound.v1.DirectReportOrBuilder getDirectReportsOrBuilder(
984
984
  int index);
985
+
986
+ /**
987
+ * <code>optional string manager_upn = 61;</code>
988
+ * @return Whether the managerUpn field is set.
989
+ */
990
+ boolean hasManagerUpn();
991
+ /**
992
+ * <code>optional string manager_upn = 61;</code>
993
+ * @return The managerUpn.
994
+ */
995
+ java.lang.String getManagerUpn();
996
+ /**
997
+ * <code>optional string manager_upn = 61;</code>
998
+ * @return The bytes for managerUpn.
999
+ */
1000
+ com.google.protobuf.ByteString
1001
+ getManagerUpnBytes();
985
1002
  }