Skip to content

Commit 40b5eee

Browse files
authored
Merge pull request #14076 from DefectDojo/release/2.54.1
Release: Merge release into master from: release/2.54.1
2 parents 16ab93d + f3fc3c5 commit 40b5eee

36 files changed

+10163
-97
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ docker/extra_fixtures/*
127127
!docker/extra_fixtures/readme.txt
128128
docker/extra_settings/*
129129
!docker/extra_settings/README.md
130+
dojo/settings/pro_settings.py
130131

131132

132133
# Helm dependencies

components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "defectdojo",
3-
"version": "2.54.0",
3+
"version": "2.54.1",
44
"license" : "BSD-3-Clause",
55
"private": true,
66
"dependencies": {

docs/content/en/changelog/changelog.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Here are the release notes for **DefectDojo Pro (Cloud Version)**. These release
88

99
For Open Source release notes, please see the [Releases page on GitHub](https://github.com/DefectDojo/django-DefectDojo/releases), or alternatively consult the Open Source [upgrade notes](/en/open_source/upgrading/upgrading_guide/).
1010

11+
## Jan 2025: v2.54
12+
13+
### Jan 5, 2025: v2.54.0
14+
15+
No significant UX changes.
16+
1117
## Dec 2025: v2.53
1218

1319
### Dec 29, 2025: v2.53.5
@@ -64,7 +70,7 @@ For Open Source release notes, please see the [Releases page on GitHub](https://
6470

6571
## Oct 2025: v2.51
6672

67-
### Oct 27, 2025: v2.51.3
73+
#### Oct 27, 2025: v2.51.3
6874

6975
* **(Tools)** Added Nuclei scan support for Smart Upload.
7076
* **(Priority)** Added Prioritization Engine to allow for configurable Priority and Risk calculations for individual Findings under a given Product.
@@ -73,12 +79,12 @@ For Open Source release notes, please see the [Releases page on GitHub](https://
7379

7480

7581

76-
### Oct 20, 2025: v2.51.2
82+
#### Oct 20, 2025: v2.51.2
7783

7884
* **(Connectors)** Added Anchore Enterprise Connector.
7985

8086

81-
### Oct 14, 2025: v2.51.1
87+
#### Oct 14, 2025: v2.51.1
8288

8389
* **(Pro UI)** Added Finding Quick Report feature. Quick report allows users to quickly render an HTML report with the currently displayed Findings on a Finding table.
8490

@@ -95,7 +101,7 @@ Click the calculator button to render a score based on the vector string.
95101
* **(Pro UI)** File names (for attached artifacts) can now be edited directly in the UI.
96102
* **(Pro UI)** Redirect user to Home after a successful Support Inquiry submission.
97103

98-
### Oct 6, 2025: v2.51.0
104+
#### Oct 6, 2025: v2.51.0
99105

100106
No significant Pro changes are present in this release.
101107

docs/content/en/open_source/upgrading/2.54.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ The switch to `django-pghistory` provides several advantages:
3030

3131
### Migration Notes
3232

33-
- A one-time data migration will take place to populate the `django-pghistory` tables with the initial snapshot of the tracked models.
33+
- A one-time data migration will take place to "backfill" the `django-pghistory` tables with the initial snapshot of the tracked models.
3434
- The migration is designed to be fail-safe: if it fails for some reason, it will continue where it left off.
35-
- The migration can also be performed up front via
35+
- If it fails completely or for any other reason you want to trigger it manually, you can do so via:
3636
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill_fast"`, or
3737
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill_simple"`, or
3838
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill"`
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Cloudflare Insights"
3+
toc_hide: true
4+
---
5+
6+
Import Cloudflare Insights findings using the **CSV export** provided by Cloudflare.
7+
8+
### Sample Scan Data
9+
Sample Cloudflare Insights files can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/cloudflare_insights).
10+
11+
### Supported Fields
12+
The parser supports the following CSV columns:
13+
14+
- `severity`
15+
- `issue_class`
16+
- `subject`
17+
- `issue_type`
18+
- `status`
19+
- `insight` *(optional)*
20+
- `detection_method` *(optional)*
21+
- `risk` *(optional)*
22+
- `recommended_action`

docs/content/supported_tools/parsers/file/gcloud_artifact_scan.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Once a scan is completed, results can be pulled via API/gcloud https://cloud.goo
88
### File Types
99
DefectDojo parser accepts Google Cloud Artifact Vulnerability Scan data as a .json file.
1010

11+
[This issue](https://github.com/DefectDojo/django-DefectDojo/issues/8552) describes the way to retrieve the json output.
12+
1113
### Sample Scan Data
1214
Sample reports can be found at https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/gcloud_artifact_scan
1315

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
title: "PingCastle"
23
toc_hide: true
34
---
45
Import results from the [PingCastle](https://www.pingcastle.com/documentation/).
56

67
### Sample Scan Data
7-
Sample PingCastle scans can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/pingcastle).
8+
Sample PingCastle scans can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/pingcastle).

dojo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Django starts so that shared_task will use this app.
55
from .celery import app as celery_app # noqa: F401
66

7-
__version__ = "2.54.0"
7+
__version__ = "2.54.1"
88
__url__ = "https://github.com/DefectDojo/django-DefectDojo"
99
__docs__ = "https://documentation.defectdojo.com"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 5.2.9 on 2026-01-09 23:56
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('dojo', '0254_remove_vulnerability_id_template_model'),
10+
]
11+
12+
operations = [
13+
migrations.RemoveField(
14+
model_name='system_settings',
15+
name='product_grade',
16+
),
17+
]

dojo/fixtures/defect_dojo_sample_data.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@
814814
"url_prefix": "",
815815
"team_name": "",
816816
"enable_product_grade": true,
817-
"product_grade": "def grade_product(crit, high, med, low):\r\n health=100\r\n if crit > 0:\r\n health = 40\r\n health = health - ((crit - 1) * 5)\r\n if high > 0:\r\n if health == 100:\r\n health = 60\r\n health = health - ((high - 1) * 3)\r\n if med > 0:\r\n if health == 100:\r\n health = 80\r\n health = health - ((med - 1) * 2)\r\n if low > 0:\r\n if health == 100:\r\n health = 95\r\n health = health - low\r\n\r\n if health < 5:\r\n health = 5\r\n\r\n return health",
818817
"product_grade_a": 90,
819818
"product_grade_b": 80,
820819
"product_grade_c": 70,

0 commit comments

Comments
 (0)