Skip to content

Conversation

@kjsbot
Copy link

@kjsbot kjsbot commented Jan 2, 2026

Description

Adds support for a audit logs table for all 3 databases.

Additional context and related issues

Following up on the discussion for issue #803, this PR adds new tables for auditing logs, it also creates supporting classes for updating the tables. Comments will be collected via the UI and from the body of curl requests (separate PR). Open to any further discussion or questions!

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required, with the following suggested text:

* Add new table for audit logs.

@cla-bot cla-bot bot added the cla-signed label Jan 2, 2026

import static java.util.Objects.requireNonNull;

public class AuditLogger
Copy link
Contributor

@kbhatianr kbhatianr Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make AuditLogger an interface, and then add different types of AuditLoggers. e.g, a DatabaseAuditLogger for writing it to to the DB, and/or a LogAuditLogger that simply emits it out to log.info()

@kjsbot kjsbot requested review from mosabua and prakhar10 January 5, 2026 21:44
@kjsbot kjsbot requested a review from kbhatianr January 6, 2026 19:16
@kjsbot kjsbot changed the title [DRAFT WIP]Add table for Gateway audit logs Add table for Gateway audit logs Jan 6, 2026
@kjsbot kjsbot marked this pull request as ready for review January 6, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants