Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
b976db2
Update versions in application files
Oct 6, 2025
3352897
Merge pull request #13355 from DefectDojo/master-into-dev/2.51.0-2.52…
rossops Oct 6, 2025
bb25404
:arrow_up: Bump django-pghistory from 3.7.0 to 3.8.3 (#13347)
dependabot[bot] Oct 7, 2025
405ac92
Update redis:7.2.11-alpine Docker digest from 7.2.11 to v (docker-com…
renovate[bot] Oct 7, 2025
1954c8c
:arrow_up: Bump vulners from 2.3.7 to 3.1.1 (#13342)
dependabot[bot] Oct 7, 2025
18cd4b6
:arrow_up: Bump social-auth-app-django from 5.4.3 to 5.5.1 (#13344)
dependabot[bot] Oct 7, 2025
1c49703
:arrow_up: Bump jira from 3.8.0 to 3.10.5 (#13345)
dependabot[bot] Oct 7, 2025
b662f13
chore(deps): update actions/stale action from v9.1.0 to v10 (.github/…
renovate[bot] Oct 7, 2025
ea8b74d
chore(deps): update softprops/action-gh-release action from v2.3.4 to…
renovate[bot] Oct 7, 2025
6a826fa
Bump boto3 from 1.40.44 to 1.40.46 (#13361)
dependabot[bot] Oct 7, 2025
2da05de
fix(helm): Fix checker of HELM chart change (#13310)
kiblik Oct 7, 2025
4f38f2f
fix: add missing resources, securityContext and env entries (#13210)
fernandezcuesta Oct 7, 2025
c05fff3
Bump social-auth-core from 4.7.0 to 4.8.0 (#13360)
dependabot[bot] Oct 7, 2025
eb3c83a
:arrow_up: Bump ruff from 0.13.2 to 0.14.0 (#13337)
manuel-sommer Oct 8, 2025
602e905
feat(docker): Use Python 3.13 in docker images (#13022)
kiblik Oct 8, 2025
0399b58
apiv2: fix schema for engagements endpoint (#13336)
valentijnscholten Oct 8, 2025
fcfee2f
importers: defend against parsers returning None (#13335)
valentijnscholten Oct 8, 2025
fbbc7a0
fix upload error when finding groups disabled (#13334)
valentijnscholten Oct 8, 2025
c8c4750
engagement: allow unlinking of JIRA epic (#13333)
valentijnscholten Oct 8, 2025
e3f9734
user mentioning: diplay author instead of recipient (#13332)
valentijnscholten Oct 8, 2025
5ba26b9
Bump datatables.net-colreorder from 2.1.1 to 2.1.2 in /components (#1…
dependabot[bot] Oct 10, 2025
d90b09f
Bump boto3 from 1.40.46 to 1.40.49 (#13395)
dependabot[bot] Oct 10, 2025
b45c946
Bump social-auth-core from 4.8.0 to 4.8.1 (#13389)
dependabot[bot] Oct 10, 2025
3f94b41
chore(deps): update redis:7.2.11-alpine docker digest from 7.2.11 to …
renovate[bot] Oct 10, 2025
5687ab9
chore(deps): update postgres:18.0-alpine docker digest from 18.0 to 1…
renovate[bot] Oct 10, 2025
1419211
fix(deps): update dependency @docsearch/js from 4.1.0 to v4.2.0 (docs…
renovate[bot] Oct 10, 2025
e6cb0ab
feat(helm): Simplify k8s-tests.yml (#13379)
kiblik Oct 10, 2025
3a91a81
chore(deps): update dependency python from 3.13.8 to 3.14 (.github/wo…
renovate[bot] Oct 10, 2025
66054b3
Bump social-auth-app-django from 5.5.1 to 5.6.0 (#13388)
dependabot[bot] Oct 10, 2025
f61e3aa
feat(helm): DRY cloudsql-proxy (#13369)
kiblik Oct 11, 2025
5f306e0
Test
kiblik Oct 11, 2025
0372b07
Update versions in application files
Oct 14, 2025
244eb01
Merge branch 'dev' into master-into-dev/2.51.1-2.52.0-dev
rossops Oct 14, 2025
c11d13f
Seeing if these updated versions work with py 3.14
rossops Oct 14, 2025
76f06f6
Various doc/schema fixes
rossops Oct 14, 2025
b3f48ed
More fixes
rossops Oct 14, 2025
e650c0f
Debug statement and space fix
rossops Oct 14, 2025
4d2fe44
Merge pull request #13422 from DefectDojo/master-into-dev/2.51.1-2.52…
rossops Oct 14, 2025
1d7ee8d
fix(helm): Test oldest supported k8s version (#13376)
kiblik Oct 15, 2025
97f1069
chore(deps): update redis:7.2.11-alpine docker digest from 7.2.11 to …
renovate[bot] Oct 15, 2025
0d1ed65
chore(deps): update softprops/action-gh-release action from v2.4.0 to…
renovate[bot] Oct 15, 2025
cc0d519
chore(deps): update mikefarah/yq action from v4.47.2 to v4.48.1 (.git…
renovate[bot] Oct 15, 2025
2ccaebc
chore(deps): update stefanzweifel/git-auto-commit-action action from …
renovate[bot] Oct 15, 2025
5d766e2
Bump uwsgi from 2.0.30 to 2.0.31 (#13410)
dependabot[bot] Oct 15, 2025
741fad0
Bump sqlalchemy from 2.0.43 to 2.0.44 (#13411)
dependabot[bot] Oct 15, 2025
1cb0fe3
chore(deps): update losisin/helm-values-schema-json-action action fro…
renovate[bot] Oct 15, 2025
67dd77c
Bump nginx from 1.29.1-alpine3.22 to 1.29.2-alpine3.22 (#13413)
dependabot[bot] Oct 15, 2025
07ce2aa
chore(deps): update actions/setup-node action from v5.0.0 to v6 (.git…
renovate[bot] Oct 15, 2025
baeb1de
Bump boto3 from 1.40.49 to 1.40.52 (#13426)
dependabot[bot] Oct 15, 2025
90214e2
Bump django-imagekit from 5.0.0 to 6.0.0 (#13414)
dependabot[bot] Oct 15, 2025
843188e
:hammer: Merge the MobSF scanner (#12501)
manuel-sommer Oct 16, 2025
a60dee0
Merge pull request #13401 from kiblik/broken_yaml
rossops Oct 16, 2025
6b17b5e
feat(helm): Split image locations+tags, allow digest pinning (#13370)
kiblik Oct 16, 2025
a1a4975
Bump cryptography from 46.0.2 to 46.0.3 (#13431)
dependabot[bot] Oct 17, 2025
109c15e
Bump boto3 from 1.40.52 to 1.40.53 (#13432)
dependabot[bot] Oct 17, 2025
a99c9bc
Bump humanize from 4.13.0 to 4.14.0 (#13433)
dependabot[bot] Oct 17, 2025
bc177bd
Downgrade django-tagulous to 2.1.0 (#13441)
valentijnscholten Oct 17, 2025
36e059e
Bump pillow from 11.3.0 to 12.0.0 (#13434)
dependabot[bot] Oct 17, 2025
13dd919
feat(session): Single user session (#13416)
kiblik Oct 17, 2025
4e1b4c6
Ruff: Fix PLC2701 + merge PLC (#13436)
kiblik Oct 17, 2025
e27d99d
ruff: Merge B01 rules (#13430)
kiblik Oct 17, 2025
dec5a63
Added the definition of the SOCIAL_AUTH_LOGIN_REDIRECT_URL variable (…
rseleven Oct 17, 2025
489936f
auto_create_context: make engagement creation atomic (#13444)
valentijnscholten Oct 17, 2025
685ce4a
Bump ruff from 0.14.0 to 0.14.1 (#13452)
dependabot[bot] Oct 17, 2025
922757b
Bump boto3 from 1.40.53 to 1.40.54 (#13450)
dependabot[bot] Oct 17, 2025
47ac933
feat(helm): Add descriptions (#13407)
kiblik Oct 17, 2025
dbe8da0
Bump python-gitlab from 6.4.0 to 6.5.0 (#13470)
dependabot[bot] Oct 20, 2025
0b7e96d
Bump boto3 from 1.40.54 to 1.40.55 (#13472)
dependabot[bot] Oct 20, 2025
b2eda48
Ruff: Fix N805 (#13437)
kiblik Oct 20, 2025
0dda8ab
ruff: PT - simplify rules (#13435)
kiblik Oct 20, 2025
70bba0c
Update versions in application files
Oct 20, 2025
a1aa663
Merge branch 'dev' into master-into-dev/2.51.2-2.52.0-dev
Maffooch Oct 20, 2025
c7a3600
Merge pull request #13477 from DefectDojo/master-into-dev/2.51.2-2.52…
rossops Oct 20, 2025
0d7f0e0
feat(helm): Improve description about images/tags (#13473)
kiblik Oct 21, 2025
7197b5f
qol: Add note about postgresql18 path change to v2.51 upgrade notes.
pageinsec Oct 22, 2025
14d8d68
Merge branch 'bugfix' into pageinsec/pg_18_path_note
pageinsec Oct 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This checklist is for your information.
- [ ] Bugfixes should be submitted against the `bugfix` branch.
- [ ] Give a meaningful name to your PR, as it may end up being used in the release notes.
- [ ] Your code is flake8 compliant.
- [ ] Your code is python 3.12 compliant.
- [ ] Your code is python 3.13 compliant.
- [ ] If this is a new feature and not a bug fix, you've included the proper documentation in the docs at https://github.com/DefectDojo/django-DefectDojo/tree/dev/docs as part of this PR.
- [ ] Model changes must include the necessary migrations in the dojo/db_migrations folder.
- [ ] Add applicable tests to the unit tests.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close issues and PRs that are pending closure
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
with:
# Disable automatic stale marking - only close manually labeled items
days-before-stale: -1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
extended: true

- name: Setup Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: '22.20.0' # TODO: Renovate helper might not be needed here - needs to be fully tested

Expand Down
33 changes: 11 additions & 22 deletions .github/workflows/k8s-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ on:

env:
DD_HOSTNAME: defectdojo.default.minikube.local
HELM_REDIS_BROKER_SETTINGS: " \
--set redis.enabled=true \
--set celery.broker=redis \
--set createRedisSecret=true \
"
HELM_PG_DATABASE_SETTINGS: " \
--set postgresql.enabled=true \
--set createPostgresqlSecret=true \
"
jobs:
setting_minikube_cluster:
name: Kubernetes Deployment
Expand All @@ -23,11 +14,11 @@ jobs:
matrix:
include:
# databases, broker and k8s are independent, so we don't need to test each combination
# lastest k8s version (https://kubernetes.io/releases/) and oldest supported version from aws
# are tested (https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#available-versions)
- databases: pgsql
brokers: redis
k8s: 'v1.34.0' # renovate: datasource=github-releases depName=kubernetes/kubernetes versioning=loose
# lastest k8s version (https://kubernetes.io/releases/) and the oldest officially supported version
# are tested (https://kubernetes.io/releases/)
- k8s: 'v1.34.1' # renovate: datasource=github-releases depName=kubernetes/kubernetes versioning=loose
os: debian
- k8s: 'v1.31.13' # Do not track with renovate as we likely want to rev this manually
os: debian
steps:
- name: Checkout
Expand Down Expand Up @@ -68,12 +59,6 @@ jobs:
helm dependency list ./helm/defectdojo
helm dependency update ./helm/defectdojo

- name: Set confings into Outputs
id: set
run: |-
echo "pgsql=${{ env.HELM_PG_DATABASE_SETTINGS }}" >> $GITHUB_ENV
echo "redis=${{ env.HELM_REDIS_BROKER_SETTINGS }}" >> $GITHUB_ENV

- name: Deploying Django application with ${{ matrix.databases }} ${{ matrix.brokers }}
timeout-minutes: 15
run: |-
Expand All @@ -84,10 +69,14 @@ jobs:
defectdojo \
./helm/defectdojo \
--set django.ingress.enabled=true \
--set images.django.image.tag=latest \
--set images.nginx.image.tag=latest \
--set imagePullPolicy=Never \
--set initializer.keepSeconds="-1" \
${{ env[matrix.databases] }} \
${{ env[matrix.brokers] }} \
--set redis.enabled=true \
--set createRedisSecret=true \
--set postgresql.enabled=true \
--set createPostgresqlSecret=true \
--set createSecret=true

- name: Check deployment status
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-1-create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
chart-search-root: "helm/defectdojo"

- name: Push version changes
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
with:
commit_user_name: "${{ env.GIT_USERNAME }}"
commit_user_email: "${{ env.GIT_EMAIL }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-3-master-into-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
chart-search-root: "helm/defectdojo"

- name: Push version changes
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
with:
commit_user_name: "${{ env.GIT_USERNAME }}"
commit_user_email: "${{ env.GIT_EMAIL }}"
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
chart-search-root: "helm/defectdojo"

- name: Push version changes
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
with:
commit_user_name: "${{ env.GIT_USERNAME }}"
commit_user_email: "${{ env.GIT_EMAIL }}"
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/release-x-manual-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ jobs:
helm dependency list ./helm/defectdojo
helm dependency update ./helm/defectdojo

- name: Add yq
uses: mikefarah/yq@6251e95af8df3505def48c71f3119836701495d6 # v4.47.2

- name: Pin version docker version
id: pin_image
run: |-
yq --version
yq -i '.tag="${{ inputs.release_number }}"' helm/defectdojo/values.yaml
echo "Current image tag:`yq -r '.tag' helm/defectdojo/values.yaml`"

- name: Package Helm chart
id: package-helm-chart
run: |
Expand All @@ -87,7 +77,7 @@ jobs:
echo "chart_version=$(ls build | cut -d '-' -f 2,3 | sed 's|\.tgz||')" >> $GITHUB_ENV

- name: Create release ${{ inputs.release_number }}
uses: softprops/action-gh-release@62c96d0c4e8a889135c1f3a25910db8dbe0e85f7 # v2.3.4
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
with:
name: '${{ inputs.release_number }} 🌈'
tag_name: ${{ inputs.release_number }}
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/test-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: 3.13 # Renovate helper is not needed here
python-version: 3.14 # Renovate helper is not needed here

- name: Configure Helm repos
run: |-
Expand All @@ -34,8 +34,8 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
with:
yamale_version: 4.0.4 # renovate: datasource=pypi depName=yamale versioning=semver
yamllint_version: 1.35.1 # renovate: datasource=pypi depName=yamllint versioning=semver
yamale_version: 6.0.0 # renovate: datasource=pypi depName=yamale versioning=semver
yamllint_version: 1.37.1 # renovate: datasource=pypi depName=yamllint versioning=semver

- name: Determine target branch
id: ct-branch-target
Expand Down Expand Up @@ -68,15 +68,23 @@ jobs:
- name: Check update of "artifacthub.io/changes" HELM annotation
if: env.changed == 'true'
run: |
# fast fail if `git show` fails
set -e
set -o pipefail

target_branch=${{ env.ct-branch }}

echo "Checking Chart.yaml annotation changes"

# Get current branch annotation
current_annotation=$(yq e '.annotations."artifacthub.io/changes"' "helm/defectdojo/Chart.yaml")
echo "Current annotation: "
echo $current_annotation

# Get target branch version of Chart.yaml annotation
target_annotation=$(git show "${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)
target_annotation=$(git show "origin/${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)
echo "Target annotation: "
echo $target_annotation

if [[ "$current_annotation" == "$target_annotation" ]]; then
echo "::error file=helm/defectdojo/Chart.yaml::The 'artifacthub.io/changes' annotation has not been updated compared to ${{ env.ct-branch }}. For more, check the hint in 'helm/defectdojo/Chart.yaml'"
Expand Down Expand Up @@ -121,7 +129,7 @@ jobs:
# If this step fails, install https://github.com/losisin/helm-values-schema-json and run locally `helm schema --use-helm-docs` in `helm/defectdojo` before committing your changes.
# The helm schema will be generated for you.
- name: Generate values schema json
uses: losisin/helm-values-schema-json-action@d5847286fa04322702c4f8d45031974798c83ac7 # v2.3.0
uses: losisin/helm-values-schema-json-action@660c441a4a507436a294fc55227e1df54aca5407 # v2.3.1
with:
fail-on-diff: true
working-directory: "helm/defectdojo"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
extended: true

- name: Setup Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: '22.20.0' # TODO: Renovate helper might not be needed here - needs to be fully tested

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.django-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Dockerfile.nginx to use the caching mechanism of Docker.

# Ref: https://devguide.python.org/#branchstatus
FROM python:3.12.11-alpine3.22@sha256:02a73ead8397e904cea6d17e18516f1df3590e05dc8823bd5b1c7f849227d272 AS base
FROM python:3.13.7-alpine3.22@sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844 AS base
FROM base AS build
WORKDIR /app
RUN \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.django-debian
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Dockerfile.nginx to use the caching mechanism of Docker.

# Ref: https://devguide.python.org/#branchstatus
FROM python:3.12.11-slim-trixie@sha256:d67a7b66b989ad6b6d6b10d428dcc5e0bfc3e5f88906e67d490c4d3daac57047 AS base
FROM python:3.13.7-slim-trixie@sha256:5f55cdf0c5d9dc1a415637a5ccc4a9e18663ad203673173b8cda8f8dcacef689 AS base
FROM base AS build
WORKDIR /app
RUN \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.integration-tests-debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM openapitools/openapi-generator-cli:v7.16.0@sha256:e56372add5e038753fb91aa1bbb470724ef58382fdfc35082bf1b3e079ce353c AS openapitools
# currently only supports x64, no arm yet due to chrome and selenium dependencies
FROM python:3.12.11-slim-trixie@sha256:d67a7b66b989ad6b6d6b10d428dcc5e0bfc3e5f88906e67d490c4d3daac57047 AS build
FROM python:3.13.7-slim-trixie@sha256:5f55cdf0c5d9dc1a415637a5ccc4a9e18663ad203673173b8cda8f8dcacef689 AS build
WORKDIR /app
RUN \
apt-get -y update && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.nginx-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Dockerfile.django-alpine to use the caching mechanism of Docker.

# Ref: https://devguide.python.org/#branchstatus
FROM python:3.12.11-alpine3.22@sha256:02a73ead8397e904cea6d17e18516f1df3590e05dc8823bd5b1c7f849227d272 AS base
FROM python:3.13.7-alpine3.22@sha256:9ba6d8cbebf0fb6546ae71f2a1c14f6ffd2fdab83af7fa5669734ef30ad48844 AS base
FROM base AS build
WORKDIR /app
RUN \
Expand Down Expand Up @@ -63,7 +63,7 @@ COPY dojo/ ./dojo/
# always collect static for debug toolbar as we can't make it dependant on env variables or build arguments without breaking docker layer caching
RUN env DD_SECRET_KEY='.' DD_DJANGO_DEBUG_TOOLBAR_ENABLED=True python3 manage.py collectstatic --noinput --verbosity=2 && true

FROM nginx:1.29.1-alpine3.22@sha256:42a516af16b852e33b7682d5ef8acbd5d13fe08fecadc7ed98605ba5e3b26ab8
FROM nginx:1.29.2-alpine3.22@sha256:61e01287e546aac28a3f56839c136b31f590273f3b41187a36f46f6a03bbfe22
ARG uid=1001
ARG appuser=defectdojo
COPY --from=collectstatic /app/static/ /usr/share/nginx/html/static/
Expand Down
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clipboard": "^2.0.11",
"datatables.net": "^2.3.4",
"datatables.net-buttons-bs": "^3.2.5",
"datatables.net-colreorder": "^2.1.1",
"datatables.net-colreorder": "^2.1.2",
"drmonty-datatables-plugins": "^1.0.0",
"drmonty-datatables-responsive": "^1.0.0",
"easymde": "^2.20.0",
Expand Down
8 changes: 4 additions & 4 deletions components/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ datatables.net-buttons@3.2.5:
datatables.net "^2"
jquery ">=1.7"

datatables.net-colreorder@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/datatables.net-colreorder/-/datatables.net-colreorder-2.1.1.tgz#ddcbfb27d5e2b97fe8ce4acdb8ca35442a801fe5"
integrity sha512-alhSZYEYmxsXujl43nIHh2+Ym8o/CBm/2kPIExcUz7sOB8FOw2Q614KztqRYh46V5IA+RUuGSxzodjakZ63wAQ==
datatables.net-colreorder@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/datatables.net-colreorder/-/datatables.net-colreorder-2.1.2.tgz#cf45eae93f4afd0bbe2f34d47105b312defa8cc7"
integrity sha512-lIsUyOt2nBm4sD2cSzDKZcIVrGgrZkh90Z2f03s8p7DYcZSfXMHAhFBrDYf9/eAK6wJnODN8EDMsrtPHfgoSXA==
dependencies:
datatables.net "^2"
jquery ">=1.7"
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ services:
source: ./docker/extra_settings
target: /app/docker/extra_settings
postgres:
image: postgres:18.0-alpine@sha256:70b32afe0c274b4d93098fd724fcdaab3aba47270a4f1e63cbf9cc69d7bf1be4
image: postgres:18.0-alpine@sha256:f898ac406e1a9e05115cc2efcb3c3abb3a92a4c0263f3b6f6aaae354cbb1953a
environment:
POSTGRES_DB: ${DD_DATABASE_NAME:-defectdojo}
POSTGRES_USER: ${DD_DATABASE_USER:-defectdojo}
Expand All @@ -129,7 +129,7 @@ services:
- defectdojo_postgres:/var/lib/postgresql/data
redis:
# Pinning to this version due to licensing constraints
image: redis:7.2.11-alpine@sha256:7632e82373929f39cdbead93f2e45d8b3cd295072c4755e00e7e6b19d56cc512
image: redis:7.2.11-alpine@sha256:1a34bdba051ecd8a58ec8a3cc460acef697a1605e918149cc53d920673c1a0a7
volumes:
- defectdojo_redis:/data
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: "MobSF Scanner"
toc_hide: true
---
Export a JSON file using the API, api/v1/report\_json.
"Mobsfscan Scan" has been merged into the "MobSF Scan" parser. The "Mobsfscan Scan" scan_type has been retained to keep deduplication working for existing Tests, but users are encouraged to move to the "MobSF Scan" scan_type.

Export a JSON file using the API, api/v1/report\_json and import it to Defectdojo or import a JSON report from <https://github.com/MobSF/mobsfscan>

### Sample Scan Data
Sample MobSF Scanner scans can be found [here](https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans/mobsf).
Expand Down
17 changes: 0 additions & 17 deletions docs/content/en/connecting_your_tools/parsers/file/mobsfscan.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/content/en/open_source/upgrading/2.51.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Sometimes it's easier to just perform the upgrade manually, which would look som
It may need some tuning to your specific needs and docker compose setup. The guide is loosely based on https://simplebackups.com/blog/docker-postgres-backup-restore-guide-with-examples.
If you already have a valid backup of the postgres 16 database, you can start at step 4.

_Note: If you are using a bound volume, the path has changed for Postgres18. It is now `/var/lib/postgresql/` instead of `/var/lib/postgresql/data`. Failure to change the path may result in errors about failure to create a shim task. See the discussion in [docker-library/postgres](https://github.com/docker-library/postgres/issues/1370)._

### 0. Backup

Always back up your data before starting and save it somewhere.
Expand Down
46 changes: 46 additions & 0 deletions docs/content/en/open_source/upgrading/2.52.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: 'Upgrading to DefectDojo Version 2.52.x'
toc_hide: true
weight: -20251006
description: MobSF parsers & Helm chart changes.
---

## Merge of MobSF parsers

Mobsfscan Scan" has been merged into the "MobSF Scan" parser. The "Mobsfscan Scan" scan_type has been retained to keep deduplication working for existing Tests, but users are encouraged to move to the "MobSF Scan" scan_type.

## Helm Chart Changes

This release introduces more important changes to the Helm chart configuration:

### Breaking changes

#### Tags

`tag` and `repositoryPrefix` fields have been deprecated. Currently, image tags used in containers are derived by default from the `appVersion` defined in the Chart.
This behavior can be overridden by setting the `tag` value in `images.django` and `images.nginx`.
If fine-tuning is necessary, each container’s image value can also be customized individually (`celery.beat.image`, `celery.worker.image`, `django.nginx.image`, `django.uwsgi.image`, `initializer.image`, and `dbMigrationChecker.image`).
Digest pinning is now supported as well.

#### Security context

This Helm chart extends security context capabilities to all deployed pods and containers.
You can define a default pod and container security context globally using `securityContext.podSecurityContext` and `securityContext.containerSecurityContext` keys.
Additionally, each deployment can specify its own pod and container security contexts, which will override or merge with the global ones.

#### Fine-grained resources

Now each container can specify the resource requests and limits.

#### Moved values

The following Helm chart values have been modified in this release:

- `securityContext.djangoSecurityContext` → deprecated in favor of container-specific security contexts (`celery.beat.containerSecurityContext`, `celery.worker.containerSecurityContext`, `django.uwsgi.containerSecurityContext` and `dbMigrationChecker.containerSecurityContext`)
- `securityContext.nginxSecurityContext` → deprecated in favor of container-specific security contexts (`django.nginx.containerSecurityContext`)

### Other changes

- **Extra annotations**: Now we can add common annotations to all resources.

There are other instructions for upgrading to 2.52.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
8 changes: 4 additions & 4 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading