OWASP dep-scan is a next-generation security and risk audit tool based on known vulnerabilities, advisories, and license limitations for project dependencies. Both local repositories and container images are supported as the input, and the tool is ideal for integration.
Generating depscan report
Traceback (most recent call last):
File "/usr/local/bin/depscan", line 5, in
from depscan.cli import main
File "/usr/local/lib/python3.10/dist-packages/depscan/cli.py", line 64, in
app = Quart(name)
File "/usr/local/lib/python3.10/dist-packages/quart/app.py", line 338, in init
self.add_url_rule(
File "/usr/local/lib/python3.10/dist-packages/flask/sansio/scaffold.py", line 47, in wrapper_func
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/flask/sansio/app.py", line 641, in add_url_rule
if "OPTIONS" not in methods and self.config["PROVIDE_AUTOMATIC_OPTIONS"]:
KeyError: 'PROVIDE_AUTOMATIC_OPTIONS'
Running on azul/zulu-openjdk:21 container image as a CLI command as part of a pipeline. It has been running successfully until recently.
On the Docker image, these are the commands to install depscan:
Expected Behavior
Run depscan successfully
Actual Behavior
Generating depscan report Traceback (most recent call last): File "/usr/local/bin/depscan", line 5, in
from depscan.cli import main
File "/usr/local/lib/python3.10/dist-packages/depscan/cli.py", line 64, in
app = Quart(name)
File "/usr/local/lib/python3.10/dist-packages/quart/app.py", line 338, in init
self.add_url_rule(
File "/usr/local/lib/python3.10/dist-packages/flask/sansio/scaffold.py", line 47, in wrapper_func
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/flask/sansio/app.py", line 641, in add_url_rule
if "OPTIONS" not in methods and self.config["PROVIDE_AUTOMATIC_OPTIONS"]:
KeyError: 'PROVIDE_AUTOMATIC_OPTIONS'
Steps to Reproduce
depscan --bom "${REPORT}_sbom.json" --reports-dir "$REPORT_DIR"
Additional Information
Running on azul/zulu-openjdk:21 container image as a CLI command as part of a pipeline. It has been running successfully until recently. On the Docker image, these are the commands to install depscan: