Perago.SharedKernel.ActivityAudit
1.0.98
dotnet add package Perago.SharedKernel.ActivityAudit --version 1.0.98
NuGet\Install-Package Perago.SharedKernel.ActivityAudit -Version 1.0.98
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Perago.SharedKernel.ActivityAudit" Version="1.0.98" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Perago.SharedKernel.ActivityAudit" Version="1.0.98" />
<PackageReference Include="Perago.SharedKernel.ActivityAudit" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Perago.SharedKernel.ActivityAudit --version 1.0.98
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Perago.SharedKernel.ActivityAudit, 1.0.98"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Perago.SharedKernel.ActivityAudit@1.0.98
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Perago.SharedKernel.ActivityAudit&version=1.0.98
#tool nuget:?package=Perago.SharedKernel.ActivityAudit&version=1.0.98
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Perago.SharedKernel.ActivityAudit
Activity logging (IActivityAudit) and compliance-friendly audit metadata helpers.
Installation
dotnet add package Perago.SharedKernel.ActivityAudit
Getting Started
Activity log
IActivityAudit audit = new ActivityAudit(logger);
audit.Log(entity); // entity implements IAuditableEntity
Compliance helpers
Use AuditRecord, AuditMetadata, and AuditPayloadRedactor to classify sensitive fields, attach retention/legal-hold metadata, and redact payloads before logs or exports.
var record = new AuditRecord
{
EventType = AuditEventTypes.Update,
EntityType = "purchase-order",
EntityId = orderId,
Metadata = new AuditMetadata
{
ActorId = userId,
TenantId = tenantId,
OrganizationId = organizationId,
ApplicationKey = applicationKey,
CorrelationId = correlationId,
RequestId = requestId
},
Payload = payload
};
var safeExport = record.ToRedactedExport();
var redactedPayload = AuditPayloadRedactor.Redact(payload);
See docs/AUDIT_COMPLIANCE.md in the package for taxonomy, retention metadata, redaction behavior, and export examples.
Dependencies
- Microsoft.Extensions.Logging.Abstractions (10.0.12)
- Perago.SharedKernel.Abstraction.Infrastructure
Target Frameworks
- net10.0
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Newtonsoft.Json (>= 13.0.4)
- Perago.SharedKernel.Abstraction.Infrastructure (>= 1.0.98)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.98 | 34 | 9/19/2026 |
| 1.0.97 | 38 | 9/19/2026 |
| 1.0.96 | 57 | 9/16/2026 |
| 1.0.95 | 93 | 9/11/2026 |
| 1.0.94 | 82 | 9/11/2026 |
| 1.0.93 | 85 | 9/11/2026 |
| 1.0.92 | 103 | 9/5/2026 |
| 1.0.91 | 87 | 8/31/2026 |
| 1.0.90 | 88 | 8/30/2026 |
| 1.0.89 | 120 | 8/29/2026 |
| 1.0.88 | 122 | 8/19/2026 |
| 1.0.87 | 100 | 8/18/2026 |
| 1.0.86 | 111 | 8/17/2026 |
| 1.0.85 | 111 | 8/11/2026 |
| 1.0.84 | 96 | 8/9/2026 |
| 1.0.83 | 111 | 8/8/2026 |
| 1.0.82 | 141 | 7/23/2026 |
| 1.0.81 | 113 | 7/23/2026 |
| 1.0.80 | 107 | 7/23/2026 |
| 1.0.79 | 107 | 7/23/2026 |
Loading failed