DeployBoard / DeployBoard/deployboard-python

Admin Log

Offen
#118 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
10
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**

As an Admin, I would like a way to see user's historical usage. Similar to CloudTrail, I would like to log user activity into a collection in the database. What type of activity should be logged?

**Attempted Login** - success/failure at least. Do we want to log source IP address? We could potentially use this to notify the user they are logging in from a new IP address in case of unauthorized login.
**Page Loads** (I don't think we need to get this granular).
**Edit anything** - I think this is the most important piece. I'd like to know who changed what, and when. A lot of items already include the most recent change, it would be nice to be able to see a complete change history for that item.
**Delete anything** - If someone deletes something, they might delete the item from the collection, but it wouldn't delete the history from the log, so we can use this as a way to keep that data around.

**Describe the solution you'd like**

Similar to the logs collection for all the deployment information. We can have some type of activity logs collection that just holds all the Activity on the application as described above.

**Describe alternatives you've considered**

None.

**Additional context**

None.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit der Überprüfung der bestehenden Protokollsammlung und der Datenbanknutzung in deployboard-python. Kläre, welche Aktivitäten und Felder beibehalten werden müssen, bevor du eine Sammlung für Aktivitätsprotokolle definierst; abgeschlossen bedeutet, dass Administratoren den Verlauf von Anmeldungen, Bearbeitungen und Löschungen einsehen können, ohne dass Datensätze verloren gehen, wenn Elemente entfernt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
mongodb, python
Bereich
backend, databases, security
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.