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

docgen: Restrict SQL activity logging by user/role doc update #108623

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/generated/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ data access to sensitive data:

- Data access audit events (when table audit is enabled via
[ALTER TABLE ... EXPERIMENTAL_AUDIT](alter-table.html#experimental_audit))
- Data access audit events (when role-based audit is enabled via
[`sql.log.user_audit` cluster setting](role-based-audit-logging.html#syntax-of-audit-settings))
- SQL statements executed by users with the admin role
- Operations that write to system tables

Expand Down
2 changes: 2 additions & 0 deletions pkg/util/log/channel/channel_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions pkg/util/log/log_channels_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/util/log/logpb/log.proto
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ enum Channel {
//
// - Data access audit events (when table audit is enabled via
// [ALTER TABLE ... EXPERIMENTAL_AUDIT](alter-table.html#experimental_audit))
// - Data access audit events (when role-based audit is enabled via
// [`sql.log.user_audit` cluster setting](role-based-audit-logging.html#syntax-of-audit-settings))
// - SQL statements executed by users with the admin role
// - Operations that write to system tables
//
Expand Down