Skip to content

Commit a38f8cd

Browse files
authored
Merge branch 'dev' into master-into-dev/2.47.1-2.48.0-dev
2 parents 314c61f + 4787a2c commit a38f8cd

File tree

8 files changed

+57
-41
lines changed

8 files changed

+57
-41
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ services:
105105
source: ./docker/extra_settings
106106
target: /app/docker/extra_settings
107107
postgres:
108-
image: postgres:17.5-alpine@sha256:f325a29ec9deb7039c5f07761d77d79d537dac836ecd99f982f6ca5476724604
108+
image: postgres:17.5-alpine@sha256:bcb90dc18910057ff49ce2ea157d8a0d534964090d39af959df41083f18c3318
109109
environment:
110110
POSTGRES_DB: ${DD_DATABASE_NAME:-defectdojo}
111111
POSTGRES_USER: ${DD_DATABASE_USER:-defectdojo}
@@ -114,7 +114,7 @@ services:
114114
- defectdojo_postgres:/var/lib/postgresql/data
115115
redis:
116116
# Pinning to this version due to licensing constraints
117-
image: redis:7.2.8-alpine@sha256:c88ea2979a49ca497bbf7d39241b237f86c98e58cb2f6b1bc2dd167621f819bb
117+
image: redis:7.2.9-alpine@sha256:fce236b99c58ef7196c4e243e43f533b404d5c17239cae4e6e262b729a1952b3
118118
volumes:
119119
- defectdojo_redis:/data
120120
volumes:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: 'Upgrading to DefectDojo Version 2.48.x'
3+
toc_hide: true
4+
weight: -20250602
5+
description: No special instructions.
6+
---
7+
There are no special instructions for upgrading to 2.48.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.48.0) for the contents of the release.

