Skip to content

CLI commands

Use the audit, scan, baseline, diff, badge, and history commands.


Choose a command

Command map
1vice audit [path]
2vice scan <url>
3vice baseline [path]
4vice diff <old.json> <new.json>
5vice badge --input <report.json>
6vice history

Control a local audit

  • --ci enables exit-code enforcement with a default minimum score of 70.
  • --min-score sets the score threshold.
  • --min-confidence keeps findings at or above low, medium, or high confidence.
  • --severity-min limits which severities count toward the score.
  • --no-baseline ignores the project baseline for that run.

Produce machine-readable output

JSON is useful for custom automation and report storage. SARIF 2.1.0 is intended for compatible code-scanning systems.

JSON and SARIF
1vice audit . --ci --json > vice-report.json
2vice audit . --ci --format sarif --output results.sarif

Compare and publish results

  • baseline snapshots reviewed findings into .vice-baseline.json.
  • diff compares two saved JSON reports and can output JSON or Markdown.
  • badge creates a Shields.io endpoint JSON file from a report.
  • history lists reports saved by interactive and local runs.

Continue with VICE

Review the open source engine, modules, and scope controls.

Explore the VICE engine