PostgreSQL Audit Extension

The PostgreSQL Audit Extension (or pgaudit) provides detailed session and/or object audit logging via the standard logging facility provided by PostgreSQL. The goal of PostgreSQL Audit to provide the tools needed to produce audit logs required to pass certain government, financial, or ISO certification audits.

For purposes of this the pgaudit project, the term “audit” refers to an official inspection of an individual’s or organization’s accounts, typically by an independent body.

The pgaudit project builds on the work done by members of the PostgreSQL Development Community in support of an open source audit capability for PostgreSQL. The source code associated with pgaudit is available under the PostgreSQL License.

Code symbol

Get the Source Code

Go To Repository
Document symbol

View Documentation

Open Now
Contribute symbol


The developers behind the PGAaudit project welcome feedback.
Please submit feature requests, pull requests, questions or comments on the project GitHub.

Contribute to PGAudit