{"repo":"nis2shield/django-nis2-shield","free":true,"listed":false,"github":"https://github.com/nis2shield/django-nis2-shield","clone":"git clone https://github.com/nis2shield/django-nis2-shield.git","description":"🛡️ Security-First Middleware for Django NIS2 Compliance","language":"Python","stars":21,"topics":["compliance","django","forensic","gdpr","logging","middleware","nis2","python","security"],"license":"MIT","category":"security-tools","readme_excerpt":"Django NIS2 Shield The \"Security-First\" Middleware for NIS2 Compliance. Companies subject to NIS2 Directive need demonstrable compliance . This middleware provides: 1. Forensic logging with HMAC-SHA256 integrity and PII encryption (Art. 21.2.h) 2. Rate limiting to prevent DoS/Brute Force attacks (Art. 21.2.e) 3. Session Guard to detect hijacking via IP/User-Agent validation (Art. 21.2.a) 4. MFA Gatekeeper for sensitive routes (Art. 21.2.j) 5. Multi-SIEM Presets : Ready-to-use configs for Splunk, Datadog, QRadar. Part of the NIS2 Shield Ecosystem : Use with @nis2shield/react-guard , @nis2shield/angular-guard , or @nis2shield/vue-guard for client-side protection and nis2shield/infrastructure for a full-stack implementation. ✨ Key Features 🔒 Forensic Logger - Standardized logs ( NIS2-JSON-SCHEMA v1.0 ) signed with HMAC-SHA256 - Automatic PII field encryption (GDPR compliant) - Configurable IP anonymization 🛡️ Active Defense - Rate Limiting : Protection against application-level DoS attacks (sliding window algorithm) - Session Guard : Session hijacking prevention with mobile network tolerance - Tor Blocker : Automatic blocking of Tor exit nodes - MFA Gatekeeper : 2FA redirect for sensitive paths 📊 Compliance & Reporting - check nis2 command for configuration auditing - Incident report generation for CSIRT (24h deadline) - SIEM presets for Elasticsearch, Splunk, QRadar, Graylog, Sumo Logic, and Datadog 🔔 Real-time Alerting (v0.3.0+) - Webhook notifications for security events ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nis2shield","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nis2shield/django-nis2-shield/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}