django-management-audit
Audit your app’s management command calls with a single line of code. Logs command name and start/end timestamps on every run.
Quickstart
Install django-south-central:
pip install django-management-audit
Create database table for audit records:
python manage.py syncdb
Usage
Modify your manage.py file to import audit installer and run it:
from management_audit import install install(['your_app_name',])
Optionally supply exclusion list of commands that you don’t want to audit:
install(['your_app_name',], ['command_to_ignore',])
When commands from your apps will be run, django-management-audit will create a database record for each run which includes command’s name and start/end timestamps.
TODO
Log command parameters in addition to name and timestamps.
Create admin UI to browse audit records.
Add inclusion list as opposite to exlusion list (verify if that’s a use case at all)
History
0.1.0 (2014-01-01)
First release on PyPI.
Metadata
Release files for django-management-audit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-management-audit-0.1.0.tar.gz | 5.5 kB | Without provenance | Details for django-management-audit-0.1.0.tar.gz |
Release files / django-management-audit-0.1.0.tar.gz
| Download URL | django-management-audit-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c0c243da7efc3f1f4ce67b622924d224087768fc73ba7b4f84ce72267a441c6
|
|
BLAKE2b-256 checksum How to use checksums |
1b5bbceaff9bfc0cbadb6b6bf2af0c632dfb142b4e106fcdc25fb60082c6845e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-management-audit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.