Architecture
High-level architecture
A SERIMA instance is made of the following components:
Web application: the Django project (
governanceplatform), served by Gunicorn or Apachemod_wsgi. Static files are served by the application itself, with WhiteNoise.Theme: the templates, styles and translations of the interface, in a separate Git repository checked out in the
themefolder (see Installation).PostgreSQL: all persistent data.
Redis: the message broker between the web application and the background workers.
Celery worker: runs the slow tasks outside the web requests — report generation (DOCX, PDF and the charts rendered with Kaleido), security objectives exports and imports.
Celery beat: triggers the scheduled tasks, such as reminders and data retention (see Installation).
File storage: generated reports and import/export files, written to
PATH_FOR_REPORTING_PDF.Email server: notifications, reminders and password resets.
Models
The overview shows the models of the four applications and their relations, without fields.
The diagrams below show each application in detail; models from other applications appear as plain boxes.
The django-parler translation models (*Translation) are left out: a translatable model is marked
<TranslatableModel> in its header.
Governance
Incident notification
Security objectives
Reporting
The diagrams are generated with make models.