@cdot65/prisma-airs-cli 5.2.0 → 5.4.1
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 +5 -5
- package/dist/{chunk-7Z76VCB3.js → chunk-36Z6IPH6.js} +18 -2
- package/dist/cli/index.js +932 -448
- package/dist/index.d.ts +16 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -711,6 +711,9 @@ interface ModelSecurityScan {
|
|
|
711
711
|
}
|
|
712
712
|
/** Filter options for listing scans. */
|
|
713
713
|
interface ModelSecurityScanListOptions {
|
|
714
|
+
modelVersionUuid?: string;
|
|
715
|
+
startTime?: string;
|
|
716
|
+
endTime?: string;
|
|
714
717
|
evalOutcome?: string;
|
|
715
718
|
sourceType?: string;
|
|
716
719
|
scanOrigin?: string;
|
|
@@ -782,6 +785,8 @@ interface ModelSecurityModel {
|
|
|
782
785
|
}
|
|
783
786
|
/** Filter options for listing models. */
|
|
784
787
|
interface ModelSecurityModelListOptions {
|
|
788
|
+
startTime?: string;
|
|
789
|
+
endTime?: string;
|
|
785
790
|
search?: string;
|
|
786
791
|
searchQuery?: string;
|
|
787
792
|
sortField?: string;
|
|
@@ -1655,6 +1660,9 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
1655
1660
|
modelSecDataEndpoint: z.ZodOptional<z.ZodString>;
|
|
1656
1661
|
modelSecMgmtEndpoint: z.ZodOptional<z.ZodString>;
|
|
1657
1662
|
modelSecTokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
agentGuardDataEndpoint: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
agentGuardMgmtEndpoint: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
agentGuardTokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
1658
1666
|
aiGwDataEndpoint: z.ZodOptional<z.ZodString>;
|
|
1659
1667
|
aiGwAdminEndpoint: z.ZodOptional<z.ZodString>;
|
|
1660
1668
|
aiGwTokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -1686,6 +1694,9 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
1686
1694
|
modelSecDataEndpoint?: string | undefined;
|
|
1687
1695
|
modelSecMgmtEndpoint?: string | undefined;
|
|
1688
1696
|
modelSecTokenEndpoint?: string | undefined;
|
|
1697
|
+
agentGuardDataEndpoint?: string | undefined;
|
|
1698
|
+
agentGuardMgmtEndpoint?: string | undefined;
|
|
1699
|
+
agentGuardTokenEndpoint?: string | undefined;
|
|
1689
1700
|
aiGwDataEndpoint?: string | undefined;
|
|
1690
1701
|
aiGwAdminEndpoint?: string | undefined;
|
|
1691
1702
|
aiGwTokenEndpoint?: string | undefined;
|
|
@@ -1713,6 +1724,9 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
1713
1724
|
modelSecDataEndpoint?: string | undefined;
|
|
1714
1725
|
modelSecMgmtEndpoint?: string | undefined;
|
|
1715
1726
|
modelSecTokenEndpoint?: string | undefined;
|
|
1727
|
+
agentGuardDataEndpoint?: string | undefined;
|
|
1728
|
+
agentGuardMgmtEndpoint?: string | undefined;
|
|
1729
|
+
agentGuardTokenEndpoint?: string | undefined;
|
|
1716
1730
|
aiGwDataEndpoint?: string | undefined;
|
|
1717
1731
|
aiGwAdminEndpoint?: string | undefined;
|
|
1718
1732
|
aiGwTokenEndpoint?: string | undefined;
|
|
@@ -2005,7 +2019,7 @@ interface GatewayReportOptions {
|
|
|
2005
2019
|
/** Collect all 25 supplied read feeds; retain only allowlisted aggregate evidence. */
|
|
2006
2020
|
declare function collectGatewayEnvironmentReport(client: GatewayReportClient, options: GatewayReportOptions): Promise<EnvironmentReport>;
|
|
2007
2021
|
|
|
2008
|
-
/** Portable Markdown using the same allowlisted evidence as the HTML
|
|
2022
|
+
/** Portable Markdown using the same allowlisted evidence as the HTML report. */
|
|
2009
2023
|
declare function renderEnvironmentReportMarkdown(r: EnvironmentReport): string;
|
|
2010
2024
|
/** Self-contained HTML with hash-based CSP, static inline JS/CSS and no remote resources. */
|
|
2011
2025
|
declare function renderEnvironmentReportHtml(r: EnvironmentReport): string;
|
|
@@ -2047,7 +2061,7 @@ interface RedTeamEnvironmentReport {
|
|
|
2047
2061
|
/** Collect seven read-only feeds, with explicit source budgets and independent metric windows. */
|
|
2048
2062
|
declare function collectRedTeamEnvironmentReport(client: RedTeamReportClient, options?: RuntimeReportOptions): Promise<RedTeamEnvironmentReport>;
|
|
2049
2063
|
|
|
2050
|
-
/** Portable Markdown using the same allowlisted evidence as the HTML
|
|
2064
|
+
/** Portable Markdown using the same allowlisted evidence as the HTML report. */
|
|
2051
2065
|
declare function renderRedTeamReportMarkdown(report: RedTeamEnvironmentReport): string;
|
|
2052
2066
|
/** Self-contained HTML with hash-based CSP and no remote resources. */
|
|
2053
2067
|
declare function renderRedTeamReportHtml(report: RedTeamEnvironmentReport): string;
|
package/dist/index.js
CHANGED
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.
|
|
4
|
+
"version": "5.4.1",
|
|
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,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cdot65/prisma-airs-sdk": "0.
|
|
62
|
+
"@cdot65/prisma-airs-sdk": "0.29.0",
|
|
63
63
|
"@inquirer/prompts": "^8.3.0",
|
|
64
64
|
"chalk": "^5.6.2",
|
|
65
65
|
"commander": "^14.0.3",
|