From 5a7e1f6e3e0368a419dac0b48c487c451f7772b6 Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Wed, 22 Jul 2026 07:32:46 +0800 Subject: [PATCH 1/3] add scopehash so that scopes can be masked too --- src/Particular.LicensingComponent.Report/Report.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Particular.LicensingComponent.Report/Report.cs b/src/Particular.LicensingComponent.Report/Report.cs index ef75c74..00131b9 100644 --- a/src/Particular.LicensingComponent.Report/Report.cs +++ b/src/Particular.LicensingComponent.Report/Report.cs @@ -149,6 +149,14 @@ public record QueueThroughput /// public string Scope { get; init; } + /// + /// A hash of the scope to support unique identification of queues across reports without exposing potentially sensitive information. + /// + /// + /// This should be a one-way hash of the unmasked scope, if it exists. + /// + public string ScopeHash { get; set; } + /// /// Breakdown of daily throughput for each queue obtained from the broker /// From 5d0ce5267013627b4b1ac8b9a92ac1506d9776f7 Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Wed, 22 Jul 2026 07:38:40 +0800 Subject: [PATCH 2/3] update approval test result --- .../ApprovalFiles/ApiApprovals.Approve.approved.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Particular.LicensingComponent.Report.UnitTests/ApprovalFiles/ApiApprovals.Approve.approved.txt b/src/Particular.LicensingComponent.Report.UnitTests/ApprovalFiles/ApiApprovals.Approve.approved.txt index ae6b980..3188bc9 100644 --- a/src/Particular.LicensingComponent.Report.UnitTests/ApprovalFiles/ApiApprovals.Approve.approved.txt +++ b/src/Particular.LicensingComponent.Report.UnitTests/ApprovalFiles/ApiApprovals.Approve.approved.txt @@ -33,6 +33,7 @@ namespace Particular.LicensingComponent.Report public bool NoDataOrSendOnly { get; init; } public string QueueName { get; set; } public string Scope { get; init; } + public string ScopeHash { get; set; } public long? Throughput { get; set; } public string? UserIndicator { get; init; } } From 5963a6cc2c4c5190c8694c23b715171c523a3234 Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Wed, 22 Jul 2026 07:59:29 +0800 Subject: [PATCH 3/3] spelling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6ca095..ca65404 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Particular.LicensingComponent.Report The Particular.LicensingComponent.Report nuget package that is used by to manage the throughput report data contract, serialization and validation required for NServiceBus licensing purposes. -This package is deploted to feedz and is currently used in: +This package is deployed to feedz and is currently used in: - [Endpoint Throughput Counter Tool](https://github.com/Particular/Particular.EndpointThroughputCounter) - [Platform License Component hosted in ServiceControl](https://github.com/Particular/ServiceControl)