Skip to content

Commit 02b317e

Browse files
authored
Merge branch 'dev' into master-into-dev/2.37.2-2.38.0-dev
2 parents b0e4ed6 + 549555b commit 02b317e

File tree

326 files changed

+1630
-1533
lines changed

Some content is hidden

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

326 files changed

+1630
-1533
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DefectDojo is licensed under the 3-Clause BSD License: https://github.com/DefectDojo/django-DefectDojo/blob/master/LICENSE.md
22

33

4-
However, DefectDojos dependencies may have different licensing requirements and terms.
4+
However, DefectDojo's dependencies may have different licensing requirements and terms.
55
Complete source code for DefectDojo dependencies are made available on PyPi: https://pypi.org/
66

77
THIRD-PARTY SOFTWARE NOTICES FOR DEFECTDOJO

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Moderators can help you with pull requests or feedback on dev ideas:
144144
* Valentijn Scholten ([@valentijnscholten](https://github.com/valentijnscholten) |
145145
[Sponsor](https://github.com/sponsors/valentijnscholten) |
146146
[LinkedIn](https://www.linkedin.com/in/valentijn-scholten/)) - Valentijn served as a core moderator for 3 years.
147-
Valentijns contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the
147+
Valentijn's contributions were numerous and extensive. He overhauled, improved, and optimized many parts of the
148148
codebase. He consistently fielded questions, provided feedback on pull requests, and provided a helping hand wherever
149149
it was needed.
150150
* Fred Blaise ([@madchap](https://github.com/madchap) | [LinkedIn](https://www.linkedin.com/in/fredblaise/)) - Fred

components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"metismenu": "~3.0.7",
3636
"moment": "^2.30.1",
3737
"morris.js": "morrisjs/morris.js",
38-
"pdfmake": "^0.2.10",
38+
"pdfmake": "^0.2.12",
3939
"startbootstrap-sb-admin-2": "1.0.7"
4040
},
4141
"engines": {

components/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,10 +824,10 @@ path-parse@^1.0.7:
824824
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
825825
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
826826

827-
pdfmake@^0.2.10:
828-
version "0.2.10"
829-
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.2.10.tgz#a8a0ee8a5acca8f5d728e0dfe4db8be5f1b9ec6b"
830-
integrity sha512-doipFnmE1UHSk+Z3wfQuVweVQqx2pE/Ns2G5gCqZmWwqjDj+mZHnZYH/ryXWoIfD+iVdZUAutgI/VHkTCN+Xrw==
827+
pdfmake@^0.2.12:
828+
version "0.2.12"
829+
resolved "https://registry.yarnpkg.com/pdfmake/-/pdfmake-0.2.12.tgz#5156f91ff73797947942aa342423bedaa0c0bc93"
830+
integrity sha512-TFsqaG6KVtk+TWermmJNNwom3wmB/xiz07prM74KBhdM+7pz3Uwq2b0uoqhhQRn6cYUTpL8lXZY6xF011o1YcQ==
831831
dependencies:
832832
"@foliojs-fork/linebreak" "^1.1.1"
833833
"@foliojs-fork/pdfkit" "^0.14.0"

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
postgres:
106-
image: postgres:16.3-alpine@sha256:36ed71227ae36305d26382657c0b96cbaf298427b3f1eaeb10d77a6dea3eec41
106+
image: postgres:16.4-alpine@sha256:492898505cb45f9835acc327e98711eaa9298ed804e0bb36f29e08394229550d
107107
environment:
108108
POSTGRES_DB: ${DD_DATABASE_NAME:-defectdojo}
109109
POSTGRES_USER: ${DD_DATABASE_USER:-defectdojo}

docker/install_chrome_dependencies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def find_packages(library_name):
1818

1919

2020
def run_command(cmd, cwd=None, env=None):
21-
result = subprocess.run(cmd, cwd=cwd, env=env, capture_output=True, text=True)
21+
result = subprocess.run(cmd, cwd=cwd, env=env, capture_output=True, text=True, check=False)
2222
return result.stdout
2323

2424

@@ -27,7 +27,7 @@ def ldd(file_path):
2727
# For simplicity, I'm assuming if we get an error, the code is non-zero.
2828
try:
2929
result = subprocess.run(
30-
["ldd", file_path], capture_output=True, text=True,
30+
["ldd", file_path], capture_output=True, text=True, check=False,
3131
)
3232
stdout = result.stdout
3333
code = result.returncode

docs/content/en/contributing/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Static files for the webside are build with github actions and are publish in th
1414

1515
2. Install JavaScript packages
1616

17-
To build or update your sites CSS resources, you also need PostCSS to create the final assets. If you need to install it, you must have a recent version of NodeJS installed on your machine so you can use npm, the Node package manager. By default, npm installs tools under the directory where you run npm install:
17+
To build or update your site's CSS resources, you also need PostCSS to create the final assets. If you need to install it, you must have a recent version of NodeJS installed on your machine so you can use npm, the Node package manager. By default, npm installs tools under the directory where you run npm install:
1818

1919
{{< highlight bash >}}
2020
cd docs

docs/content/en/contributing/how-to-write-a-parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class MyToolParser(object):
9494

9595
## API Parsers
9696

97-
DefectDojo has a limited number of API parsers. While we wont remove these connectors, adding API connectors has been problematic and thus we cannot accept new API parsers / connectors from the community at this time for supportability reasonsing. To maintain a high quality API connector, it is necessary to have a license to the tool. To get that license requires partnership with the author or vendor. We're close to announcing a new program to help address this and bring API connectors to DefectDojo.
97+
DefectDojo has a limited number of API parsers. While we won't remove these connectors, adding API connectors has been problematic and thus we cannot accept new API parsers / connectors from the community at this time for supportability reasonsing. To maintain a high quality API connector, it is necessary to have a license to the tool. To get that license requires partnership with the author or vendor. We're close to announcing a new program to help address this and bring API connectors to DefectDojo.
9898

9999
## Template Generator
100100

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: 'Upgrading to DefectDojo Version 2.38.x'
3+
toc_hide: true
4+
weight: -20240805
5+
description: Breaking Change for HELM deployments
6+
---
7+
8+
**Breaking Change**
9+
10+
Previous HELM `values.yaml` file was not following the official HELM best practicies on key naming - [https://helm.sh/docs/chart_best_practices/values/#naming-conventions](https://helm.sh/docs/chart_best_practices/values/#naming-conventions)
11+
12+
The following `snake_case` keys are replaced with `camelCase` keys in the `values.yaml`:
13+
14+
- `site_url` is replaced with `siteUrl`
15+
- `celery.worker.app_settings` block is replaced with `celery.worker.appSettings`. In this block:
16+
17+
- `pool_type` is replaced with `poolType`
18+
- `autoscale_min` is replaced with `autoscaleMin`
19+
- `autoscale_max` is replaced with `autoscaleMax`
20+
- `prefetch_multiplier` is replaced with `prefetchMultiplier`
21+
22+
- `django.uwsgi.app_settings` block is changed to `django.uwsgi.appSettings`. In this block:
23+
24+
- `max_fd` is changed to `maxFd`
25+
26+
- `django.uwsgi.enable_debug` is changed to `django.uwsgi.enableDebug`
27+
28+
There are no other special instructions for upgrading to 2.38.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.38.0) for the contents of the release.

docs/content/en/integrations/parsers/file/blackduck_binary_analysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ toc_hide: true
66
#### **What** ####
77
Black Duck Binary Analysis gives you visibility into open source and third-party dependencies that have been compiled into executables, libraries, containers, and firmware. You can analyze individual files using an intuitive user interface or Black Duck multifactor open source detection, which automates the scanning of binary artifacts.
88

9-
Using a combination of static and string analysis techniques coupled with fuzzy matching against the Black Duck KnowledgeBase, Black Duck Binary Analysis quickly and reliably identifies components, even if theyve been modified.
9+
Using a combination of static and string analysis techniques coupled with fuzzy matching against the Black Duck KnowledgeBase, Black Duck Binary Analysis quickly and reliably identifies components, even if they've been modified.
1010

1111
For more info, check out Black Duck Binary Analysis [here](https://www.synopsys.com/software-integrity/software-composition-analysis-tools/binary-analysis.html).
1212

1313
#### **Why** ####
14-
Open source vulnerabilities arent the only security issues that might be lurking in application binaries.
14+
Open source vulnerabilities aren't the only security issues that might be lurking in application binaries.
1515

1616
Black Duck Binary Analysis can also detect if sensitive information like email addresses, authorization tokens, compiler switches, and passwords are exposed, and it identifies when mobile applications request excessive permissions—all of which puts your organization and users' personal data at risk.
1717

0 commit comments

Comments
 (0)