@cdot65/prisma-airs-sdk 0.6.11 → 0.7.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 CHANGED
@@ -92,11 +92,15 @@ import { RedTeamClient } from '@cdot65/prisma-airs-sdk';
92
92
 
93
93
  const client = new RedTeamClient(); // falls back to PANW_MGMT_* env vars
94
94
 
95
- // 5 sub-clients: scans, reports, customAttackReports, targets, customAttacks
95
+ // 7 sub-clients: scans, reports, customAttackReports, targets, customAttacks, eula, instances
96
96
  const scans = await client.scans.list({ limit: 5 });
97
97
  const targets = await client.targets.list();
98
98
  const categories = await client.scans.getCategories();
99
99
 
100
+ // EULA + instance management
101
+ const eulaStatus = await client.eula.getStatus();
102
+ const templates = await client.targets.getTargetTemplates();
103
+
100
104
  // 7 convenience methods on the top-level client
101
105
  const stats = await client.getScanStatistics();
102
106
  const trend = await client.getScoreTrend('target-uuid');
@@ -148,7 +152,7 @@ Full documentation at **[cdot65.github.io/prisma-airs-sdk](https://cdot65.github
148
152
  ```bash
149
153
  npm install
150
154
  npm run build # tsup (CJS + ESM + .d.ts)
151
- npm run test # vitest (876 tests, 99%+ coverage)
155
+ npm run test # vitest (970 tests, 99%+ coverage)
152
156
  npm run lint # eslint
153
157
  npm run typecheck # tsc --noEmit
154
158
  ```