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

#65 - Reader for Snyk and Semgrep SARIF files #67

Merged
merged 2 commits into from
Apr 15, 2024
Merged

#65 - Reader for Snyk and Semgrep SARIF files #67

merged 2 commits into from
Apr 15, 2024

Conversation

darkspirit510
Copy link
Contributor

Hi @davewichers,

as mentioned via Mail, this is my current state. It can be merged and I can do my refactoring in another PR.

This solves #65 and supports Semgrep SARIF. For some reason, Snyk JSON and SARIF seems to be the same export, just with different file ending (or the one who provided the file used the wrong file ending). So BenchmarkUtils should already be able to parse Snyk SARIF file when changing ending to .sarif instead of .json. I refactored the class and removed the check for file ending, so it does not matter which type is provided. 🤷‍♂️

Sascha

@davewichers davewichers merged commit cbdb828 into OWASP-Benchmark:main Apr 15, 2024
1 check passed
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.

2 participants