Skip to content
New issue

Have a question about this project? Sign up for a free GitHub 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

(refactored branch) Proposal: Mode in which all superuser operations are output to the audit log. #25

Open
harada-toshi opened this issue Feb 10, 2017 · 0 comments

Comments

@harada-toshi
Copy link

Outline of the proposal

In the audit of PostgreSQL, it is important to logging the operation of the super user role (ex. "postgres").
For this reason, we propose adding a mode (log_superuser) to forcibly logging superuser operations in the option section of the configuration file.

Setting Example

[option]
  log_superuser = on
  • Parameter type is boolean.
  • The default value is on.

Behavior when log_superuser is on

  • All operations by roles with super user authority are subject to audit log output. Specifying the filter described in the rule section is invalidated.
  • For roles that are not superuser privileges, output the audit log according to the filter specification described in the rule section.

Behavior when log_superuser is off

  • Output the audit log according to the filter specification described in the rule section.
@harada-toshi harada-toshi changed the title (refactored branch) (refactored branch) Proposal: Mode in which all superuser operations are output to the audit log. (refactored branch) Proposal: Mode in which all superuser operations are output to the audit log. Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants