Skip to main content

A reusable django [DRF] application that handles auditing of requests and logins

Project description

DRF Audit Trail

A reusable django [DRF] application that handles auditing of requests and logins

Features

  • Request audit trail
  • Logins audit trail
  • Integration simplejwt

Usage

Para usar este app, você precisa efetuar a instação do mesmo e logo apos adicionar-lo ao INSTALLED_APPS do Django e configurar o middlewares no array de middlewares do seu django settings

Installation

pip install drf-audit-trail

Add to Django INSTALLED_APPS configuration

# settings.py

INSTALLED_APPS = [
    ...
    "drf_audit_trail"
]

Add to Django MIDDLEWARE configuration

# settings.py

MIDDLEWARE = [
    ...
    "drf_audit_trail.middleware.RequestLoginAuditEventMiddleware",
]

Flow

DER

DER

DER

RequestLoginAuditEventMiddleware class diagram

DER

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf_audit_trail-0.1.7.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_audit_trail-0.1.7-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file drf_audit_trail-0.1.7.tar.gz.

File metadata

  • Download URL: drf_audit_trail-0.1.7.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for drf_audit_trail-0.1.7.tar.gz
Algorithm Hash digest
SHA256 326c725b707b109f5a337581287d54352dacc2b97263d500cd1152805f6eb3f7
MD5 0b20fe67b70b4a7a3b6954986103b32b
BLAKE2b-256 580a69d8bfbe6394df3c618e5636e0f1546ce54797a9159c2e1a19b3a4faf11b

See more details on using hashes here.

File details

Details for the file drf_audit_trail-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: drf_audit_trail-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for drf_audit_trail-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b1f17c8dd3fe6a10171a881fbac4bfc1fb38d9bb1e6e8d3b223f23252dee1521
MD5 5b9d82a9bcdcdb94b6f6069874dcf6f3
BLAKE2b-256 9b24fbabdeffa83aa72eaa47caf10521a50c20bf248542a027998673eaf653c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page