Skip to content
Cisco AI Defense logo
CiscoAI Security

defenseclaw version — DefenseClaw

Overview

defenseclaw version — Show DefenseClaw CLI / gateway / plugin versions and flag drift.

Reference

Synopsis

defenseclaw version [OPTIONS]

Description

Show DefenseClaw CLI / gateway / plugin versions and flag drift

Show DefenseClaw CLI / gateway / plugin versions and flag drift.

This is the command to run first when a bug report says "the guardrail isn't blocking" — nine times out of ten the problem is a freshly rebuilt CLI talking to a stale gateway binary still living in the operator's PATH from make install weeks ago.

Options

FlagTypeDefaultEnv varRequiredDescription
--jsonbooleannoEmit a machine-readable report.
--no-drift-exitbooleannoAlways exit 0, even if component versions disagree (useful in CI).

Usage

Print version metadata

defenseclaw version
defenseclaw version --json

Use JSON output for automation.

Avoid drift exit codes

defenseclaw version --no-drift-exit

This is useful in diagnostics where you want the version report even when local components differ.

Related