AudisAIAudisAI
Reference

CLI Reference

Comprehensive reference for the AudisAI command-line interface.

CLI Reference

audisai

Running the command without arguments launches the interactive wizard.

scan

Scans a directory or repository.

audisai scan [flags]

Flags

FlagShorthandDescriptionDefault
--path-pPath to the directory to scan..
--state-sComma-separated list of policy codes (e.g., tx,eu) or all.all
--repo-rURL of a remote git repository to clone and scan.
--format-fOutput format: markdown, json, sarif, pdf.markdown
--output-oOutput filename.
--output-dir-dDirectory to save report artifacts.
--min-severityMinimum severity to report: low, medium, high, critical.low
--fail-on-violationExit with code 1 if violations are found.false
--baseline-bPath to a previous scan result (JSON) to compare against.

watch

Starts a file watcher that re-scans on change.

audisai watch [flags]

init

Creates default configuration files (audisai.yaml and .audisaiignore).

audisai init

update-db

Updates the local database of policy definitions and word lists.

audisai update-db

auth

Configures authentication for remote repositories.

audisai auth github
audisai auth gitlab

version

Displays version information.

audisai version

On this page