[MDEV-5983] Auditing plugin v2.0 Created: 2014-03-30 Updated: 2023-04-24 Resolved: 2023-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugin - Audit |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Critical |
| Reporter: | Alexey Botchkov | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 8 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
The set of desired features for the Auditing Plugin is big enough. Features planned to include in it:
2. Propagating Auditing Setting to log files In the same format current used for the auditing rows it could look like: 20180307 22:57:20,,,,,,AUDIT_CONFIG,,'server_audit_syslog_priority=LOG_INFO',0 3. Logging for changes of auditing settings 4. Placeholders instead of the real values for Query Logging. 5. Log rotation based on days 6. PRIVILEGES event type. |
| Comments |
| Comment by Daniel Black [ 2015-11-10 ] |
|
What i'd like in 2.0 is:
Happy for this all to be under a the same event server_audit_events=super |
| Comment by Su, Jun-Ming [ 2017-11-01 ] |
|
Could you consider to merge this issue? https://jira.mariadb.org/browse/MDEV-13421 |
| Comment by Ralf Gebhardt [ 2018-10-10 ] |
|
MDEV-11109 includes to be able to also exclude CONNECT events from logging for given users. With having user/role based filters the event CONNECT also can be excluded from logging them |
| Comment by Ricky [ 2021-09-19 ] |
|
Placeholders >Placeholders instead of the real values for Query Logging. I think this is a great idea! Our current use case involves the audit plugin to provide visibility of the queries executed against our databases for our data engineers. Ideally, we would like for the audit logs to be scrubbed of any sensitive data (not just passwords) before they leave our servers. Having this query redaction as first class support would be brilliant. Some sort of query fingerprinting, similar to what mysqldumpslow generates is perfect for our use case. Friendlier log format On a similar note, I have tried to parse the FILE format audit logs myself to redact queries and have found it difficult due to the log format. The format could be mistaken for CSV parsable but due to "object" portion of the log format appearing in single quotes it trips us many parsers which strictly adhere to RFC 4180. I see there is a ticket open requesting JSON support - https://jira.mariadb.org/browse/MDEV-17879. I would be interested in any improvement which makes machine parsing of these logs more straightforward. Is it worthwhile to have a separate ticket tracking any of these requests? Many thanks. |
| Comment by Ralf Gebhardt [ 2023-04-24 ] |
|
I am closing this task, which was a collection for possible new features for the audit plugin. Separate tasks might be created
Implemented as a new feature available in MariaDB Enterprise Audit
Will be reviewed and separate tasks created |