Skip to content

Commit 4152179

Browse files
Merge upstream/dev into authorization-query-optimize
Resolved conflicts: - docs/content/en/open_source/upgrading/2.55.md: Kept authorization optimization content with updated weight - unittests/test_importers_performance.py: Kept optimized query counts from authorization optimization branch - dojo/__init__.py: Added noqa comments for RUF067 on metadata attributes
2 parents 2c5404d + 0fdc9bd commit 4152179

65 files changed

Lines changed: 10499 additions & 426 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.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

README.md

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,12 @@ deduplication, remediation, and reporting.
3232

3333
Pro Edition: [pro.demo.defectdojo.com](https://pro.demo.defectdojo.com)
3434

35-
Community Edition: [demo.defectdojo.org](https://demo.defectdojo.org)
35+
OWASP Community Edition: [demo.defectdojo.org](https://demo.defectdojo.org)
3636

3737
Either demo enviornment can be logged into with username `admin` and password `1Defectdojo@demo#appsec`. Please note that the demos are publicly accessible
3838
and reset every day. Do not put sensitive data in the demo. An easy way to test DefectDojo is to upload some [sample scan reports](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans).
3939

40-
## Quick Start for Compose V2
41-
42-
From July 2023 Compose V1 [stopped receiving updates](https://docs.docker.com/compose/reference/).
43-
44-
Compose V2 integrates compose functions into the Docker platform, continuing to support most of the previous
45-
docker-compose features and flags. You can run Compose V2 by replacing the hyphen (-) with a space, using
46-
`docker compose` instead of `docker-compose`.
40+
## Quick Start for Docker Compose
4741

4842
```sh
4943
# Clone the project
@@ -65,18 +59,6 @@ docker compose up -d
6559
docker compose logs initializer | grep "Admin password:"
6660
```
6761

68-
## For Docker Compose V1
69-
70-
You can run Compose V1 by calling `docker-compose` (by adding the hyphen (-) between `docker compose`).
71-
72-
Following commands are using original version so you might need to adjust them:
73-
```sh
74-
docker/docker-compose-check.sh
75-
docker/entrypoint-initializer.sh
76-
docker/setEnv.sh
77-
```
78-
79-
Navigate to `http://localhost:8080` to see your new instance!
8062

8163
## Documentation
8264

@@ -91,29 +73,29 @@ Navigate to `http://localhost:8080` to see your new instance!
9173

9274
## Supported Installation Options
9375

94-
* [SaaS](https://cloud.defectdojo.com/accounts/onboarding/plg_step_1) - New UI, addittional features, includes support & supports the project
95-
* [Docker / Docker Compose](readme-docs/DOCKER.md)
76+
* Pro - SaaS or self-hosted (via K8s or docker compose). [Speak to our team](https://defectdojo.com/contact) or [sign-up for SaaS directly](https://cloud.defectdojo.com/accounts/onboarding/plg_step_1)
77+
* OS - [docker compose](readme-docs/DOCKER.md)
9678

9779

9880
## Community, Getting Involved, and Updates
9981

100-
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/slack-logo-icon.png" alt="Slack" height="50"/>](https://owasp.org/slack/invite)
82+
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/updated-dojo-chop.png" alt="Dojo" height="50"/>](https://community-defectdojo.tightknit.community/)
83+
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/slack-logo-icon.png" alt="Slack" height="50"/>](https://join.slack.com/t/defectdojocommunity/shared_invite/zt-3l9028wlf-ezDB29D_MIh9ShXdesCHZA)
10184
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/Linkedin-logo-icon-png.png" alt="LinkedIn" height="50"/>](https://www.linkedin.com/company/defectdojo)
102-
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/Twitter_Logo.png" alt="Twitter" height="50"/>](https://twitter.com/defectdojo)
85+
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/x_logo.jpg" alt="Twitter" height="50"/>](https://x.com/defectdojo)
10386
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/assets/images/YouTube-Emblem.png" alt="Youtube" height="50"/>](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ)
10487

105-
[Join the OWASP Slack Community](https://owasp.org/slack/invite) and participate in the discussion! You can find us in
106-
our channel there, [#defectdojo](https://owasp.slack.com/channels/defectdojo). Follow DefectDojo on
107-
[Twitter](https://twitter.com/defectdojo), [LinkedIn](https://www.linkedin.com/company/defectdojo), and
108-
[YouTube](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ) for project updates!
88+
Checkout our new [Community Portal](https://community-defectdojo.tightknit.community/) and join the DefectDojo community on [Slack](https://join.slack.com/t/defectdojocommunity/shared_invite/zt-3l9028wlf-ezDB29D_MIh9ShXdesCHZA)!
89+
90+
Follow DefectDojo on [LinkedIn](https://www.linkedin.com/company/defectdojo), [YouTube](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ), and [X](https://twitter.com/defectdojo) for platform updates!
10991

11092
## Contributing
11193

11294
Please see our [contributing guidelines](readme-docs/CONTRIBUTING.md) for details and standards on contributing __before__ considering or submitting a pull request.
11395

11496
## Pro Edition
11597

116-
[Upgrade to DefectDojo Pro!](https://defectdojo.com/pricing) Pro transcends the do-it-yourself approach of open-source: A new UI, incredibile scalability, API connectors, ServiceNow, GitHub, GitLab, Azure DevOps, automatic data enrichment, prioritization, and more! See all the differentiators at the bottom of our pricing page: [defectdojo.com/pricing](https://defectdojo.com/pricing).
98+
[Upgrade to DefectDojo Pro!](https://defectdojo.com/pricing) Pro transcends the do-it-yourself approach of open-source: A new UI, risk-based vulnerability management, incredibile scalability, API connectors, ServiceNow, GitHub, GitLab, Azure DevOps, automatic data enrichment, prioritization, and more! See all the differentiators at the bottom of our pricing page: [defectdojo.com/pricing](https://defectdojo.com/pricing).
11799

118100
Alternatively, for information please email hello@defectdojo.com
119101

@@ -128,7 +110,6 @@ Core Moderators can help you with pull requests or feedback on dev ideas:
128110
* Cody Maffucci ([@Maffooch](https://github.com/maffooch) | [LinkedIn](https://www.linkedin.com/in/cody-maffucci))
129111

130112
Moderators can help you with pull requests or feedback on dev ideas:
131-
* Charles Neill ([@cneill](https://github.com/cneill) | [@ccneill](https://twitter.com/ccneill))
132113
* Blake Owens ([@blakeaowens](https://github.com/blakeaowens))
133114

134115
## Hall of Fame
@@ -148,6 +129,11 @@ Moderators can help you with pull requests or feedback on dev ideas:
148129
Aaron has been a long time contributor and user of DefectDojo. He did the second major UI overhaul and his
149130
contributions include automation enhancements, CI/CD engagements, increased metadata at the product level, and many
150131
more.
132+
* Jay Paz ([@jjpaz](https://github.com/grendel513)) – Jay was a DefectDojo
133+
maintainer for years. He performed Dojo's first UI overhaul, optomized code structure/features, and added numerous enhancements.
134+
* Charles Neill ([@ccneill](https://github.com/cneill)) – Charles served as a
135+
maintainer of DefectDojo for years and wrote some of Dojo's core functionality.
136+
151137

152138
## Security
153139

components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "defectdojo",
3-
"version": "2.54.0-dev",
3+
"version": "2.55.0-dev",
44
"license" : "BSD-3-Clause",
55
"private": true,
66
"dependencies": {
@@ -33,7 +33,7 @@
3333
"metismenu": "~3.0.7",
3434
"moment": "^2.30.1",
3535
"morris.js": "morrisjs/morris.js",
36-
"pdfmake": "^0.3.0",
36+
"pdfmake": "^0.3.1",
3737
"startbootstrap-sb-admin-2": "1.0.7"
3838
},
3939
"engines": {

components/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,10 +385,10 @@ pdfkit@^0.17.2:
385385
linebreak "^1.1.0"
386386
png-js "^1.0.0"
387387

388-
pdfmake@^0.3.0:
389-
version "0.3.0"
390-
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.3.0.tgz#b42c5af9aef4095f1310564d4a2f2d49f950cae9"
391-
integrity sha512-sS7ow3ZrdFjlC7s4J5k3UA5IHQQbXRs6+NtdzfWDR0SvPa7+M8d69rITObFAsJ4t6iwkKRsc87Q+I/gFlTUVQg==
388+
pdfmake@^0.3.1:
389+
version "0.3.1"
390+
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.3.1.tgz#807b550477aab92597069f67d232607728d5afd5"
391+
integrity sha512-XPiTWgKyDkbpTyStPLa1QZCl+CfnNjt0uF18wl/OJp6o6xr9zJinBAOcMC64vufOYVk6OQT9ZdkS2r8sFNYtZw==
392392
dependencies:
393393
linebreak "^1.1.0"
394394
pdfkit "^0.17.2"

docker-compose.override.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ services:
6060
protocol: tcp
6161
mode: host
6262
"webhook.endpoint":
63-
image: mccutchen/go-httpbin:2.19.0@sha256:be41c6c3772393c097e15f9f8ac381de4ce9e9841c545556af98fbe2e707c619
63+
image: mccutchen/go-httpbin:2.20.0@sha256:b1620821b6ff191d911629f87a720b88df5397c2554045f1cfb1ffde17c9b898
3.83 KB
Loading

docs/assets/images/x_logo.jpg

30.6 KB
Loading

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"`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Upgrading to DefectDojo Version 2.55.x'
33
toc_hide: true
4-
weight: -20260101
4+
weight: -20260105
55
description: Authorization related optimizations
66
---
77

0 commit comments

Comments
 (0)