CLI Reference
This page provides documentation for the command line tools.
cstools
CodeSecTools CLI.
Usage:
Subcommands
- allsast: Run all available SAST tools together.
- bearer: Bearer SAST
- coverity: Coverity Static Analysis
- cppcheck: Cppcheck
- docker: Start the Docker environment for the specified target (current directory by default).
- download: Download and install any missing resources that are available for download.
- semgrepce: Semgrep Community Edition Engine
- snykcode: Snyk Code
- spotbugs: SpotBugs
- status: Display the availability of SAST tools and datasets.
cstools allsast
Run all available SAST tools together.
Usage:
Subcommands
- analyze: Analyze a project using all availbale SAST tools.
- benchmark: Benchmark a dataset using all SAST tools.
- info: List used SAST tools.
- list: List existing analysis results.
- plot: Generate plot for results visualization (datasets are not supported).
- report: Generate an HTML report
cstools allsast analyze
Analyze a project using all availbale SAST tools.
Usage:
cstools allsast benchmark
Benchmark a dataset using all SAST tools.
Usage:
cstools allsast info
List used SAST tools.
Usage:
cstools allsast list
List existing analysis results.
Usage:
cstools allsast plot
Generate plot for results visualization (datasets are not supported).
Usage:
cstools allsast report
Generate an HTML report
Usage:
cstools bearer
Bearer SAST
Usage:
Subcommands
- install: List instruction to install missing requirements.
cstools bearer install
List instruction to install missing requirements.
Usage:
cstools coverity
Coverity Static Analysis
Usage:
Subcommands
- install: List instruction to install missing requirements.
- list: List existing analysis results.
- plot: Generate plot for results visualization.
cstools coverity install
List instruction to install missing requirements.
Usage:
cstools coverity list
List existing analysis results.
Usage:
cstools coverity plot
Generate plot for results visualization.
Usage:
cstools cppcheck
Cppcheck
Usage:
Subcommands
- install: List instruction to install missing requirements.
- list: List existing analysis results.
- plot: Generate plot for results visualization.
cstools cppcheck install
List instruction to install missing requirements.
Usage:
cstools cppcheck list
List existing analysis results.
Usage:
cstools cppcheck plot
Generate plot for results visualization.
Usage:
cstools docker
Start the Docker environment for the specified target (current directory by default).
Usage:
cstools download
Download and install any missing resources that are available for download.
Usage:
cstools semgrepce
Semgrep Community Edition Engine
Usage:
Subcommands
- install: List instruction to install missing requirements.
cstools semgrepce install
List instruction to install missing requirements.
Usage:
cstools snykcode
Snyk Code
Usage:
Subcommands
- install: List instruction to install missing requirements.
- list: List existing analysis results.
- plot: Generate plot for results visualization.
cstools snykcode install
List instruction to install missing requirements.
Usage:
cstools snykcode list
List existing analysis results.
Usage:
cstools snykcode plot
Generate plot for results visualization.
Usage:
cstools spotbugs
SpotBugs
Usage:
Subcommands
- install: List instruction to install missing requirements.
- list: List existing analysis results.
- plot: Generate plot for results visualization.
cstools spotbugs install
List instruction to install missing requirements.
Usage:
cstools spotbugs list
List existing analysis results.
Usage:
cstools spotbugs plot
Generate plot for results visualization.
Usage:
cstools status
Display the availability of SAST tools and datasets.
Usage: