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

🎇 refactor sonarqube and add JSON parsing for api export #9734

Merged
merged 26 commits into from Apr 3, 2024

Conversation

manuel-sommer
Copy link
Contributor

@manuel-sommer manuel-sommer commented Mar 13, 2024

Copy link

dryrunsecurity bot commented Mar 13, 2024

Hi there 👋, @DryRunSecurity here, below is a summary of our analysis and findings.

DryRun Security Status Findings
Sensitive Functions Analyzer 0 findings
Configured Sensitive Files Analyzer 0 findings
Sensitive Files Analyzer 0 findings

Note

🟢 Risk threshold not exceeded.

Tip

Get answers to your security questions. Add a comment in this PR starting with @DryRunSecurity. For example...

@dryrunsecurity What are common security issues with web application cookies?

Powered by DryRun Security

@manuel-sommer manuel-sommer marked this pull request as draft March 13, 2024 16:23
@manuel-sommer manuel-sommer marked this pull request as ready for review March 14, 2024 08:48
@github-actions github-actions bot added the docs label Mar 14, 2024
@mtesauro
Copy link
Contributor

@manuel-sommer Thanks for the changes - probably shouldn't have tried to review this when I had so little time since I mis-read a couple of things in my hurry.

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@manuel-sommer
Copy link
Contributor Author

Hi @mtesauro, could we merge this before the next release? I would appreciate it as I would need it. Only one review is pending.

@manuel-sommer
Copy link
Contributor Author

@cneill could you take a look here please?

dojo/tools/sonarqube/parser.py Outdated Show resolved Hide resolved
dojo/tools/sonarqube/parser.py Outdated Show resolved Hide resolved
@manuel-sommer
Copy link
Contributor Author

Hi @cneill, I changed the code according to your review, but I have no clue why ruff fails now. The references are right, but not detected from ruff.

@manuel-sommer
Copy link
Contributor Author

Done, thank you for your input and review @cneill. 😄
It would be nice if you could merge it before the next release.

@mtesauro mtesauro merged commit f005661 into DefectDojo:dev Apr 3, 2024
121 checks passed
@manuel-sommer manuel-sommer deleted the rework_sonarqube branch April 3, 2024 15:10
manuel-sommer added a commit to manuel-sommer/django-DefectDojo that referenced this pull request Apr 3, 2024
…9734)

* 🎇 refactor sonarqube and add JSON parsing for api export

* 🚧 start with api json

* continue work

* update

* update

* fix

* 🎉 also advance to support multiple files at once via zip due to pagination

* advance unittests

* advance documentation

* update documentation

* update documentation

* add tags to distinguish between findings

* :pencile: docs

* add cve

* add cwe

* add cvssscore

* 💄

* 🎉 add components

* add ghsa

* 🐛 fix for empty zip file

* empty json file

* fix documentation

* 🐛 fix for different message structure

* parse hotspots

* fix according to review

* ruff
hblankenship pushed a commit to hblankenship/django-DefectDojo that referenced this pull request Apr 26, 2024
…9734)

* 🎇 refactor sonarqube and add JSON parsing for api export

* 🚧 start with api json

* continue work

* update

* update

* fix

* 🎉 also advance to support multiple files at once via zip due to pagination

* advance unittests

* advance documentation

* update documentation

* update documentation

* add tags to distinguish between findings

* :pencile: docs

* add cve

* add cwe

* add cvssscore

* 💄

* 🎉 add components

* add ghsa

* 🐛 fix for empty zip file

* empty json file

* fix documentation

* 🐛 fix for different message structure

* parse hotspots

* fix according to review

* ruff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants