@cdot65/prisma-airs-cli 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/cli/index.js +1583 -248
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- **Runtime Scanning** — scan prompts and responses against AIRS security profiles, single or bulk with CSV export
|
|
20
20
|
- **Guardrail Optimization** — atomic CLI commands (`create`, `apply`, `eval`, `revert`) for custom topic guardrails, designed for autonomous agent loops (see [`AGENTS.md`](AGENTS.md))
|
|
21
21
|
- **AI Red Teaming** — adversarial scanning with static, dynamic, and custom prompt set attack modes
|
|
22
|
-
- **[AI Gateway](https://cdot65.github.io/prisma-airs-cli/cli/aigateway/
|
|
22
|
+
- **[AI Gateway](https://cdot65.github.io/prisma-airs-cli/cli/aigateway/resources/)** — workspaces, configs, guardrails, providers, API keys, integrations, MCP, deployments, plugins, audit logs, and telemetry
|
|
23
23
|
- **Model Security** — ML model supply chain scanning with security groups, rules, and violation tracking
|
|
24
24
|
- **Unified automation output** — every read command supports `pretty`, `table`, `markdown`, `csv`, `json`, and `yaml`, with pipe-safe stdout
|
|
25
25
|
- **Complete pagination** — consistent `--limit`, `--offset`, and `--all` traversal with a configurable safety cap
|
|
@@ -61,9 +61,13 @@ airs redteam report <job-id>
|
|
|
61
61
|
# Red team custom target adapters
|
|
62
62
|
airs redteam adapter list --output json
|
|
63
63
|
|
|
64
|
-
# AI Gateway
|
|
65
|
-
airs aigateway
|
|
66
|
-
airs aigateway
|
|
64
|
+
# AI Gateway inventory and telemetry
|
|
65
|
+
airs aigateway workspaces list --all --output json
|
|
66
|
+
airs aigateway configs list --workspace <workspace-uuid> --output json
|
|
67
|
+
airs aigateway configs create --name primary --workspace <workspace-uuid> \
|
|
68
|
+
--set config.retry.attempts=3 --set config.strategy.mode=fallback --output json
|
|
69
|
+
airs aigateway mcp integrations list --output json
|
|
70
|
+
airs aigateway telemetry requests --workspace <workspace-slug> --days 30 --output json
|
|
67
71
|
|
|
68
72
|
# Model security
|
|
69
73
|
airs model-security scans create --config scan-config.json
|
|
@@ -73,7 +77,7 @@ airs runtime profiles list --all --output json | jq '.[].profileName'
|
|
|
73
77
|
airs runtime topics list --all-versions --output markdown
|
|
74
78
|
```
|
|
75
79
|
|
|
76
|
-
Bulk scans preserve one output row per input prompt in input order, including all eight runtime detector flags. Work is processed as sequential logical batches (`--batch-size 25` by default), with SDK requests capped at 20 prompts. Item-level state makes accepted and pending work resumable without duplicating CSV rows, and active jobs are locked against overlapping resumes. Runtime actions are exactly `allow`, `block`, or `failed`; failed or timed-out prompts make the command exit 1. Version 4
|
|
80
|
+
Bulk scans preserve one output row per input prompt in input order, including all eight runtime detector flags. Work is processed as sequential logical batches (`--batch-size 25` by default), with SDK requests capped at 20 prompts. Item-level state makes accepted and pending work resumable without duplicating CSV rows, and active jobs are locked against overlapping resumes. Runtime actions are exactly `allow`, `block`, or `failed`; failed or timed-out prompts make the command exit 1. Version 4 pins `@cdot65/prisma-airs-sdk` 0.20.0 for validated AI Gateway write schemas, typed catalogs, dotted request builders, and secret metadata.
|
|
77
81
|
|
|
78
82
|
## Read Output and Pagination
|
|
79
83
|
|
|
@@ -101,7 +105,7 @@ The full guides, complete CLI reference, configuration, and architecture live on
|
|
|
101
105
|
- **[Runtime Security](https://cdot65.github.io/prisma-airs-cli/runtime/overview/)** — scanning, profiles, topics, and DLP management
|
|
102
106
|
- **[Guardrail Optimization](https://cdot65.github.io/prisma-airs-cli/runtime/guardrails/overview/)** — the agent-driven `topics create/apply/eval/revert` loop
|
|
103
107
|
- **[AI Red Teaming](https://cdot65.github.io/prisma-airs-cli/redteam/overview/)** — static, dynamic, and custom adversarial scans
|
|
104
|
-
- **[AI Gateway](https://cdot65.github.io/prisma-airs-cli/cli/aigateway/
|
|
108
|
+
- **[AI Gateway](https://cdot65.github.io/prisma-airs-cli/cli/aigateway/resources/)** — full SDK 0.20 resource CRUD, structured mutation flags, two-plane authorization, secret-safe writes, and telemetry
|
|
105
109
|
- **[Model Security](https://cdot65.github.io/prisma-airs-cli/model-security/overview/)** — ML model supply-chain scanning
|
|
106
110
|
- **[CLI Reference](https://cdot65.github.io/prisma-airs-cli/cli/)** — every command, flag, and example
|
|
107
111
|
|