CLI Reference
The following table lists the Veracode CLI commands:
Command | Description |
---|---|
configure | Configure credentials for the Veracode CLI. You must generate these credentials with the Identity API or in the Veracode Platform. |
help | List the available commands. Append -h or --help to a command for help specific to that command. |
sbom | Generate a software bill of materials (SBOM) of an image, archive, repository, or directory. |
scan | Generate vulnerability findings and policy results for an image, archive, repository, or directory. |
version | Return the Veracode CLI version. |
You must run each command in the filepath where the Veracode CLI is installed. If you installed it in the working directory, use this format:
./veracode {command}
If you installed the Veracode CLI in a different location, use this format:
{path}/veracode {command}