Skip to content

Commit bddfe27

Browse files
authored
Merge pull request #9097 from DefectDojo/release/2.29.0
Release: Merge release into master from: release/2.29.0
2 parents 2f44d42 + 402d970 commit bddfe27

97 files changed

Lines changed: 11344 additions & 1168 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.

.github/workflows/release-1-create-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Create Pull Request
8989
env:
9090
REPO_ORG: ${{ env.repoorg }}
91-
uses: actions/github-script@v6
91+
uses: actions/github-script@v7
9292
with:
9393
github-token: ${{ secrets.GITHUB_TOKEN }}
9494
script: |

.github/workflows/release-3-master-into-dev.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,23 @@ jobs:
5555
grep version dojo/__init__.py
5656
grep appVersion helm/defectdojo/Chart.yaml
5757
grep version components/package.json
58-
58+
59+
- name: Create upgrade notes to documentation
60+
run: |
61+
minorv=$(echo ${{ github.event.inputs.release_number_dev }} | cut -d '.' -f -2)
62+
patchv=$(echo ${{ github.event.inputs.release_number_dev }} | cut -d '-' -f -1)
63+
weight=$(date +%Y%m%d)
64+
echo -n "---
65+
title: 'Upgrading to DefectDojo Version $minorv.x'
66+
toc_hide: true
67+
weight: -$weight
68+
description: No special instructions.
69+
---
70+
There are no special instructions for upgrading to $minorv.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/$patchv) for the contents of the release.
71+
" > docs/content/en/getting_started/upgrading/$minorv.md
72+
git add docs/content/en/getting_started/upgrading/$minorv.md
73+
if: endsWith(github.event.inputs.release_number_dev, '.0-dev')
74+
5975
- name: Push version changes
6076
uses: stefanzweifel/git-auto-commit-action@v5.0.0
6177
with:
@@ -70,7 +86,7 @@ jobs:
7086
- name: Create Pull Request
7187
env:
7288
REPO_ORG: ${{ env.repoorg }}
73-
uses: actions/github-script@v6
89+
uses: actions/github-script@v7
7490
with:
7591
github-token: ${{ secrets.GITHUB_TOKEN }}
7692
script: |
@@ -136,7 +152,7 @@ jobs:
136152
- name: Create Pull Request
137153
env:
138154
REPO_ORG: ${{ env.repoorg }}
139-
uses: actions/github-script@v6
155+
uses: actions/github-script@v7
140156
with:
141157
github-token: ${{ secrets.GITHUB_TOKEN }}
142158
script: |

.github/workflows/submodule-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Trigger workflow in Documentation Repo
18-
uses: actions/github-script@v6
18+
uses: actions/github-script@v7
1919
with:
2020
github-token: ${{ secrets.DOCUMENTATION_TOKEN }}
2121
script: |

Dockerfile.integration-tests-debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# code: language=Dockerfile
33

4-
FROM openapitools/openapi-generator-cli:v7.0.1@sha256:26e3add1a66473bdac63cd3eeec9363d776c343eb50e5e66e97b9ad0d34beaf4 as openapitools
4+
FROM openapitools/openapi-generator-cli:v7.1.0@sha256:6e6da58bad0078a5f79f666a8b09e9b512528d92526a0f611dda3963f9672115 as openapitools
55
FROM python:3.11.4-slim-bullseye@sha256:40319d0a897896e746edf877783ef39685d44e90e1e6de8d964d0382df0d4952 as build
66
WORKDIR /app
77
RUN \

README.md

Lines changed: 87 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,70 @@
11
# DefectDojo
22

33
<table>
4-
<tr styl="margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%);">
5-
<th><a href="https://opensourcesecurityindex.io/" target="_blank" rel="noopener">
6-
<img style="width: 282px; height: 56px" src="https://opensourcesecurityindex.io/badge.svg"
7-
alt="Open Source Security Index - Fastest Growing Open Source Security Projects" width="282" height="56" />
8-
</a></th>
9-
<th>
10-
<p><a href="https://www.owasp.org/index.php/OWASP_DefectDojo_Project"><img
11-
src="https://img.shields.io/badge/owasp-flagship%20project-orange.svg" alt="OWASP Flagship"></a> <a
12-
href="https://github.com/DefectDojo/django-DefectDojo"><img
13-
src="https://img.shields.io/github/release/DefectDojo/django-DefectDojo.svg" alt="GitHub release"></a> <a
14-
href="https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ"><img
15-
src="https://img.shields.io/badge/youtube-subscribe-%23c4302b.svg" alt="YouTube Subscribe"></a> <img
16-
src="https://img.shields.io/twitter/follow/defectdojo.svg?style=social&amp;label=Follow" alt="Twitter Follow">
17-
</p>
18-
<p><a href="https://github.com/DefectDojo/django-DefectDojo/actions"><img
19-
src="https://github.com/DefectDojo/django-DefectDojo/actions/workflows/unit-tests.yml/badge.svg?branch=master"
20-
alt="Unit Tests"></a><a href="https://github.com/DefectDojo/django-DefectDojo/actions"><img
21-
src="https://github.com/DefectDojo/django-DefectDojo/actions/workflows/integration-tests.yml/badge.svg?branch=master"
22-
alt="Integration Tests"></a> <a href="https://bestpractices.coreinfrastructure.org/projects/2098"><img
23-
src="https://bestpractices.coreinfrastructure.org/projects/2098/badge" alt="CII Best Practices"></a></p>
24-
</th>
25-
</tr>
4+
<tr styl="margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%);">
5+
<th>
6+
<a href="https://opensourcesecurityindex.io/" target="_blank" rel="noopener">
7+
<img style="width: 282px; height: 56px" src="https://opensourcesecurityindex.io/badge.svg"
8+
alt="Open Source Security Index - Fastest Growing Open Source Security Projects" width="282" height="56" />
9+
</a>
10+
</th>
11+
<th>
12+
<p>
13+
<a href="https://www.owasp.org/index.php/OWASP_DefectDojo_Project"><img src="https://img.shields.io/badge/owasp-flagship%20project-orange.svg" alt="OWASP Flagship"></a>
14+
<a href="https://github.com/DefectDojo/django-DefectDojo/releases/latest"><img src="https://img.shields.io/github/release/DefectDojo/django-DefectDojo.svg" alt="GitHub release"></a>
15+
<a href="https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ"><img src="https://img.shields.io/badge/youtube-subscribe-%23c4302b.svg" alt="YouTube Subscribe"></a>
16+
<a href="https://twitter.com/defectdojo/"><img src="https://img.shields.io/twitter/follow/defectdojo.svg?style=social&amp;label=Follow" alt="Twitter Follow"></a>
17+
</p>
18+
<p>
19+
<a href="https://github.com/DefectDojo/django-DefectDojo/actions"><img src="https://github.com/DefectDojo/django-DefectDojo/actions/workflows/unit-tests.yml/badge.svg?branch=master" alt="Unit Tests"></a>
20+
<a href="https://github.com/DefectDojo/django-DefectDojo/actions"><img src="https://github.com/DefectDojo/django-DefectDojo/actions/workflows/integration-tests.yml/badge.svg?branch=master" alt="Integration Tests"></a>
21+
<a href="https://bestpractices.coreinfrastructure.org/projects/2098"><img src="https://bestpractices.coreinfrastructure.org/projects/2098/badge" alt="CII Best Practices"></a>
22+
</p>
23+
</th>
24+
</tr>
2625
</table>
2726

2827
![Screenshot of DefectDojo](https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/screenshot1.png)
2928

