Architecture

DefectDojo consists of several components that work together closely.

Architecture

NGINX

The webserver NGINX delivers all static content, e.g. images, JavaScript files or CSS files.

uWSGI

uWSGI is the application server that runs the DefectDojo application, written in Python/Django, to serve all dynamic content.

Message Broker

The application server sends tasks to a Message Broker for asynchronous execution. RabbitMQ is a well supported choice.

Celery Worker

Tasks like deduplication or the Jira synchonization are performed asynchronously in the background by the Celery Worker.

Celery Beat

In order to identify and notify users about things like upcoming engagements, DefectDojo runs scheduled tasks. These tasks are scheduled and run using Celery Beat.

Initializer

The Initializer gets started during startup of DefectDojo to initialize the database and run database migrations after upgrades of DefectDojo. It shuts itself down after all tasks are performed.

Database

The Database stores all data of DefectDojo. Currently MySQL and PostgreSQL are supported.

Last modified May 7, 2021: Documentation Update (#4468) (5488c932)