We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
The app is not running with last version of semgrep and prospector-html.
semgrep scan --json --output semgrep-native-report.json --config=auto myapp
prospector-html --input semgrep-native-report --output filtered-report.html --filter semgrep
(.venv) ~ [ prospector-html --input semgrep-native-report.json --output filtered-report.json --json Traceback (most recent call last): File "/home/mario/.venv/bin/prospector-html", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/mario/.venv/lib/python3.11/site-packages/prospector2html/__main__.py", line 9, in main sys.exit(prh.main()) ^^^^^^^^^^ File "/home/mario/.venv/lib/python3.11/site-packages/prospector2html/prospector2html.py", line 141, in main msgs = json_obj['vulnerabilities'] ~~~~~~~~^^^^^^^^^^^^^^^^^^^ KeyError: 'vulnerabilities'
The text was updated successfully, but these errors were encountered:
Sorry to hear that something is not working for you.
The issue appears in lack of proper error reporting on different output formats form different SAST tools.
Try to add --filter semgrep to your last command line. E.g.
--filter semgrep
prospector-html --input semgrep-native-report.json --output filtered-report.json --json --filter semgrep
Sorry, something went wrong.
Gota enhance error reporting and update samples in documentation, though.
thank you the command line is running well produce a json, so how to produce an HTML?
so how to produce an HTML?
In order to produce HTML instead of JSON - just avoid --json paramter
--json
E.g.
prospector-html --input semgrep-native-report.json --output filtered-report.html --filter semgrep
Result will be in file filtered-report.html
filtered-report.html
amdei
No branches or pull requests
Hello
The app is not running with last version of semgrep and prospector-html.
The text was updated successfully, but these errors were encountered: