DeployBoard / DeployBoard/deployboard-python

Admin Log

Aperta
#118 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
10
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reviewing the existing logs collection and the database usage in deployboard-python. Clarify which activities and fields must be retained before defining an activity logs collection; done means admins can inspect login, edit, and delete history without losing records when items are removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
mongodb, python
Ambito
backend, databases, security
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.