docs/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@thulite/images": "3.3.0",
1717
"@thulite/inline-svg": "1.2.0",
1818
"@thulite/seo": "2.4.1",
19-
"@tabler/icons": "3.33.0",
19+
"@tabler/icons": "3.34.0",
2020
"thulite": "2.5.0"
2121
},
2222
"devDependencies": {

dojo/tools/checkov/parser.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,17 @@ def get_item(vuln, test, check_type):
119119
if "check_name" in vuln:
120120
description += f"{vuln['check_name']}\n"
121121

122+
if "description" in vuln:
123+
description += f"\n{vuln['description']}\n"
124+
mitigation = ""
125+
if "benchmarks" in vuln:
126+
bms = vuln["benchmarks"].keys()
127+
if len(bms) > 0:
128+
mitigation += "\nBenchmarks:\n"
129+
for bm in bms:
130+
for gl in vuln["benchmarks"][bm]:
131+
mitigation += f"- {bm} # {gl['name']} : {gl['description']}\n"
132+
122133
file_path = vuln.get("file_path", None)
123134
source_line = None
124135
if "file_line_range" in vuln:
@@ -133,8 +144,6 @@ def get_item(vuln, test, check_type):
133144
if "severity" in vuln and vuln["severity"] is not None:
134145
severity = vuln["severity"].capitalize()
135146

136-
mitigation = ""
137-
138147
references = vuln.get("guideline", "")
139148
return Finding(
140149
title=title,

requirements-lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruff==0.11.12
1+
ruff==0.11.13

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
asteval==1.0.6
33
bleach==6.2.0
44
bleach[css]
5-
celery==5.5.2
5+
celery==5.5.3
66
defusedxml==0.7.1
77
django_celery_results==2.6.0
88
django-auditlog==3.1.2
@@ -35,20 +35,20 @@ psycopg[c]==3.2.9
3535
cryptography==45.0.3
3636
python-dateutil==2.9.0.post0
3737
pytz==2025.1
38-
redis==5.2.1
38+
redis==6.2.0
3939
requests==2.32.3
4040
sqlalchemy==2.0.41 # Required by Celery broker transport
4141
urllib3==2.4.0
42-
uWSGI==2.0.29
42+
uWSGI==2.0.30
4343
vobject==0.9.9
4444
whitenoise==5.2.0
4545
titlecase==2.4.1
4646
social-auth-app-django==5.4.3
4747
social-auth-core==4.6.1
4848
gitpython==3.1.44
49-
python-gitlab==5.6.0
49+
python-gitlab==6.0.0
5050
cpe==1.3.1
51-
packageurl-python==0.16.0
51+
packageurl-python==0.17.0
5252
django-crum==0.7.9
5353
JSON-log-formatter==1.1.1
5454
django-split-settings==1.3.2
@@ -64,12 +64,12 @@ hyperlink==21.0.0
6464
django-test-migrations==1.4.0
6565
djangosaml2==1.10.1
6666
drf-spectacular==0.28.0
67-
drf-spectacular-sidecar==2025.5.1
67+
drf-spectacular-sidecar==2025.6.1
6868
django-ratelimit==4.1.0
69-
argon2-cffi==23.1.0
69+
argon2-cffi==25.1.0
7070
blackduck==1.1.3
7171
pycurl==7.45.6 # Required for Celery Broker AWS (SQS) support
72-
boto3==1.38.26 # Required for Celery Broker AWS (SQS) support
72+
boto3==1.38.31 # Required for Celery Broker AWS (SQS) support
7373
netaddr==1.3.0
7474
vulners==2.3.7
7575
fontawesomefree==6.6.0

ruff.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,64 +32,64 @@ exclude = [
3232

3333
[lint]
3434
select = [
35-
"F",
36-
"E",
37-
"W",
38-
"C90",
39-
"I",
40-
"N803", "N804", "N811", "N812", "N813", "N814", "N817", "N818", "N999",
41-
"D2", "D3", "D402", "D403", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416",
42-
"UP",
35+
"AIR",
36+
"FAST",
4337
"YTT",
4438
"ASYNC",
4539
"S1", "S2", "S302", "S303", "S304", "S305", "S306", "S307", "S31", "S321", "S323", "S324", "S401", "S402", "S406", "S407", "S408", "S409", "S41", "S5", "S601", "S602", "S604", "S605", "S606", "S607", "S609", "S61", "S7",
4640
"FBT",
41+
"B00", "B010", "B011", "B012", "B013", "B014", "B015", "B016", "B017", "B018", "B019", "B020", "B021", "B022", "B023", "B025", "B028", "B029", "B03", "B901", "B903", "B905", "B911",
4742
"A",
4843
"COM",
4944
"C4",
45+
"DTZ003", "DTZ004", "DTZ012", "DTZ901",
5046
"T10",
5147
"DJ003", "DJ01",
5248
"EM",
5349
"EXE",
50+
"FIX",
5451
"FA",
55-
"DTZ003", "DTZ004", "DTZ012", "DTZ901",
52+
"INT",
5653
"ISC",
5754
"ICN",
5855
"LOG",
5956
"G001", "G002", "G01", "G1", "G2",
6057
"INP",
6158
"PIE",
6259
"T20",
60+
"PYI00", "PYI01", "PYI020", "PYI021", "PYI025", "PYI026", "PYI029", "PYI03", "PYI04", "PYI05", "PYI06",
61+
"PT001", "PT002", "PT003", "PT006", "PT007", "PT008", "PT01", "PT020", "PT021", "PT022", "PT023", "PT024", "PT025", "PT026", "PT028", "PT029", "PT03",
6362
"Q",
6463
"RSE",
6564
"RET",
66-
"SLOT",
6765
"SIM",
66+
"SLOT",
6867
"TID",
68+
"TD001", "TD004", "TD005", "TD007",
6969
"TC",
70-
"INT",
7170
"ARG003", "ARG004", "ARG005",
7271
"PTH",
73-
"TD001", "TD004", "TD005", "TD007",
74-
"FIX",
72+
"FLY",
73+
"I",
74+
"C90",
75+
"NPY",
7576
"PD",
77+
"N803", "N804", "N811", "N812", "N813", "N814", "N817", "N818", "N999",
78+
"PERF1", "PERF2", "PERF401", "PERF403",
79+
"E",
80+
"W",
81+
"DOC202", "DOC403", "DOC502",
82+
"D2", "D3", "D402", "D403", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416",
83+
"F",
7684
"PGH",
7785
"PLC01", "PLC02", "PLC0414", "PLC18", "PLC24", "PLC28", "PLC3",
7886
"PLE",
7987
"PLR01", "PLR02", "PLR04", "PLR0915", "PLR1716", "PLR172", "PLR173", "PLR2044", "PLR5", "PLR6104", "PLR6201",
8088
"PLW01", "PLW02", "PLW04", "PLW0602", "PLW0604", "PLW07", "PLW1", "PLW2", "PLW3",
81-
"TRY003", "TRY004", "TRY2", "TRY300", "TRY401",
82-
"PT001", "PT002", "PT003", "PT006", "PT007", "PT008", "PT01", "PT020", "PT021", "PT022", "PT023", "PT024", "PT025", "PT026", "PT028", "PT029", "PT03",
83-
"FLY",
84-
"NPY",
85-
"PYI00", "PYI01", "PYI020", "PYI021", "PYI025", "PYI026", "PYI029", "PYI03", "PYI04", "PYI05", "PYI06",
86-
"FAST",
87-
"AIR",
89+
"UP",
8890
"FURB",
89-
"DOC202", "DOC403", "DOC502",
9091
"RUF",
91-
"B00", "B010", "B011", "B012", "B013", "B014", "B015", "B016", "B017", "B018", "B019", "B020", "B021", "B022", "B023", "B025", "B028", "B029", "B03", "B901", "B903", "B905", "B911",
92-
"PERF1", "PERF2", "PERF401", "PERF403",
92+
"TRY003", "TRY004", "TRY2", "TRY300", "TRY401",
9393
]
9494
ignore = [
9595
"E501",

0 commit comments

Comments
 (0)