Carbon.Audit 1.1.1

dotnet add package Carbon.Audit --version 1.1.1
                    
NuGet\Install-Package Carbon.Audit -Version 1.1.1
                    
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="Carbon.Audit" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Carbon.Audit" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Carbon.Audit" />
                    
Project file
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 Carbon.Audit --version 1.1.1
                    
#r "nuget: Carbon.Audit, 1.1.1"
                    
#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 Carbon.Audit@1.1.1
                    
#: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=Carbon.Audit&version=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Carbon.Audit&version=1.1.1
                    
Install as a Cake Tool

1.1.1
     - Token header is now also considered sensitive and redacted.
     1.1.0
     - Dedicated HTTP request audit event publishing added.
     1.0.2
     - TransactionId header is now also accepted as a case-insensitive fallback for CorrelationId
     - Synthesize a FailedRequest audit event for HTTP >= 400 responses that have no pending DB-change events (e.g. GET requests that are rejected)
     - Added AuditAction.FailedRequest = 3 enum value
     - Audit records are now emitted for all requests regardless of outcome (including HTTP 500 / DB errors)
     - AuditEvent now carries HttpStatusCode of the HTTP response
     1.0.1
     - Add advanced audit filtering options to CarbonAudit settings  
     1.0.0
     - Initial release. RequestContextMiddleware, AuditInterceptor and audit constants added.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 was computed.  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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Carbon.Audit:

Package Downloads
Carbon.WebApplication

4.6.19 - Carbon.Audit version update, token considered sensitive and redacted. 4.6.18 - Carbon.Audit version update, HttpAudit added 4.6.17 - Carbon.Audit version update 4.6.16 - Add Carbon.Audit package for auditing purposes. 4.6.15 - Added CustomConfigureAfterAuth hook (no behavior change unless overridden). 4.6.14 - Prevent 401 unauthorized errors when the userId claim is missing(for client tokens). 4.6.13 - Added an optional OnTokenValidated step to JWT validation that checks the TokenVersion stored in Redis, ensuring tokens issued before a password change are rejected with 401. 4.6.12 - Undo the change made in 4.6.11 regarding the vulnerable packages for security issues. 4.6.11 - Updated vulnerable packages for security issues 4.6.10 - Add defensive parsing for solution IDs in headers 4.6.9 - Carbon.Common version update 4.6.8 - Carbon.HttpClient.Auth version update 4.6.7 - While fetching the user’s roles, caching was added. 4.6.6 - Refactored OwnershipFilter to use async/await for external service calls; improved Authorization header handling and permission checks. 4.6.5 - Microsoft.Extensions.Logging package added 4.6.4 - HybridModelBinding updated to 0.17.0 on net8.0 target framework 4.6.3 - Dotnet 8.0 target framework added for minimal api 4.6.2 - Dotnet 8.0 target framework added 4.5.6 - Added a property named overrideMessageAndCode to the CarbonException class. The default value of this property is set to true. In the constructor of CarbonException, check this property to determine whether the message and code are overridden or not. - Update IPageableDto validator for assign PageSize 0. When PageSize 0 the datas returns without pagination with development in version 4.5.3. 4.5.3 - Upgrade Carbon.PagedList (Remove pageSize and pageNumber validation check) 4.5.2 - Updated Carbon.Common nuget package (Added StringExtensions class with ReplaceTurkishChars and ContainsTurkishIgnoreCase methods) 4.5.0 - Degraded health check HTTP status code changed as custom 218 (This Is Fine) status code. Because even if system is degraed it should be working normally, so returning 5XX status code is not right for degraded state. 4.4.1 - Cors should come first before authentication and authorization in startup pipeline 4.4.0 - Carbon.Common updated and Serilog.Enrichers.Sensitive Enricher added for masking sensitive values within logs. 4.3.0 - OwnershipFilter check now disregards solution id header during endpoint permission check 4.2.1 - UnauthorizedOperationException response body is fixed 4.2.0 - UnauthorizedOperationException handling is added 4.1.9 - Carbon.Common updated and IQueryable OrderBy extension method bug fixed 4.1.8 - Carbon.Common updated and nested ordering achieved 4.1.7 - Add CorrelationId to log OnException 4.1.6 - Cors Policy changes(Location parameter is added to WithExposedHeaders) 4.1.5 - ApiPagedResponse is added for PagedListOk. 4.1.4 - Some dependencies updated. 4.1.3 - Cors Allow Credentials support added with any origin accepted - Cors Wildcards accepted 4.1.1 - CarbonException messages are take arguments for dynamic exception messages 4.1.0 - Critical bug fixed for Directory separator char to specific platform (Windows,Linux) 4.0.0 - Carbon now supports Dotnet 6 in terms of both minimal and not minimal - Fluent Validation Upgraded - Swagger Upgraded - BodyRewind deprecated, thus RoleFilteredDto is now unsupported as it is unnecessary just after repository-level validation introduced - Some Performance Improvements

Carbon.MassTransit

