Documentation

Using the CLI

Wire your machine, check your posture, and manage policy as code. Task-oriented — the full flag reference lives in the CLI's own docs.

The vulnetix ai-firewall command group is the fastest way to use this product, and the only way to manage policy as code.

This section is task-oriented. The exhaustive flag reference lives in the CLI’s own documentation: docs.cli.vulnetix.com/docs/cli-reference/ai-firewall.

The whole surface

CommandWhat it doesDocumented in
statusPolicy, keys, wired clients, and problemsStatus & checks
install / uninstallWire local clients to the gatewayWiring your machine
key set / key removeThe provider-key vaultBYOK
settings --logs / --no-logsInference loggingOpt-in logging
policy providerVendor allow/denyProvider policy
policy modelModel allow/denyModel policy
policy guardrailContent rulesGuardrails
baselineThe recommended guardrail setPrompt injection
apply / exportPolicy as codePolicy as code
snippetGenerate working client codeGenerating code
getDump current policyProviders & models

Two credentials, again

Worth repeating here because the CLI is where the confusion starts:

  • vulnetix auth login authenticates you, the operator, so you can manage policy.
  • VULNETIX_API_KEY is what your applications send to the gateway at inference time.

They are different credentials with different lifetimes. See your two keys.

Package Firewall is a different product

Note

Vulnetix also ships a Package Firewall, which governs which software packages your organisation may install. It is unrelated to this product.

Both write a managed block to the same shell rc file, so you may see two. Each uninstall strips only its own marker — removing one never touches the other.

Commands that pair well with this one

  • vulnetix aibom — discovers which AI clients and SDKs a repository actually uses. The natural precursor to ai-firewall install: find out what you have before you wire it.
  • vulnetix secrets — scans for credentials on disk. Worth running after any --embed-key, and after wiring Continue (which necessarily writes a literal key to ~/.continue/.env).