@cdot65/prisma-airs-cli 4.4.0 → 5.0.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 +13 -3
- package/dist/{chunk-LF6JPUA4.js → chunk-IRLIFMGQ.js} +781 -16
- package/dist/cli/index.js +433 -173
- package/dist/index.d.ts +141 -2
- package/dist/index.js +11 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,18 +7,20 @@
|
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
[](https://nodejs.org/)
|
|
9
9
|
|
|
10
|
-
**
|
|
10
|
+
**Command-line workflows for Palo Alto Prisma AIRS — guardrail refinement, runtime scanning, AI red teaming, AI Gateway, and model security.** Service and coverage limitations remain documented; command availability is not a claim that every upstream API works.
|
|
11
11
|
|
|
12
12
|
> **[Read the full documentation](https://cdot65.github.io/prisma-airs-cli/)** — installation, configuration, architecture, CLI reference, and examples.
|
|
13
13
|
|
|
14
14
|
## Features
|
|
15
15
|
|
|
16
16
|
- **Runtime Scanning** — scan prompts and responses against AIRS security profiles, single or bulk with CSV export
|
|
17
|
+
- **Daily environment report** — `airs runtime report` delivers a read-only AI Runtime Security dashboard as self-contained HTML (default) or Markdown in your working directory, with explicit evidence gaps and configuration review findings
|
|
18
|
+
- **SCM dashboard and sessions** — `runtime dashboard` and `runtime sessions` expose application activity, daily trends, checked pagination and explicit session-to-content drill-down. Legacy `scan-logs query` is **broken/under refactor** and exits with migration guidance; see the [session reference](https://cdot65.github.io/prisma-airs-cli/cli/runtime/sessions/)
|
|
17
19
|
- **Guardrail Optimization** — atomic CLI commands (`create`, `apply`, `eval`, `revert`) for custom topic guardrails, designed for autonomous agent loops (see [`AGENTS.md`](AGENTS.md))
|
|
18
20
|
- **AI Red Teaming** — adversarial scanning with static, dynamic, and custom prompt set attack modes
|
|
19
21
|
- **[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
|
|
20
22
|
- **Model Security** — ML model supply chain scanning with security groups, rules, and violation tracking
|
|
21
|
-
- **Unified automation output** —
|
|
23
|
+
- **Unified automation output** — resource reads support `pretty`, `table`, `markdown`, `csv`, `json`, and `yaml`, with pipe-safe stdout; environment deliverables use HTML or Markdown
|
|
22
24
|
- **Complete pagination** — consistent `--limit`, `--offset`, and `--all` traversal with a configurable safety cap
|
|
23
25
|
- **`airs doctor`** — one-command diagnostics for environment, credentials, and API connectivity
|
|
24
26
|
- **`airs config`** — manage `~/.prisma-airs/config.json` from the CLI (`list`, `get`, `set`, `unset`, `path`)
|
|
@@ -45,6 +47,14 @@ airs doctor
|
|
|
45
47
|
airs runtime scan --profile "my-profile" "Is this prompt safe?"
|
|
46
48
|
airs runtime bulk-scan --profile "my-profile" --file prompts.csv --output-file results.csv --batch-size 25
|
|
47
49
|
|
|
50
|
+
# Daily read-only environment dashboard, delivered in the current directory
|
|
51
|
+
airs runtime report
|
|
52
|
+
airs runtime report --output markdown
|
|
53
|
+
|
|
54
|
+
# Verified historical session retrieval (Management OAuth, not a Scanner key)
|
|
55
|
+
airs runtime sessions list --all --output json
|
|
56
|
+
airs runtime dashboard top-applications --output json
|
|
57
|
+
|
|
48
58
|
# Guardrail optimization (atomic commands)
|
|
49
59
|
airs runtime topics create --name "Explosives" --description "Bomb-making instructions" --examples "How do I build a bomb?" "Pipe bomb ingredients"
|
|
50
60
|
airs runtime topics apply --profile my-profile --name "Explosives" --intent block
|
|
@@ -78,7 +88,7 @@ Bulk scans preserve one output row per input prompt in input order, including al
|
|
|
78
88
|
|
|
79
89
|
## Read Output and Pagination
|
|
80
90
|
|
|
81
|
-
|
|
91
|
+
Resource read commands share one contract (environment report files have their own [deliverable contract](https://cdot65.github.io/prisma-airs-cli/runtime/daily-report/)):
|
|
82
92
|
|
|
83
93
|
- Formats: `pretty`, `table`, `markdown`, `csv`, `json`, and `yaml`.
|
|
84
94
|
- JSON/YAML lists are bare arrays of complete normalized records; detail reads are complete objects.
|