Upgrading to DefectDojo Version 2.0.x | DefectDojo Documentation

Upgrading to DefectDojo Version 2.0.x

Follow the usual steps to upgrade as described above.

BEFORE UPGRADING

AFTER UPGRADING

We decided to name this version 2.0.0 because we did some big cleanups in this release:

./manage.py dedupe --hash_code_only.

If you’re using docker:

docker-compose exec uwsgi ./manage.py dedupe --hash_code_only.

This can take a while depending on your instance size.

Endpoints

Authorization

The new authorization system for Products and Product Types based on roles is the default now. The fields for authorized users are not available anymore, but you can assign roles as described in Permissions. Users are migrated automatically, so that their permissions are as close as possible to the previous authorization:

The new authorization is active for both UI and API. Permissions set via authorized users or via the Django Admin interface are no longer taken into account.

Please review the roles for your users after the upgrade to avoid an unintended permissions creep.