| name | auditor |
| description | NeMo auditor CLI reference for audit configs, targets, and jobs. Use when the task involves audit configurations, audit targets, audit jobs, vulnerability scanning, probes, or `nemo auditor` CLI commands.
|
NeMo Auditor CLI Reference
Environment
- API server:
http://localhost:8080 (default)
- Default workspace/namespace:
default
Audit Config Commands
nemo auditor configs list
nemo auditor configs list --workspace <ws>
nemo auditor configs create <name> \
-d '{"description": "<description>", "plugins": {"probe_spec": "dan.AutoDANCached"}, "reporting": {}, "run": {}, "system": {"lite": true}}'
nemo auditor configs get <name>
nemo auditor configs update <name> \
-d '{"description": "<new description>", "plugins": {"probe_spec": "dan.AutoDANCached"}, "reporting": {}, "run": {}, "system": {"lite": true}}'
nemo auditor configs delete <name>
Config JSON Structure
Minimal example for each required field:
- plugins:
{"probe_spec": "dan.AutoDANCached"} — specifies which probes to run
- reporting:
{}
- run:
{} or {"generations": 5}
- system:
{"lite": true}
Common probe specs: dan.AutoDANCached, dan.DanInTheWild, dan.goodside
Audit Target Commands
nemo auditor targets create <name> \
-d '{"model": "<model-name>", "type": "<type>", "description": "<description>"}'
nemo auditor targets create <name> \
-d '{"model": "<model-name>", "type": "<type>", "options": {"provider": "<provider-name>"}}'
nemo auditor targets list
nemo auditor targets get <name>
nemo auditor targets update <name> \
-d '{"model": "<model-name>", "type": "<type>", "description": "<new description>"}'
nemo auditor targets delete <name>
Target types: nim, openai
Audit Job Commands
nemo auditor audit run \
--spec '{"config": "default/<config-name>", "target": "default/<target-name>"}'
nemo auditor audit submit \
--spec '{"config": "default/<config-name>", "target": "default/<target-name>"}'
Jobs may take a long time or remain in pending/created status. That is expected.
Typical Workflows
Config CRUD
nemo auditor configs list — inspect configs in the active workspace
nemo auditor configs create my-config -d '{...}' — create
nemo auditor configs get my-config — verify
nemo auditor configs update my-config -d '{...}' — update
nemo auditor configs delete my-config — delete
Run an Audit Job
- Create a target pointing to the model endpoint
- Create a config with probe selection
- Create a job referencing
default/<config> and default/<target>
- Run locally with
nemo auditor audit run --spec '{...}', or submit with nemo auditor audit submit --spec '{...}'