Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9dc11ff
order alerts explicitly (#13314)
valentijnscholten Oct 6, 2025
209010d
Update versions in application files
Oct 6, 2025
f9b0961
Merge branch 'bugfix' into master-into-bugfix/2.51.0-2.52.0-dev
rossops Oct 6, 2025
96fa917
Merge pull request #13354 from DefectDojo/master-into-bugfix/2.51.0-2…
rossops Oct 6, 2025
9d2e906
fix(gha): Run Release-Nightly only once a day (#13329)
kiblik Oct 7, 2025
5e7fe2a
Bump django from 5.1.12 to 5.1.13 (#13353)
dependabot[bot] Oct 7, 2025
7d8b3f9
fix: handle broken endpoints when <startURL> includes a port number i…
Irfan-Mohd Oct 7, 2025
12ea082
fix:broken endpoint error in acunetix XML parser with unittests
Irfan-Mohd Oct 7, 2025
51447c7
all unittests clear for broken endpoint in Acunetix parser
Irfan-Mohd Oct 7, 2025
aba31c7
Fix: resolve ruff linting errors
Irfan-Mohd Oct 7, 2025
004f492
Fix: resolve ruff linting errors
Irfan-Mohd Oct 7, 2025
6eba956
Fix: resolve ruff linting errors
Irfan-Mohd Oct 7, 2025
f548051
Fix: resolve ruff linting errors
Irfan-Mohd Oct 7, 2025
4460758
feat(helm): Add support for automountServiceAccountToken
kiblik Oct 8, 2025
f809828
pghistory_backfill: avoid prefetching - dry-run working
valentijnscholten Oct 8, 2025
a02c4e3
JIRA instance config: improve error handling on open/close status ids…
valentijnscholten Oct 8, 2025
9ba01e3
skip duplicates: remove obsolete references (#13327)
valentijnscholten Oct 8, 2025
e13a95c
watson middleware: skip logging if no instances updated (#13363)
valentijnscholten Oct 8, 2025
b503b8b
finalize
valentijnscholten Oct 8, 2025
3eb4e36
feat(helm): Make release commits more verbose (#13367)
kiblik Oct 9, 2025
f4b53ca
feat(gha): Help Renovate + Dependabot to update HELM docs (#13366)
kiblik Oct 10, 2025
3fca6c1
feat(helm): Hint for correct "artifacthub.io/changes" syntax (#13397)
kiblik Oct 11, 2025
9437ce3
add new test
valentijnscholten Oct 7, 2025
1fef56d
supporting changes
valentijnscholten Oct 7, 2025
4a43381
progress
valentijnscholten Oct 7, 2025
df65888
progress new samples
valentijnscholten Oct 7, 2025
2dfe5cf
somewhat working
valentijnscholten Oct 7, 2025
5c1bee5
cleanup
valentijnscholten Oct 7, 2025
64e120b
update tests
valentijnscholten Oct 11, 2025
2eb45b8
capture dedupe performance
valentijnscholten Oct 12, 2025
45e4931
add backfill using copy
valentijnscholten Oct 12, 2025
39b51a1
add backfill using insert with select from
valentijnscholten Oct 12, 2025
659e136
Merge pull request #13375 from kiblik/helm_automountServiceAccountToken
rossops Oct 14, 2025
d4caea5
Merge pull request #13372 from valentijnscholten/dedupe-importers-uni…
rossops Oct 14, 2025
dbb4950
Merge pull request #13371 from Irfan-Mohd/fix/acunetix-broken-endpoint
rossops Oct 14, 2025
2ae7490
Merge pull request #13383 from valentijnscholten/pghistory-backfill-i…
rossops Oct 14, 2025
a1737ee
Update versions in application files
Oct 14, 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
25 changes: 25 additions & 0 deletions .github/workflows/helm-docs-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update HELM docs for Renovate & Dependabot

on:
pull_request:
branches:
- master
- dev
- bugfix
- release/**
- hotfix/**

jobs:
docs_updates:
name: Update documentation
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'renovate/') or startsWith(github.head_ref, 'dependabot/')
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Run helm-docs
uses: losisin/helm-docs-github-action@a57fae5676e4c55a228ea654a1bcaec8dd3cf5b5 # v1.6.2
with:
chart-search-root: "helm/defectdojo"
git-push: true
2 changes: 1 addition & 1 deletion .github/workflows/release-nightly-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
schedule:
# every day at 5:00 UTC
# in this case inputs are all null/empty, hence the default values are used below
- cron: "* 5 * * *"
- cron: "0 5 * * *"
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-x-manual-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ jobs:
fi
cp -f ./build/index.yaml ./index.yaml
git add ./index.yaml
git commit -m "Update index.yaml"
git commit -m "Update index.yaml - ${{ inputs.release_number }}"
git push -u origin helm-charts
2 changes: 1 addition & 1 deletion .github/workflows/test-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
target_annotation=$(git show "${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)

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 }}"
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'"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defectdojo",
"version": "2.51.0",
"version": "2.51.1",
"license" : "BSD-3-Clause",
"private": true,
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions docs/content/en/api/api-v2-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DefectDojo\'s API is created using [Django Rest
Framework](http://www.django-rest-framework.org/). The documentation of
each endpoint is available within each DefectDojo installation at
[`/api/v2/oa3/swagger-ui`](https://demo.defectdojo.org/api/v2/oa3/swagger-ui/) and can be accessed by choosing the API v2
Docs link on the user drop down menu in the header.
Docs link on the user drop down menu in the header.

![image](images/api_v2_1.png)

Expand Down Expand Up @@ -155,7 +155,6 @@ Example for importing a scan result:
tags:test
scan_type:ZAP Scan
minimum_severity:Info
skip_duplicates:true
close_old_findings:false

- Body tab
Expand Down
2 changes: 1 addition & 1 deletion dojo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# Django starts so that shared_task will use this app.
from .celery import app as celery_app # noqa: F401

__version__ = "2.51.0"
__version__ = "2.51.1"
__url__ = "https://github.com/DefectDojo/django-DefectDojo"
__docs__ = "https://documentation.defectdojo.com"
4 changes: 3 additions & 1 deletion dojo/jira_link/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def post(self, request):
return render(request, self.get_template(), {"jform": jform})
# authentication successful
# Get the open and close keys
msg = "Unable to find Open/Close ID's (invalid issue key specified?). They will need to be found manually"
try:
issue_id = jform.cleaned_data.get("issue_key")
key_url = jira_server.strip("/") + "/rest/api/latest/issue/" + issue_id + "/transitions?expand=transitions.fields"
Expand All @@ -339,8 +340,9 @@ def post(self, request):
if node["to"]["statusCategory"]["name"] == "Done":
close_key = close_key or int(node["id"])
except Exception:
msg = "Unable to find Open/Close ID's (invalid issue key specified?). They will need to be found manually"
logger.exception(msg) # already logged in jira_helper

if not open_key or not close_key:
messages.add_message(
request,
messages.ERROR,
Expand Down
Loading
Loading