STP.Audit 1.0.0

AuditTrail

A lightweight, RabbitMQ-based audit trail solution for distributed .NET applications.

Overview

The AuditTrail package provides a simple way to capture and store audit events across your application. It uses RabbitMQ as a message broker to decouple the generation of audit events from their processing and storage.

Basic Setup

Add the following to your Program.cs or Startup.cs:

// Add services
builder.Services.AddAuditServices(
    uri: "amqp://guest:guest@localhost:5672/",
    exchange: "audit_exchange"
);

// Configure middleware (for ASP.NET Core applications)
app.UseAuditTrail();

[Audited(AuditActions.StackAggregation.Scan)]
public async Task<IResult> ScanSerial(string serialNumber)
{
    return ConvertResultToHttpResult(await _aggregationOperations.ScanFirstSerial(serialNumber, SourceType.NormalCartonAggregation));
}

## Requirements

- .NET 6.0 or later
- RabbitMQ 6.8.1

## License

MIT
```

No packages depend on STP.Audit.

.NET 8.0

Version Downloads Last updated
1.3.0 113 1/1/2026
1.2.0 15 12/30/2025
1.1.6-rc 332 3/25/2025
1.1.5-rc 33 3/23/2025
1.1.4-rc 116 3/17/2025
1.1.1-rc 62 3/12/2025
1.1.0 668 9/22/2025
1.0.9-rc 39 3/12/2025
1.0.8 40 9/17/2025
1.0.8-rc 635 3/10/2025
1.0.0 156 7/28/2025