Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL (HISTORY OF TABLE) should have "updated_at ", "db_username" for auditing. #1996

Open
akhtar-a opened this issue Jun 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@akhtar-a
Copy link

akhtar-a commented Jun 11, 2024

** The current select * from (HISTORY OF TABLE) query in ImmuDB only retrieves the _rev (revision number) for each data change. This proposal aims to enrich the audit trail by including the following additional information:

updated_at: A timestamp indicating the exact time of the data change.
db_username (optional): The username of the database user who made the change (if applicable). **

**
Benefits:
Improved Auditability: Capturing both timestamps and usernames strengthens the audit trail by providing a clear record of "who" and "when" data changes occurred. This facilitates compliance requirements and simplifies investigations in case of discrepancies.
Enhanced Traceability: Timestamps allow for easier tracking of data evolution over time. Additionally, usernames (if implemented) provide context regarding the source of modifications.
**

@akhtar-a akhtar-a added the enhancement New feature or request label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant