Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.3.0 #5222

Merged
merged 134 commits into from Oct 5, 2021
Merged

Release/2.3.0 #5222

merged 134 commits into from Oct 5, 2021

Conversation

Maffooch
Copy link
Contributor

@Maffooch Maffooch commented Oct 5, 2021

No description provided.

DefectDojo release bot and others added 30 commits August 31, 2021 17:47
Release: Merge back 2.2.0 into dev from: master-into-dev/2.2.0-2.3.0-dev
…se.yml) (#5005)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-api-python-client@v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [django-environ](https://github.com/joke2k/django-environ) from 0.4.5 to 0.5.0.
- [Release notes](https://github.com/joke2k/django-environ/releases)
- [Changelog](https://github.com/joke2k/django-environ/blob/main/CHANGELOG.rst)
- [Commits](joke2k/django-environ@v0.4.5...v0.5.0)

---
updated-dependencies:
- dependency-name: django-environ
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular) from 0.17.3 to 0.18.1.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases)
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst)
- [Commits](tfranzel/drf-spectacular@0.17.3...0.18.1)

---
updated-dependencies:
- dependency-name: drf-spectacular
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [datatables.net-buttons-dt](https://github.com/DataTables/Dist-DataTables-Buttons-DataTables) from 1.7.1 to 2.0.0.
- [Release notes](https://github.com/DataTables/Dist-DataTables-Buttons-DataTables/releases)
- [Commits](DataTables/Dist-DataTables-Buttons-DataTables@1.7.1...2.0.0)

---
updated-dependencies:
- dependency-name: datatables.net-buttons-dt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
On the report builder we're seeing javascript errors since tuesday august 31st.

```
bootstrap.min.js:6 Uncaught TypeError: Cannot read properties of null (reading 'trigger')
    at HTMLDivElement.u (bootstrap.min.js:6)
    at HTMLDivElement.fn (jquery.js:5175)
    at HTMLDivElement.handle (bootstrap.min.js:6)
    at HTMLDivElement.dispatch (jquery.js:5430)
    at HTMLDivElement.elemData.handle (jquery.js:5234)
    at Object.trigger (jquery.js:8719)
    at HTMLDivElement.<anonymous> (jquery.js:8797)
    at Function.each (jquery.js:385)
    at jQuery.fn.init.each (jquery.js:207)
    at jQuery.fn.init.trigger (jquery.js:8796)
```

These happen with 2.2.0, 2.1.0 etc. We have a regex in the test suite that ignores this error, but the error message has changed slightly. This PR updates the regex. Also this error happens during manual usage, so I removed the comment about it only happening during integration tests. Apart from the error appearing in the javascript console, the report builders seems to work fin. So it _looks like_ we can keep ignoring this error. I guess we have to because we don't know where it's coming from as the stacktrace only contains bootstrap + jquery code paths.
Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-auth-library-python@v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps [django-tagulous](https://github.com/radiac/django-tagulous) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/radiac/django-tagulous/releases)
- [Commits](radiac/django-tagulous@v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: django-tagulous
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps [google-auth-oauthlib](https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python-oauthlib/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-auth-library-python-oauthlib@v0.4.5...v0.4.6)

---
updated-dependencies:
- dependency-name: google-auth-oauthlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.3.1...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps python from 3.8.11-slim-buster to 3.8.12-slim-buster.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [datatables.net-dt](https://github.com/DataTables/Dist-DataTables-DataTables) from 1.10.25 to 1.11.1.
- [Release notes](https://github.com/DataTables/Dist-DataTables-DataTables/releases)
- [Commits](DataTables/Dist-DataTables-DataTables@1.10.25...1.11.1)

---
updated-dependencies:
- dependency-name: datatables.net-dt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [django-environ](https://github.com/joke2k/django-environ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/joke2k/django-environ/releases)
- [Changelog](https://github.com/joke2k/django-environ/blob/main/CHANGELOG.rst)
- [Commits](joke2k/django-environ@v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: django-environ
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular) from 0.18.1 to 0.18.2.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases)
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst)
- [Commits](tfranzel/drf-spectacular@0.18.1...0.18.2)

---
updated-dependencies:
- dependency-name: drf-spectacular
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-api-python-client@v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps [datatables.net](https://github.com/DataTables/Dist-DataTables) from 1.10.25 to 1.11.1.
- [Release notes](https://github.com/DataTables/Dist-DataTables/releases)
- [Commits](DataTables/Dist-DataTables@1.10.25...1.11.1)

---
updated-dependencies:
- dependency-name: datatables.net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
On behalf of DB Systel GmbH

Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
* quote variables

* try docker compose v2 in github action

* revert docker compose v2 test

Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
* Better support SARIF ruleId attribute

* Add flawfinder data

* Fix flake8 errors

* fix flake8 errors

* Implement mitigation
)

Bumps [datatables.net-buttons-bs](https://github.com/DataTables/Dist-DataTables-Buttons-Bootstrap) from 1.7.1 to 2.0.0.
- [Release notes](https://github.com/DataTables/Dist-DataTables-Buttons-Bootstrap/releases)
- [Commits](DataTables/Dist-DataTables-Buttons-Bootstrap@1.7.1...2.0.0)

---
updated-dependencies:
- dependency-name: datatables.net-buttons-bs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When using the safety parser in environments without internet connection it take a while until the parser using the fallback offline mode. Now you can configure to use offline mode only.

On behalf of DB Systel GmbH

Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
* Implemented dynamic scan import for Veracode

* Implemented unit tests for Veracode dynamic finding import.

* Corrected reimport unit test errors.

* Corrected issues with finding counts in unit tests after adding new dynamic analysis data.

Co-authored-by: valentijnscholten <valentijnscholten@gmail.com>
Bumps [datatables.net-dt](https://github.com/DataTables/Dist-DataTables-DataTables) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/DataTables/Dist-DataTables-DataTables/releases)
- [Commits](DataTables/Dist-DataTables-DataTables@1.11.1...1.11.2)

---
updated-dependencies:
- dependency-name: datatables.net-dt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…son) (#5062)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
…ose.yml) (#5061)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
StefanFl and others added 28 commits September 29, 2021 15:28
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-api-python-client@v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#5175)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Bumps [djangosaml2](https://github.com/knaperek/djangosaml2) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/knaperek/djangosaml2/releases)
- [Changelog](https://github.com/IdentityPython/djangosaml2/blob/master/CHANGES)
- [Commits](IdentityPython/djangosaml2@v1.3.3...v1.3.4)

---
updated-dependencies:
- dependency-name: djangosaml2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-auth-library-python@v2.1.0...v2.2.1)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* implementation of parser

* implementation of unit tests

* flake8

* use unique_id_from_tool for deduplication
* Add first shot

* Fix missing ref

* Fix unit tests for SARIF parser

* Fix unit tests

* Fix unit tests

* Merge #5125

* Fix missing ref

* Add more unit tests for importer

* Add more unit tests for new code

* Add more checks in unit tests

* Add comments

* Add suffix for UI

* Add de-duplication algorithm for SARIF parser

* Modify the label of test types

* Rename a variable

* Rename variable

* Rebased on last dev and and more docs+comments

* Apply suggestions from code review

Co-authored-by: Stefan Fleckenstein <stefan.fleckenstein@maibornwolff.de>

Co-authored-by: Stefan Fleckenstein <stefan.fleckenstein@maibornwolff.de>
* Rename Azure Security Center parser

* set hash_code and deduplication algo correct
The https version can be used without registering an SSH key with GitHub
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.4.8 to 35.0.0.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@3.4.8...35.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Set SonarQube API Import dedup algo
* Get security hotspots using SonarQube API

* Fix db migrations for SonarQube API type length

* Fix styling issues

* Fix db migrations

* Fix db migration and remove unnecessary attributes from hotspots

* Fix db migration and styling issues

* Use textwrap library for hotspot title

* Fix styling issues

* Fix unit tests

* Fix styling issues

* Add feature flag to enable/disable security hotspots import

* Fix hotspots to get their severity from hotspots and not from rules.

* Extend SonarQube unit tests to check for data.

* Fix styling issues

* Apply requested changes

* Fix styling issues

* Fix unit test

* Fix styling issue

* Fix db migrations

Co-authored-by: Defect Dojo <jimtsikos>
* gha: add pr labeler

* gha: add pr labeler
* gha: add pr labeler

* gha: add pr labeler

* gha: add pr labeler
…se.yml) (#5201)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
* Use additional test types for GitLab SAST
* Bandit parser: add de-duplication algorithm

* Add new tests

* Fix some comments
At many organizations, putting their own logo in an application is a desired functionality.
* Fix BulkEdit severity dropdown after #4766

* Add fix to view test
fixes #5155

With this PR quick reports and the exports work with all filter setting.

This PR includes some refactoring to move the filtering of findings into its own method and removal of 2 superfluous filters.
* Fix broken migration 0120

* flake8

* remove "sonarqube_config" to be able to finish migration

* add 0125_sonarqube_clean.py

* Fix is null

* fix flake8

* fix typo

* change atomic method

* create fix command

* fix atomic

* fix executor

* fix typo

* fix typo

* fix fix 0120

* fix flake8
* Switch Finding.publish_date to Date type

* Fix db migration

* Rename the migration file

* Fix migration

* Fix eeror in rebase

* Update and rename 0125_finding_publish_date.py to 0126_finding_publish_date.py

Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
* security fixes for GHSA-qm5q-2jrx-cch3

* remove password hashes from auditlog

* whitelist for global roles and fix for migration

* Update and rename 0125_remove_hashes.py to 0127_remove_hashes.py

Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
@Maffooch Maffooch merged commit d321f9f into master Oct 5, 2021
@damiencarol damiencarol deleted the release/2.3.0 branch January 31, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet