@cdot65/prisma-airs-cli 5.11.1 → 6.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/dist/index.d.ts CHANGED
@@ -1641,6 +1641,13 @@ declare function readBackupFile<T>(filePath: string): BackupEnvelope<T>;
1641
1641
  /** Read all backup files from a directory, filtering by resourceType. */
1642
1642
  declare function readBackupDir<T>(dirPath: string, resourceType: ResourceType): BackupEnvelope<T>[];
1643
1643
 
1644
+ /**
1645
+ * Everything a tenant config file may contain. There is exactly one credential set
1646
+ * and one OAuth token endpoint for every management-plane product (Management, DLP,
1647
+ * Red Team, Model Security, AgentGuard, AI Gateway admin/data planes, SCM IAM): the
1648
+ * `mgmt*` values below. Product base URLs default to the SDK constants; the optional
1649
+ * overrides exist for test servers and private routing, never for authentication.
1650
+ */
1644
1651
  declare const ConfigSchema: z.ZodObject<{
1645
1652
  airsApiKey: z.ZodOptional<z.ZodString>;
1646
1653
  airsApiToken: z.ZodOptional<z.ZodString>;
@@ -1655,17 +1662,13 @@ declare const ConfigSchema: z.ZodObject<{
1655
1662
  dlpEndpoint: z.ZodOptional<z.ZodString>;
1656
1663
  redTeamDataEndpoint: z.ZodOptional<z.ZodString>;
1657
1664
  redTeamMgmtEndpoint: z.ZodOptional<z.ZodString>;
1658
- redTeamTokenEndpoint: z.ZodOptional<z.ZodString>;
1659
1665
  redTeamNetworkBrokerEndpoint: z.ZodOptional<z.ZodString>;
1660
1666
  modelSecDataEndpoint: z.ZodOptional<z.ZodString>;
1661
1667
  modelSecMgmtEndpoint: z.ZodOptional<z.ZodString>;
1662
- modelSecTokenEndpoint: z.ZodOptional<z.ZodString>;
1663
1668
  agentGuardDataEndpoint: z.ZodOptional<z.ZodString>;
1664
1669
  agentGuardMgmtEndpoint: z.ZodOptional<z.ZodString>;
1665
- agentGuardTokenEndpoint: z.ZodOptional<z.ZodString>;
1666
1670
  aiGwDataEndpoint: z.ZodOptional<z.ZodString>;
1667
1671
  aiGwAdminEndpoint: z.ZodOptional<z.ZodString>;
1668
- aiGwTokenEndpoint: z.ZodOptional<z.ZodString>;
1669
1672
  iamEndpoint: z.ZodOptional<z.ZodString>;
1670
1673
  aiGwInferenceEndpoint: z.ZodOptional<z.ZodString>;
1671
1674
  aiGwInferenceApiKey: z.ZodOptional<z.ZodString>;
@@ -1690,17 +1693,13 @@ declare const ConfigSchema: z.ZodObject<{
1690
1693
  dlpEndpoint?: string | undefined;
1691
1694
  redTeamDataEndpoint?: string | undefined;
1692
1695
  redTeamMgmtEndpoint?: string | undefined;
1693
- redTeamTokenEndpoint?: string | undefined;
1694
1696
  redTeamNetworkBrokerEndpoint?: string | undefined;
1695
1697
  modelSecDataEndpoint?: string | undefined;
1696
1698
  modelSecMgmtEndpoint?: string | undefined;
1697
- modelSecTokenEndpoint?: string | undefined;
1698
1699
  agentGuardDataEndpoint?: string | undefined;
1699
1700
  agentGuardMgmtEndpoint?: string | undefined;
1700
- agentGuardTokenEndpoint?: string | undefined;
1701
1701
  aiGwDataEndpoint?: string | undefined;
1702
1702
  aiGwAdminEndpoint?: string | undefined;
1703
- aiGwTokenEndpoint?: string | undefined;
1704
1703
  iamEndpoint?: string | undefined;
1705
1704
  aiGwInferenceEndpoint?: string | undefined;
1706
1705
  aiGwInferenceApiKey?: string | undefined;
@@ -1721,17 +1720,13 @@ declare const ConfigSchema: z.ZodObject<{
1721
1720
  dlpEndpoint?: string | undefined;
1722
1721
  redTeamDataEndpoint?: string | undefined;
1723
1722
  redTeamMgmtEndpoint?: string | undefined;
1724
- redTeamTokenEndpoint?: string | undefined;
1725
1723
  redTeamNetworkBrokerEndpoint?: string | undefined;
1726
1724
  modelSecDataEndpoint?: string | undefined;
1727
1725
  modelSecMgmtEndpoint?: string | undefined;
1728
- modelSecTokenEndpoint?: string | undefined;
1729
1726
  agentGuardDataEndpoint?: string | undefined;
1730
1727
  agentGuardMgmtEndpoint?: string | undefined;
1731
- agentGuardTokenEndpoint?: string | undefined;
1732
1728
  aiGwDataEndpoint?: string | undefined;
1733
1729
  aiGwAdminEndpoint?: string | undefined;
1734
- aiGwTokenEndpoint?: string | undefined;
1735
1730
  iamEndpoint?: string | undefined;
1736
1731
  aiGwInferenceEndpoint?: string | undefined;
1737
1732
  aiGwInferenceApiKey?: string | undefined;
@@ -1743,6 +1738,10 @@ declare const ConfigSchema: z.ZodObject<{
1743
1738
  }>;
1744
1739
  type Config = z.infer<typeof ConfigSchema>;
1745
1740
 
1741
+ /**
1742
+ * Load the effective config: CLI overrides > selected tenant file > defaults.
1743
+ * The environment is never consulted.
1744
+ */
1746
1745
  declare function loadConfig(cliOverrides?: Record<string, unknown>, configFilePath?: string): Promise<Config>;
1747
1746
 
1748
1747
  /**
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  validateTopic,
29
29
  writeBackupFile,
30
30
  writeReportFile
31
- } from "./chunk-37SN57XQ.js";
31
+ } from "./chunk-KGMQY2IT.js";
32
32
  export {
33
33
  AirsScanService,
34
34
  SDK_ASYNC_BATCH_SIZE,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cdot65/prisma-airs-cli",
3
3
  "packageManager": "pnpm@10.6.5",
4
- "version": "5.11.1",
4
+ "version": "6.1.0",
5
5
  "description": "CLI and library for Palo Alto Prisma AIRS — guardrail refinement, AI red teaming, model security scanning, profile audits",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -59,11 +59,10 @@
59
59
  },
60
60
  "license": "MIT",
61
61
  "dependencies": {
62
- "@cdot65/prisma-airs-sdk": "0.31.1",
62
+ "@cdot65/prisma-airs-sdk": "0.33.0",
63
63
  "@inquirer/prompts": "^8.3.0",
64
64
  "chalk": "^5.6.2",
65
65
  "commander": "^14.0.3",
66
- "dotenv": "^17.3.1",
67
66
  "js-yaml": "^4.3.2",
68
67
  "nanoid": "^5.1.16",
69
68
  "p-limit": "^6.0.0",