-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
51987: util/log: new logging channels SQL_SCHEMA, USER_ADMIN and PRIVILEGES r=itsbilal a=knz Release note (cli change): Notable events that pertain to SQL schema, user and privilege changes are now sent on the new SQL_SCHEMA, USER_ADMIN and PRIVILEGES channels. These can now be redirected to different sinks from the other log entries. **SQL_SCHEMA** The SQL_SCHEMA channel is used to report changes to the SQL logical schema, excluding privilege and ownership changes (which are reported on the separate channel PRIVILEGES) and zone config changes (which go to OPS). This includes: - database/schema/table/sequence/view/type creation - adding/removing/changing table columns - changing sequence parameters etc., more generally changes to the schema that affect the functional behavior of client apps using stored objects. **USER_ADMIN** The USER_ADMIN channel is the channel used to report changes in users and roles, including: - users added/dropped. - changes to authentication credentials, incl passwords, validity etc. - role grants/revocations. - role option grants/revocations. This is typically configured in "audit" mode, with event numbering and synchronous writes. **PRIVILEGES** The PRIVILEGES channel is the channel used to report data authorization changes, including: - privilege grants/revocations on database, objects etc. - object ownership changes. This is typically configured in "audit" mode, with event numbering and synchronous writes. Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
- Loading branch information
Showing
16 changed files
with
2,896 additions
and
1,443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.