Skip to content

Commit 68821a8

Browse files
authored
Merge pull request #13173 from DefectDojo/release/2.50.2
Release: Merge release into master from: release/2.50.2
2 parents 228d0d5 + 8a72a83 commit 68821a8

File tree

33 files changed

+309
-87
lines changed

33 files changed

+309
-87
lines changed

Dockerfile.nginx-alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN CPUCOUNT=1 pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt
3434

3535

3636
FROM build AS collectstatic
37+
ARG COLLECT_DJANGO_DEBUG_TOOLBAR_STATIC=false
3738
RUN apk add nodejs npm
3839
RUN npm install -g yarn --force
3940

@@ -52,7 +53,7 @@ RUN \
5253
yarn
5354
COPY manage.py ./
5455
COPY dojo/ ./dojo/
55-
RUN env DD_SECRET_KEY='.' python3 manage.py collectstatic --noinput && true
56+
RUN env DD_SECRET_KEY='.' DD_DJANGO_DEBUG_TOOLBAR_ENABLED=${COLLECT_DJANGO_DEBUG_TOOLBAR_STATIC} python3 manage.py collectstatic --noinput --verbosity=2 && true
5657

5758
FROM nginx:1.29.1-alpine3.22@sha256:42a516af16b852e33b7682d5ef8acbd5d13fe08fecadc7ed98605ba5e3b26ab8
5859
ARG uid=1001

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.50.1",
3+
"version": "2.50.2",
44
"license" : "BSD-3-Clause",
55
"private": true,
66
"dependencies": {

docker-compose.override.dev.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ services:
77
environment:
88
PYTHONWARNINGS: error # We are strict about Warnings during development
99
DD_DEBUG: 'True'
10+
DD_DJANGO_DEBUG_TOOLBAR_ENABLED: 'True'
1011
DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}"
1112
DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}"
1213
DD_EMAIL_URL: "smtp://mailhog:1025"
@@ -33,6 +34,11 @@ services:
3334
DD_ADMIN_USER: "${DD_ADMIN_USER:-admin}"
3435
DD_ADMIN_PASSWORD: "${DD_ADMIN_PASSWORD:-admin}"
3536
nginx:
37+
build:
38+
args:
39+
COLLECT_DJANGO_DEBUG_TOOLBAR_STATIC: 'True'
40+
environment:
41+
DD_DJANGO_DEBUG_TOOLBAR_ENABLED: 'True'
3642
volumes:
3743
- './dojo/static/dojo:/usr/share/nginx/html/static/dojo'
3844
postgres:

