# thepirat000/Audit.NET

An extensible framework to audit executing operations in .NET

Repository: https://github.com/thepirat000/Audit.NET
Canonical: https://ross.abutalabs.com/products/auditnet
Homepage: https://www.learnentityframeworkcore.com/extensions/audit-entityframework-core
Language: C#
License: MIT
License Family: permissive
Topics: audit-log, audit, entity-framework, wcf, mvc, webapi, netcore, audit-logs
Last push: 2026-08-19T05:26:09+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 3676, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2645, forks 328 (observed 2026-08-28T04:07:06.711167+00:00)

## What it is
Audit.NET is an extensible .NET framework for generating audit logs of executing operations, capturing environmental data like user ID, machine name, method name, exceptions, and execution time. It ships with extensions for auditing Entity Framework, MVC, WebAPI, WCF, SignalR, gRPC, MongoDB, and file system interactions, with pluggable output providers.

## Use cases
- generate audit trails for entity framework CRUD operations
- track who changed what in my database
- audit web api requests and responses in asp.net core
- log execution time and exceptions of operations for compliance
- store audit logs to sql, mongo, or files
- capture caller user id and machine name on audited operations

## When to choose
- you need structured, extensible audit logging across .NET applications
- you want automatic audit trails for Entity Framework, MVC, WebAPI, or WCF operations
- you need pluggable audit log storage backends and custom field enrichment

## When to avoid
- you only need simple application logging rather than audit trails
- your stack is not .NET
- you need distributed tracing or metrics rather than operation auditing

## Facets
- artifact type: framework
- maturity: active
- function: logging, middleware, monitoring
- domain: developer-tools, backend, databases, web-development, security
- platform: dotnet, cross-platform
- tags: audit-log, audit-trail, entity-framework, aspnet-core, compliance, nuget

## Member repositories
- thepirat000/Audit.NET (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.711167+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:00.126928+00:00, confidence not recorded.
  - readme: https://github.com/thepirat000/Audit.NET (fetched 2026-08-28T04:07:06.711167+00:00, sha 516730e71775)
  - homepage: https://www.learnentityframeworkcore.com/extensions/audit-entityframework-core (fetched 2026-08-29T10:01:50.567153+00:00, sha 5e1794b3adf6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
