django-csp-mail-reports
django-csp-mail-reports is a Django app to forward csp reports to admin while preventing DOS with cooldown.
Quick start
-
Add "polls" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., "cspmailreports", ]
-
Include the polls URLconf in your project urls.py like this:
path('', include('cspmailreports.urls')),
- Start the development server.
- Post a report to
/report/
.