Skip to content

Commit

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

Release: Merge back 2.26.2 into dev from: master-into-dev/2.26.2-2.27.0-dev
  • Loading branch information
Maffooch authored Sep 14, 2023
2 parents 98914f2 + 4af8490 commit 9dca358
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 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 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
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.27.0-dev"
description: A Helm chart for Kubernetes to install DefectDojo
name: defectdojo
version: 1.6.86-dev
version: 1.6.87-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 @@ -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

0 comments on commit 9dca358

Please sign in to comment.