Skip to content

Commit c138758

Browse files
Merge pull request #5865 from DefectDojo/release/2.7.0
Release: Merge release into master from: release/2.7.0
2 parents f9b802a + a27fd7f commit c138758

File tree

128 files changed

+9850
-1234
lines changed

Some content is hidden

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

128 files changed

+9850
-1234
lines changed

.github/workflows/plantuml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
args: -v -tpng ${{ steps.getfile.outputs.files }}
3535
- name: Push Local Changes
36-
uses: stefanzweifel/git-auto-commit-action@v4.12.0
36+
uses: stefanzweifel/git-auto-commit-action@v4.13.1
3737
with:
3838
commit_user_name: "PlantUML_bot"
3939
commit_user_email: "[email protected]"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
grep -H version helm/defectdojo/Chart.yaml
6969
7070
- name: Push version changes
71-
uses: stefanzweifel/git-auto-commit-action@v4.12.0
71+
uses: stefanzweifel/git-auto-commit-action@v4.13.1
7272
with:
7373
commit_user_name: "${{ env.GIT_USERNAME }}"
7474
commit_user_email: "${{ env.GIT_EMAIL }}"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
grep appVersion helm/defectdojo/Chart.yaml
5050
grep version components/package.json
5151
- name: Push version changes
52-
uses: stefanzweifel/git-auto-commit-action@v4.12.0
52+
uses: stefanzweifel/git-auto-commit-action@v4.13.1
5353
with:
5454
commit_user_name: "${{ env.GIT_USERNAME }}"
5555
commit_user_email: "${{ env.GIT_EMAIL }}"

.github/workflows/test-helm-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
helm dependency update ./helm/defectdojo
3636
3737
- name: Set up chart-testing
38-
uses: helm/chart-testing-action@v2.1.0
38+
uses: helm/chart-testing-action@v2.2.0
3939

4040
- name: Determine target branch
4141
id: ct-branch-target

Dockerfile.nginx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ COPY dojo/ ./dojo/
6565

6666
RUN env DD_SECRET_KEY='.' python3 manage.py collectstatic --noinput && true
6767

68-
FROM nginx:1.21.4-alpine@sha256:12aa12ec4a8ca049537dd486044b966b0ba6cd8890c4c900ccb5e7e630e03df0
68+
FROM nginx:1.21.5-alpine@sha256:eb05700fe7baa6890b74278e39b66b2ed1326831f9ec3ed4bdc6361a4ac2f333
6969
ARG uid=1001
7070
ARG appuser=defectdojo
7171
COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ Navigate to <http://localhost:8080>.
3939

4040
## Documentation
4141

42-
- [Official docs](https://defectdojo.github.io/django-DefectDojo/) ([latest](https://defectdojo.github.io/django-DefectDojo/) | [dev](https://defectdojo.github.io/django-DefectDojo/dev))
42+
- [Official Docs](https://defectdojo.github.io/django-DefectDojo/) ([latest](https://defectdojo.github.io/django-DefectDojo/) | [dev](https://defectdojo.github.io/django-DefectDojo/dev))
4343
- [REST APIs](https://defectdojo.github.io/django-DefectDojo/integrations/api-v2-docs/)
4444
- [Client APIs and Wrappers](https://defectdojo.github.io/django-DefectDojo/integrations/api-v2-docs/#clients--api-wrappers)
45-
- [Authentication options](readme-docs/AVAILABLE-PLUGINS.md)
45+
- [Authentication Options](readme-docs/AVAILABLE-PLUGINS.md)
4646

4747
## Supported Installation Options
4848

4949
* [Docker / Docker Compose](readme-docs/DOCKER.md)
50+
* [AWS AMI ](https://aws.amazon.com/marketplace/pp/prodview-m2a25gr67xbzk) - Supports the Project
5051
* [godojo](https://github.com/DefectDojo/godojo)
5152

5253

@@ -78,19 +79,16 @@ DefectDojo is maintained by:
7879

7980
Core Moderators can help you with pull requests or feedback on dev ideas:
8081
* Valentijn Scholten ([@valentijnscholten](https://github.com/valentijnscholten) | [sponsor](https://github.com/sponsors/valentijnscholten) | [linkedin](https://www.linkedin.com/in/valentijn-scholten/))
81-
* Fred Blaise ([@madchap](https://github.com/madchap) | [linkedin](https://www.linkedin.com/in/fredblaise/))
8282
* Cody Maffucci ([@Maffooch](https://github.com/maffooch) | [linkedin](https://www.linkedin.com/in/cody-maffucci))
8383

8484
Moderators can help you with pull requests or feedback on dev ideas:
8585
* Damien Carol ([@damnielcarol](https://github.com/damiencarol) | [linkedin](https://www.linkedin.com/in/damien-carol/))
8686
* Stefan Fleckenstein ([@StefanFl](https://github.com/stefanfl) | ([linkedin](https://www.linkedin.com/in/stefan-fleckenstein-6a456a30/))
8787
* Jannik Jürgens ([@alles-klar](https://github.com/alles-klar))
88-
* Pascal Trovatelli ([@ptrovatelli](https://github.com/ptrovatelli) | [Sopra Steria](https://www.soprasteria.com/))
89-
* Alex Dracea ([linkedin](https://www.linkedin.com/in/alexandru-marin-dracea-910b51122/))
9088

9189

9290
## Hall of Fame
93-
91+
* 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.
9492
* Charles Neill ([@ccneill](https://twitter.com/ccneill)) – Charles served as a
9593
DefectDojo Maintainer for years and wrote some of Dojo's core functionality.
9694
* Jay Paz ([@jjpaz](https://twitter.com/jjpaz)) – Jay was a DefectDojo

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.6.2",
3+
"version": "2.7.0",
44
"license" : "BSD-3-Clause",
55
"private": true,
66
"dependencies": {
@@ -21,7 +21,7 @@
2121
"datatables.net-dt": "^1.11.3",
2222
"drmonty-datatables-plugins": "^1.0.0",
2323
"drmonty-datatables-responsive": "^1.0.0",
24-
"easymde": "^2.15.0",
24+
"easymde": "^2.16.0",
2525
"flot": "flot/flot#~0.8.3",
2626
"flot-axis": "markrcote/flot-axislabels#*",
2727
"font-awesome": "^4.0.0",

components/yarn.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
resolved "https://registry.yarnpkg.com/@foliojs-fork/restructure/-/restructure-2.0.2.tgz#73759aba2aff1da87b7c4554e6839c70d43c92b4"
4343
integrity sha512-59SgoZ3EXbkfSX7b63tsou/SDGzwUEK6MuB5sKqgVK1/XE0fxmpsOb9DQI8LXW3KfGnAjImCGhhEb7uPPAUVNA==
4444

45-
"@types/codemirror@0.0.109":
46-
version "0.0.109"
47-
resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-0.0.109.tgz#89d575ff1c7b462c4c3b8654f8bb38e5622e9036"
48-
integrity sha512-cSdiHeeLjvGn649lRTNeYrVCDOgDrtP+bDDSFDd1TF+i0jKGPDRozno2NOJ9lTniso+taiv4kiVS8dgM8Jm5lg==
45+
"@types/codemirror@^5.60.4":
46+
version "5.60.5"
47+
resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-5.60.5.tgz#5b989a3b4bbe657458cf372c92b6bfda6061a2b7"
48+
integrity sha512-TiECZmm8St5YxjFUp64LK0c8WU5bxMDt9YaAek1UqUb9swrSCoJhh92fWu1p3mTEqlHjhB5sY7OFBhWroJXZVg==
4949
dependencies:
5050
"@types/tern" "*"
5151

@@ -54,10 +54,10 @@
5454
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.47.tgz#d7a51db20f0650efec24cd04994f523d93172ed4"
5555
integrity sha512-c5ciR06jK8u9BstrmJyO97m+klJrrhCf9u3rLu3DEAJBirxRqSCvDQoYKmxuYwQI5SZChAWu+tq9oVlGRuzPAg==
5656

57-
"@types/marked@^2.0.2":
58-
version "2.0.2"
59-
resolved "https://registry.yarnpkg.com/@types/marked/-/marked-2.0.2.tgz#33a15106383f6e42cd6bdd38093e6b19904e29e1"
60-
integrity sha512-P4zanhCQKs4tiWPPBGpB7lHflgFCP9DFGNI5YtpW9MALKoy2qs9rHNWJ+z55cegD9uCfnmsKuaosq9FNvbxrOw==
57+
"@types/marked@^3.0.1":
58+
version "3.0.3"
59+
resolved "https://registry.yarnpkg.com/@types/marked/-/marked-3.0.3.tgz#37878f405d5f0cff0e6128cea330bd0aa8df8cb3"
60+
integrity sha512-ZgAr847Wl68W+B0sWH7F4fDPxTzerLnRuUXjUpp1n4NjGSs8hgPAjAp7NQIXblG34MXTrf5wWkAK8PVJ2LIlVg==
6161

6262
"@types/tern@*":
6363
version "0.23.3"
@@ -219,10 +219,10 @@ [email protected]:
219219
dependencies:
220220
typo-js "*"
221221

222-
codemirror@^5.61.0:
223-
version "5.61.0"
224-
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.61.0.tgz#318e5b034a707207948b92ffc2862195e8fdb08e"
225-
integrity sha512-D3wYH90tYY1BsKlUe0oNj2JAhQ9TepkD51auk3N7q+4uz7A/cgJ5JsWHreT0PqieW1QhOuqxQ2reCXV1YXzecg==
222+
codemirror@^5.63.1:
223+
version "5.65.0"
224+
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.65.0.tgz#50344359393579f526ca53797e510ff75477117f"
225+
integrity sha512-gWEnHKEcz1Hyz7fsQWpK7P0sPI2/kSkRX2tc7DFA6TmZuDN75x/1ejnH/Pn8adYKrLEA1V2ww6L00GudHZbSKw==
226226

227227
components-jqueryui@^1.0.0:
228228
version "1.12.1"
@@ -381,16 +381,16 @@ duplexer2@~0.1.4:
381381
dependencies:
382382
readable-stream "^2.0.2"
383383

384-
easymde@^2.15.0:
385-
version "2.15.0"
386-
resolved "https://registry.yarnpkg.com/easymde/-/easymde-2.15.0.tgz#73667c4879d8687b07651d6259ee652bba5d0b00"
387-
integrity sha512-9jMRIVvKt1d0UjRN45yotUYECAM4xvw0TTAQw8sYDONP++keWJVnd8Xrn+V+vQEN/v9/X0SWEoo1rFSgCooGpw==
384+
easymde@^2.16.0:
385+
version "2.16.0"
386+
resolved "https://registry.yarnpkg.com/easymde/-/easymde-2.16.0.tgz#631608e51565430c469be56c6aef1c0ead748495"
387+
integrity sha512-RNeb+JGCBfbhlyuwGfBqImt3lWeb8sy/3AH7O7IRk0N6YMwVXIKAam5Ph2H4cbjHl1mkAJ/ssxqbytLQvZsISA==
388388
dependencies:
389-
"@types/codemirror" "0.0.109"
390-
"@types/marked" "^2.0.2"
391-
codemirror "^5.61.0"
389+
"@types/codemirror" "^5.60.4"
390+
"@types/marked" "^3.0.1"
391+
codemirror "^5.63.1"
392392
codemirror-spell-checker "1.1.2"
393-
marked "^2.0.3"
393+
marked "^3.0.4"
394394

395395
es-abstract@^1.17.0-next.1, es-abstract@^1.17.5:
396396
version "1.17.6"
@@ -754,10 +754,10 @@ [email protected]:
754754
dependencies:
755755
sourcemap-codec "^1.4.1"
756756

757-
marked@^2.0.3:
758-
version "2.0.3"
759-
resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.3.tgz#3551c4958c4da36897bda2a16812ef1399c8d6b0"
760-
integrity sha512-5otztIIcJfPc2qGTN8cVtOJEjNJZ0jwa46INMagrYfk0EvqtRuEHLsEe0LrFS0/q+ZRKT0+kXK7P2T1AN5lWRA==
757+
marked@^3.0.4:
758+
version "3.0.8"
759+
resolved "https://registry.yarnpkg.com/marked/-/marked-3.0.8.tgz#2785f0dc79cbdc6034be4bb4f0f0a396bd3f8aeb"
760+
integrity sha512-0gVrAjo5m0VZSJb4rpL59K1unJAMb/hm8HRXqasD8VeC8m91ytDPMritgFSlKonfdt+rRYYpP/JfLxgIX8yoSw==
761761

762762
763763
version "1.0.4"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ services:
103103
source: ./docker/extra_settings
104104
target: /app/docker/extra_settings
105105
mysql:
106-
image: mysql:5.7.36@sha256:7a3a7b7a29e6fbff433c339fc52245435fa2c308586481f2f92ab1df239d6a29
106+
image: mysql:5.7.36@sha256:f2ad209efe9c67104167fc609cca6973c8422939491c9345270175a300419f94
107107
environment:
108108
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
109109
DD_DATABASE_URL: "${DD_DATABASE_URL:-mysql://defectdojo:defectdojo@mysql:3306/defectdojo}"

docker/entrypoint-initializer.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
#!/bin/sh
22

3-
# Test types shall be initialized every time by the initializer, to make sure test types are complete
4-
# when new parsers have been implemented
5-
initialize_test_types()
3+
initialize_data()
64
{
5+
# Test types shall be initialized every time by the initializer, to make sure test types are complete
6+
# when new parsers have been implemented
77
echo "Initialization of test_types"
88
python3 manage.py initialize_test_types
9+
10+
# Non-standard permissions cannot be created with a database migration, because the content type will only
11+
# be available after the dojo migrations
12+
echo "Creation of non-standard permissions"
13+
python3 manage.py initialize_permissions
914
}
1015

1116
# Allow for bind-mount setting.py overrides
@@ -65,7 +70,7 @@ then
6570
echo "Admin password: Initialization detected that the admin user ${DD_ADMIN_USER} already exists in your database."
6671
echo "If you don't remember the ${DD_ADMIN_USER} password, you can create a new superuser with:"
6772
echo "$ docker-compose exec uwsgi /bin/bash -c 'python manage.py createsuperuser'"
68-
initialize_test_types
73+
initialize_data
6974
exit
7075
fi
7176

@@ -118,6 +123,6 @@ EOD
118123
echo "Migration of textquestions for surveys"
119124
python3 manage.py migrate_textquestions
120125

121-
initialize_test_types
126+
initialize_data
122127

123128
fi

0 commit comments

Comments
 (0)