Skip to content

Commit

Permalink
Merge pull request #8814 from DefectDojo/master-into-dev/2.27.1-2.28.…
Browse files Browse the repository at this point in the history
…0-dev

Release: Merge back 2.27.1 into dev from: master-into-dev/2.27.1-2.28.0-dev
  • Loading branch information
blakeaowens authored Oct 10, 2023
2 parents d36b1e3 + 5ecd765 commit 86fe9db
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.integration-tests-debian
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ ENV \
DD_ADMIN_USER=admin \
DD_ADMIN_PASSWORD='' \
DD_BASE_URL="http://localhost:8080/"
CMD ["/entrypoint-integration-tests.sh"]
CMD ["/entrypoint-integration-tests.sh"]
4 changes: 4 additions & 0 deletions docs/content/en/getting_started/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ godojo installations
If you have installed DefectDojo on "iron" and wish to upgrade the installation, please see the [instructions in the repo](https://github.com/DefectDojo/godojo/blob/master/docs-and-scripts/upgrading.md).
## Upgrading to DefectDojo Version 2.27.x.
There are no special instruction for upgrading to 2.27.0. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.27.0) for the contents of the release.
## Upgrading to DefectDojo Version 2.26.x.
There are no special instruction for upgrading to 2.26.0. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.26.0) for the contents of the release.
Expand Down
10 changes: 8 additions & 2 deletions dojo/templates/dojo/product.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,14 @@ <h3 class="has-filters">
'Very Low': 1,
'None': 0
};
return type === 'sort' ? criticals[getDojoExportValueFromTag(data, 'i', 'data-content')] :
type === 'export' ? getDojoExportValueFromTag(data, 'i', 'data-content') : data;
if (type === 'sort') {
return criticals[getDojoExportValueFromTag(data, 'i', 'data-content')]
} else if (type === 'export') {
return getDojoExportValueFromTag(data, 'i', 'data-content')
} else if (data != undefined||data != null) {
return data
}
return ""
}},
{ "data": "metadata", render: function (data, type, row) {
return type === 'export' ? getDojoExportValueFromTag(data, 'i', 'data-content') : data;
Expand Down
2 changes: 1 addition & 1 deletion dojo/tools/jfrog_xray_api_summary_artifact/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_item(

# Add vulnerability ids
vulnerability_ids = list()
if "cve" in cves[0]:
if cves and "cve" in cves[0]:
vulnerability_ids.append(cves[0]["cve"])
if "issue_id" in vulnerability:
vulnerability_ids.append(vulnerability["issue_id"])
Expand Down
2 changes: 1 addition & 1 deletion helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "2.28.0-dev"
description: A Helm chart for Kubernetes to install DefectDojo
name: defectdojo
version: 1.6.90-dev
version: 1.6.91-dev
icon: https://www.defectdojo.org/img/favicon.ico
maintainers:
- name: madchap
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ redis==5.0.1
requests==2.31.0
sqlalchemy==2.0.21 # Required by Celery broker transport
supervisor==4.2.5
urllib3==1.26.11
urllib3==1.26.17
uWSGI==2.0.22
vobject==0.9.6.1
whitenoise==5.2.0
Expand Down

0 comments on commit 86fe9db

Please sign in to comment.