raxe scan
Scan text for threats.Options
| Option | Description |
|---|---|
--format | Output format: text, json |
--ci | CI mode (JSON + exit code 1 on threats) |
--explain | Show detailed explanations |
--rule | Test specific rule only |
--tenant | Tenant ID for multi-tenant scanning |
--app | App ID within tenant |
--policy | Override policy for this scan |
Examples
raxe batch
Scan multiple prompts from file.Options
| Option | Description |
|---|---|
--format | Output format: text, json, csv |
--output | Write results to file |
Examples
raxe repl
Interactive scanning mode.REPL Commands
| Command | Description |
|---|---|
scan <text> | Scan text |
rules | List loaded rules |
stats | Show session stats |
clear | Clear screen |
help | Show help |
quit | Exit REPL |
raxe rules
Manage detection rules.Subcommands
| Command | Description |
|---|---|
list | List all rules |
show <id> | Show rule details |
search <query> | Search rules |
Examples
raxe doctor
System health check.Output
raxe stats
View scan statistics.Options
| Option | Description |
|---|---|
--period | Time period: today, week, month, all |
Output
raxe config
Manage configuration.Subcommands
| Command | Description |
|---|---|
show | Show current config |
set <key> <value> | Set config value |
reset | Reset to defaults |
Examples
raxe init
Initialize RAXE configuration.~/.raxe/config.yaml~/.raxe/raxe.db
raxe export
Export scan history.Options
| Option | Description |
|---|---|
--format | Output format: json, csv |
--output | Output file path |
--since | Export from date |
raxe tenant
Manage tenants for multi-customer deployments.Subcommands
| Command | Description |
|---|---|
create | Create a new tenant |
list | List all tenants |
show <id> | Show tenant details |
delete <id> | Delete a tenant |
Examples
raxe app
Manage applications within tenants.Subcommands
| Command | Description |
|---|---|
create | Create a new app |
list | List apps for a tenant |
show <id> | Show app details |
delete <id> | Delete an app |
Examples
raxe policy
Manage security policies for tenants.Subcommands
| Command | Description |
|---|---|
list | List available policies |
set <policy> | Set default policy |
explain | Show policy resolution |
create | Create custom policy |
Examples
Policy Modes
| Mode | Behavior |
|---|---|
monitor | Never blocks, logs everything |
balanced | Blocks CRITICAL, HIGH with confidence ≥ 0.85 |
strict | Blocks CRITICAL, HIGH, and MEDIUM |
raxe suppress
Manage suppression rules for false positives.Subcommands
| Command | Description |
|---|---|
list | List all active suppressions |
add <pattern> | Add a new suppression |
remove <pattern> | Remove a suppression |
audit | View suppression audit log |
Examples
Options for add
| Option | Description |
|---|---|
--reason | Required reason for the suppression |
--expires | Expiration date (ISO 8601 format) |
--action | Override action: SUPPRESS, FLAG, LOG |
--tenant | Tenant ID for tenant-scoped suppression |
