Skip to content

Commit

Permalink
Merge pull request #8654 from DefectDojo/release/2.26.2
Browse files Browse the repository at this point in the history
Release: Merge release into master from: release/2.26.2
  • Loading branch information
Maffooch authored Sep 13, 2023
2 parents a5fbbf7 + 8ee0853 commit fce41dd
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.integration-tests-debian
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN \
chrome_version=$(apt-cache show google-chrome-stable | grep Version | awk '{print $2}' | cut -d '-' -f 1) && \
chrome_version_blob=$(curl -k https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json | jq ".versions[] | select(.version==\"$chrome_version\")") && \
chromedriver_url=$(echo $chrome_version_blob | jq -r ".downloads.chromedriver[] | select(.platform==\"linux64\") | .url") && \
wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.98/linux64/chromedriver-linux64.zip && \
wget $chromedriver_url && \
unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
rm -rf chromedriver-linux64.zip && \
chmod -R 0755 .
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.26.1",
"version": "2.26.2",
"license" : "BSD-3-Clause",
"private": true,
"dependencies": {
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

__version__ = '2.26.1'
__version__ = '2.26.2'
__url__ = 'https://github.com/DefectDojo/django-DefectDojo'
__docs__ = 'https://documentation.defectdojo.com'
2 changes: 1 addition & 1 deletion dojo/engagement/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def add_tests(request, eid):

# Cant use the easy decorator because of the potential for either eid/pid being used
def import_scan_results(request, eid=None, pid=None):
environment = Development_Environment.objects.get(name='Development')
environment = Development_Environment.objects.filter(name='Development').first() # If 'Development' was removed, None is used
engagement = None
form = ImportScanForm(initial={'environment': environment})
cred_form = CredMappingForm()
Expand Down
3 changes: 2 additions & 1 deletion dojo/tools/veracode/json_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class VeracodeJSONParser(object):
"""

severity_mapping = {
0: "Info",
1: "Info",
2: "Low",
3: "Medium",
Expand Down Expand Up @@ -89,7 +90,7 @@ def get_items(self, tree, test):

def create_finding_from_details(self, finding_details, scan_type, policy_violated) -> Finding:
# Fetch the common attributes that should be in every scan type
severity = self.severity_mapping.get(finding_details.get("severity", 1))
severity = self.severity_mapping.get(finding_details.get("severity", 1), 1)
# Set up the finding with just severity for now
finding = Finding(
title=f"{scan_type} Finding",
Expand Down
4 changes: 2 additions & 2 deletions helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "2.26.1"
appVersion: "2.26.2"
description: A Helm chart for Kubernetes to install DefectDojo
name: defectdojo
version: 1.6.85
version: 1.6.86
icon: https://www.defectdojo.org/img/favicon.ico
maintainers:
- name: madchap
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ django-slack==5.19.0
git+https://github.com/DefectDojo/django-tagging@develop#egg=django-tagging
django-watson==1.6.3
django-prometheus==2.3.1
Django==4.1.10
Django==4.1.11
djangorestframework==3.14.0
gunicorn==21.2.0
html2text==2020.1.16
Expand Down Expand Up @@ -53,7 +53,7 @@ titlecase==2.3
social-auth-app-django==5.2.0
social-auth-core==4.4.2
Python-jose==3.3.0
gitpython==3.1.34
gitpython==3.1.35
debugpy==1.6.7
python-gitlab==3.15.0
drf_yasg==1.21.5
Expand Down

0 comments on commit fce41dd

Please sign in to comment.