docs/content/en/about_defectdojo/contact_defectdojo_support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For Open-Source users, the quickest way to get help is through the [OWASP Slack
1616

1717
To report a bug, issues can be raised on our [GitHub](https://github.com/DefectDojo/django-DefectDojo).
1818

19-
See our [Community Site](https://defectdojo.com/community) for more information.
19+
See our [Community Site](https://defectdojo.com/open-source) for more information.
2020

2121
## DefectDojo Pro Support
2222

docs/content/en/changelog/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ For Open Source release notes, please see the [Releases page on GitHub](https://
1010

1111
## Sept 2025: v2.50
1212

13+
### Sept 9, 2025: v2.50.1
14+
15+
* **(Tools)** Removed CSV limit for Qualys HackerGuardian
16+
* **(SSO)** Removed Force Password Reset for users created via SSO
17+
1318
### Sept 2, 2025: v2.50.0
1419

1520
* **(Pro UI)** "Date During" filter has been added to the UI, allowing users to filter by a range of dates

docs/content/en/connecting_your_tools/parsers/file/generic.md

Lines changed: 83 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
title: "Generic Findings Import"
2+
title: 'Generic Findings Import'
33
toc_hide: true
44
---
5+
56
Import Generic findings in CSV or JSON format.
67

78
Attributes supported for CSV:
9+
810
- Date: Date of the finding in mm/dd/yyyy format.
911
- Title: Title of the finding
1012
- CweId: Cwe identifier, must be an integer value.
@@ -18,13 +20,79 @@ Attributes supported for CSV:
1820
- Verified: Indicator if the finding has been verified. Must be empty, TRUE, or FALSE
1921
- FalsePositive: Indicator if the finding is a false positive. Must be TRUE, or FALSE.
2022
- Duplicate:Indicator if the finding is a duplicate. Must be TRUE, or FALSE
21-
- IsMitigated: Indicator if the finding is mitigated. Must be TRUE, or FALSE
23+
- IsMitigated: Indicator if the finding is mitigated. Must be TRUE, or FALSE
2224
- MitigatedDate: Date the finding was mitigated in mm/dd/yyyy format or ISO format
25+
- epss_score: Finding [EPSS score](https://www.first.org/epss/)
26+
- epss_percentile: Finding [EPSS percentile](https://www.first.org/epss/articles/prob_percentile_bins)
27+
- CVSSV3: CVSSv3 verctor of the finding
28+
- CVSSV3_score: CVSSv3 score of the finding
29+
- CVSSV4: CVSSv4 vector of the finding
30+
- CVSSV4_score: CVSSv4 score of the finding
31+
- known_exploited: Indicator if the finding is listed in Known Exploited List. Must be TRUE, or FALSE
32+
- ransomware_used: Indicator if the finding is used in Ransomware. Must be TRUE, or FALSE
33+
- fix_available: Indicator if fix available for the finding. Must be TRUE, or FALSE
34+
- kev_date: Date the finding was added to Known Exploited Vulnerabilities list in mm/dd/yyyy format or ISO format.
2335

2436
The CSV expects a header row with the names of the attributes.
2537

2638
Date fields are parsed using [dateutil.parse](https://dateutil.readthedocs.io/en/stable/parser.html) supporting a variety of formats such a YYYY-MM-DD or ISO-8601.
2739

40+
The list of supported fields in JSON format:
41+
42+
- title: **Required.** String
43+
- severity: **Required.** One of the "Critical", "High", "Medium", "Low", "Info"
44+
- description: **Required.** String
45+
- date: Date
46+
- cwe: Int
47+
- cve: String
48+
- epss_score: Float
49+
- epss_percentile: Float
50+
- cvssv3: String
51+
- cvssv3_score: Float
52+
- cvssv4: String
53+
- cvssv4_score: Float
54+
- mitigation: String
55+
- impact: String
56+
- steps_to_reproduce: String
57+
- severity_justification: String
58+
- references: String
59+
- active: Bool
60+
- verified: Bool
61+
- false_p: Bool
62+
- out_of_scope: Bool
63+
- risk_accepted: Bool
64+
- under_review: Bool
65+
- is_mitigated: Bool
66+
- thread_id: String
67+
- mitigated: Bool
68+
- numerical_severity: Int
69+
- param: String
70+
- payload: String
71+
- line: Int
72+
- file_path: String
73+
- component_name: String
74+
- component_version: String
75+
- static_finding: Bool
76+
- dynamic_finding: Bool
77+
- scanner_confidence: Int
78+
- unique_id_from_tool: String
79+
- vuln_id_from_tool: String
80+
- sast_source_object: String
81+
- sast_sink_object: String
82+
- sast_source_line: Int
83+
- sast_source_file_path: String
84+
- nb_occurences: Int
85+
- publish_date: Date
86+
- service: String
87+
- planned_remediation_date: Date
88+
- planned_remediation_version: String
89+
- effort_for_fixing: One of the "High", "Medium", "Low"
90+
- tags: List of Strings
91+
- kev_date: Date
92+
- known_exploited: Bool
93+
- ransomware_used: Bool
94+
- fix_available: Bool
95+
2896
Example of JSON format:
2997

3098
```JSON
@@ -39,13 +107,23 @@ Example of JSON format:
39107
"cve": "CVE-2020-36234",
40108
"cwe": 261,
41109
"cvssv3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
110+
"cvssv4": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
111+
"cvssv4_score": 7.3,
112+
"known_exploited": true,
113+
"ransomware_used": true,
114+
"fix_available": true,
115+
"kev_date": "2024-05-01",
42116
"file_path": "src/first.cpp",
43117
"line": 13,
44118
"endpoints": [
45119
{
46120
"host": "exemple.com"
47121
}
48-
]
122+
],
123+
"tags": [
124+
"security",
125+
"myTag"
126+
],
49127
},
50128
{
51129
"title": "test title with endpoints as strings",
@@ -144,9 +222,11 @@ Example:
144222
```
145223

146224
### Sample Scan Data
225+
147226
Sample Generic Findings Import scans can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/generic).
148227

149228
### Default Deduplication Hashcode Fields
229+
150230
By default, DefectDojo identifies duplicate Findings using these [hashcode fields](https://docs.defectdojo.com/en/working_with_findings/finding_deduplication/about_deduplication/):
151231

152232
- title

docs/content/en/connecting_your_tools/parsers/file/github_vulnerability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def get_dependabot_alerts_repository(repo, owner):
183183
)
184184

185185
result = request.json()
186-
output_result["data"]["repository"]["name"] = result["data"]["repository"][
187-
"name"
186+
output_result["data"]["repository"]["nameWithOwner"] = result["data"]["repository"][
187+
"nameWithOwner"
188188
]
189189
output_result["data"]["repository"]["url"] = result["data"]["repository"]["url"]
190190
if result["data"]["repository"]["vulnerabilityAlerts"]["totalCount"] == 0:

docs/content/en/customize_dojo/user_management/configure_sso.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ You can also optionally set the following variables:
564564
DD_SOCIAL_AUTH_OIDC_AUTHORIZATION_URL=(str, ''),
565565
DD_SOCIAL_AUTH_OIDC_USERINFO_URL=(str, ''),
566566
DD_SOCIAL_AUTH_OIDC_JWKS_URI=(str, ''),
567+
DD_SOCIAL_AUTH_OIDC_LOGIN_BUTTON_TEXT=(str, "Login with OIDC"),
567568
{{< /highlight >}}
568569

569570
Once these variables have been set, restart DefectDojo. Log In With OIDC should now be added to the DefectDojo login page.

docs/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 class="h4">Create Reports</h2>
4444
<div class="row justify-content-center text-center">
4545
<div class="col-lg-5">
4646
<h2 class="h4">Join the Dojo community</h2>
47-
<p>Check out live events, upcoming features and connect with other security professionals on our <a href="https://defectdojo.com/community">Community Page</a>.</p>
47+
<p>Check out live events, upcoming features and connect with other security professionals on our <a href="https://defectdojo.com/open-source">Community Page</a>.</p>
4848
</div>
4949
<div class="col-lg-5">
5050
<h2 class="h4">Sign up for a trial</h2>

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.50.1"
7+
__version__ = "2.50.2"
88
__url__ = "https://github.com/DefectDojo/django-DefectDojo"
99
__docs__ = "https://documentation.defectdojo.com"

0 commit comments

Comments
 (0)