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 location for the configuration file.
-c,--context- REMOVED, see –environment.
-e,--environment- The
ENVIRONMENTto use. -n,--namespace- REMOVED, see –team.
--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.