3.10.6 - HttpRequestAuditEvent exchange name standardized to "audit.httprequests" 3.10.5 - Carbon.Audit version update, HttpAudit added 3.10.4 - Carbon.Audit version update 3.10.3 - Add Carbon.Audit package and GlobalConventionsExtensions class. 3.10.2 - Healthcheck for RabbitMQ fixed; special characters inthe username and password are now supported 3.10.1 - Dotnet 8.0 target framework added, older versions removed 3.9.6 - ReqRespAsync pattern support via ServiceBus restored - RoutingSlip ServiceBus support added 3.9.3 - It is now possible to call AddAsHighAvailableQueue and AddAsDefaultQueue extensions using custom RabbitMQSettings objects. 3.9.2 - Fixes a dependency injection unexpected behaviour when multi reqrespasync used 3.9.0 - MultiTarget framework support (.net3.1 - 5 - 6) rather than being single target with .NetStandard 2.0 which is outdated 3.8.0 - It is now possible to supply custom configuration objects to AddRabbitMqBus and AddServiceBus extensions. - It is now possible to give custom health check tags to AddRabbitMqBus extensions (helps in avoiding duplicates). 3.7.8 - Fixed a critical bug when ReqRespAsync is used in multiple APIs and same virtual hosts - Add multiple responder to your project 3.7.2 -Fixed a bug for quorum ReqRespAsync patterns 3.7.0 - HighAvailable Queues introduced (powered by quorum) 3.6.0 - ReqRespAsync as GetResponse/Respond Pattern introduced - Awaitable saga, routing slip or ReqRespAsync - Some other useful extension methods 3.5.2 - Minor fixes - Request Response Async Pattern response sender can send response from anywhere thanks to bus 3.5.0 - Request-Response Async Pattern introduced 3.4.0 - Masstransit upgraded to latest 7.x.x version - Masstransit HostedService is now using the as-is one comes directly from MassTransit package - RabbitMQ Healthchecks are now more accurate including all the consumers and their healthiness 3.3.0 - RoutingSlip pattern Added (ConsumeRoutingSlipActivity as consumer) 3.1.1 - MultiBus Hosted Service registration fixed 3.1.0 - MultiBus Support Added 3.0.4 -Health Check with IConnection 3.0.3 -Buggy Rabbitmq healthcheck removed temporarily, will be fixed in a later version 3.0.2 -Added Health Check 3.0.1 -Recovered the port settings feature from 2.0.8 3.0.0 -MassTransit 7.1.5 support added 2.1.0 -MassTransit 6.3.1 support added. Use this version, if MassTransit 6.3.1 required in your project. 2.0.8 -Port Issue fixed (RabbitMQ started using the port number in settings.) 2.0.7 -Prefetch Count Added

Carbon.WebApplication.EntityFrameworkCore

2.5.5 Carbon.Audit version update, token considered sensitive and redacted. 2.5.4 Carbon.Audit version update, HttpAudit added 2.5.3 Carbon.Audit version update 2.5.2 Carbon.Audit package added to support audit logging for database operations. 2.5.1 Carbon.Common version update 2.5.0 Dependent Carbon.Domain packages updated. 2.4.2 Dotnet 8 and EntityFrameworkCore 8 support added. 2.3.5 Upgrade Carbon.Domain.EntityFrameworkCore (WhereContains extension method bug resolved) 2.3.4 Upgrade Carbon.PagedList (Remove pageSize and pageNumber validation check) 2.3.3 Upgrade Carbon.Domain.EntityFramework version (Added OwnerType.None in ownership filter) 2.3.2 Fixed EFExtensions FirstOrDefaultEntity methods. Null check condition is added for the Relation object 2.3.1 Npgsql datetime conversion approach announced as dotnet 6 breaking change defered to a later time, overriding with a AppContext switch to continue using default behaviour 2.2.0 Dotnet 6 and EfCore 6 support added when referenced by Carbon.Domain.EntityFrameworkCore 3.0.0 and Dotnet 6.0 2.1.0 Read-Only Context and Repository added in order to implement CQRS over replicated SQL servers. Simply use AddDatabaseWithReadOnlyReplicaContext method in your startup by passing your readonly context. 2.0.1 Postgre and MSSQL healthcheck mismatch fixed 2.0.0 (Unstable - please update to at least 2.0.1) Entityframework Core 5 support added 1.4.0 (Unstable - please update to at least 2.0.1) Added health check. *** 1.3.0 Database Seeding Support added, Just create a seeder with IContextSeed interface and use app.SeedDatabase by passing your seeder into this method *** 1.2.6 Migration Management Changed (Multiple Migration) Each Migrations should locate under a seperate class library named with {The API Namespace which uses this migration} +{.{Target EF Name [PostgreSQL, MSSQL]}} (e.g. Platform360.AssetManagement.API.PostgreSQL, Platform360.AssetManagement.API.MSSQL) *** PostgreSQL Support Added as of 1.2.0 (Multiple EF Target) - Use ConnectionTarget key in your ConnectionStrings Section [postgresql, mssql] of your Configuration. - Use AddDatabaseContext Carbon extension while adding your dbContext to use the support mentioned above

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1 254 5/11/2026
1.1.0 259 5/11/2026
1.0.2 206 5/5/2026
1.0.1 370 4/17/2026
1.0.0 109 4/14/2026