Upgrading to DefectDojo Version 2.54.x | DefectDojo Documentation

Upgrading to DefectDojo Version 2.54.x

Breaking Change: Removal of django-auditlog

Starting with DefectDojo 2.53, django-auditlog support has been removed in favour of django-pghistory. This is designed to be a backwards compatible change, unless:

Required Actions

If you’re using DD_AUDITLOG_TYPE, remove it from your configuration/environment.

Existing Records Preserved

Historical audit log entries stored in the auditlog_logentry table will continue to be displayed in the action history view for backward compatibility. No data migration is required.

Benefits of django-pghistory

The switch to django-pghistory provides several advantages:

Migration Notes

The backfill migration is not mandatory to succeed. If it fails for some reason, the only side effect will be that the first auditlog diff will contain all fields of an object instead just the changed fields.

Dropped support for DD_PARSER_EXCLUDE

To simplify the management of the DefectDojo application, parser exclusions are no longer controlled via the environment variable DD_PARSER_EXCLUDE or application settings. This variable is now unsupported. From now on, you should use the active flag in the Test_Type model to enable or disable parsers. Only parsers associated with active Test_Type entries will be available for use.

Import/reimport performance improvements

DefectDojo 2.54.x includes performance improvements for reimporting scan results, especially for large scans:

No action is required after upgrading. (Optional tuning knobs exist via DD_IMPORT_REIMPORT_MATCH_BATCH_SIZE and DD_IMPORT_REIMPORT_DEDUPE_BATCH_SIZE.)

Finding Template enhancements and removal of CWE matching

As communicated in the 2025Q1 community update the automated matching of Finding Templates based on CWE and/or title has now been removed.

There are other instructions for upgrading to 2.54.x. Check the Release Notes for the contents of the release: Release Notes