3973 add an audit log framework and provides a default audit writer, but it couldn't work with IcebergRESTServer, the main reason is the Iceberg REST event is defined in iceberg-rest-server module, while the default writer defined in core module.
How should we improve?
To make the default audit works for both Gravitino server and Iceberg REST server, I propose to add an auditInfo interface, all events should implement it, the default audit log writer could get the audit info from all the event.
What would you like to be improved?
3973 add an audit log framework and provides a default audit writer, but it couldn't work with IcebergRESTServer, the main reason is the Iceberg REST event is defined in
iceberg-rest-server
module, while the default writer defined incore
module.How should we improve?
To make the default audit works for both Gravitino server and Iceberg REST server, I propose to add an
auditInfo
interface, all events should implement it, the default audit log writer could get the audit info from all the event.