Skip to content

Audit log #122

@ypldan

Description

@ypldan

StatGPT Backend version

0.3.0

What is the problem this feature will solve?

Currently there's no way for admin to see what was happening with the configurations of different entities within StatGPT.

What is the proposed feature or solution?

Implement immutable audit log, that will be stored in Postgres and will capture the following actions:

  1. Add/modify/delete data source
  2. Add/modify/delete dataset
  3. Add/modify/delete/export/import channel
  4. Any reindexing & deduplication operations

Suggested audit log entries:

  1. Entity type: data source, dataset, channel
  2. Action type
  3. Entity id & name
  4. Who performed action (uuid)
  5. Action trigger(manual, smth else)
  6. State before change
  7. State after change
  8. Timestamp
  9. Trace ID

REST API endpoints will be required for accessing audit log in read only mode.

What alternatives have you considered?

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions