Category: Security
Managed DefectDojo: all your vulnerabilities in one place
The results of all your scanners in a single inventory, without duplicates, with deadlines to fix and risks accepted in writing, fed from every pipeline.
- Where it runs
- In your account, in your name
- Backups
- With tested restores
- Updates
- Planned and documented
- Licence
- Open source, BSD 3-Clause. DefectDojo Pro: commercial
In short
DefectDojo is an open source vulnerability management platform, licensed under BSD 3-Clause and an OWASP flagship project. It brings together the results of hundreds of scanners, removes duplicates and tracks each finding until it is fixed or accepted. We set it up in your account, connect your pipelines, tune deduplication and take care of backups and upgrades.
Or call us on 644 00 76 20
What do we take care of?
With three or four scanners in your pipelines, results end up scattered across CI artifacts, emails and spreadsheets, and nobody knows what has been fixed. DefectDojo brings them together, but only if imports always work and deduplication is properly tuned. This is what we maintain:
Application and API
The interface and the API v2 that the pipelines use, behind Nginx with HTTPS.
Celery
The workers that process imports and deduplication; we make sure the queue does not pile up.
PostgreSQL
Findings, history, risk acceptances and configuration, with tested backups.
Pipelines
Import templates for GitLab CI, GitHub Actions or another CI, with an integration token.
Deduplication
An algorithm per tool and well-defined products, so findings are not repeated.
SLAs and risks
Remediation deadlines by severity and accepted risks that expire and get reviewed again.
What architecture do we recommend?
The official installation of the open source edition is Docker Compose: Nginx in front, the Django application on uWSGI, the Celery workers and scheduler, Valkey as the queue and PostgreSQL. For most teams a single well-sized server is enough, with the database managed by the provider if it offers one.
Pipeline
The scanner runs on your runner and produces its report in the tool’s own format.
DefectDojo API
The pipeline uploads the report with reimport-scan to the matching product, engagement and test.
Celery
Processes the import in the background, removes duplicates and applies the remediation deadlines.
Tracking
Each finding stays open, mitigated, accepted or marked as a false positive and, if you want, with its Jira issue.
The project also publishes a Helm chart, but the supported option for the open source edition is Docker Compose. If you already have a Kubernetes cluster and would rather run it there, we look at it with you.
What problems do we find in a self-hosted DefectDojo?
- Import instead of reimport: every pipeline creates a new test and the same findings multiply.
- Everything in a single product: deduplication mixes repositories and the reports are useless to everyone.
- A person’s API token in the CI: if that person leaves and their user is deleted, imports stop.
- Stuck Celery queue: pipelines upload reports, but the findings never show up.
- Backups of the database only: without the uploaded files, or on the same server.
- Badly outdated versions: DefectDojo releases often, and jumping many versions at once makes migrations harder.
How do we connect the scanners?
We prepare one template per tool that every repository reuses: Trivy and Grype for images and dependencies, Semgrep for code, Gitleaks for secrets, OWASP ZAP for the deployed application and OWASP Dependency-Check wherever it is already used. If you run SonarQube, its security issues come in too, and Wazuh can contribute the vulnerabilities it detects on your servers. That way, results from code, containers and systems end up in the same inventory.
How do we protect access?
DefectDojo holds the list of your platform’s weak spots, so it cannot be left open to anyone. We change the initial admin account, create one user per person and grant access per product with the authorised users model of the open source edition. The interface sits behind the VPN or behind a proxy that asks you to sign in with your Keycloak, and the API is reachable only by the CI runners.
How do we handle backups and upgrades?
Every day we back up PostgreSQL and the uploaded files, encrypted and off the server, and from time to time we bring up a test DefectDojo from the backup to check that the products are there and that a new import gets processed. Before upgrading we read the release notes, take a backup and test the database migration on a replica, because with a lot of history it can take a while. The metric we watch most closely with Grafana and Prometheus is the Celery queue: if it grows, imports are running late.
Open source DefectDojo or DefectDojo Pro?
- Open source (BSD 3-Clause): imports from hundreds of scanners, deduplication, SLAs, risk acceptance, Jira, API and reports, with local accounts and per-product access.
- DefectDojo Pro (commercial, from DefectDojo Inc.): in the vendor’s cloud or self-hosted, with a different interface, risk-based prioritisation, connectors, single sign-on and roles.
Our recommendation: start with the open source edition, which covers what a software team needs to get its vulnerabilities in order. If you are required to have single sign-on or roles inside the tool, Pro. Deciding what to fix first and closing it out is part of vulnerability management.
- CI pipelinesTrivy, Semgrep, ZAP, Gitleaks…
- NginxHTTPS and static files
- DefectDojoDjango application and API v2
- Celery and ValkeyImports and deduplication in the background
- PostgreSQLFindings, history and configuration
Where do we set it up?
In your account, with the provider you already use or the one that fits best. If the data has to stay in the EU, Hetzner and OVHcloud are the European options.
Providers we set it up on
- Hetzner
- AWS
- Google Cloud
- Azure
- DigitalOcean
- OVH
- Own server
| Provider | How we set it up | Things to bear in mind |
|---|---|---|
| Hetzner | A cloud server with DefectDojo on Docker Compose, PostgreSQL run by us and backups to Hetzner Object Storage. | Hetzner has no managed database; we back it up and test the restores ourselves. |
| AWS | DefectDojo on EC2 with RDS for PostgreSQL and ElastiCache for Valkey, behind an Application Load Balancer. | |
| Google Cloud | DefectDojo on Compute Engine with Cloud SQL for PostgreSQL and Memorystore for Valkey. | |
| Azure | DefectDojo on a virtual machine with Azure Database for PostgreSQL. | |
| DigitalOcean | A Droplet with DefectDojo and a DigitalOcean managed PostgreSQL database. | |
| OVH | A Public Cloud instance with the OVHcloud managed database for PostgreSQL. | |
| Own server | DefectDojo on a virtual machine in your own servers, reachable by the CI runners. | If everything is internal, there is no need to publish it on the internet. |
What is included
- DefectDojo in your cloud account or on your server, with Docker Compose and the configuration in your repository.
- PostgreSQL with daily off-server backups and test restores, together with the uploaded files.
- Products, engagements and tests organised around your repositories and environments.
- Automatic imports from GitLab CI, GitHub Actions or another CI, with an API token for the integration.
- Deduplication tuned per tool, so the same flaw does not show up ten times.
- Remediation deadlines (SLAs) by severity, risk acceptance with an expiry date and Jira integration if you use it.
- Access behind a VPN or a sign-in proxy, HTTPS and users with per-product permissions.
- Upgrades with a backup first and monitored database migrations, plus alerts on the Celery queue.
Frequently asked questions
Does DefectDojo replace our scanners?
No. DefectDojo does not scan: it collects what Trivy, Grype, Semgrep, OWASP ZAP, Gitleaks, SonarQube, OWASP Dependency-Check, Wazuh and hundreds of other tools find, each through its own parser. What it adds is a single inventory, without duplicates, where you decide what gets fixed, by when and what gets accepted.
What is the difference between open source DefectDojo and DefectDojo Pro?
The open source edition, licensed under BSD 3-Clause, includes scanner imports, deduplication, SLAs, risk acceptance, Jira, the API and reports. DefectDojo Pro is the commercial edition from DefectDojo Inc.: it adds a different interface, risk-based prioritisation, connectors to other platforms, single sign-on and roles. We start with the open source edition and, if you need Pro, you buy it directly.
Can we sign in with Keycloak or our single sign-on?
Not in the open source edition: since version 3.0, single sign-on over SAML, OIDC or OAuth, Keycloak included, is DefectDojo Pro only, and the open source edition uses local accounts. What we do is put DefectDojo behind the VPN or behind a proxy that asks you to sign in with your Keycloak before reaching the application. If you need single sign-on inside DefectDojo itself, you need Pro.
How do results get in from GitLab CI or GitHub Actions?
Each pipeline uploads the scanner report to the DefectDojo API with reimport-scan. Reimporting always updates the same test: it adds new findings and marks as mitigated the ones that no longer appear, so the status reflects the real state of the branch. The token sits in a protected CI variable, tied to an integration user, not to a person.
How do we avoid drowning in repeated findings?
By tuning deduplication per tool and grouping products properly, because duplicates are searched for within each product. We add remediation deadlines by severity and risk acceptances with an expiry date, so that what was accepted gets reviewed again. And we start with the least noisy tools instead of importing everything on day one.
Tell us about your case
Call or write to us and we'll tell you where you stand and where to start. Free, no strings attached.
Or call us on 644 00 76 20
Official documentation consulted
The technical details on this page are based on:
Reviewed on