Goldpath.AuditTrail
0.1.0-preview.8
This is a prerelease version of Goldpath.AuditTrail.
dotnet add package Goldpath.AuditTrail --version 0.1.0-preview.8
NuGet\Install-Package Goldpath.AuditTrail -Version 0.1.0-preview.8
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="Goldpath.AuditTrail" Version="0.1.0-preview.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Goldpath.AuditTrail" Version="0.1.0-preview.8" />
<PackageReference Include="Goldpath.AuditTrail" />
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 Goldpath.AuditTrail --version 0.1.0-preview.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Goldpath.AuditTrail, 0.1.0-preview.8"
#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 Goldpath.AuditTrail@0.1.0-preview.8
#: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=Goldpath.AuditTrail&version=0.1.0-preview.8&prerelease
#tool nuget:?package=Goldpath.AuditTrail&version=0.1.0-preview.8&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Goldpath.AuditTrail
Ring B audit, two levels, one correlated story: Mediant [Auditable] records why
(who ran which command); the Goldpath entity contributors record exactly what (old → new per
property) — in the same transaction as the change, so an audit row commits or dies with
the data it describes.
Getting started
builder.AddGoldpathAuditTrail<WebApplicationBuilder, OrdersDbContext>();
// OnModelCreating:
modelBuilder.AddGoldpathAuditLog(); // Goldpath change-log + Mediant command-audit entities
[Auditable] // command level (Mediant)
public record ApproveLoanCommand(...) : ICommand<Result>;
public class Loan : IAuditedEntity, IAuditLogged { } // stamps + full change rows
Configuration
{ "Goldpath": { "AuditTrail": { "EntityValues": "Full" } } }
EntityValues:Full(old→new values, default) ·NamesOnly(property names without values — by policy, or until DataProtection masking lands).
Advanced
IAuditedEntityalone = stamps only (CreatedAt/By, ModifiedAt/By — filled automatically, never by application code: GP0502). AddIAuditLoggedfor row-level history.- Every entity row carries user (
IUserContext— HTTP claims by default), tenant, and the correlation id: one id walks HTTP → command audit → entity rows. - Only 'what changed' is written on Modified (unmodified properties are skipped).
- Retention/archival is a policy knob — see the runbook; the Ring C Data Archival module is the long-term answer.
Providers
Storage is the application's own DbContext (any provider Goldpath.Data supports). The
eventstream store option in the manifest is reserved (written deferral in the RFC).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Goldpath.Abstractions (>= 0.1.0-preview.8)
- Goldpath.Data (>= 0.1.0-preview.8)
- Mediant.Behaviors (>= 1.4.1)
- Mediant.EntityFrameworkCore (>= 1.4.1)
-
net8.0
- Goldpath.Abstractions (>= 0.1.0-preview.8)
- Goldpath.Data (>= 0.1.0-preview.8)
- Mediant.Behaviors (>= 1.4.1)
- Mediant.EntityFrameworkCore (>= 1.4.1)
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 |
|---|---|---|
| 0.1.0-preview.8 | 86 | 9/7/2026 |
| 0.1.0-preview.7 | 92 | 9/1/2026 |
| 0.1.0-preview.6 | 376 | 8/4/2026 |
| 0.1.0-preview.5 | 88 | 7/28/2026 |
| 0.1.0-preview.4 | 76 | 7/27/2026 |
| 0.1.0-preview.3 | 61 | 7/25/2026 |
| 0.1.0-preview.2 | 78 | 7/13/2026 |
| 0.1.0-preview.1 | 102 | 7/13/2026 |