- A security middleware for Django app to Detect OWASP Top Basic and generate report in your ThreatEquation dashboard.
pip install django_soc_lite
=================
. Add `django_soc_lite` to your project's `INSTALLED_APPS` in`settings.py` file.
. Add the following middleware to your project's `MIDDLEWARE_CLASSES` in `settings.py` file:
``'django_soc_lite.threat.middleware.ThreatEquationMiddleware',``
=================
. in your `settings.py` file place your keys in anywhere.
THREAT_EQUATION_PRODUCT_KEY = <your product_id>
THREAT_EQUATION_API_KEY = <your api_key>
. example-
THREAT_EQUATION_PRODUCT_KEY = 'aaaaabbbbb'
THREAT_EQUATION_API_KEY = '1111111111999999999999xxxxxxxxxxxxxxxxx'
Monitoring request data and generate reports on following areas -
- SQL injection
- XSS (Cross Site Scripting)
- Insecure File/Directory Access