@kya-os/contracts 1.10.1 → 1.12.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/dist/agentshield-api/schemas.d.ts +14 -0
- package/dist/cli.d.ts +93 -0
- package/dist/cli.js +108 -1
- package/dist/handshake.d.ts +77 -0
- package/dist/handshake.js +73 -1
- package/dist/index.js +1 -0
- package/dist/molti/schemas.d.ts +1 -1
- package/dist/policy/schemas.d.ts +160 -160
- package/dist/proof.d.ts +30 -0
- package/dist/proof.js +6 -0
- package/dist/reputation/api.d.ts +0 -17
- package/dist/reputation/api.js +1 -21
- package/dist/review/canonicalize.d.ts +87 -0
- package/dist/review/canonicalize.js +122 -0
- package/dist/review/fix-attestation.d.ts +151 -0
- package/dist/review/fix-attestation.js +105 -0
- package/dist/review/index.d.ts +9 -0
- package/dist/review/index.js +25 -0
- package/dist/review/registry.d.ts +328 -0
- package/dist/review/registry.js +269 -0
- package/dist/review/schemas.d.ts +249 -0
- package/dist/review/schemas.js +102 -0
- package/dist/review/verify.d.ts +37 -0
- package/dist/review/verify.js +58 -0
- package/dist/test.d.ts +12 -12
- package/dist/vault/schemas.d.ts +2 -2
- package/package.json +9 -1
package/dist/policy/schemas.d.ts
CHANGED
|
@@ -62,16 +62,16 @@ export declare const ThresholdConfigSchema: z.ZodObject<{
|
|
|
62
62
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
confidenceThreshold: number;
|
|
65
|
-
confidenceAction: "
|
|
65
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
66
66
|
minReputationScore: number;
|
|
67
|
-
lowReputationAction: "
|
|
67
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
68
68
|
trustedReputationThreshold: number;
|
|
69
69
|
trustSignedRequests: boolean;
|
|
70
70
|
}, {
|
|
71
71
|
confidenceThreshold?: number | undefined;
|
|
72
|
-
confidenceAction?: "
|
|
72
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
73
73
|
minReputationScore?: number | undefined;
|
|
74
|
-
lowReputationAction?: "
|
|
74
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
75
75
|
trustedReputationThreshold?: number | undefined;
|
|
76
76
|
trustSignedRequests?: boolean | undefined;
|
|
77
77
|
}>;
|
|
@@ -282,7 +282,7 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
282
282
|
name: string;
|
|
283
283
|
id: string;
|
|
284
284
|
enabled: boolean;
|
|
285
|
-
action: "
|
|
285
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
286
286
|
priority: number;
|
|
287
287
|
conditions: {
|
|
288
288
|
value: string | number | boolean | string[];
|
|
@@ -301,7 +301,7 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
301
|
}, {
|
|
302
302
|
name: string;
|
|
303
303
|
id: string;
|
|
304
|
-
action: "
|
|
304
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
305
305
|
conditions: {
|
|
306
306
|
value: string | number | boolean | string[];
|
|
307
307
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -322,7 +322,7 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
322
322
|
name: string;
|
|
323
323
|
id: string;
|
|
324
324
|
enabled: boolean;
|
|
325
|
-
action: "
|
|
325
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
326
326
|
priority: number;
|
|
327
327
|
conditions: {
|
|
328
328
|
value: string | number | boolean | string[];
|
|
@@ -341,7 +341,7 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
341
341
|
}, {
|
|
342
342
|
name: string;
|
|
343
343
|
id: string;
|
|
344
|
-
action: "
|
|
344
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
345
345
|
conditions: {
|
|
346
346
|
value: string | number | boolean | string[];
|
|
347
347
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -417,16 +417,16 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
417
417
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
confidenceThreshold: number;
|
|
420
|
-
confidenceAction: "
|
|
420
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
421
421
|
minReputationScore: number;
|
|
422
|
-
lowReputationAction: "
|
|
422
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
423
423
|
trustedReputationThreshold: number;
|
|
424
424
|
trustSignedRequests: boolean;
|
|
425
425
|
}, {
|
|
426
426
|
confidenceThreshold?: number | undefined;
|
|
427
|
-
confidenceAction?: "
|
|
427
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
428
428
|
minReputationScore?: number | undefined;
|
|
429
|
-
lowReputationAction?: "
|
|
429
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
430
430
|
trustedReputationThreshold?: number | undefined;
|
|
431
431
|
trustSignedRequests?: boolean | undefined;
|
|
432
432
|
}>>;
|
|
@@ -600,7 +600,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
600
600
|
name: string;
|
|
601
601
|
id: string;
|
|
602
602
|
enabled: boolean;
|
|
603
|
-
action: "
|
|
603
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
604
604
|
priority: number;
|
|
605
605
|
conditions: {
|
|
606
606
|
value: string | number | boolean | string[];
|
|
@@ -619,7 +619,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
619
619
|
}, {
|
|
620
620
|
name: string;
|
|
621
621
|
id: string;
|
|
622
|
-
action: "
|
|
622
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
623
623
|
conditions: {
|
|
624
624
|
value: string | number | boolean | string[];
|
|
625
625
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -640,7 +640,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
640
640
|
name: string;
|
|
641
641
|
id: string;
|
|
642
642
|
enabled: boolean;
|
|
643
|
-
action: "
|
|
643
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
644
644
|
priority: number;
|
|
645
645
|
conditions: {
|
|
646
646
|
value: string | number | boolean | string[];
|
|
@@ -659,7 +659,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
659
659
|
}, {
|
|
660
660
|
name: string;
|
|
661
661
|
id: string;
|
|
662
|
-
action: "
|
|
662
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
663
663
|
conditions: {
|
|
664
664
|
value: string | number | boolean | string[];
|
|
665
665
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -698,12 +698,12 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
698
698
|
}, "strip", z.ZodTypeAny, {
|
|
699
699
|
version: string;
|
|
700
700
|
enabled: boolean;
|
|
701
|
-
defaultAction: "
|
|
701
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
702
702
|
thresholds: {
|
|
703
703
|
confidenceThreshold: number;
|
|
704
|
-
confidenceAction: "
|
|
704
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
705
705
|
minReputationScore: number;
|
|
706
|
-
lowReputationAction: "
|
|
706
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
707
707
|
trustedReputationThreshold: number;
|
|
708
708
|
trustSignedRequests: boolean;
|
|
709
709
|
};
|
|
@@ -731,7 +731,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
731
|
name: string;
|
|
732
732
|
id: string;
|
|
733
733
|
enabled: boolean;
|
|
734
|
-
action: "
|
|
734
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
735
735
|
priority: number;
|
|
736
736
|
conditions: {
|
|
737
737
|
value: string | number | boolean | string[];
|
|
@@ -765,12 +765,12 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
765
765
|
version?: string | undefined;
|
|
766
766
|
enabled?: boolean | undefined;
|
|
767
767
|
redirectUrl?: string | undefined;
|
|
768
|
-
defaultAction?: "
|
|
768
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
769
769
|
thresholds?: {
|
|
770
770
|
confidenceThreshold?: number | undefined;
|
|
771
|
-
confidenceAction?: "
|
|
771
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
772
772
|
minReputationScore?: number | undefined;
|
|
773
|
-
lowReputationAction?: "
|
|
773
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
774
774
|
trustedReputationThreshold?: number | undefined;
|
|
775
775
|
trustSignedRequests?: boolean | undefined;
|
|
776
776
|
} | undefined;
|
|
@@ -797,7 +797,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
797
797
|
rules?: {
|
|
798
798
|
name: string;
|
|
799
799
|
id: string;
|
|
800
|
-
action: "
|
|
800
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
801
801
|
conditions: {
|
|
802
802
|
value: string | number | boolean | string[];
|
|
803
803
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -820,12 +820,12 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
820
820
|
}>, {
|
|
821
821
|
version: string;
|
|
822
822
|
enabled: boolean;
|
|
823
|
-
defaultAction: "
|
|
823
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
824
824
|
thresholds: {
|
|
825
825
|
confidenceThreshold: number;
|
|
826
|
-
confidenceAction: "
|
|
826
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
827
827
|
minReputationScore: number;
|
|
828
|
-
lowReputationAction: "
|
|
828
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
829
829
|
trustedReputationThreshold: number;
|
|
830
830
|
trustSignedRequests: boolean;
|
|
831
831
|
};
|
|
@@ -853,7 +853,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
853
853
|
name: string;
|
|
854
854
|
id: string;
|
|
855
855
|
enabled: boolean;
|
|
856
|
-
action: "
|
|
856
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
857
857
|
priority: number;
|
|
858
858
|
conditions: {
|
|
859
859
|
value: string | number | boolean | string[];
|
|
@@ -887,12 +887,12 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
887
887
|
version?: string | undefined;
|
|
888
888
|
enabled?: boolean | undefined;
|
|
889
889
|
redirectUrl?: string | undefined;
|
|
890
|
-
defaultAction?: "
|
|
890
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
891
891
|
thresholds?: {
|
|
892
892
|
confidenceThreshold?: number | undefined;
|
|
893
|
-
confidenceAction?: "
|
|
893
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
894
894
|
minReputationScore?: number | undefined;
|
|
895
|
-
lowReputationAction?: "
|
|
895
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
896
896
|
trustedReputationThreshold?: number | undefined;
|
|
897
897
|
trustSignedRequests?: boolean | undefined;
|
|
898
898
|
} | undefined;
|
|
@@ -919,7 +919,7 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
919
919
|
rules?: {
|
|
920
920
|
name: string;
|
|
921
921
|
id: string;
|
|
922
|
-
action: "
|
|
922
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
923
923
|
conditions: {
|
|
924
924
|
value: string | number | boolean | string[];
|
|
925
925
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -983,16 +983,16 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
983
983
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
984
984
|
}, "strip", z.ZodTypeAny, {
|
|
985
985
|
confidenceThreshold: number;
|
|
986
|
-
confidenceAction: "
|
|
986
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
987
987
|
minReputationScore: number;
|
|
988
|
-
lowReputationAction: "
|
|
988
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
989
989
|
trustedReputationThreshold: number;
|
|
990
990
|
trustSignedRequests: boolean;
|
|
991
991
|
}, {
|
|
992
992
|
confidenceThreshold?: number | undefined;
|
|
993
|
-
confidenceAction?: "
|
|
993
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
994
994
|
minReputationScore?: number | undefined;
|
|
995
|
-
lowReputationAction?: "
|
|
995
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
996
996
|
trustedReputationThreshold?: number | undefined;
|
|
997
997
|
trustSignedRequests?: boolean | undefined;
|
|
998
998
|
}>>>;
|
|
@@ -1163,7 +1163,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1163
1163
|
name: string;
|
|
1164
1164
|
id: string;
|
|
1165
1165
|
enabled: boolean;
|
|
1166
|
-
action: "
|
|
1166
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1167
1167
|
priority: number;
|
|
1168
1168
|
conditions: {
|
|
1169
1169
|
value: string | number | boolean | string[];
|
|
@@ -1182,7 +1182,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1182
1182
|
}, {
|
|
1183
1183
|
name: string;
|
|
1184
1184
|
id: string;
|
|
1185
|
-
action: "
|
|
1185
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1186
1186
|
conditions: {
|
|
1187
1187
|
value: string | number | boolean | string[];
|
|
1188
1188
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1203,7 +1203,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1203
1203
|
name: string;
|
|
1204
1204
|
id: string;
|
|
1205
1205
|
enabled: boolean;
|
|
1206
|
-
action: "
|
|
1206
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1207
1207
|
priority: number;
|
|
1208
1208
|
conditions: {
|
|
1209
1209
|
value: string | number | boolean | string[];
|
|
@@ -1222,7 +1222,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1222
1222
|
}, {
|
|
1223
1223
|
name: string;
|
|
1224
1224
|
id: string;
|
|
1225
|
-
action: "
|
|
1225
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1226
1226
|
conditions: {
|
|
1227
1227
|
value: string | number | boolean | string[];
|
|
1228
1228
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1264,12 +1264,12 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1264
1264
|
version?: string | undefined;
|
|
1265
1265
|
enabled?: boolean | undefined;
|
|
1266
1266
|
redirectUrl?: string | undefined;
|
|
1267
|
-
defaultAction?: "
|
|
1267
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1268
1268
|
thresholds?: {
|
|
1269
1269
|
confidenceThreshold: number;
|
|
1270
|
-
confidenceAction: "
|
|
1270
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1271
1271
|
minReputationScore: number;
|
|
1272
|
-
lowReputationAction: "
|
|
1272
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1273
1273
|
trustedReputationThreshold: number;
|
|
1274
1274
|
trustSignedRequests: boolean;
|
|
1275
1275
|
} | undefined;
|
|
@@ -1297,7 +1297,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1297
1297
|
name: string;
|
|
1298
1298
|
id: string;
|
|
1299
1299
|
enabled: boolean;
|
|
1300
|
-
action: "
|
|
1300
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1301
1301
|
priority: number;
|
|
1302
1302
|
conditions: {
|
|
1303
1303
|
value: string | number | boolean | string[];
|
|
@@ -1325,12 +1325,12 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1325
1325
|
version?: string | undefined;
|
|
1326
1326
|
enabled?: boolean | undefined;
|
|
1327
1327
|
redirectUrl?: string | undefined;
|
|
1328
|
-
defaultAction?: "
|
|
1328
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1329
1329
|
thresholds?: {
|
|
1330
1330
|
confidenceThreshold?: number | undefined;
|
|
1331
|
-
confidenceAction?: "
|
|
1331
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1332
1332
|
minReputationScore?: number | undefined;
|
|
1333
|
-
lowReputationAction?: "
|
|
1333
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1334
1334
|
trustedReputationThreshold?: number | undefined;
|
|
1335
1335
|
trustSignedRequests?: boolean | undefined;
|
|
1336
1336
|
} | undefined;
|
|
@@ -1357,7 +1357,7 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1357
1357
|
rules?: {
|
|
1358
1358
|
name: string;
|
|
1359
1359
|
id: string;
|
|
1360
|
-
action: "
|
|
1360
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1361
1361
|
conditions: {
|
|
1362
1362
|
value: string | number | boolean | string[];
|
|
1363
1363
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1444,16 +1444,16 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1444
1444
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
1446
|
confidenceThreshold: number;
|
|
1447
|
-
confidenceAction: "
|
|
1447
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1448
1448
|
minReputationScore: number;
|
|
1449
|
-
lowReputationAction: "
|
|
1449
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1450
1450
|
trustedReputationThreshold: number;
|
|
1451
1451
|
trustSignedRequests: boolean;
|
|
1452
1452
|
}, {
|
|
1453
1453
|
confidenceThreshold?: number | undefined;
|
|
1454
|
-
confidenceAction?: "
|
|
1454
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1455
1455
|
minReputationScore?: number | undefined;
|
|
1456
|
-
lowReputationAction?: "
|
|
1456
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1457
1457
|
trustedReputationThreshold?: number | undefined;
|
|
1458
1458
|
trustSignedRequests?: boolean | undefined;
|
|
1459
1459
|
}>>;
|
|
@@ -1627,7 +1627,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1627
1627
|
name: string;
|
|
1628
1628
|
id: string;
|
|
1629
1629
|
enabled: boolean;
|
|
1630
|
-
action: "
|
|
1630
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1631
1631
|
priority: number;
|
|
1632
1632
|
conditions: {
|
|
1633
1633
|
value: string | number | boolean | string[];
|
|
@@ -1646,7 +1646,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1646
1646
|
}, {
|
|
1647
1647
|
name: string;
|
|
1648
1648
|
id: string;
|
|
1649
|
-
action: "
|
|
1649
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1650
1650
|
conditions: {
|
|
1651
1651
|
value: string | number | boolean | string[];
|
|
1652
1652
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1667,7 +1667,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1667
1667
|
name: string;
|
|
1668
1668
|
id: string;
|
|
1669
1669
|
enabled: boolean;
|
|
1670
|
-
action: "
|
|
1670
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1671
1671
|
priority: number;
|
|
1672
1672
|
conditions: {
|
|
1673
1673
|
value: string | number | boolean | string[];
|
|
@@ -1686,7 +1686,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1686
1686
|
}, {
|
|
1687
1687
|
name: string;
|
|
1688
1688
|
id: string;
|
|
1689
|
-
action: "
|
|
1689
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1690
1690
|
conditions: {
|
|
1691
1691
|
value: string | number | boolean | string[];
|
|
1692
1692
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1725,12 +1725,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1725
1725
|
}, "strip", z.ZodTypeAny, {
|
|
1726
1726
|
version: string;
|
|
1727
1727
|
enabled: boolean;
|
|
1728
|
-
defaultAction: "
|
|
1728
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1729
1729
|
thresholds: {
|
|
1730
1730
|
confidenceThreshold: number;
|
|
1731
|
-
confidenceAction: "
|
|
1731
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1732
1732
|
minReputationScore: number;
|
|
1733
|
-
lowReputationAction: "
|
|
1733
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1734
1734
|
trustedReputationThreshold: number;
|
|
1735
1735
|
trustSignedRequests: boolean;
|
|
1736
1736
|
};
|
|
@@ -1758,7 +1758,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1758
1758
|
name: string;
|
|
1759
1759
|
id: string;
|
|
1760
1760
|
enabled: boolean;
|
|
1761
|
-
action: "
|
|
1761
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1762
1762
|
priority: number;
|
|
1763
1763
|
conditions: {
|
|
1764
1764
|
value: string | number | boolean | string[];
|
|
@@ -1792,12 +1792,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1792
1792
|
version?: string | undefined;
|
|
1793
1793
|
enabled?: boolean | undefined;
|
|
1794
1794
|
redirectUrl?: string | undefined;
|
|
1795
|
-
defaultAction?: "
|
|
1795
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1796
1796
|
thresholds?: {
|
|
1797
1797
|
confidenceThreshold?: number | undefined;
|
|
1798
|
-
confidenceAction?: "
|
|
1798
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1799
1799
|
minReputationScore?: number | undefined;
|
|
1800
|
-
lowReputationAction?: "
|
|
1800
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1801
1801
|
trustedReputationThreshold?: number | undefined;
|
|
1802
1802
|
trustSignedRequests?: boolean | undefined;
|
|
1803
1803
|
} | undefined;
|
|
@@ -1824,7 +1824,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1824
1824
|
rules?: {
|
|
1825
1825
|
name: string;
|
|
1826
1826
|
id: string;
|
|
1827
|
-
action: "
|
|
1827
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1828
1828
|
conditions: {
|
|
1829
1829
|
value: string | number | boolean | string[];
|
|
1830
1830
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1847,12 +1847,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1847
1847
|
}>, {
|
|
1848
1848
|
version: string;
|
|
1849
1849
|
enabled: boolean;
|
|
1850
|
-
defaultAction: "
|
|
1850
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1851
1851
|
thresholds: {
|
|
1852
1852
|
confidenceThreshold: number;
|
|
1853
|
-
confidenceAction: "
|
|
1853
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1854
1854
|
minReputationScore: number;
|
|
1855
|
-
lowReputationAction: "
|
|
1855
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1856
1856
|
trustedReputationThreshold: number;
|
|
1857
1857
|
trustSignedRequests: boolean;
|
|
1858
1858
|
};
|
|
@@ -1880,7 +1880,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1880
1880
|
name: string;
|
|
1881
1881
|
id: string;
|
|
1882
1882
|
enabled: boolean;
|
|
1883
|
-
action: "
|
|
1883
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1884
1884
|
priority: number;
|
|
1885
1885
|
conditions: {
|
|
1886
1886
|
value: string | number | boolean | string[];
|
|
@@ -1914,12 +1914,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1914
1914
|
version?: string | undefined;
|
|
1915
1915
|
enabled?: boolean | undefined;
|
|
1916
1916
|
redirectUrl?: string | undefined;
|
|
1917
|
-
defaultAction?: "
|
|
1917
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1918
1918
|
thresholds?: {
|
|
1919
1919
|
confidenceThreshold?: number | undefined;
|
|
1920
|
-
confidenceAction?: "
|
|
1920
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1921
1921
|
minReputationScore?: number | undefined;
|
|
1922
|
-
lowReputationAction?: "
|
|
1922
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
1923
1923
|
trustedReputationThreshold?: number | undefined;
|
|
1924
1924
|
trustSignedRequests?: boolean | undefined;
|
|
1925
1925
|
} | undefined;
|
|
@@ -1946,7 +1946,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1946
1946
|
rules?: {
|
|
1947
1947
|
name: string;
|
|
1948
1948
|
id: string;
|
|
1949
|
-
action: "
|
|
1949
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1950
1950
|
conditions: {
|
|
1951
1951
|
value: string | number | boolean | string[];
|
|
1952
1952
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -1971,12 +1971,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1971
1971
|
policy: {
|
|
1972
1972
|
version: string;
|
|
1973
1973
|
enabled: boolean;
|
|
1974
|
-
defaultAction: "
|
|
1974
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1975
1975
|
thresholds: {
|
|
1976
1976
|
confidenceThreshold: number;
|
|
1977
|
-
confidenceAction: "
|
|
1977
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1978
1978
|
minReputationScore: number;
|
|
1979
|
-
lowReputationAction: "
|
|
1979
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
1980
1980
|
trustedReputationThreshold: number;
|
|
1981
1981
|
trustSignedRequests: boolean;
|
|
1982
1982
|
};
|
|
@@ -2004,7 +2004,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2004
2004
|
name: string;
|
|
2005
2005
|
id: string;
|
|
2006
2006
|
enabled: boolean;
|
|
2007
|
-
action: "
|
|
2007
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2008
2008
|
priority: number;
|
|
2009
2009
|
conditions: {
|
|
2010
2010
|
value: string | number | boolean | string[];
|
|
@@ -2040,12 +2040,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2040
2040
|
version?: string | undefined;
|
|
2041
2041
|
enabled?: boolean | undefined;
|
|
2042
2042
|
redirectUrl?: string | undefined;
|
|
2043
|
-
defaultAction?: "
|
|
2043
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2044
2044
|
thresholds?: {
|
|
2045
2045
|
confidenceThreshold?: number | undefined;
|
|
2046
|
-
confidenceAction?: "
|
|
2046
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2047
2047
|
minReputationScore?: number | undefined;
|
|
2048
|
-
lowReputationAction?: "
|
|
2048
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2049
2049
|
trustedReputationThreshold?: number | undefined;
|
|
2050
2050
|
trustSignedRequests?: boolean | undefined;
|
|
2051
2051
|
} | undefined;
|
|
@@ -2072,7 +2072,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2072
2072
|
rules?: {
|
|
2073
2073
|
name: string;
|
|
2074
2074
|
id: string;
|
|
2075
|
-
action: "
|
|
2075
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2076
2076
|
conditions: {
|
|
2077
2077
|
value: string | number | boolean | string[];
|
|
2078
2078
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2113,12 +2113,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2113
2113
|
policy: {
|
|
2114
2114
|
version: string;
|
|
2115
2115
|
enabled: boolean;
|
|
2116
|
-
defaultAction: "
|
|
2116
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2117
2117
|
thresholds: {
|
|
2118
2118
|
confidenceThreshold: number;
|
|
2119
|
-
confidenceAction: "
|
|
2119
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2120
2120
|
minReputationScore: number;
|
|
2121
|
-
lowReputationAction: "
|
|
2121
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2122
2122
|
trustedReputationThreshold: number;
|
|
2123
2123
|
trustSignedRequests: boolean;
|
|
2124
2124
|
};
|
|
@@ -2146,7 +2146,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2146
2146
|
name: string;
|
|
2147
2147
|
id: string;
|
|
2148
2148
|
enabled: boolean;
|
|
2149
|
-
action: "
|
|
2149
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2150
2150
|
priority: number;
|
|
2151
2151
|
conditions: {
|
|
2152
2152
|
value: string | number | boolean | string[];
|
|
@@ -2190,12 +2190,12 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2190
2190
|
version?: string | undefined;
|
|
2191
2191
|
enabled?: boolean | undefined;
|
|
2192
2192
|
redirectUrl?: string | undefined;
|
|
2193
|
-
defaultAction?: "
|
|
2193
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2194
2194
|
thresholds?: {
|
|
2195
2195
|
confidenceThreshold?: number | undefined;
|
|
2196
|
-
confidenceAction?: "
|
|
2196
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2197
2197
|
minReputationScore?: number | undefined;
|
|
2198
|
-
lowReputationAction?: "
|
|
2198
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2199
2199
|
trustedReputationThreshold?: number | undefined;
|
|
2200
2200
|
trustSignedRequests?: boolean | undefined;
|
|
2201
2201
|
} | undefined;
|
|
@@ -2222,7 +2222,7 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2222
2222
|
rules?: {
|
|
2223
2223
|
name: string;
|
|
2224
2224
|
id: string;
|
|
2225
|
-
action: "
|
|
2225
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2226
2226
|
conditions: {
|
|
2227
2227
|
value: string | number | boolean | string[];
|
|
2228
2228
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2298,16 +2298,16 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2298
2298
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2299
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2300
2300
|
confidenceThreshold: number;
|
|
2301
|
-
confidenceAction: "
|
|
2301
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2302
2302
|
minReputationScore: number;
|
|
2303
|
-
lowReputationAction: "
|
|
2303
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2304
2304
|
trustedReputationThreshold: number;
|
|
2305
2305
|
trustSignedRequests: boolean;
|
|
2306
2306
|
}, {
|
|
2307
2307
|
confidenceThreshold?: number | undefined;
|
|
2308
|
-
confidenceAction?: "
|
|
2308
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2309
2309
|
minReputationScore?: number | undefined;
|
|
2310
|
-
lowReputationAction?: "
|
|
2310
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2311
2311
|
trustedReputationThreshold?: number | undefined;
|
|
2312
2312
|
trustSignedRequests?: boolean | undefined;
|
|
2313
2313
|
}>>>;
|
|
@@ -2478,7 +2478,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2478
2478
|
name: string;
|
|
2479
2479
|
id: string;
|
|
2480
2480
|
enabled: boolean;
|
|
2481
|
-
action: "
|
|
2481
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2482
2482
|
priority: number;
|
|
2483
2483
|
conditions: {
|
|
2484
2484
|
value: string | number | boolean | string[];
|
|
@@ -2497,7 +2497,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2497
2497
|
}, {
|
|
2498
2498
|
name: string;
|
|
2499
2499
|
id: string;
|
|
2500
|
-
action: "
|
|
2500
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2501
2501
|
conditions: {
|
|
2502
2502
|
value: string | number | boolean | string[];
|
|
2503
2503
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2518,7 +2518,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2518
2518
|
name: string;
|
|
2519
2519
|
id: string;
|
|
2520
2520
|
enabled: boolean;
|
|
2521
|
-
action: "
|
|
2521
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2522
2522
|
priority: number;
|
|
2523
2523
|
conditions: {
|
|
2524
2524
|
value: string | number | boolean | string[];
|
|
@@ -2537,7 +2537,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2537
2537
|
}, {
|
|
2538
2538
|
name: string;
|
|
2539
2539
|
id: string;
|
|
2540
|
-
action: "
|
|
2540
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2541
2541
|
conditions: {
|
|
2542
2542
|
value: string | number | boolean | string[];
|
|
2543
2543
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2579,12 +2579,12 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2579
2579
|
version?: string | undefined;
|
|
2580
2580
|
enabled?: boolean | undefined;
|
|
2581
2581
|
redirectUrl?: string | undefined;
|
|
2582
|
-
defaultAction?: "
|
|
2582
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2583
2583
|
thresholds?: {
|
|
2584
2584
|
confidenceThreshold: number;
|
|
2585
|
-
confidenceAction: "
|
|
2585
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2586
2586
|
minReputationScore: number;
|
|
2587
|
-
lowReputationAction: "
|
|
2587
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2588
2588
|
trustedReputationThreshold: number;
|
|
2589
2589
|
trustSignedRequests: boolean;
|
|
2590
2590
|
} | undefined;
|
|
@@ -2612,7 +2612,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2612
2612
|
name: string;
|
|
2613
2613
|
id: string;
|
|
2614
2614
|
enabled: boolean;
|
|
2615
|
-
action: "
|
|
2615
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2616
2616
|
priority: number;
|
|
2617
2617
|
conditions: {
|
|
2618
2618
|
value: string | number | boolean | string[];
|
|
@@ -2640,12 +2640,12 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2640
2640
|
version?: string | undefined;
|
|
2641
2641
|
enabled?: boolean | undefined;
|
|
2642
2642
|
redirectUrl?: string | undefined;
|
|
2643
|
-
defaultAction?: "
|
|
2643
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2644
2644
|
thresholds?: {
|
|
2645
2645
|
confidenceThreshold?: number | undefined;
|
|
2646
|
-
confidenceAction?: "
|
|
2646
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2647
2647
|
minReputationScore?: number | undefined;
|
|
2648
|
-
lowReputationAction?: "
|
|
2648
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2649
2649
|
trustedReputationThreshold?: number | undefined;
|
|
2650
2650
|
trustSignedRequests?: boolean | undefined;
|
|
2651
2651
|
} | undefined;
|
|
@@ -2672,7 +2672,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2672
2672
|
rules?: {
|
|
2673
2673
|
name: string;
|
|
2674
2674
|
id: string;
|
|
2675
|
-
action: "
|
|
2675
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2676
2676
|
conditions: {
|
|
2677
2677
|
value: string | number | boolean | string[];
|
|
2678
2678
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2704,12 +2704,12 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2704
2704
|
version?: string | undefined;
|
|
2705
2705
|
enabled?: boolean | undefined;
|
|
2706
2706
|
redirectUrl?: string | undefined;
|
|
2707
|
-
defaultAction?: "
|
|
2707
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2708
2708
|
thresholds?: {
|
|
2709
2709
|
confidenceThreshold: number;
|
|
2710
|
-
confidenceAction: "
|
|
2710
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2711
2711
|
minReputationScore: number;
|
|
2712
|
-
lowReputationAction: "
|
|
2712
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2713
2713
|
trustedReputationThreshold: number;
|
|
2714
2714
|
trustSignedRequests: boolean;
|
|
2715
2715
|
} | undefined;
|
|
@@ -2737,7 +2737,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2737
2737
|
name: string;
|
|
2738
2738
|
id: string;
|
|
2739
2739
|
enabled: boolean;
|
|
2740
|
-
action: "
|
|
2740
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2741
2741
|
priority: number;
|
|
2742
2742
|
conditions: {
|
|
2743
2743
|
value: string | number | boolean | string[];
|
|
@@ -2768,12 +2768,12 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2768
2768
|
version?: string | undefined;
|
|
2769
2769
|
enabled?: boolean | undefined;
|
|
2770
2770
|
redirectUrl?: string | undefined;
|
|
2771
|
-
defaultAction?: "
|
|
2771
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2772
2772
|
thresholds?: {
|
|
2773
2773
|
confidenceThreshold?: number | undefined;
|
|
2774
|
-
confidenceAction?: "
|
|
2774
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2775
2775
|
minReputationScore?: number | undefined;
|
|
2776
|
-
lowReputationAction?: "
|
|
2776
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2777
2777
|
trustedReputationThreshold?: number | undefined;
|
|
2778
2778
|
trustSignedRequests?: boolean | undefined;
|
|
2779
2779
|
} | undefined;
|
|
@@ -2800,7 +2800,7 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2800
2800
|
rules?: {
|
|
2801
2801
|
name: string;
|
|
2802
2802
|
id: string;
|
|
2803
|
-
action: "
|
|
2803
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2804
2804
|
conditions: {
|
|
2805
2805
|
value: string | number | boolean | string[];
|
|
2806
2806
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -2876,16 +2876,16 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
2876
2876
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2877
2877
|
}, "strip", z.ZodTypeAny, {
|
|
2878
2878
|
confidenceThreshold: number;
|
|
2879
|
-
confidenceAction: "
|
|
2879
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2880
2880
|
minReputationScore: number;
|
|
2881
|
-
lowReputationAction: "
|
|
2881
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
2882
2882
|
trustedReputationThreshold: number;
|
|
2883
2883
|
trustSignedRequests: boolean;
|
|
2884
2884
|
}, {
|
|
2885
2885
|
confidenceThreshold?: number | undefined;
|
|
2886
|
-
confidenceAction?: "
|
|
2886
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2887
2887
|
minReputationScore?: number | undefined;
|
|
2888
|
-
lowReputationAction?: "
|
|
2888
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
2889
2889
|
trustedReputationThreshold?: number | undefined;
|
|
2890
2890
|
trustSignedRequests?: boolean | undefined;
|
|
2891
2891
|
}>>;
|
|
@@ -3059,7 +3059,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3059
3059
|
name: string;
|
|
3060
3060
|
id: string;
|
|
3061
3061
|
enabled: boolean;
|
|
3062
|
-
action: "
|
|
3062
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3063
3063
|
priority: number;
|
|
3064
3064
|
conditions: {
|
|
3065
3065
|
value: string | number | boolean | string[];
|
|
@@ -3078,7 +3078,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3078
3078
|
}, {
|
|
3079
3079
|
name: string;
|
|
3080
3080
|
id: string;
|
|
3081
|
-
action: "
|
|
3081
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3082
3082
|
conditions: {
|
|
3083
3083
|
value: string | number | boolean | string[];
|
|
3084
3084
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3099,7 +3099,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3099
3099
|
name: string;
|
|
3100
3100
|
id: string;
|
|
3101
3101
|
enabled: boolean;
|
|
3102
|
-
action: "
|
|
3102
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3103
3103
|
priority: number;
|
|
3104
3104
|
conditions: {
|
|
3105
3105
|
value: string | number | boolean | string[];
|
|
@@ -3118,7 +3118,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3118
3118
|
}, {
|
|
3119
3119
|
name: string;
|
|
3120
3120
|
id: string;
|
|
3121
|
-
action: "
|
|
3121
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3122
3122
|
conditions: {
|
|
3123
3123
|
value: string | number | boolean | string[];
|
|
3124
3124
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3157,12 +3157,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3157
3157
|
}, "strip", z.ZodTypeAny, {
|
|
3158
3158
|
version: string;
|
|
3159
3159
|
enabled: boolean;
|
|
3160
|
-
defaultAction: "
|
|
3160
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3161
3161
|
thresholds: {
|
|
3162
3162
|
confidenceThreshold: number;
|
|
3163
|
-
confidenceAction: "
|
|
3163
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3164
3164
|
minReputationScore: number;
|
|
3165
|
-
lowReputationAction: "
|
|
3165
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3166
3166
|
trustedReputationThreshold: number;
|
|
3167
3167
|
trustSignedRequests: boolean;
|
|
3168
3168
|
};
|
|
@@ -3190,7 +3190,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3190
3190
|
name: string;
|
|
3191
3191
|
id: string;
|
|
3192
3192
|
enabled: boolean;
|
|
3193
|
-
action: "
|
|
3193
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3194
3194
|
priority: number;
|
|
3195
3195
|
conditions: {
|
|
3196
3196
|
value: string | number | boolean | string[];
|
|
@@ -3224,12 +3224,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3224
3224
|
version?: string | undefined;
|
|
3225
3225
|
enabled?: boolean | undefined;
|
|
3226
3226
|
redirectUrl?: string | undefined;
|
|
3227
|
-
defaultAction?: "
|
|
3227
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3228
3228
|
thresholds?: {
|
|
3229
3229
|
confidenceThreshold?: number | undefined;
|
|
3230
|
-
confidenceAction?: "
|
|
3230
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3231
3231
|
minReputationScore?: number | undefined;
|
|
3232
|
-
lowReputationAction?: "
|
|
3232
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3233
3233
|
trustedReputationThreshold?: number | undefined;
|
|
3234
3234
|
trustSignedRequests?: boolean | undefined;
|
|
3235
3235
|
} | undefined;
|
|
@@ -3256,7 +3256,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3256
3256
|
rules?: {
|
|
3257
3257
|
name: string;
|
|
3258
3258
|
id: string;
|
|
3259
|
-
action: "
|
|
3259
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3260
3260
|
conditions: {
|
|
3261
3261
|
value: string | number | boolean | string[];
|
|
3262
3262
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3279,12 +3279,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3279
3279
|
}>, {
|
|
3280
3280
|
version: string;
|
|
3281
3281
|
enabled: boolean;
|
|
3282
|
-
defaultAction: "
|
|
3282
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3283
3283
|
thresholds: {
|
|
3284
3284
|
confidenceThreshold: number;
|
|
3285
|
-
confidenceAction: "
|
|
3285
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3286
3286
|
minReputationScore: number;
|
|
3287
|
-
lowReputationAction: "
|
|
3287
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3288
3288
|
trustedReputationThreshold: number;
|
|
3289
3289
|
trustSignedRequests: boolean;
|
|
3290
3290
|
};
|
|
@@ -3312,7 +3312,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3312
3312
|
name: string;
|
|
3313
3313
|
id: string;
|
|
3314
3314
|
enabled: boolean;
|
|
3315
|
-
action: "
|
|
3315
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3316
3316
|
priority: number;
|
|
3317
3317
|
conditions: {
|
|
3318
3318
|
value: string | number | boolean | string[];
|
|
@@ -3346,12 +3346,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3346
3346
|
version?: string | undefined;
|
|
3347
3347
|
enabled?: boolean | undefined;
|
|
3348
3348
|
redirectUrl?: string | undefined;
|
|
3349
|
-
defaultAction?: "
|
|
3349
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3350
3350
|
thresholds?: {
|
|
3351
3351
|
confidenceThreshold?: number | undefined;
|
|
3352
|
-
confidenceAction?: "
|
|
3352
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3353
3353
|
minReputationScore?: number | undefined;
|
|
3354
|
-
lowReputationAction?: "
|
|
3354
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3355
3355
|
trustedReputationThreshold?: number | undefined;
|
|
3356
3356
|
trustSignedRequests?: boolean | undefined;
|
|
3357
3357
|
} | undefined;
|
|
@@ -3378,7 +3378,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3378
3378
|
rules?: {
|
|
3379
3379
|
name: string;
|
|
3380
3380
|
id: string;
|
|
3381
|
-
action: "
|
|
3381
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3382
3382
|
conditions: {
|
|
3383
3383
|
value: string | number | boolean | string[];
|
|
3384
3384
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3404,12 +3404,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3404
3404
|
policy: {
|
|
3405
3405
|
version: string;
|
|
3406
3406
|
enabled: boolean;
|
|
3407
|
-
defaultAction: "
|
|
3407
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3408
3408
|
thresholds: {
|
|
3409
3409
|
confidenceThreshold: number;
|
|
3410
|
-
confidenceAction: "
|
|
3410
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3411
3411
|
minReputationScore: number;
|
|
3412
|
-
lowReputationAction: "
|
|
3412
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3413
3413
|
trustedReputationThreshold: number;
|
|
3414
3414
|
trustSignedRequests: boolean;
|
|
3415
3415
|
};
|
|
@@ -3437,7 +3437,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3437
3437
|
name: string;
|
|
3438
3438
|
id: string;
|
|
3439
3439
|
enabled: boolean;
|
|
3440
|
-
action: "
|
|
3440
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3441
3441
|
priority: number;
|
|
3442
3442
|
conditions: {
|
|
3443
3443
|
value: string | number | boolean | string[];
|
|
@@ -3474,12 +3474,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3474
3474
|
version?: string | undefined;
|
|
3475
3475
|
enabled?: boolean | undefined;
|
|
3476
3476
|
redirectUrl?: string | undefined;
|
|
3477
|
-
defaultAction?: "
|
|
3477
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3478
3478
|
thresholds?: {
|
|
3479
3479
|
confidenceThreshold?: number | undefined;
|
|
3480
|
-
confidenceAction?: "
|
|
3480
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3481
3481
|
minReputationScore?: number | undefined;
|
|
3482
|
-
lowReputationAction?: "
|
|
3482
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3483
3483
|
trustedReputationThreshold?: number | undefined;
|
|
3484
3484
|
trustSignedRequests?: boolean | undefined;
|
|
3485
3485
|
} | undefined;
|
|
@@ -3506,7 +3506,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3506
3506
|
rules?: {
|
|
3507
3507
|
name: string;
|
|
3508
3508
|
id: string;
|
|
3509
|
-
action: "
|
|
3509
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3510
3510
|
conditions: {
|
|
3511
3511
|
value: string | number | boolean | string[];
|
|
3512
3512
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3545,12 +3545,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3545
3545
|
policy: {
|
|
3546
3546
|
version: string;
|
|
3547
3547
|
enabled: boolean;
|
|
3548
|
-
defaultAction: "
|
|
3548
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3549
3549
|
thresholds: {
|
|
3550
3550
|
confidenceThreshold: number;
|
|
3551
|
-
confidenceAction: "
|
|
3551
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3552
3552
|
minReputationScore: number;
|
|
3553
|
-
lowReputationAction: "
|
|
3553
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3554
3554
|
trustedReputationThreshold: number;
|
|
3555
3555
|
trustSignedRequests: boolean;
|
|
3556
3556
|
};
|
|
@@ -3578,7 +3578,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3578
3578
|
name: string;
|
|
3579
3579
|
id: string;
|
|
3580
3580
|
enabled: boolean;
|
|
3581
|
-
action: "
|
|
3581
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3582
3582
|
priority: number;
|
|
3583
3583
|
conditions: {
|
|
3584
3584
|
value: string | number | boolean | string[];
|
|
@@ -3622,12 +3622,12 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3622
3622
|
version?: string | undefined;
|
|
3623
3623
|
enabled?: boolean | undefined;
|
|
3624
3624
|
redirectUrl?: string | undefined;
|
|
3625
|
-
defaultAction?: "
|
|
3625
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3626
3626
|
thresholds?: {
|
|
3627
3627
|
confidenceThreshold?: number | undefined;
|
|
3628
|
-
confidenceAction?: "
|
|
3628
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3629
3629
|
minReputationScore?: number | undefined;
|
|
3630
|
-
lowReputationAction?: "
|
|
3630
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3631
3631
|
trustedReputationThreshold?: number | undefined;
|
|
3632
3632
|
trustSignedRequests?: boolean | undefined;
|
|
3633
3633
|
} | undefined;
|
|
@@ -3654,7 +3654,7 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3654
3654
|
rules?: {
|
|
3655
3655
|
name: string;
|
|
3656
3656
|
id: string;
|
|
3657
|
-
action: "
|
|
3657
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3658
3658
|
conditions: {
|
|
3659
3659
|
value: string | number | boolean | string[];
|
|
3660
3660
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3699,12 +3699,12 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3699
3699
|
version?: string | undefined;
|
|
3700
3700
|
enabled?: boolean | undefined;
|
|
3701
3701
|
redirectUrl?: string | undefined;
|
|
3702
|
-
defaultAction?: "
|
|
3702
|
+
defaultAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3703
3703
|
thresholds?: {
|
|
3704
3704
|
confidenceThreshold?: number | undefined;
|
|
3705
|
-
confidenceAction?: "
|
|
3705
|
+
confidenceAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3706
3706
|
minReputationScore?: number | undefined;
|
|
3707
|
-
lowReputationAction?: "
|
|
3707
|
+
lowReputationAction?: "challenge" | "allow" | "block" | "redirect" | "log" | undefined;
|
|
3708
3708
|
trustedReputationThreshold?: number | undefined;
|
|
3709
3709
|
trustSignedRequests?: boolean | undefined;
|
|
3710
3710
|
} | undefined;
|
|
@@ -3731,7 +3731,7 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3731
3731
|
rules?: {
|
|
3732
3732
|
name: string;
|
|
3733
3733
|
id: string;
|
|
3734
|
-
action: "
|
|
3734
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3735
3735
|
conditions: {
|
|
3736
3736
|
value: string | number | boolean | string[];
|
|
3737
3737
|
field: "path" | "agentDid" | "clientDid" | "confidence" | "agentType" | "agentName" | "agentVendor" | "reputationScore" | "riskLevel" | "method" | "origin" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
@@ -3754,12 +3754,12 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3754
3754
|
}, {
|
|
3755
3755
|
version: string;
|
|
3756
3756
|
enabled: boolean;
|
|
3757
|
-
defaultAction: "
|
|
3757
|
+
defaultAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3758
3758
|
thresholds: {
|
|
3759
3759
|
confidenceThreshold: number;
|
|
3760
|
-
confidenceAction: "
|
|
3760
|
+
confidenceAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3761
3761
|
minReputationScore: number;
|
|
3762
|
-
lowReputationAction: "
|
|
3762
|
+
lowReputationAction: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3763
3763
|
trustedReputationThreshold: number;
|
|
3764
3764
|
trustSignedRequests: boolean;
|
|
3765
3765
|
};
|
|
@@ -3787,7 +3787,7 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3787
3787
|
name: string;
|
|
3788
3788
|
id: string;
|
|
3789
3789
|
enabled: boolean;
|
|
3790
|
-
action: "
|
|
3790
|
+
action: "challenge" | "allow" | "block" | "redirect" | "log";
|
|
3791
3791
|
priority: number;
|
|
3792
3792
|
conditions: {
|
|
3793
3793
|
value: string | number | boolean | string[];
|