The main entry point is the Django :guilabel:`manage.py` management command script.
Lists all sub-commands available, including Django built-in commands.
VulnerableCode's own commands are listed under the [vulnerabilities] section:
$ ./manage.py --help
...
[vulnerabilities]
import
improve
purl2cpe
Displays help for the provided sub-command.
For example:
$ ./manage.py import --help
usage: manage.py import [-h] [--list] [--all] [--version] [-v {0,1,2,3}]
[--settings SETTINGS] [--pythonpath PYTHONPATH]
[--traceback] [--no-color] [--force-color]
[--skip-checks]
[sources [sources ...]]
Import vulnerability data
positional arguments:
sources Fully qualified importer name to run
Import vulnerability data using the given importer name. For V2 pipelines,
this name is the pipeline_id.
Other variations:
--listList all available importers--allRun all available importers
Improve the imported vulnerability data using the given improver name. For V2
pipelines, this name is the pipeline_id.
Other variations:
--listList all available improvers--allRun all available improvers
Dump a mapping of CPEs to PURLs grouped by vulnerability in the destination
directory.
Other variations:
--limitLimit the number of processed vulnerabilities