8000 RDS: Configure PG_AUDIT · Issue #17 · pellepelster/solidblocks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RDS: Configure PG_AUDIT #17

New issue

Have a question about this project? Sign up for a free G 8336 itHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
flobaader opened this issue Jul 1, 2023 · 0 comments
Open

RDS: Configure PG_AUDIT #17

flobaader opened this issue Jul 1, 2023 · 0 comments

Comments

@flobaader
Copy link

The Bitnami Docker Image provides a way to enable and configure the pg_audit module. A basic first implementation would be perfectly fine.

Bitnami Config:

Auditing
The Bitnami PostgreSQL Image comes with the pgAudit module enabled by default. Thanks to this, audit information can be enabled in the container with these environment variables:

POSTGRESQL_PGAUDIT_LOG: Comma-separated list with different operations to audit. Find in the [official pgAudit documentation](https://github.com/pgaudit/pgaudit#configuration) the list of possible values. No defaults.
POSTGRESQL_PGAUDIT_LOG_CATALOG: Session logging enabled in the case where all relations in a statement are in pg_catalog. No defaults.
POSTGRESQL_LOG_CONNECTIONS: Add log entry for logins. No defaults.
POSTGRESQL_LOG_DISCONNECTIONS: Add log entry for logouts. No defaults.
POSTGRESQL_LOG_HOSTNAME: Log the client hostname. No defaults.
POSTGRESQL_LOG_LINE_PREFIX: Define the format of the log entry lines. Find in the [official PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-logging.html) the string parameters. No defaults.
POSTGRESQL_LOG_TIMEZONE: Set the timezone for the log entry timestamp. No defaults.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0