dreamteamprod / dreamteamprod/DigiScript
Add audit log for data modification events
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 19
- Forks
- 4
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 37
Description
Generate an audit log (optionally turned on/off in the system settings) for events which change the state of the DB. The audit log should be saved into the database itself, and should contain the following fields:
- Timestamp of the event
- IP address of the user doing the event
- The user (if they are logged in) who did the event
- The type of the event
- The content of any POST/PUT/PATCH etc requests
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the backend request handlers for data-modifying events, the system settings entry point, and the database models used for persistence. Define the audit record around the listed timestamp, IP, user, event type, and request-content fields, with completion meaning that logging can be enabled or disabled and records are stored in the database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql, sqlalchemy
- Domain
- backend, database, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100