CLI reference
The following table lists the Veracode CLI commands:
Command | Description |
---|---|
configure | Configures API credentials for the Veracode CLI. |
fix | Generates code fixes and, optionally, apply them to flaws in an application source file. |
help | Lists the available commands. |
package | Package project code for Veracode Static Analysis. |
policy | Downloads a security policy as a file. |
sbom | Generates a software bill of materials (SBOM) of an image, archive, repository, or directory. |
scan | Generates vulnerability findings and policy results for an image, archive, repository, or directory. |
static | Performs Static Application Security Testing (SAST) scans. |
version | Returns 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 it in a different location, use this format:
<path>/veracode [command]