pgaudit
provides auditing functionality
Module:
Categories:
Overview
PGDG 1st Party Extension: pgaudit
: provides auditing functionality
Information
- Extension ID: 7080
- Extension Name:
pgaudit
- Package Name:
pgaudit
- Category:
SEC
- License: PostgreSQL
- Website: https://github.com/pgaudit/pgaudit
- Language: C
- Extra Tags: N/A
- Comment:
Metadata
- Latest Version: 17.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Explicit Loading Required
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can not install to arbitrary schema
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pgaudit_$v*
- RPM Ver :
17.0
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-pgaudit
- DEB Ver :
17.0
- DEB Deps: N/A
Packages
Installation
Install pgaudit
via the pig
CLI tool:
pig ext install pgaudit
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgaudit"]}' # common case
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgaudit17"]}' # pg15 @ el
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgaudit16"]}' # pg14 @ el
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgaudit15"]}' # pg13 @ el
Install pgaudit
RPM from YUM repo directly:
dnf install pgaudit_17*;
dnf install pgaudit_16*;
dnf install pgaudit_15*;
dnf install pgaudit_14*;
dnf install pgaudit_13*;
Install pgaudit
DEB from APT repo directly:
apt install postgresql-17-pgaudit;
apt install postgresql-16-pgaudit;
apt install postgresql-15-pgaudit;
apt install postgresql-14-pgaudit;
apt install postgresql-13-pgaudit;
Extension pgaudit
has to be added to shared_preload_libraries
shared_preload_libraries = 'pgaudit'; # add to pg cluster config
Enable pgaudit
extension on PostgreSQL cluster:
CREATE EXTENSION pgaudit;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.