30-
[DefectDojo](https://www.defectdojo.com/) is a security orchestration and
31-
vulnerability management platform.
32-
DefectDojo allows you to manage your application security program, maintain
33-
product and application information, triage vulnerabilities and
34-
push findings to systems like JIRA and Slack. DefectDojo enriches and
35-
refines vulnerability data using a number of heuristic algorithms that
36-
improve with the more you use the platform.
29+
[DefectDojo](https://www.defectdojo.com/) is a DevSecOps, ASPM (application security posture management), and
30+
vulnerability management tool. DefectDojo orchestrates end-to-end security testing, vulnerability tracking,
31+
deduplication, remediation, and reporting.
3732

3833
## Demo
3934

40-
Try out the demo server at [demo.defectdojo.org](https://demo.defectdojo.org)
35+
Try out DefectDojo on our demo server at [demo.defectdojo.org](https://demo.defectdojo.org)
4136

42-
Log in with `admin / 1Defectdojo@demo#appsec`. Please note that the demo is publicly accessible and regularly reset. Do not put sensitive data in the demo.
37+
Log in with username `admin` and password `1Defectdojo@demo#appsec`. Please note that the demo is publicly accessible
38+
and regularly reset. Do not put sensitive data in the demo.
4339

4440
## Quick Start for Compose V2
41+
4542
From July 2023 Compose V1 [stopped receiving updates](https://docs.docker.com/compose/reference/).
4643

47-
Compose V2 integrates compose functions into the Docker platform, continuing to support most of the previous docker-compose features and flags. You can run Compose V2 by replacing the hyphen (-) with a space, using `docker compose`, instead of `docker-compose`.
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`.
4847

4948
```sh
49+
# Clone the project
5050
git clone https://github.com/DefectDojo/django-DefectDojo
5151
cd django-DefectDojo
52-
# building
52+
53+
# Building Docker images
5354
./dc-build.sh
54-
# running (for other profiles besides postgres-redis look at https://github.com/DefectDojo/django-DefectDojo/blob/dev/readme-docs/DOCKER.md)
55+
56+
# Run the application (for other profiles besides postgres-redis see
57+
# https://github.com/DefectDojo/django-DefectDojo/blob/dev/readme-docs/DOCKER.md)
5558
./dc-up.sh postgres-redis
56-
# obtain admin credentials. the initializer can take up to 3 minutes to run
57-
# use docker-compose logs -f initializer to track progress
59+
60+
# Obtain admin credentials. The initializer can take up to 3 minutes to run.
61+
# Use docker compose logs -f initializer to track its progress.
5862
docker compose logs initializer | grep "Admin password:"
5963
```
64+
6065
## For Docker Compose V1
61-
You can run Compose V1 by editing the below files to add the hyphen (-) between `docker compose`.
66+
67+
You can run Compose V1 by editing the files below to add the hyphen (-) between `docker compose`.
6268
```sh
6369
dc-build.sh
6470
dc-down.sh
@@ -71,17 +77,18 @@ You can run Compose V1 by editing the below files to add the hyphen (-) between
7177
docker/setEnv.sh
7278
```
7379

74-
75-
Navigate to <http://localhost:8080>.
76-
80+
Navigate to `http://localhost:8080` to see your new instance!
7781

7882
## Documentation
7983

80-
- [Official Docs](https://documentation.defectdojo.com/) ([latest](https://documentation.defectdojo.com/) | [dev](https://documentation.defectdojo.com/dev))
81-
- [REST APIs](https://documentation.defectdojo.com/integrations/api-v2-docs/)
82-
- [Client APIs and Wrappers](https://documentation.defectdojo.com/integrations/api-v2-docs/#clients--api-wrappers)
83-
- [Authentication Options](readme-docs/AVAILABLE-PLUGINS.md)
84-
- [Parsers](https://documentation.defectdojo.com/integrations/parsers/)
84+
* [Official Docs](https://documentation.defectdojo.com/)
85+
* [Docs for our `dev` branch](https://documentation.defectdojo.com/dev/)
86+
* [REST APIs](https://documentation.defectdojo.com/integrations/api-v2-docs/)
87+
* [Client APIs and Wrappers](https://documentation.defectdojo.com/integrations/api-v2-docs/#clients--api-wrappers)
88+
* Authentication options:
89+
* [OAuth2/SAML2](https://documentation.defectdojo.com/integrations/social-authentication/)
90+
* [LDAP](https://documentation.defectdojo.com/integrations/ldap-authentication/)
91+
* [Supported tools](https://documentation.defectdojo.com/integrations/parsers/)
8592

8693
## Supported Installation Options
8794

@@ -91,52 +98,67 @@ Navigate to <http://localhost:8080>.
9198

9299
## Community, Getting Involved, and Updates
93100

94-
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/slack-logo-icon.png" alt="Slack" height="50"/>](https://owasp-slack.herokuapp.com/)
101+
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/slack-logo-icon.png" alt="Slack" height="50"/>](https://owasp.org/slack/invite)
95102
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/Linkedin-logo-icon-png.png" alt="LinkedIn" height="50"/>](https://www.linkedin.com/company/defectdojo)
96103
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/Twitter_Logo.png" alt="Twitter" height="50"/>](https://twitter.com/defectdojo)
97104
[<img src="https://raw.githubusercontent.com/DefectDojo/django-DefectDojo/dev/docs/static/images/YouTube-Emblem.png" alt="Youtube" height="50"/>](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ)
98105

99-
[Join the slack community](https://owasp.org/slack/invite) and discussion! Realtime discussion is done in the OWASP Slack Channel, #defectdojo.
100-
Follow DefectDojo on [Twitter](https://twitter.com/defectdojo), [Linkedin](https://www.linkedin.com/company/defectdojo), and [YouTube](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ) for project updates!
106+
[Join the OWASP Slack community](https://owasp.org/slack/invite) and participate in the discussion! You can find us in
107+
our channel there, [#defectdojo](https://owasp.slack.com/channels/defectdojo). Follow DefectDojo on
108+
[Twitter](https://twitter.com/defectdojo), [LinkedIn](https://www.linkedin.com/company/defectdojo), and
109+
[YouTube](https://www.youtube.com/channel/UCWw9qzqptiIvTqSqhOFuCuQ) for project updates!
101110

102111
## Contributing
103112

104-
:warning: Please note that DefectDojo will soon stop accepting new features to stabilize the API and data model for a
105-
forthcoming v3 release. See the contributing guidelines below for more details. :warning:
113+
:warning: We have instituted a [feature freeze](https://github.com/DefectDojo/django-DefectDojo/discussions/8002) on v2
114+
of DefectDojo as we begin work on v3. Please see our [contributing guidelines](readme-docs/CONTRIBUTING.md) for more
115+
information. Check out our latest update on v3 [here](https://github.com/DefectDojo/django-DefectDojo/discussions/8974).
106116

107-
See our [Contributing guidelines](readme-docs/CONTRIBUTING.md)
117+
## Pro Edition
118+
[Upgrade to DefectDojo Pro](https://www.defectdojo.com/pricing) today to take your DevSecOps to 11. DefectDojo Pro is
119+
designed to meet you wherever you are on your security journey and help you scale, with enhanced dashboards, additional
120+
smart features, tunable deduplication, and support from DevSecOps experts.
108121

109-
## Commercial Support and Training
110-
[Commercial support and training is availaible.](https://www.defectdojo.com/) For information please email info@defectdojo.com.
122+
Alternatively, for information please email info@defectdojo.com
111123

112124
## About Us
113125

114126
DefectDojo is maintained by:
115-
* Greg Anderson ([@devGregA](https://github.com/devgrega) | [linkedin](https://www.linkedin.com/in/g-anderson/))
116-
* Matt Tesauro ([@mtesauro](https://github.com/mtesauro) | [linkedin](https://www.linkedin.com/in/matttesauro/) | [@matt_tesauro](https://twitter.com/matt_tesauro))
127+
* Greg Anderson ([@devGregA](https://github.com/devgrega) | [LinkedIn](https://www.linkedin.com/in/g-anderson/))
128+
* Matt Tesauro ([@mtesauro](https://github.com/mtesauro) | [LinkedIn](https://www.linkedin.com/in/matttesauro/) |
129+
[@matt_tesauro](https://twitter.com/matt_tesauro))
117130

118131
Core Moderators can help you with pull requests or feedback on dev ideas:
119-
* Cody Maffucci ([@Maffooch](https://github.com/maffooch) | [linkedin](https://www.linkedin.com/in/cody-maffucci))
132+
* Cody Maffucci ([@Maffooch](https://github.com/maffooch) | [LinkedIn](https://www.linkedin.com/in/cody-maffucci))
120133

121134
Moderators can help you with pull requests or feedback on dev ideas:
122-
* Damien Carol ([@damnielcarol](https://github.com/damiencarol) | [linkedin](https://www.linkedin.com/in/damien-carol/))
135+
* Damien Carol ([@damiencarol](https://github.com/damiencarol) | [LinkedIn](https://www.linkedin.com/in/damien-carol/))
123136
* Jannik Jürgens ([@alles-klar](https://github.com/alles-klar))
124137
* Dubravko Sever ([@dsever](https://github.com/dsever))
125-
138+
* Charles Neill ([@cneill](https://github.com/cneill) | [@ccneill](https://twitter.com/ccneill))
139+
* Jay Paz ([@jjpaz](https://twitter.com/jjpaz))
140+
* Blake Owens ([@blakeaowens](https://github.com/blakeaowens))
126141

127142
## Hall of Fame
128-
* Valentijn Scholten ([@valentijnscholten](https://github.com/valentijnscholten) | [sponsor](https://github.com/sponsors/valentijnscholten) | [linkedin](https://www.linkedin.com/in/valentijn-scholten/)) - Valentijn served as a core moderator for 3 years. Valentijn’s contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the codebase. He consistently fielded questions, provided feedback on pull requests, and provided a helping hand wherever it was needed.
129-
* Fred Blaise ([@madchap](https://github.com/madchap) | [linkedin](https://www.linkedin.com/in/fredblaise/)) - Fred served as a core moderator during a critical time for DefectDojo. He contributed code, helped the team stay organized, and architected important policies and procedures.
130-
* Charles Neill ([@ccneill](https://twitter.com/ccneill)) – Charles served as a
131-
DefectDojo Maintainer for years and wrote some of Dojo's core functionality.
132-
* Jay Paz ([@jjpaz](https://twitter.com/jjpaz)) – Jay was a DefectDojo
133-
maintainer for years. He performed Dojo's first UI overhaul, optimized code structure/features, and added numerous enhancements.
134143

144+
* Valentijn Scholten ([@valentijnscholten](https://github.com/valentijnscholten) |
145+
[Sponsor](https://github.com/sponsors/valentijnscholten) |
146+
[LinkedIn](https://www.linkedin.com/in/valentijn-scholten/)) - Valentijn served as a core moderator for 3 years.
147+
Valentijn’s contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the
148+
codebase. He consistently fielded questions, provided feedback on pull requests, and provided a helping hand wherever
149+
it was needed.
150+
* Fred Blaise ([@madchap](https://github.com/madchap) | [LinkedIn](https://www.linkedin.com/in/fredblaise/)) - Fred
151+
served as a core moderator during a critical time for DefectDojo. He contributed code, helped the team stay organized,
152+
and architected important policies and procedures.
153+
* Aaron Weaver ([@aaronweaver](https://github.com/aaronweaver) | [LinkedIn](https://www.linkedin.com/in/aweaver/)) -
154+
Aaron has been a long time contributor and user of DefectDojo. He did the second major UI overhaul and his
155+
contributions include automation enhancements, CI/CD engagements, increased metadata at the product level, and many
156+
more.
135157

136158
## Security
137159

138160
Please report Security issues via our [disclosure policy](readme-docs/SECURITY.md).
139161

140162
## License
141163

142-
DefectDojo is licensed under the [BSD-3-Clause License](LICENSE.md)
164+
DefectDojo is licensed under the [BSD 3-Clause License](LICENSE.md)

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

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ services:
125125
source: ./docker/extra_settings
126126
target: /app/docker/extra_settings
127127
mysql:
128-
image: mysql:5.7.44@sha256:880063e8acda81825f0b946eff47c45235840480da03e71a22113ebafe166a3d
128+
image: mysql:5.7.44@sha256:f566819f2eee3a60cf5ea6c8b7d1bfc9de62e34268bf62dc34870c4fca8a85d1
129129
profiles:
130130
- mysql-rabbitmq
131131
- mysql-redis
@@ -138,7 +138,7 @@ services:
138138
volumes:
139139
- defectdojo_data:/var/lib/mysql
140140
postgres:
141-
image: postgres:16.0-alpine@sha256:acf5271bbecd4b8733f4e93959a8d2b536a57aeee6cc4b6a71890aaf646425b8
141+
image: postgres:16.1-alpine@sha256:b218fa67aa721648d3da64351bc9c779074cc17d4e3105dd3acb476627cb3746
142142
profiles:
143143
- postgres-rabbitmq
144144
- postgres-redis
@@ -149,14 +149,14 @@ services:
149149
volumes:
150150
- defectdojo_postgres:/var/lib/postgresql/data
151151
rabbitmq:
152-
image: rabbitmq:3.12.8-alpine@sha256:f1a169ec5763caccdd05c35499c1441a7eacf0c8f442618ca15df4c2da96a735
152+
image: rabbitmq:3.12.10-alpine@sha256:d3e61b5e0abb91c088482dc969b8ce2d611f718fcc751a3f8cb8fa2df69da200
153153
profiles:
154154
- mysql-rabbitmq
155155
- postgres-rabbitmq
156156
volumes:
157157
- defectdojo_rabbitmq:/var/lib/rabbitmq
158158
redis:
159-
image: redis:7.2.3-alpine@sha256:5482672695b73780afeddb2ee84d58f393f16f34718d76b246c76afe27465d4c
159+
image: redis:7.2.3-alpine@sha256:3ce533b2b057f74b235d1d8697ae08b1b6ff0a5e16827ea6a377b6365693c7ed
160160
profiles:
161161
- mysql-redis
162162
- postgres-redis

0 commit comments

Comments
 (0)