dreamteamprod / dreamteamprod/DigiScript

Add audit log for data modification events

Open
#697 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Timestamp of the event
  2. IP address of the user doing the event
  3. The user (if they are logged in) who did the event
  4. The type of the event
  5. The content of any POST/PUT/PATCH etc requests

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.