nais postgres enable-audit

nais postgres enable-audit APP_NAME [flags]

This is done by creating pgaudit extension in the database and enabling audit logging for personal user accounts.

Inherited options

--config
Specify the PATH to the configuration file.
-e, --environment
Specify the ENVIRONMENT to use for this command. Overrides the default environment from configuration.
--no-colors
Disable colors in the output.
-r, --reason
Justification for accessing the database. Required for audit logging.
-t, --team
Specify the TEAM to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.