@kya-os/contracts 1.7.26 → 1.7.31
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/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +129 -129
- package/dist/gateway/agents.d.ts +21 -0
- package/dist/gateway/agents.js +12 -0
- package/dist/gateway/cron.d.ts +33 -0
- package/dist/gateway/cron.js +16 -0
- package/dist/gateway/index.d.ts +20 -0
- package/dist/gateway/index.js +37 -0
- package/dist/gateway/sessions.d.ts +30 -0
- package/dist/gateway/sessions.js +15 -0
- package/dist/gateway/skills.d.ts +445 -0
- package/dist/gateway/skills.js +47 -0
- package/dist/gateway/usage.d.ts +43 -0
- package/dist/gateway/usage.js +18 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
package/dist/policy/schemas.d.ts
CHANGED
|
@@ -61,16 +61,16 @@ export declare const ThresholdConfigSchema: z.ZodObject<{
|
|
|
61
61
|
*/
|
|
62
62
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
minReputationScore: number;
|
|
64
65
|
confidenceThreshold: number;
|
|
65
66
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
66
|
-
minReputationScore: number;
|
|
67
67
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
68
68
|
trustedReputationThreshold: number;
|
|
69
69
|
trustSignedRequests: boolean;
|
|
70
70
|
}, {
|
|
71
|
+
minReputationScore?: number | undefined;
|
|
71
72
|
confidenceThreshold?: number | undefined;
|
|
72
73
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
73
|
-
minReputationScore?: number | undefined;
|
|
74
74
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
75
75
|
trustedReputationThreshold?: number | undefined;
|
|
76
76
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -103,41 +103,41 @@ export declare const DenyListEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
active: boolean;
|
|
105
105
|
agentDid?: string | undefined;
|
|
106
|
-
clientDid?: string | undefined;
|
|
107
106
|
expiresAt?: string | undefined;
|
|
107
|
+
agentType?: string | undefined;
|
|
108
108
|
reason?: string | undefined;
|
|
109
|
+
clientDid?: string | undefined;
|
|
109
110
|
clientName?: string | undefined;
|
|
110
|
-
agentType?: string | undefined;
|
|
111
111
|
blockedAt?: string | undefined;
|
|
112
112
|
addedBy?: string | undefined;
|
|
113
113
|
}, {
|
|
114
114
|
agentDid?: string | undefined;
|
|
115
|
-
clientDid?: string | undefined;
|
|
116
115
|
expiresAt?: string | undefined;
|
|
116
|
+
agentType?: string | undefined;
|
|
117
117
|
reason?: string | undefined;
|
|
118
118
|
active?: boolean | undefined;
|
|
119
|
+
clientDid?: string | undefined;
|
|
119
120
|
clientName?: string | undefined;
|
|
120
|
-
agentType?: string | undefined;
|
|
121
121
|
blockedAt?: string | undefined;
|
|
122
122
|
addedBy?: string | undefined;
|
|
123
123
|
}>, {
|
|
124
124
|
active: boolean;
|
|
125
125
|
agentDid?: string | undefined;
|
|
126
|
-
clientDid?: string | undefined;
|
|
127
126
|
expiresAt?: string | undefined;
|
|
127
|
+
agentType?: string | undefined;
|
|
128
128
|
reason?: string | undefined;
|
|
129
|
+
clientDid?: string | undefined;
|
|
129
130
|
clientName?: string | undefined;
|
|
130
|
-
agentType?: string | undefined;
|
|
131
131
|
blockedAt?: string | undefined;
|
|
132
132
|
addedBy?: string | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
agentDid?: string | undefined;
|
|
135
|
-
clientDid?: string | undefined;
|
|
136
135
|
expiresAt?: string | undefined;
|
|
136
|
+
agentType?: string | undefined;
|
|
137
137
|
reason?: string | undefined;
|
|
138
138
|
active?: boolean | undefined;
|
|
139
|
+
clientDid?: string | undefined;
|
|
139
140
|
clientName?: string | undefined;
|
|
140
|
-
agentType?: string | undefined;
|
|
141
141
|
blockedAt?: string | undefined;
|
|
142
142
|
addedBy?: string | undefined;
|
|
143
143
|
}>;
|
|
@@ -164,34 +164,34 @@ export declare const AllowListEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
164
164
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
agentDid?: string | undefined;
|
|
167
|
-
|
|
167
|
+
agentType?: string | undefined;
|
|
168
168
|
reason?: string | undefined;
|
|
169
|
+
clientDid?: string | undefined;
|
|
169
170
|
clientName?: string | undefined;
|
|
170
|
-
agentType?: string | undefined;
|
|
171
171
|
addedBy?: string | undefined;
|
|
172
172
|
addedAt?: string | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
agentDid?: string | undefined;
|
|
175
|
-
|
|
175
|
+
agentType?: string | undefined;
|
|
176
176
|
reason?: string | undefined;
|
|
177
|
+
clientDid?: string | undefined;
|
|
177
178
|
clientName?: string | undefined;
|
|
178
|
-
agentType?: string | undefined;
|
|
179
179
|
addedBy?: string | undefined;
|
|
180
180
|
addedAt?: string | undefined;
|
|
181
181
|
}>, {
|
|
182
182
|
agentDid?: string | undefined;
|
|
183
|
-
|
|
183
|
+
agentType?: string | undefined;
|
|
184
184
|
reason?: string | undefined;
|
|
185
|
+
clientDid?: string | undefined;
|
|
185
186
|
clientName?: string | undefined;
|
|
186
|
-
agentType?: string | undefined;
|
|
187
187
|
addedBy?: string | undefined;
|
|
188
188
|
addedAt?: string | undefined;
|
|
189
189
|
}, {
|
|
190
190
|
agentDid?: string | undefined;
|
|
191
|
-
|
|
191
|
+
agentType?: string | undefined;
|
|
192
192
|
reason?: string | undefined;
|
|
193
|
+
clientDid?: string | undefined;
|
|
193
194
|
clientName?: string | undefined;
|
|
194
|
-
agentType?: string | undefined;
|
|
195
195
|
addedBy?: string | undefined;
|
|
196
196
|
addedAt?: string | undefined;
|
|
197
197
|
}>;
|
|
@@ -210,13 +210,13 @@ export declare const PolicyConditionSchema: z.ZodObject<{
|
|
|
210
210
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
value: string | number | boolean | string[];
|
|
213
|
-
field: "path" | "agentDid" | "
|
|
214
|
-
operator: "
|
|
213
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
214
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
215
215
|
caseInsensitive?: boolean | undefined;
|
|
216
216
|
}, {
|
|
217
217
|
value: string | number | boolean | string[];
|
|
218
|
-
field: "path" | "agentDid" | "
|
|
219
|
-
operator: "
|
|
218
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
219
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
220
220
|
caseInsensitive?: boolean | undefined;
|
|
221
221
|
}>;
|
|
222
222
|
export type PolicyCondition = z.infer<typeof PolicyConditionSchema>;
|
|
@@ -247,13 +247,13 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
247
247
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
value: string | number | boolean | string[];
|
|
250
|
-
field: "path" | "agentDid" | "
|
|
251
|
-
operator: "
|
|
250
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
251
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
252
252
|
caseInsensitive?: boolean | undefined;
|
|
253
253
|
}, {
|
|
254
254
|
value: string | number | boolean | string[];
|
|
255
|
-
field: "path" | "agentDid" | "
|
|
256
|
-
operator: "
|
|
255
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
256
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
257
257
|
caseInsensitive?: boolean | undefined;
|
|
258
258
|
}>, "many">;
|
|
259
259
|
/** Action to take when conditions match */
|
|
@@ -279,83 +279,83 @@ export declare const PolicyRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
|
279
279
|
createdBy?: string | undefined;
|
|
280
280
|
}>>;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
name: string;
|
|
283
282
|
id: string;
|
|
283
|
+
name: string;
|
|
284
284
|
enabled: boolean;
|
|
285
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
286
285
|
priority: number;
|
|
287
286
|
conditions: {
|
|
288
287
|
value: string | number | boolean | string[];
|
|
289
|
-
field: "path" | "agentDid" | "
|
|
290
|
-
operator: "
|
|
288
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
289
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
291
290
|
caseInsensitive?: boolean | undefined;
|
|
292
291
|
}[];
|
|
292
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
293
293
|
message?: string | undefined;
|
|
294
|
+
description?: string | undefined;
|
|
294
295
|
metadata?: {
|
|
295
296
|
createdAt?: string | undefined;
|
|
296
297
|
updatedAt?: string | undefined;
|
|
297
298
|
createdBy?: string | undefined;
|
|
298
299
|
} | undefined;
|
|
299
|
-
description?: string | undefined;
|
|
300
300
|
redirectUrl?: string | undefined;
|
|
301
301
|
}, {
|
|
302
|
-
name: string;
|
|
303
302
|
id: string;
|
|
304
|
-
|
|
303
|
+
name: string;
|
|
305
304
|
conditions: {
|
|
306
305
|
value: string | number | boolean | string[];
|
|
307
|
-
field: "path" | "agentDid" | "
|
|
308
|
-
operator: "
|
|
306
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
307
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
309
308
|
caseInsensitive?: boolean | undefined;
|
|
310
309
|
}[];
|
|
310
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
311
311
|
message?: string | undefined;
|
|
312
|
+
description?: string | undefined;
|
|
312
313
|
metadata?: {
|
|
313
314
|
createdAt?: string | undefined;
|
|
314
315
|
updatedAt?: string | undefined;
|
|
315
316
|
createdBy?: string | undefined;
|
|
316
317
|
} | undefined;
|
|
317
318
|
enabled?: boolean | undefined;
|
|
318
|
-
description?: string | undefined;
|
|
319
319
|
priority?: number | undefined;
|
|
320
320
|
redirectUrl?: string | undefined;
|
|
321
321
|
}>, {
|
|
322
|
-
name: string;
|
|
323
322
|
id: string;
|
|
323
|
+
name: string;
|
|
324
324
|
enabled: boolean;
|
|
325
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
326
325
|
priority: number;
|
|
327
326
|
conditions: {
|
|
328
327
|
value: string | number | boolean | string[];
|
|
329
|
-
field: "path" | "agentDid" | "
|
|
330
|
-
operator: "
|
|
328
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
329
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
331
330
|
caseInsensitive?: boolean | undefined;
|
|
332
331
|
}[];
|
|
332
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
333
333
|
message?: string | undefined;
|
|
334
|
+
description?: string | undefined;
|
|
334
335
|
metadata?: {
|
|
335
336
|
createdAt?: string | undefined;
|
|
336
337
|
updatedAt?: string | undefined;
|
|
337
338
|
createdBy?: string | undefined;
|
|
338
339
|
} | undefined;
|
|
339
|
-
description?: string | undefined;
|
|
340
340
|
redirectUrl?: string | undefined;
|
|
341
341
|
}, {
|
|
342
|
-
name: string;
|
|
343
342
|
id: string;
|
|
344
|
-
|
|
343
|
+
name: string;
|
|
345
344
|
conditions: {
|
|
346
345
|
value: string | number | boolean | string[];
|
|
347
|
-
field: "path" | "agentDid" | "
|
|
348
|
-
operator: "
|
|
346
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
347
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
349
348
|
caseInsensitive?: boolean | undefined;
|
|
350
349
|
}[];
|
|
350
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
351
351
|
message?: string | undefined;
|
|
352
|
+
description?: string | undefined;
|
|
352
353
|
metadata?: {
|
|
353
354
|
createdAt?: string | undefined;
|
|
354
355
|
updatedAt?: string | undefined;
|
|
355
356
|
createdBy?: string | undefined;
|
|
356
357
|
} | undefined;
|
|
357
358
|
enabled?: boolean | undefined;
|
|
358
|
-
description?: string | undefined;
|
|
359
359
|
priority?: number | undefined;
|
|
360
360
|
redirectUrl?: string | undefined;
|
|
361
361
|
}>;
|
|
@@ -416,16 +416,16 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
416
416
|
*/
|
|
417
417
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
minReputationScore: number;
|
|
419
420
|
confidenceThreshold: number;
|
|
420
421
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
421
|
-
minReputationScore: number;
|
|
422
422
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
423
423
|
trustedReputationThreshold: number;
|
|
424
424
|
trustSignedRequests: boolean;
|
|
425
425
|
}, {
|
|
426
|
+
minReputationScore?: number | undefined;
|
|
426
427
|
confidenceThreshold?: number | undefined;
|
|
427
428
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
428
|
-
minReputationScore?: number | undefined;
|
|
429
429
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
430
430
|
trustedReputationThreshold?: number | undefined;
|
|
431
431
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -453,41 +453,41 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
454
|
active: boolean;
|
|
455
455
|
agentDid?: string | undefined;
|
|
456
|
-
clientDid?: string | undefined;
|
|
457
456
|
expiresAt?: string | undefined;
|
|
457
|
+
agentType?: string | undefined;
|
|
458
458
|
reason?: string | undefined;
|
|
459
|
+
clientDid?: string | undefined;
|
|
459
460
|
clientName?: string | undefined;
|
|
460
|
-
agentType?: string | undefined;
|
|
461
461
|
blockedAt?: string | undefined;
|
|
462
462
|
addedBy?: string | undefined;
|
|
463
463
|
}, {
|
|
464
464
|
agentDid?: string | undefined;
|
|
465
|
-
clientDid?: string | undefined;
|
|
466
465
|
expiresAt?: string | undefined;
|
|
466
|
+
agentType?: string | undefined;
|
|
467
467
|
reason?: string | undefined;
|
|
468
468
|
active?: boolean | undefined;
|
|
469
|
+
clientDid?: string | undefined;
|
|
469
470
|
clientName?: string | undefined;
|
|
470
|
-
agentType?: string | undefined;
|
|
471
471
|
blockedAt?: string | undefined;
|
|
472
472
|
addedBy?: string | undefined;
|
|
473
473
|
}>, {
|
|
474
474
|
active: boolean;
|
|
475
475
|
agentDid?: string | undefined;
|
|
476
|
-
clientDid?: string | undefined;
|
|
477
476
|
expiresAt?: string | undefined;
|
|
477
|
+
agentType?: string | undefined;
|
|
478
478
|
reason?: string | undefined;
|
|
479
|
+
clientDid?: string | undefined;
|
|
479
480
|
clientName?: string | undefined;
|
|
480
|
-
agentType?: string | undefined;
|
|
481
481
|
blockedAt?: string | undefined;
|
|
482
482
|
addedBy?: string | undefined;
|
|
483
483
|
}, {
|
|
484
484
|
agentDid?: string | undefined;
|
|
485
|
-
clientDid?: string | undefined;
|
|
486
485
|
expiresAt?: string | undefined;
|
|
486
|
+
agentType?: string | undefined;
|
|
487
487
|
reason?: string | undefined;
|
|
488
488
|
active?: boolean | undefined;
|
|
489
|
+
clientDid?: string | undefined;
|
|
489
490
|
clientName?: string | undefined;
|
|
490
|
-
agentType?: string | undefined;
|
|
491
491
|
blockedAt?: string | undefined;
|
|
492
492
|
addedBy?: string | undefined;
|
|
493
493
|
}>, "many">>;
|
|
@@ -509,34 +509,34 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
509
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
511
|
agentDid?: string | undefined;
|
|
512
|
-
|
|
512
|
+
agentType?: string | undefined;
|
|
513
513
|
reason?: string | undefined;
|
|
514
|
+
clientDid?: string | undefined;
|
|
514
515
|
clientName?: string | undefined;
|
|
515
|
-
agentType?: string | undefined;
|
|
516
516
|
addedBy?: string | undefined;
|
|
517
517
|
addedAt?: string | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
agentDid?: string | undefined;
|
|
520
|
-
|
|
520
|
+
agentType?: string | undefined;
|
|
521
521
|
reason?: string | undefined;
|
|
522
|
+
clientDid?: string | undefined;
|
|
522
523
|
clientName?: string | undefined;
|
|
523
|
-
agentType?: string | undefined;
|
|
524
524
|
addedBy?: string | undefined;
|
|
525
525
|
addedAt?: string | undefined;
|
|
526
526
|
}>, {
|
|
527
527
|
agentDid?: string | undefined;
|
|
528
|
-
|
|
528
|
+
agentType?: string | undefined;
|
|
529
529
|
reason?: string | undefined;
|
|
530
|
+
clientDid?: string | undefined;
|
|
530
531
|
clientName?: string | undefined;
|
|
531
|
-
agentType?: string | undefined;
|
|
532
532
|
addedBy?: string | undefined;
|
|
533
533
|
addedAt?: string | undefined;
|
|
534
534
|
}, {
|
|
535
535
|
agentDid?: string | undefined;
|
|
536
|
-
|
|
536
|
+
agentType?: string | undefined;
|
|
537
537
|
reason?: string | undefined;
|
|
538
|
+
clientDid?: string | undefined;
|
|
538
539
|
clientName?: string | undefined;
|
|
539
|
-
agentType?: string | undefined;
|
|
540
540
|
addedBy?: string | undefined;
|
|
541
541
|
addedAt?: string | undefined;
|
|
542
542
|
}>, "many">>;
|
|
@@ -565,13 +565,13 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
565
565
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
567
|
value: string | number | boolean | string[];
|
|
568
|
-
field: "path" | "agentDid" | "
|
|
569
|
-
operator: "
|
|
568
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
569
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
570
570
|
caseInsensitive?: boolean | undefined;
|
|
571
571
|
}, {
|
|
572
572
|
value: string | number | boolean | string[];
|
|
573
|
-
field: "path" | "agentDid" | "
|
|
574
|
-
operator: "
|
|
573
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
574
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
575
575
|
caseInsensitive?: boolean | undefined;
|
|
576
576
|
}>, "many">;
|
|
577
577
|
/** Action to take when conditions match */
|
|
@@ -597,83 +597,83 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
597
597
|
createdBy?: string | undefined;
|
|
598
598
|
}>>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
name: string;
|
|
601
600
|
id: string;
|
|
601
|
+
name: string;
|
|
602
602
|
enabled: boolean;
|
|
603
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
604
603
|
priority: number;
|
|
605
604
|
conditions: {
|
|
606
605
|
value: string | number | boolean | string[];
|
|
607
|
-
field: "path" | "agentDid" | "
|
|
608
|
-
operator: "
|
|
606
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
607
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
609
608
|
caseInsensitive?: boolean | undefined;
|
|
610
609
|
}[];
|
|
610
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
611
611
|
message?: string | undefined;
|
|
612
|
+
description?: string | undefined;
|
|
612
613
|
metadata?: {
|
|
613
614
|
createdAt?: string | undefined;
|
|
614
615
|
updatedAt?: string | undefined;
|
|
615
616
|
createdBy?: string | undefined;
|
|
616
617
|
} | undefined;
|
|
617
|
-
description?: string | undefined;
|
|
618
618
|
redirectUrl?: string | undefined;
|
|
619
619
|
}, {
|
|
620
|
-
name: string;
|
|
621
620
|
id: string;
|
|
622
|
-
|
|
621
|
+
name: string;
|
|
623
622
|
conditions: {
|
|
624
623
|
value: string | number | boolean | string[];
|
|
625
|
-
field: "path" | "agentDid" | "
|
|
626
|
-
operator: "
|
|
624
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
625
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
627
626
|
caseInsensitive?: boolean | undefined;
|
|
628
627
|
}[];
|
|
628
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
629
629
|
message?: string | undefined;
|
|
630
|
+
description?: string | undefined;
|
|
630
631
|
metadata?: {
|
|
631
632
|
createdAt?: string | undefined;
|
|
632
633
|
updatedAt?: string | undefined;
|
|
633
634
|
createdBy?: string | undefined;
|
|
634
635
|
} | undefined;
|
|
635
636
|
enabled?: boolean | undefined;
|
|
636
|
-
description?: string | undefined;
|
|
637
637
|
priority?: number | undefined;
|
|
638
638
|
redirectUrl?: string | undefined;
|
|
639
639
|
}>, {
|
|
640
|
-
name: string;
|
|
641
640
|
id: string;
|
|
641
|
+
name: string;
|
|
642
642
|
enabled: boolean;
|
|
643
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
644
643
|
priority: number;
|
|
645
644
|
conditions: {
|
|
646
645
|
value: string | number | boolean | string[];
|
|
647
|
-
field: "path" | "agentDid" | "
|
|
648
|
-
operator: "
|
|
646
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
647
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
649
648
|
caseInsensitive?: boolean | undefined;
|
|
650
649
|
}[];
|
|
650
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
651
651
|
message?: string | undefined;
|
|
652
|
+
description?: string | undefined;
|
|
652
653
|
metadata?: {
|
|
653
654
|
createdAt?: string | undefined;
|
|
654
655
|
updatedAt?: string | undefined;
|
|
655
656
|
createdBy?: string | undefined;
|
|
656
657
|
} | undefined;
|
|
657
|
-
description?: string | undefined;
|
|
658
658
|
redirectUrl?: string | undefined;
|
|
659
659
|
}, {
|
|
660
|
-
name: string;
|
|
661
660
|
id: string;
|
|
662
|
-
|
|
661
|
+
name: string;
|
|
663
662
|
conditions: {
|
|
664
663
|
value: string | number | boolean | string[];
|
|
665
|
-
field: "path" | "agentDid" | "
|
|
666
|
-
operator: "
|
|
664
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
665
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
667
666
|
caseInsensitive?: boolean | undefined;
|
|
668
667
|
}[];
|
|
668
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
669
669
|
message?: string | undefined;
|
|
670
|
+
description?: string | undefined;
|
|
670
671
|
metadata?: {
|
|
671
672
|
createdAt?: string | undefined;
|
|
672
673
|
updatedAt?: string | undefined;
|
|
673
674
|
createdBy?: string | undefined;
|
|
674
675
|
} | undefined;
|
|
675
676
|
enabled?: boolean | undefined;
|
|
676
|
-
description?: string | undefined;
|
|
677
677
|
priority?: number | undefined;
|
|
678
678
|
redirectUrl?: string | undefined;
|
|
679
679
|
}>, "many">>;
|
|
@@ -700,9 +700,9 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
700
700
|
enabled: boolean;
|
|
701
701
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
702
702
|
thresholds: {
|
|
703
|
+
minReputationScore: number;
|
|
703
704
|
confidenceThreshold: number;
|
|
704
705
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
705
|
-
minReputationScore: number;
|
|
706
706
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
707
707
|
trustedReputationThreshold: number;
|
|
708
708
|
trustSignedRequests: boolean;
|
|
@@ -710,42 +710,42 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
710
710
|
denyList: {
|
|
711
711
|
active: boolean;
|
|
712
712
|
agentDid?: string | undefined;
|
|
713
|
-
clientDid?: string | undefined;
|
|
714
713
|
expiresAt?: string | undefined;
|
|
714
|
+
agentType?: string | undefined;
|
|
715
715
|
reason?: string | undefined;
|
|
716
|
+
clientDid?: string | undefined;
|
|
716
717
|
clientName?: string | undefined;
|
|
717
|
-
agentType?: string | undefined;
|
|
718
718
|
blockedAt?: string | undefined;
|
|
719
719
|
addedBy?: string | undefined;
|
|
720
720
|
}[];
|
|
721
721
|
allowList: {
|
|
722
722
|
agentDid?: string | undefined;
|
|
723
|
-
|
|
723
|
+
agentType?: string | undefined;
|
|
724
724
|
reason?: string | undefined;
|
|
725
|
+
clientDid?: string | undefined;
|
|
725
726
|
clientName?: string | undefined;
|
|
726
|
-
agentType?: string | undefined;
|
|
727
727
|
addedBy?: string | undefined;
|
|
728
728
|
addedAt?: string | undefined;
|
|
729
729
|
}[];
|
|
730
730
|
rules: {
|
|
731
|
-
name: string;
|
|
732
731
|
id: string;
|
|
732
|
+
name: string;
|
|
733
733
|
enabled: boolean;
|
|
734
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
735
734
|
priority: number;
|
|
736
735
|
conditions: {
|
|
737
736
|
value: string | number | boolean | string[];
|
|
738
|
-
field: "path" | "agentDid" | "
|
|
739
|
-
operator: "
|
|
737
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
738
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
740
739
|
caseInsensitive?: boolean | undefined;
|
|
741
740
|
}[];
|
|
741
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
742
742
|
message?: string | undefined;
|
|
743
|
+
description?: string | undefined;
|
|
743
744
|
metadata?: {
|
|
744
745
|
createdAt?: string | undefined;
|
|
745
746
|
updatedAt?: string | undefined;
|
|
746
747
|
createdBy?: string | undefined;
|
|
747
748
|
} | undefined;
|
|
748
|
-
description?: string | undefined;
|
|
749
749
|
redirectUrl?: string | undefined;
|
|
750
750
|
}[];
|
|
751
751
|
excludedPaths: string[];
|
|
@@ -757,61 +757,61 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
757
757
|
redirectUrl?: string | undefined;
|
|
758
758
|
includedPaths?: string[] | undefined;
|
|
759
759
|
}, {
|
|
760
|
+
version?: string | undefined;
|
|
760
761
|
metadata?: {
|
|
761
762
|
lastUpdated?: string | undefined;
|
|
762
763
|
updatedBy?: string | undefined;
|
|
763
764
|
policyId?: string | undefined;
|
|
764
765
|
} | undefined;
|
|
765
|
-
version?: string | undefined;
|
|
766
766
|
enabled?: boolean | undefined;
|
|
767
767
|
redirectUrl?: string | undefined;
|
|
768
768
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
769
769
|
thresholds?: {
|
|
770
|
+
minReputationScore?: number | undefined;
|
|
770
771
|
confidenceThreshold?: number | undefined;
|
|
771
772
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
772
|
-
minReputationScore?: number | undefined;
|
|
773
773
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
774
774
|
trustedReputationThreshold?: number | undefined;
|
|
775
775
|
trustSignedRequests?: boolean | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
denyList?: {
|
|
778
778
|
agentDid?: string | undefined;
|
|
779
|
-
clientDid?: string | undefined;
|
|
780
779
|
expiresAt?: string | undefined;
|
|
780
|
+
agentType?: string | undefined;
|
|
781
781
|
reason?: string | undefined;
|
|
782
782
|
active?: boolean | undefined;
|
|
783
|
+
clientDid?: string | undefined;
|
|
783
784
|
clientName?: string | undefined;
|
|
784
|
-
agentType?: string | undefined;
|
|
785
785
|
blockedAt?: string | undefined;
|
|
786
786
|
addedBy?: string | undefined;
|
|
787
787
|
}[] | undefined;
|
|
788
788
|
allowList?: {
|
|
789
789
|
agentDid?: string | undefined;
|
|
790
|
-
|
|
790
|
+
agentType?: string | undefined;
|
|
791
791
|
reason?: string | undefined;
|
|
792
|
+
clientDid?: string | undefined;
|
|
792
793
|
clientName?: string | undefined;
|
|
793
|
-
agentType?: string | undefined;
|
|
794
794
|
addedBy?: string | undefined;
|
|
795
795
|
addedAt?: string | undefined;
|
|
796
796
|
}[] | undefined;
|
|
797
797
|
rules?: {
|
|
798
|
-
name: string;
|
|
799
798
|
id: string;
|
|
800
|
-
|
|
799
|
+
name: string;
|
|
801
800
|
conditions: {
|
|
802
801
|
value: string | number | boolean | string[];
|
|
803
|
-
field: "path" | "agentDid" | "
|
|
804
|
-
operator: "
|
|
802
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
803
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
805
804
|
caseInsensitive?: boolean | undefined;
|
|
806
805
|
}[];
|
|
806
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
807
807
|
message?: string | undefined;
|
|
808
|
+
description?: string | undefined;
|
|
808
809
|
metadata?: {
|
|
809
810
|
createdAt?: string | undefined;
|
|
810
811
|
updatedAt?: string | undefined;
|
|
811
812
|
createdBy?: string | undefined;
|
|
812
813
|
} | undefined;
|
|
813
814
|
enabled?: boolean | undefined;
|
|
814
|
-
description?: string | undefined;
|
|
815
815
|
priority?: number | undefined;
|
|
816
816
|
redirectUrl?: string | undefined;
|
|
817
817
|
}[] | undefined;
|
|
@@ -822,9 +822,9 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
822
822
|
enabled: boolean;
|
|
823
823
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
824
824
|
thresholds: {
|
|
825
|
+
minReputationScore: number;
|
|
825
826
|
confidenceThreshold: number;
|
|
826
827
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
827
|
-
minReputationScore: number;
|
|
828
828
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
829
829
|
trustedReputationThreshold: number;
|
|
830
830
|
trustSignedRequests: boolean;
|
|
@@ -832,42 +832,42 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
832
|
denyList: {
|
|
833
833
|
active: boolean;
|
|
834
834
|
agentDid?: string | undefined;
|
|
835
|
-
clientDid?: string | undefined;
|
|
836
835
|
expiresAt?: string | undefined;
|
|
836
|
+
agentType?: string | undefined;
|
|
837
837
|
reason?: string | undefined;
|
|
838
|
+
clientDid?: string | undefined;
|
|
838
839
|
clientName?: string | undefined;
|
|
839
|
-
agentType?: string | undefined;
|
|
840
840
|
blockedAt?: string | undefined;
|
|
841
841
|
addedBy?: string | undefined;
|
|
842
842
|
}[];
|
|
843
843
|
allowList: {
|
|
844
844
|
agentDid?: string | undefined;
|
|
845
|
-
|
|
845
|
+
agentType?: string | undefined;
|
|
846
846
|
reason?: string | undefined;
|
|
847
|
+
clientDid?: string | undefined;
|
|
847
848
|
clientName?: string | undefined;
|
|
848
|
-
agentType?: string | undefined;
|
|
849
849
|
addedBy?: string | undefined;
|
|
850
850
|
addedAt?: string | undefined;
|
|
851
851
|
}[];
|
|
852
852
|
rules: {
|
|
853
|
-
name: string;
|
|
854
853
|
id: string;
|
|
854
|
+
name: string;
|
|
855
855
|
enabled: boolean;
|
|
856
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
857
856
|
priority: number;
|
|
858
857
|
conditions: {
|
|
859
858
|
value: string | number | boolean | string[];
|
|
860
|
-
field: "path" | "agentDid" | "
|
|
861
|
-
operator: "
|
|
859
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
860
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
862
861
|
caseInsensitive?: boolean | undefined;
|
|
863
862
|
}[];
|
|
863
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
864
864
|
message?: string | undefined;
|
|
865
|
+
description?: string | undefined;
|
|
865
866
|
metadata?: {
|
|
866
867
|
createdAt?: string | undefined;
|
|
867
868
|
updatedAt?: string | undefined;
|
|
868
869
|
createdBy?: string | undefined;
|
|
869
870
|
} | undefined;
|
|
870
|
-
description?: string | undefined;
|
|
871
871
|
redirectUrl?: string | undefined;
|
|
872
872
|
}[];
|
|
873
873
|
excludedPaths: string[];
|
|
@@ -879,61 +879,61 @@ export declare const PolicyConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
879
879
|
redirectUrl?: string | undefined;
|
|
880
880
|
includedPaths?: string[] | undefined;
|
|
881
881
|
}, {
|
|
882
|
+
version?: string | undefined;
|
|
882
883
|
metadata?: {
|
|
883
884
|
lastUpdated?: string | undefined;
|
|
884
885
|
updatedBy?: string | undefined;
|
|
885
886
|
policyId?: string | undefined;
|
|
886
887
|
} | undefined;
|
|
887
|
-
version?: string | undefined;
|
|
888
888
|
enabled?: boolean | undefined;
|
|
889
889
|
redirectUrl?: string | undefined;
|
|
890
890
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
891
891
|
thresholds?: {
|
|
892
|
+
minReputationScore?: number | undefined;
|
|
892
893
|
confidenceThreshold?: number | undefined;
|
|
893
894
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
894
|
-
minReputationScore?: number | undefined;
|
|
895
895
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
896
896
|
trustedReputationThreshold?: number | undefined;
|
|
897
897
|
trustSignedRequests?: boolean | undefined;
|
|
898
898
|
} | undefined;
|
|
899
899
|
denyList?: {
|
|
900
900
|
agentDid?: string | undefined;
|
|
901
|
-
clientDid?: string | undefined;
|
|
902
901
|
expiresAt?: string | undefined;
|
|
902
|
+
agentType?: string | undefined;
|
|
903
903
|
reason?: string | undefined;
|
|
904
904
|
active?: boolean | undefined;
|
|
905
|
+
clientDid?: string | undefined;
|
|
905
906
|
clientName?: string | undefined;
|
|
906
|
-
agentType?: string | undefined;
|
|
907
907
|
blockedAt?: string | undefined;
|
|
908
908
|
addedBy?: string | undefined;
|
|
909
909
|
}[] | undefined;
|
|
910
910
|
allowList?: {
|
|
911
911
|
agentDid?: string | undefined;
|
|
912
|
-
|
|
912
|
+
agentType?: string | undefined;
|
|
913
913
|
reason?: string | undefined;
|
|
914
|
+
clientDid?: string | undefined;
|
|
914
915
|
clientName?: string | undefined;
|
|
915
|
-
agentType?: string | undefined;
|
|
916
916
|
addedBy?: string | undefined;
|
|
917
917
|
addedAt?: string | undefined;
|
|
918
918
|
}[] | undefined;
|
|
919
919
|
rules?: {
|
|
920
|
-
name: string;
|
|
921
920
|
id: string;
|
|
922
|
-
|
|
921
|
+
name: string;
|
|
923
922
|
conditions: {
|
|
924
923
|
value: string | number | boolean | string[];
|
|
925
|
-
field: "path" | "agentDid" | "
|
|
926
|
-
operator: "
|
|
924
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
925
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
927
926
|
caseInsensitive?: boolean | undefined;
|
|
928
927
|
}[];
|
|
928
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
929
929
|
message?: string | undefined;
|
|
930
|
+
description?: string | undefined;
|
|
930
931
|
metadata?: {
|
|
931
932
|
createdAt?: string | undefined;
|
|
932
933
|
updatedAt?: string | undefined;
|
|
933
934
|
createdBy?: string | undefined;
|
|
934
935
|
} | undefined;
|
|
935
936
|
enabled?: boolean | undefined;
|
|
936
|
-
description?: string | undefined;
|
|
937
937
|
priority?: number | undefined;
|
|
938
938
|
redirectUrl?: string | undefined;
|
|
939
939
|
}[] | undefined;
|
|
@@ -982,16 +982,16 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
982
982
|
*/
|
|
983
983
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
984
984
|
}, "strip", z.ZodTypeAny, {
|
|
985
|
+
minReputationScore: number;
|
|
985
986
|
confidenceThreshold: number;
|
|
986
987
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
987
|
-
minReputationScore: number;
|
|
988
988
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
989
989
|
trustedReputationThreshold: number;
|
|
990
990
|
trustSignedRequests: boolean;
|
|
991
991
|
}, {
|
|
992
|
+
minReputationScore?: number | undefined;
|
|
992
993
|
confidenceThreshold?: number | undefined;
|
|
993
994
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
994
|
-
minReputationScore?: number | undefined;
|
|
995
995
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
996
996
|
trustedReputationThreshold?: number | undefined;
|
|
997
997
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -1018,41 +1018,41 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
1019
|
active: boolean;
|
|
1020
1020
|
agentDid?: string | undefined;
|
|
1021
|
-
clientDid?: string | undefined;
|
|
1022
1021
|
expiresAt?: string | undefined;
|
|
1022
|
+
agentType?: string | undefined;
|
|
1023
1023
|
reason?: string | undefined;
|
|
1024
|
+
clientDid?: string | undefined;
|
|
1024
1025
|
clientName?: string | undefined;
|
|
1025
|
-
agentType?: string | undefined;
|
|
1026
1026
|
blockedAt?: string | undefined;
|
|
1027
1027
|
addedBy?: string | undefined;
|
|
1028
1028
|
}, {
|
|
1029
1029
|
agentDid?: string | undefined;
|
|
1030
|
-
clientDid?: string | undefined;
|
|
1031
1030
|
expiresAt?: string | undefined;
|
|
1031
|
+
agentType?: string | undefined;
|
|
1032
1032
|
reason?: string | undefined;
|
|
1033
1033
|
active?: boolean | undefined;
|
|
1034
|
+
clientDid?: string | undefined;
|
|
1034
1035
|
clientName?: string | undefined;
|
|
1035
|
-
agentType?: string | undefined;
|
|
1036
1036
|
blockedAt?: string | undefined;
|
|
1037
1037
|
addedBy?: string | undefined;
|
|
1038
1038
|
}>, {
|
|
1039
1039
|
active: boolean;
|
|
1040
1040
|
agentDid?: string | undefined;
|
|
1041
|
-
clientDid?: string | undefined;
|
|
1042
1041
|
expiresAt?: string | undefined;
|
|
1042
|
+
agentType?: string | undefined;
|
|
1043
1043
|
reason?: string | undefined;
|
|
1044
|
+
clientDid?: string | undefined;
|
|
1044
1045
|
clientName?: string | undefined;
|
|
1045
|
-
agentType?: string | undefined;
|
|
1046
1046
|
blockedAt?: string | undefined;
|
|
1047
1047
|
addedBy?: string | undefined;
|
|
1048
1048
|
}, {
|
|
1049
1049
|
agentDid?: string | undefined;
|
|
1050
|
-
clientDid?: string | undefined;
|
|
1051
1050
|
expiresAt?: string | undefined;
|
|
1051
|
+
agentType?: string | undefined;
|
|
1052
1052
|
reason?: string | undefined;
|
|
1053
1053
|
active?: boolean | undefined;
|
|
1054
|
+
clientDid?: string | undefined;
|
|
1054
1055
|
clientName?: string | undefined;
|
|
1055
|
-
agentType?: string | undefined;
|
|
1056
1056
|
blockedAt?: string | undefined;
|
|
1057
1057
|
addedBy?: string | undefined;
|
|
1058
1058
|
}>, "many">>>;
|
|
@@ -1073,34 +1073,34 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1073
1073
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
1074
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1075
1075
|
agentDid?: string | undefined;
|
|
1076
|
-
|
|
1076
|
+
agentType?: string | undefined;
|
|
1077
1077
|
reason?: string | undefined;
|
|
1078
|
+
clientDid?: string | undefined;
|
|
1078
1079
|
clientName?: string | undefined;
|
|
1079
|
-
agentType?: string | undefined;
|
|
1080
1080
|
addedBy?: string | undefined;
|
|
1081
1081
|
addedAt?: string | undefined;
|
|
1082
1082
|
}, {
|
|
1083
1083
|
agentDid?: string | undefined;
|
|
1084
|
-
|
|
1084
|
+
agentType?: string | undefined;
|
|
1085
1085
|
reason?: string | undefined;
|
|
1086
|
+
clientDid?: string | undefined;
|
|
1086
1087
|
clientName?: string | undefined;
|
|
1087
|
-
agentType?: string | undefined;
|
|
1088
1088
|
addedBy?: string | undefined;
|
|
1089
1089
|
addedAt?: string | undefined;
|
|
1090
1090
|
}>, {
|
|
1091
1091
|
agentDid?: string | undefined;
|
|
1092
|
-
|
|
1092
|
+
agentType?: string | undefined;
|
|
1093
1093
|
reason?: string | undefined;
|
|
1094
|
+
clientDid?: string | undefined;
|
|
1094
1095
|
clientName?: string | undefined;
|
|
1095
|
-
agentType?: string | undefined;
|
|
1096
1096
|
addedBy?: string | undefined;
|
|
1097
1097
|
addedAt?: string | undefined;
|
|
1098
1098
|
}, {
|
|
1099
1099
|
agentDid?: string | undefined;
|
|
1100
|
-
|
|
1100
|
+
agentType?: string | undefined;
|
|
1101
1101
|
reason?: string | undefined;
|
|
1102
|
+
clientDid?: string | undefined;
|
|
1102
1103
|
clientName?: string | undefined;
|
|
1103
|
-
agentType?: string | undefined;
|
|
1104
1104
|
addedBy?: string | undefined;
|
|
1105
1105
|
addedAt?: string | undefined;
|
|
1106
1106
|
}>, "many">>>;
|
|
@@ -1128,13 +1128,13 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1128
1128
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
1130
|
value: string | number | boolean | string[];
|
|
1131
|
-
field: "path" | "agentDid" | "
|
|
1132
|
-
operator: "
|
|
1131
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1132
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1133
1133
|
caseInsensitive?: boolean | undefined;
|
|
1134
1134
|
}, {
|
|
1135
1135
|
value: string | number | boolean | string[];
|
|
1136
|
-
field: "path" | "agentDid" | "
|
|
1137
|
-
operator: "
|
|
1136
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1137
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1138
1138
|
caseInsensitive?: boolean | undefined;
|
|
1139
1139
|
}>, "many">;
|
|
1140
1140
|
/** Action to take when conditions match */
|
|
@@ -1160,83 +1160,83 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1160
1160
|
createdBy?: string | undefined;
|
|
1161
1161
|
}>>;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
name: string;
|
|
1164
1163
|
id: string;
|
|
1164
|
+
name: string;
|
|
1165
1165
|
enabled: boolean;
|
|
1166
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1167
1166
|
priority: number;
|
|
1168
1167
|
conditions: {
|
|
1169
1168
|
value: string | number | boolean | string[];
|
|
1170
|
-
field: "path" | "agentDid" | "
|
|
1171
|
-
operator: "
|
|
1169
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1170
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1172
1171
|
caseInsensitive?: boolean | undefined;
|
|
1173
1172
|
}[];
|
|
1173
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1174
1174
|
message?: string | undefined;
|
|
1175
|
+
description?: string | undefined;
|
|
1175
1176
|
metadata?: {
|
|
1176
1177
|
createdAt?: string | undefined;
|
|
1177
1178
|
updatedAt?: string | undefined;
|
|
1178
1179
|
createdBy?: string | undefined;
|
|
1179
1180
|
} | undefined;
|
|
1180
|
-
description?: string | undefined;
|
|
1181
1181
|
redirectUrl?: string | undefined;
|
|
1182
1182
|
}, {
|
|
1183
|
-
name: string;
|
|
1184
1183
|
id: string;
|
|
1185
|
-
|
|
1184
|
+
name: string;
|
|
1186
1185
|
conditions: {
|
|
1187
1186
|
value: string | number | boolean | string[];
|
|
1188
|
-
field: "path" | "agentDid" | "
|
|
1189
|
-
operator: "
|
|
1187
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1188
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1190
1189
|
caseInsensitive?: boolean | undefined;
|
|
1191
1190
|
}[];
|
|
1191
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1192
1192
|
message?: string | undefined;
|
|
1193
|
+
description?: string | undefined;
|
|
1193
1194
|
metadata?: {
|
|
1194
1195
|
createdAt?: string | undefined;
|
|
1195
1196
|
updatedAt?: string | undefined;
|
|
1196
1197
|
createdBy?: string | undefined;
|
|
1197
1198
|
} | undefined;
|
|
1198
1199
|
enabled?: boolean | undefined;
|
|
1199
|
-
description?: string | undefined;
|
|
1200
1200
|
priority?: number | undefined;
|
|
1201
1201
|
redirectUrl?: string | undefined;
|
|
1202
1202
|
}>, {
|
|
1203
|
-
name: string;
|
|
1204
1203
|
id: string;
|
|
1204
|
+
name: string;
|
|
1205
1205
|
enabled: boolean;
|
|
1206
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1207
1206
|
priority: number;
|
|
1208
1207
|
conditions: {
|
|
1209
1208
|
value: string | number | boolean | string[];
|
|
1210
|
-
field: "path" | "agentDid" | "
|
|
1211
|
-
operator: "
|
|
1209
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1210
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1212
1211
|
caseInsensitive?: boolean | undefined;
|
|
1213
1212
|
}[];
|
|
1213
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1214
1214
|
message?: string | undefined;
|
|
1215
|
+
description?: string | undefined;
|
|
1215
1216
|
metadata?: {
|
|
1216
1217
|
createdAt?: string | undefined;
|
|
1217
1218
|
updatedAt?: string | undefined;
|
|
1218
1219
|
createdBy?: string | undefined;
|
|
1219
1220
|
} | undefined;
|
|
1220
|
-
description?: string | undefined;
|
|
1221
1221
|
redirectUrl?: string | undefined;
|
|
1222
1222
|
}, {
|
|
1223
|
-
name: string;
|
|
1224
1223
|
id: string;
|
|
1225
|
-
|
|
1224
|
+
name: string;
|
|
1226
1225
|
conditions: {
|
|
1227
1226
|
value: string | number | boolean | string[];
|
|
1228
|
-
field: "path" | "agentDid" | "
|
|
1229
|
-
operator: "
|
|
1227
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1228
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1230
1229
|
caseInsensitive?: boolean | undefined;
|
|
1231
1230
|
}[];
|
|
1231
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1232
1232
|
message?: string | undefined;
|
|
1233
|
+
description?: string | undefined;
|
|
1233
1234
|
metadata?: {
|
|
1234
1235
|
createdAt?: string | undefined;
|
|
1235
1236
|
updatedAt?: string | undefined;
|
|
1236
1237
|
createdBy?: string | undefined;
|
|
1237
1238
|
} | undefined;
|
|
1238
1239
|
enabled?: boolean | undefined;
|
|
1239
|
-
description?: string | undefined;
|
|
1240
1240
|
priority?: number | undefined;
|
|
1241
1241
|
redirectUrl?: string | undefined;
|
|
1242
1242
|
}>, "many">>>;
|
|
@@ -1256,19 +1256,19 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1256
1256
|
policyId?: string | undefined;
|
|
1257
1257
|
}>>>;
|
|
1258
1258
|
}, "strip", z.ZodTypeAny, {
|
|
1259
|
+
version?: string | undefined;
|
|
1259
1260
|
metadata?: {
|
|
1260
1261
|
lastUpdated?: string | undefined;
|
|
1261
1262
|
updatedBy?: string | undefined;
|
|
1262
1263
|
policyId?: string | undefined;
|
|
1263
1264
|
} | undefined;
|
|
1264
|
-
version?: string | undefined;
|
|
1265
1265
|
enabled?: boolean | undefined;
|
|
1266
1266
|
redirectUrl?: string | undefined;
|
|
1267
1267
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1268
1268
|
thresholds?: {
|
|
1269
|
+
minReputationScore: number;
|
|
1269
1270
|
confidenceThreshold: number;
|
|
1270
1271
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1271
|
-
minReputationScore: number;
|
|
1272
1272
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1273
1273
|
trustedReputationThreshold: number;
|
|
1274
1274
|
trustSignedRequests: boolean;
|
|
@@ -1276,102 +1276,102 @@ export declare const PolicyConfigPartialSchema: z.ZodObject<{
|
|
|
1276
1276
|
denyList?: {
|
|
1277
1277
|
active: boolean;
|
|
1278
1278
|
agentDid?: string | undefined;
|
|
1279
|
-
clientDid?: string | undefined;
|
|
1280
1279
|
expiresAt?: string | undefined;
|
|
1280
|
+
agentType?: string | undefined;
|
|
1281
1281
|
reason?: string | undefined;
|
|
1282
|
+
clientDid?: string | undefined;
|
|
1282
1283
|
clientName?: string | undefined;
|
|
1283
|
-
agentType?: string | undefined;
|
|
1284
1284
|
blockedAt?: string | undefined;
|
|
1285
1285
|
addedBy?: string | undefined;
|
|
1286
1286
|
}[] | undefined;
|
|
1287
1287
|
allowList?: {
|
|
1288
1288
|
agentDid?: string | undefined;
|
|
1289
|
-
|
|
1289
|
+
agentType?: string | undefined;
|
|
1290
1290
|
reason?: string | undefined;
|
|
1291
|
+
clientDid?: string | undefined;
|
|
1291
1292
|
clientName?: string | undefined;
|
|
1292
|
-
agentType?: string | undefined;
|
|
1293
1293
|
addedBy?: string | undefined;
|
|
1294
1294
|
addedAt?: string | undefined;
|
|
1295
1295
|
}[] | undefined;
|
|
1296
1296
|
rules?: {
|
|
1297
|
-
name: string;
|
|
1298
1297
|
id: string;
|
|
1298
|
+
name: string;
|
|
1299
1299
|
enabled: boolean;
|
|
1300
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1301
1300
|
priority: number;
|
|
1302
1301
|
conditions: {
|
|
1303
1302
|
value: string | number | boolean | string[];
|
|
1304
|
-
field: "path" | "agentDid" | "
|
|
1305
|
-
operator: "
|
|
1303
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1304
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1306
1305
|
caseInsensitive?: boolean | undefined;
|
|
1307
1306
|
}[];
|
|
1307
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1308
1308
|
message?: string | undefined;
|
|
1309
|
+
description?: string | undefined;
|
|
1309
1310
|
metadata?: {
|
|
1310
1311
|
createdAt?: string | undefined;
|
|
1311
1312
|
updatedAt?: string | undefined;
|
|
1312
1313
|
createdBy?: string | undefined;
|
|
1313
1314
|
} | undefined;
|
|
1314
|
-
description?: string | undefined;
|
|
1315
1315
|
redirectUrl?: string | undefined;
|
|
1316
1316
|
}[] | undefined;
|
|
1317
1317
|
excludedPaths?: string[] | undefined;
|
|
1318
1318
|
includedPaths?: string[] | undefined;
|
|
1319
1319
|
}, {
|
|
1320
|
+
version?: string | undefined;
|
|
1320
1321
|
metadata?: {
|
|
1321
1322
|
lastUpdated?: string | undefined;
|
|
1322
1323
|
updatedBy?: string | undefined;
|
|
1323
1324
|
policyId?: string | undefined;
|
|
1324
1325
|
} | undefined;
|
|
1325
|
-
version?: string | undefined;
|
|
1326
1326
|
enabled?: boolean | undefined;
|
|
1327
1327
|
redirectUrl?: string | undefined;
|
|
1328
1328
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1329
1329
|
thresholds?: {
|
|
1330
|
+
minReputationScore?: number | undefined;
|
|
1330
1331
|
confidenceThreshold?: number | undefined;
|
|
1331
1332
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1332
|
-
minReputationScore?: number | undefined;
|
|
1333
1333
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1334
1334
|
trustedReputationThreshold?: number | undefined;
|
|
1335
1335
|
trustSignedRequests?: boolean | undefined;
|
|
1336
1336
|
} | undefined;
|
|
1337
1337
|
denyList?: {
|
|
1338
1338
|
agentDid?: string | undefined;
|
|
1339
|
-
clientDid?: string | undefined;
|
|
1340
1339
|
expiresAt?: string | undefined;
|
|
1340
|
+
agentType?: string | undefined;
|
|
1341
1341
|
reason?: string | undefined;
|
|
1342
1342
|
active?: boolean | undefined;
|
|
1343
|
+
clientDid?: string | undefined;
|
|
1343
1344
|
clientName?: string | undefined;
|
|
1344
|
-
agentType?: string | undefined;
|
|
1345
1345
|
blockedAt?: string | undefined;
|
|
1346
1346
|
addedBy?: string | undefined;
|
|
1347
1347
|
}[] | undefined;
|
|
1348
1348
|
allowList?: {
|
|
1349
1349
|
agentDid?: string | undefined;
|
|
1350
|
-
|
|
1350
|
+
agentType?: string | undefined;
|
|
1351
1351
|
reason?: string | undefined;
|
|
1352
|
+
clientDid?: string | undefined;
|
|
1352
1353
|
clientName?: string | undefined;
|
|
1353
|
-
agentType?: string | undefined;
|
|
1354
1354
|
addedBy?: string | undefined;
|
|
1355
1355
|
addedAt?: string | undefined;
|
|
1356
1356
|
}[] | undefined;
|
|
1357
1357
|
rules?: {
|
|
1358
|
-
name: string;
|
|
1359
1358
|
id: string;
|
|
1360
|
-
|
|
1359
|
+
name: string;
|
|
1361
1360
|
conditions: {
|
|
1362
1361
|
value: string | number | boolean | string[];
|
|
1363
|
-
field: "path" | "agentDid" | "
|
|
1364
|
-
operator: "
|
|
1362
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1363
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1365
1364
|
caseInsensitive?: boolean | undefined;
|
|
1366
1365
|
}[];
|
|
1366
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1367
1367
|
message?: string | undefined;
|
|
1368
|
+
description?: string | undefined;
|
|
1368
1369
|
metadata?: {
|
|
1369
1370
|
createdAt?: string | undefined;
|
|
1370
1371
|
updatedAt?: string | undefined;
|
|
1371
1372
|
createdBy?: string | undefined;
|
|
1372
1373
|
} | undefined;
|
|
1373
1374
|
enabled?: boolean | undefined;
|
|
1374
|
-
description?: string | undefined;
|
|
1375
1375
|
priority?: number | undefined;
|
|
1376
1376
|
redirectUrl?: string | undefined;
|
|
1377
1377
|
}[] | undefined;
|
|
@@ -1443,16 +1443,16 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
minReputationScore: number;
|
|
1446
1447
|
confidenceThreshold: number;
|
|
1447
1448
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1448
|
-
minReputationScore: number;
|
|
1449
1449
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1450
1450
|
trustedReputationThreshold: number;
|
|
1451
1451
|
trustSignedRequests: boolean;
|
|
1452
1452
|
}, {
|
|
1453
|
+
minReputationScore?: number | undefined;
|
|
1453
1454
|
confidenceThreshold?: number | undefined;
|
|
1454
1455
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1455
|
-
minReputationScore?: number | undefined;
|
|
1456
1456
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1457
1457
|
trustedReputationThreshold?: number | undefined;
|
|
1458
1458
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -1480,41 +1480,41 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1480
1480
|
}, "strip", z.ZodTypeAny, {
|
|
1481
1481
|
active: boolean;
|
|
1482
1482
|
agentDid?: string | undefined;
|
|
1483
|
-
clientDid?: string | undefined;
|
|
1484
1483
|
expiresAt?: string | undefined;
|
|
1484
|
+
agentType?: string | undefined;
|
|
1485
1485
|
reason?: string | undefined;
|
|
1486
|
+
clientDid?: string | undefined;
|
|
1486
1487
|
clientName?: string | undefined;
|
|
1487
|
-
agentType?: string | undefined;
|
|
1488
1488
|
blockedAt?: string | undefined;
|
|
1489
1489
|
addedBy?: string | undefined;
|
|
1490
1490
|
}, {
|
|
1491
1491
|
agentDid?: string | undefined;
|
|
1492
|
-
clientDid?: string | undefined;
|
|
1493
1492
|
expiresAt?: string | undefined;
|
|
1493
|
+
agentType?: string | undefined;
|
|
1494
1494
|
reason?: string | undefined;
|
|
1495
1495
|
active?: boolean | undefined;
|
|
1496
|
+
clientDid?: string | undefined;
|
|
1496
1497
|
clientName?: string | undefined;
|
|
1497
|
-
agentType?: string | undefined;
|
|
1498
1498
|
blockedAt?: string | undefined;
|
|
1499
1499
|
addedBy?: string | undefined;
|
|
1500
1500
|
}>, {
|
|
1501
1501
|
active: boolean;
|
|
1502
1502
|
agentDid?: string | undefined;
|
|
1503
|
-
clientDid?: string | undefined;
|
|
1504
1503
|
expiresAt?: string | undefined;
|
|
1504
|
+
agentType?: string | undefined;
|
|
1505
1505
|
reason?: string | undefined;
|
|
1506
|
+
clientDid?: string | undefined;
|
|
1506
1507
|
clientName?: string | undefined;
|
|
1507
|
-
agentType?: string | undefined;
|
|
1508
1508
|
blockedAt?: string | undefined;
|
|
1509
1509
|
addedBy?: string | undefined;
|
|
1510
1510
|
}, {
|
|
1511
1511
|
agentDid?: string | undefined;
|
|
1512
|
-
clientDid?: string | undefined;
|
|
1513
1512
|
expiresAt?: string | undefined;
|
|
1513
|
+
agentType?: string | undefined;
|
|
1514
1514
|
reason?: string | undefined;
|
|
1515
1515
|
active?: boolean | undefined;
|
|
1516
|
+
clientDid?: string | undefined;
|
|
1516
1517
|
clientName?: string | undefined;
|
|
1517
|
-
agentType?: string | undefined;
|
|
1518
1518
|
blockedAt?: string | undefined;
|
|
1519
1519
|
addedBy?: string | undefined;
|
|
1520
1520
|
}>, "many">>;
|
|
@@ -1536,34 +1536,34 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1536
1536
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
1537
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1538
1538
|
agentDid?: string | undefined;
|
|
1539
|
-
|
|
1539
|
+
agentType?: string | undefined;
|
|
1540
1540
|
reason?: string | undefined;
|
|
1541
|
+
clientDid?: string | undefined;
|
|
1541
1542
|
clientName?: string | undefined;
|
|
1542
|
-
agentType?: string | undefined;
|
|
1543
1543
|
addedBy?: string | undefined;
|
|
1544
1544
|
addedAt?: string | undefined;
|
|
1545
1545
|
}, {
|
|
1546
1546
|
agentDid?: string | undefined;
|
|
1547
|
-
|
|
1547
|
+
agentType?: string | undefined;
|
|
1548
1548
|
reason?: string | undefined;
|
|
1549
|
+
clientDid?: string | undefined;
|
|
1549
1550
|
clientName?: string | undefined;
|
|
1550
|
-
agentType?: string | undefined;
|
|
1551
1551
|
addedBy?: string | undefined;
|
|
1552
1552
|
addedAt?: string | undefined;
|
|
1553
1553
|
}>, {
|
|
1554
1554
|
agentDid?: string | undefined;
|
|
1555
|
-
|
|
1555
|
+
agentType?: string | undefined;
|
|
1556
1556
|
reason?: string | undefined;
|
|
1557
|
+
clientDid?: string | undefined;
|
|
1557
1558
|
clientName?: string | undefined;
|
|
1558
|
-
agentType?: string | undefined;
|
|
1559
1559
|
addedBy?: string | undefined;
|
|
1560
1560
|
addedAt?: string | undefined;
|
|
1561
1561
|
}, {
|
|
1562
1562
|
agentDid?: string | undefined;
|
|
1563
|
-
|
|
1563
|
+
agentType?: string | undefined;
|
|
1564
1564
|
reason?: string | undefined;
|
|
1565
|
+
clientDid?: string | undefined;
|
|
1565
1566
|
clientName?: string | undefined;
|
|
1566
|
-
agentType?: string | undefined;
|
|
1567
1567
|
addedBy?: string | undefined;
|
|
1568
1568
|
addedAt?: string | undefined;
|
|
1569
1569
|
}>, "many">>;
|
|
@@ -1592,13 +1592,13 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1592
1592
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1593
1593
|
}, "strip", z.ZodTypeAny, {
|
|
1594
1594
|
value: string | number | boolean | string[];
|
|
1595
|
-
field: "path" | "agentDid" | "
|
|
1596
|
-
operator: "
|
|
1595
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1596
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1597
1597
|
caseInsensitive?: boolean | undefined;
|
|
1598
1598
|
}, {
|
|
1599
1599
|
value: string | number | boolean | string[];
|
|
1600
|
-
field: "path" | "agentDid" | "
|
|
1601
|
-
operator: "
|
|
1600
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1601
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1602
1602
|
caseInsensitive?: boolean | undefined;
|
|
1603
1603
|
}>, "many">;
|
|
1604
1604
|
/** Action to take when conditions match */
|
|
@@ -1624,83 +1624,83 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1624
1624
|
createdBy?: string | undefined;
|
|
1625
1625
|
}>>;
|
|
1626
1626
|
}, "strip", z.ZodTypeAny, {
|
|
1627
|
-
name: string;
|
|
1628
1627
|
id: string;
|
|
1628
|
+
name: string;
|
|
1629
1629
|
enabled: boolean;
|
|
1630
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1631
1630
|
priority: number;
|
|
1632
1631
|
conditions: {
|
|
1633
1632
|
value: string | number | boolean | string[];
|
|
1634
|
-
field: "path" | "agentDid" | "
|
|
1635
|
-
operator: "
|
|
1633
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1634
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1636
1635
|
caseInsensitive?: boolean | undefined;
|
|
1637
1636
|
}[];
|
|
1637
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1638
1638
|
message?: string | undefined;
|
|
1639
|
+
description?: string | undefined;
|
|
1639
1640
|
metadata?: {
|
|
1640
1641
|
createdAt?: string | undefined;
|
|
1641
1642
|
updatedAt?: string | undefined;
|
|
1642
1643
|
createdBy?: string | undefined;
|
|
1643
1644
|
} | undefined;
|
|
1644
|
-
description?: string | undefined;
|
|
1645
1645
|
redirectUrl?: string | undefined;
|
|
1646
1646
|
}, {
|
|
1647
|
-
name: string;
|
|
1648
1647
|
id: string;
|
|
1649
|
-
|
|
1648
|
+
name: string;
|
|
1650
1649
|
conditions: {
|
|
1651
1650
|
value: string | number | boolean | string[];
|
|
1652
|
-
field: "path" | "agentDid" | "
|
|
1653
|
-
operator: "
|
|
1651
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1652
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1654
1653
|
caseInsensitive?: boolean | undefined;
|
|
1655
1654
|
}[];
|
|
1655
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1656
1656
|
message?: string | undefined;
|
|
1657
|
+
description?: string | undefined;
|
|
1657
1658
|
metadata?: {
|
|
1658
1659
|
createdAt?: string | undefined;
|
|
1659
1660
|
updatedAt?: string | undefined;
|
|
1660
1661
|
createdBy?: string | undefined;
|
|
1661
1662
|
} | undefined;
|
|
1662
1663
|
enabled?: boolean | undefined;
|
|
1663
|
-
description?: string | undefined;
|
|
1664
1664
|
priority?: number | undefined;
|
|
1665
1665
|
redirectUrl?: string | undefined;
|
|
1666
1666
|
}>, {
|
|
1667
|
-
name: string;
|
|
1668
1667
|
id: string;
|
|
1668
|
+
name: string;
|
|
1669
1669
|
enabled: boolean;
|
|
1670
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1671
1670
|
priority: number;
|
|
1672
1671
|
conditions: {
|
|
1673
1672
|
value: string | number | boolean | string[];
|
|
1674
|
-
field: "path" | "agentDid" | "
|
|
1675
|
-
operator: "
|
|
1673
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1674
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1676
1675
|
caseInsensitive?: boolean | undefined;
|
|
1677
1676
|
}[];
|
|
1677
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1678
1678
|
message?: string | undefined;
|
|
1679
|
+
description?: string | undefined;
|
|
1679
1680
|
metadata?: {
|
|
1680
1681
|
createdAt?: string | undefined;
|
|
1681
1682
|
updatedAt?: string | undefined;
|
|
1682
1683
|
createdBy?: string | undefined;
|
|
1683
1684
|
} | undefined;
|
|
1684
|
-
description?: string | undefined;
|
|
1685
1685
|
redirectUrl?: string | undefined;
|
|
1686
1686
|
}, {
|
|
1687
|
-
name: string;
|
|
1688
1687
|
id: string;
|
|
1689
|
-
|
|
1688
|
+
name: string;
|
|
1690
1689
|
conditions: {
|
|
1691
1690
|
value: string | number | boolean | string[];
|
|
1692
|
-
field: "path" | "agentDid" | "
|
|
1693
|
-
operator: "
|
|
1691
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1692
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1694
1693
|
caseInsensitive?: boolean | undefined;
|
|
1695
1694
|
}[];
|
|
1695
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1696
1696
|
message?: string | undefined;
|
|
1697
|
+
description?: string | undefined;
|
|
1697
1698
|
metadata?: {
|
|
1698
1699
|
createdAt?: string | undefined;
|
|
1699
1700
|
updatedAt?: string | undefined;
|
|
1700
1701
|
createdBy?: string | undefined;
|
|
1701
1702
|
} | undefined;
|
|
1702
1703
|
enabled?: boolean | undefined;
|
|
1703
|
-
description?: string | undefined;
|
|
1704
1704
|
priority?: number | undefined;
|
|
1705
1705
|
redirectUrl?: string | undefined;
|
|
1706
1706
|
}>, "many">>;
|
|
@@ -1727,9 +1727,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1727
1727
|
enabled: boolean;
|
|
1728
1728
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1729
1729
|
thresholds: {
|
|
1730
|
+
minReputationScore: number;
|
|
1730
1731
|
confidenceThreshold: number;
|
|
1731
1732
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1732
|
-
minReputationScore: number;
|
|
1733
1733
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1734
1734
|
trustedReputationThreshold: number;
|
|
1735
1735
|
trustSignedRequests: boolean;
|
|
@@ -1737,42 +1737,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1737
1737
|
denyList: {
|
|
1738
1738
|
active: boolean;
|
|
1739
1739
|
agentDid?: string | undefined;
|
|
1740
|
-
clientDid?: string | undefined;
|
|
1741
1740
|
expiresAt?: string | undefined;
|
|
1741
|
+
agentType?: string | undefined;
|
|
1742
1742
|
reason?: string | undefined;
|
|
1743
|
+
clientDid?: string | undefined;
|
|
1743
1744
|
clientName?: string | undefined;
|
|
1744
|
-
agentType?: string | undefined;
|
|
1745
1745
|
blockedAt?: string | undefined;
|
|
1746
1746
|
addedBy?: string | undefined;
|
|
1747
1747
|
}[];
|
|
1748
1748
|
allowList: {
|
|
1749
1749
|
agentDid?: string | undefined;
|
|
1750
|
-
|
|
1750
|
+
agentType?: string | undefined;
|
|
1751
1751
|
reason?: string | undefined;
|
|
1752
|
+
clientDid?: string | undefined;
|
|
1752
1753
|
clientName?: string | undefined;
|
|
1753
|
-
agentType?: string | undefined;
|
|
1754
1754
|
addedBy?: string | undefined;
|
|
1755
1755
|
addedAt?: string | undefined;
|
|
1756
1756
|
}[];
|
|
1757
1757
|
rules: {
|
|
1758
|
-
name: string;
|
|
1759
1758
|
id: string;
|
|
1759
|
+
name: string;
|
|
1760
1760
|
enabled: boolean;
|
|
1761
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1762
1761
|
priority: number;
|
|
1763
1762
|
conditions: {
|
|
1764
1763
|
value: string | number | boolean | string[];
|
|
1765
|
-
field: "path" | "agentDid" | "
|
|
1766
|
-
operator: "
|
|
1764
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1765
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1767
1766
|
caseInsensitive?: boolean | undefined;
|
|
1768
1767
|
}[];
|
|
1768
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1769
1769
|
message?: string | undefined;
|
|
1770
|
+
description?: string | undefined;
|
|
1770
1771
|
metadata?: {
|
|
1771
1772
|
createdAt?: string | undefined;
|
|
1772
1773
|
updatedAt?: string | undefined;
|
|
1773
1774
|
createdBy?: string | undefined;
|
|
1774
1775
|
} | undefined;
|
|
1775
|
-
description?: string | undefined;
|
|
1776
1776
|
redirectUrl?: string | undefined;
|
|
1777
1777
|
}[];
|
|
1778
1778
|
excludedPaths: string[];
|
|
@@ -1784,61 +1784,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1784
1784
|
redirectUrl?: string | undefined;
|
|
1785
1785
|
includedPaths?: string[] | undefined;
|
|
1786
1786
|
}, {
|
|
1787
|
+
version?: string | undefined;
|
|
1787
1788
|
metadata?: {
|
|
1788
1789
|
lastUpdated?: string | undefined;
|
|
1789
1790
|
updatedBy?: string | undefined;
|
|
1790
1791
|
policyId?: string | undefined;
|
|
1791
1792
|
} | undefined;
|
|
1792
|
-
version?: string | undefined;
|
|
1793
1793
|
enabled?: boolean | undefined;
|
|
1794
1794
|
redirectUrl?: string | undefined;
|
|
1795
1795
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1796
1796
|
thresholds?: {
|
|
1797
|
+
minReputationScore?: number | undefined;
|
|
1797
1798
|
confidenceThreshold?: number | undefined;
|
|
1798
1799
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1799
|
-
minReputationScore?: number | undefined;
|
|
1800
1800
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1801
1801
|
trustedReputationThreshold?: number | undefined;
|
|
1802
1802
|
trustSignedRequests?: boolean | undefined;
|
|
1803
1803
|
} | undefined;
|
|
1804
1804
|
denyList?: {
|
|
1805
1805
|
agentDid?: string | undefined;
|
|
1806
|
-
clientDid?: string | undefined;
|
|
1807
1806
|
expiresAt?: string | undefined;
|
|
1807
|
+
agentType?: string | undefined;
|
|
1808
1808
|
reason?: string | undefined;
|
|
1809
1809
|
active?: boolean | undefined;
|
|
1810
|
+
clientDid?: string | undefined;
|
|
1810
1811
|
clientName?: string | undefined;
|
|
1811
|
-
agentType?: string | undefined;
|
|
1812
1812
|
blockedAt?: string | undefined;
|
|
1813
1813
|
addedBy?: string | undefined;
|
|
1814
1814
|
}[] | undefined;
|
|
1815
1815
|
allowList?: {
|
|
1816
1816
|
agentDid?: string | undefined;
|
|
1817
|
-
|
|
1817
|
+
agentType?: string | undefined;
|
|
1818
1818
|
reason?: string | undefined;
|
|
1819
|
+
clientDid?: string | undefined;
|
|
1819
1820
|
clientName?: string | undefined;
|
|
1820
|
-
agentType?: string | undefined;
|
|
1821
1821
|
addedBy?: string | undefined;
|
|
1822
1822
|
addedAt?: string | undefined;
|
|
1823
1823
|
}[] | undefined;
|
|
1824
1824
|
rules?: {
|
|
1825
|
-
name: string;
|
|
1826
1825
|
id: string;
|
|
1827
|
-
|
|
1826
|
+
name: string;
|
|
1828
1827
|
conditions: {
|
|
1829
1828
|
value: string | number | boolean | string[];
|
|
1830
|
-
field: "path" | "agentDid" | "
|
|
1831
|
-
operator: "
|
|
1829
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1830
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1832
1831
|
caseInsensitive?: boolean | undefined;
|
|
1833
1832
|
}[];
|
|
1833
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1834
1834
|
message?: string | undefined;
|
|
1835
|
+
description?: string | undefined;
|
|
1835
1836
|
metadata?: {
|
|
1836
1837
|
createdAt?: string | undefined;
|
|
1837
1838
|
updatedAt?: string | undefined;
|
|
1838
1839
|
createdBy?: string | undefined;
|
|
1839
1840
|
} | undefined;
|
|
1840
1841
|
enabled?: boolean | undefined;
|
|
1841
|
-
description?: string | undefined;
|
|
1842
1842
|
priority?: number | undefined;
|
|
1843
1843
|
redirectUrl?: string | undefined;
|
|
1844
1844
|
}[] | undefined;
|
|
@@ -1849,9 +1849,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1849
1849
|
enabled: boolean;
|
|
1850
1850
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1851
1851
|
thresholds: {
|
|
1852
|
+
minReputationScore: number;
|
|
1852
1853
|
confidenceThreshold: number;
|
|
1853
1854
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1854
|
-
minReputationScore: number;
|
|
1855
1855
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1856
1856
|
trustedReputationThreshold: number;
|
|
1857
1857
|
trustSignedRequests: boolean;
|
|
@@ -1859,42 +1859,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1859
1859
|
denyList: {
|
|
1860
1860
|
active: boolean;
|
|
1861
1861
|
agentDid?: string | undefined;
|
|
1862
|
-
clientDid?: string | undefined;
|
|
1863
1862
|
expiresAt?: string | undefined;
|
|
1863
|
+
agentType?: string | undefined;
|
|
1864
1864
|
reason?: string | undefined;
|
|
1865
|
+
clientDid?: string | undefined;
|
|
1865
1866
|
clientName?: string | undefined;
|
|
1866
|
-
agentType?: string | undefined;
|
|
1867
1867
|
blockedAt?: string | undefined;
|
|
1868
1868
|
addedBy?: string | undefined;
|
|
1869
1869
|
}[];
|
|
1870
1870
|
allowList: {
|
|
1871
1871
|
agentDid?: string | undefined;
|
|
1872
|
-
|
|
1872
|
+
agentType?: string | undefined;
|
|
1873
1873
|
reason?: string | undefined;
|
|
1874
|
+
clientDid?: string | undefined;
|
|
1874
1875
|
clientName?: string | undefined;
|
|
1875
|
-
agentType?: string | undefined;
|
|
1876
1876
|
addedBy?: string | undefined;
|
|
1877
1877
|
addedAt?: string | undefined;
|
|
1878
1878
|
}[];
|
|
1879
1879
|
rules: {
|
|
1880
|
-
name: string;
|
|
1881
1880
|
id: string;
|
|
1881
|
+
name: string;
|
|
1882
1882
|
enabled: boolean;
|
|
1883
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1884
1883
|
priority: number;
|
|
1885
1884
|
conditions: {
|
|
1886
1885
|
value: string | number | boolean | string[];
|
|
1887
|
-
field: "path" | "agentDid" | "
|
|
1888
|
-
operator: "
|
|
1886
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1887
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1889
1888
|
caseInsensitive?: boolean | undefined;
|
|
1890
1889
|
}[];
|
|
1890
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1891
1891
|
message?: string | undefined;
|
|
1892
|
+
description?: string | undefined;
|
|
1892
1893
|
metadata?: {
|
|
1893
1894
|
createdAt?: string | undefined;
|
|
1894
1895
|
updatedAt?: string | undefined;
|
|
1895
1896
|
createdBy?: string | undefined;
|
|
1896
1897
|
} | undefined;
|
|
1897
|
-
description?: string | undefined;
|
|
1898
1898
|
redirectUrl?: string | undefined;
|
|
1899
1899
|
}[];
|
|
1900
1900
|
excludedPaths: string[];
|
|
@@ -1906,61 +1906,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1906
1906
|
redirectUrl?: string | undefined;
|
|
1907
1907
|
includedPaths?: string[] | undefined;
|
|
1908
1908
|
}, {
|
|
1909
|
+
version?: string | undefined;
|
|
1909
1910
|
metadata?: {
|
|
1910
1911
|
lastUpdated?: string | undefined;
|
|
1911
1912
|
updatedBy?: string | undefined;
|
|
1912
1913
|
policyId?: string | undefined;
|
|
1913
1914
|
} | undefined;
|
|
1914
|
-
version?: string | undefined;
|
|
1915
1915
|
enabled?: boolean | undefined;
|
|
1916
1916
|
redirectUrl?: string | undefined;
|
|
1917
1917
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1918
1918
|
thresholds?: {
|
|
1919
|
+
minReputationScore?: number | undefined;
|
|
1919
1920
|
confidenceThreshold?: number | undefined;
|
|
1920
1921
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1921
|
-
minReputationScore?: number | undefined;
|
|
1922
1922
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
1923
1923
|
trustedReputationThreshold?: number | undefined;
|
|
1924
1924
|
trustSignedRequests?: boolean | undefined;
|
|
1925
1925
|
} | undefined;
|
|
1926
1926
|
denyList?: {
|
|
1927
1927
|
agentDid?: string | undefined;
|
|
1928
|
-
clientDid?: string | undefined;
|
|
1929
1928
|
expiresAt?: string | undefined;
|
|
1929
|
+
agentType?: string | undefined;
|
|
1930
1930
|
reason?: string | undefined;
|
|
1931
1931
|
active?: boolean | undefined;
|
|
1932
|
+
clientDid?: string | undefined;
|
|
1932
1933
|
clientName?: string | undefined;
|
|
1933
|
-
agentType?: string | undefined;
|
|
1934
1934
|
blockedAt?: string | undefined;
|
|
1935
1935
|
addedBy?: string | undefined;
|
|
1936
1936
|
}[] | undefined;
|
|
1937
1937
|
allowList?: {
|
|
1938
1938
|
agentDid?: string | undefined;
|
|
1939
|
-
|
|
1939
|
+
agentType?: string | undefined;
|
|
1940
1940
|
reason?: string | undefined;
|
|
1941
|
+
clientDid?: string | undefined;
|
|
1941
1942
|
clientName?: string | undefined;
|
|
1942
|
-
agentType?: string | undefined;
|
|
1943
1943
|
addedBy?: string | undefined;
|
|
1944
1944
|
addedAt?: string | undefined;
|
|
1945
1945
|
}[] | undefined;
|
|
1946
1946
|
rules?: {
|
|
1947
|
-
name: string;
|
|
1948
1947
|
id: string;
|
|
1949
|
-
|
|
1948
|
+
name: string;
|
|
1950
1949
|
conditions: {
|
|
1951
1950
|
value: string | number | boolean | string[];
|
|
1952
|
-
field: "path" | "agentDid" | "
|
|
1953
|
-
operator: "
|
|
1951
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
1952
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
1954
1953
|
caseInsensitive?: boolean | undefined;
|
|
1955
1954
|
}[];
|
|
1955
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1956
1956
|
message?: string | undefined;
|
|
1957
|
+
description?: string | undefined;
|
|
1957
1958
|
metadata?: {
|
|
1958
1959
|
createdAt?: string | undefined;
|
|
1959
1960
|
updatedAt?: string | undefined;
|
|
1960
1961
|
createdBy?: string | undefined;
|
|
1961
1962
|
} | undefined;
|
|
1962
1963
|
enabled?: boolean | undefined;
|
|
1963
|
-
description?: string | undefined;
|
|
1964
1964
|
priority?: number | undefined;
|
|
1965
1965
|
redirectUrl?: string | undefined;
|
|
1966
1966
|
}[] | undefined;
|
|
@@ -1973,9 +1973,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1973
1973
|
enabled: boolean;
|
|
1974
1974
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1975
1975
|
thresholds: {
|
|
1976
|
+
minReputationScore: number;
|
|
1976
1977
|
confidenceThreshold: number;
|
|
1977
1978
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1978
|
-
minReputationScore: number;
|
|
1979
1979
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
1980
1980
|
trustedReputationThreshold: number;
|
|
1981
1981
|
trustSignedRequests: boolean;
|
|
@@ -1983,42 +1983,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
1983
1983
|
denyList: {
|
|
1984
1984
|
active: boolean;
|
|
1985
1985
|
agentDid?: string | undefined;
|
|
1986
|
-
clientDid?: string | undefined;
|
|
1987
1986
|
expiresAt?: string | undefined;
|
|
1987
|
+
agentType?: string | undefined;
|
|
1988
1988
|
reason?: string | undefined;
|
|
1989
|
+
clientDid?: string | undefined;
|
|
1989
1990
|
clientName?: string | undefined;
|
|
1990
|
-
agentType?: string | undefined;
|
|
1991
1991
|
blockedAt?: string | undefined;
|
|
1992
1992
|
addedBy?: string | undefined;
|
|
1993
1993
|
}[];
|
|
1994
1994
|
allowList: {
|
|
1995
1995
|
agentDid?: string | undefined;
|
|
1996
|
-
|
|
1996
|
+
agentType?: string | undefined;
|
|
1997
1997
|
reason?: string | undefined;
|
|
1998
|
+
clientDid?: string | undefined;
|
|
1998
1999
|
clientName?: string | undefined;
|
|
1999
|
-
agentType?: string | undefined;
|
|
2000
2000
|
addedBy?: string | undefined;
|
|
2001
2001
|
addedAt?: string | undefined;
|
|
2002
2002
|
}[];
|
|
2003
2003
|
rules: {
|
|
2004
|
-
name: string;
|
|
2005
2004
|
id: string;
|
|
2005
|
+
name: string;
|
|
2006
2006
|
enabled: boolean;
|
|
2007
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2008
2007
|
priority: number;
|
|
2009
2008
|
conditions: {
|
|
2010
2009
|
value: string | number | boolean | string[];
|
|
2011
|
-
field: "path" | "agentDid" | "
|
|
2012
|
-
operator: "
|
|
2010
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2011
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2013
2012
|
caseInsensitive?: boolean | undefined;
|
|
2014
2013
|
}[];
|
|
2014
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2015
2015
|
message?: string | undefined;
|
|
2016
|
+
description?: string | undefined;
|
|
2016
2017
|
metadata?: {
|
|
2017
2018
|
createdAt?: string | undefined;
|
|
2018
2019
|
updatedAt?: string | undefined;
|
|
2019
2020
|
createdBy?: string | undefined;
|
|
2020
2021
|
} | undefined;
|
|
2021
|
-
description?: string | undefined;
|
|
2022
2022
|
redirectUrl?: string | undefined;
|
|
2023
2023
|
}[];
|
|
2024
2024
|
excludedPaths: string[];
|
|
@@ -2032,61 +2032,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2032
2032
|
};
|
|
2033
2033
|
}, {
|
|
2034
2034
|
policy: {
|
|
2035
|
+
version?: string | undefined;
|
|
2035
2036
|
metadata?: {
|
|
2036
2037
|
lastUpdated?: string | undefined;
|
|
2037
2038
|
updatedBy?: string | undefined;
|
|
2038
2039
|
policyId?: string | undefined;
|
|
2039
2040
|
} | undefined;
|
|
2040
|
-
version?: string | undefined;
|
|
2041
2041
|
enabled?: boolean | undefined;
|
|
2042
2042
|
redirectUrl?: string | undefined;
|
|
2043
2043
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2044
2044
|
thresholds?: {
|
|
2045
|
+
minReputationScore?: number | undefined;
|
|
2045
2046
|
confidenceThreshold?: number | undefined;
|
|
2046
2047
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2047
|
-
minReputationScore?: number | undefined;
|
|
2048
2048
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2049
2049
|
trustedReputationThreshold?: number | undefined;
|
|
2050
2050
|
trustSignedRequests?: boolean | undefined;
|
|
2051
2051
|
} | undefined;
|
|
2052
2052
|
denyList?: {
|
|
2053
2053
|
agentDid?: string | undefined;
|
|
2054
|
-
clientDid?: string | undefined;
|
|
2055
2054
|
expiresAt?: string | undefined;
|
|
2055
|
+
agentType?: string | undefined;
|
|
2056
2056
|
reason?: string | undefined;
|
|
2057
2057
|
active?: boolean | undefined;
|
|
2058
|
+
clientDid?: string | undefined;
|
|
2058
2059
|
clientName?: string | undefined;
|
|
2059
|
-
agentType?: string | undefined;
|
|
2060
2060
|
blockedAt?: string | undefined;
|
|
2061
2061
|
addedBy?: string | undefined;
|
|
2062
2062
|
}[] | undefined;
|
|
2063
2063
|
allowList?: {
|
|
2064
2064
|
agentDid?: string | undefined;
|
|
2065
|
-
|
|
2065
|
+
agentType?: string | undefined;
|
|
2066
2066
|
reason?: string | undefined;
|
|
2067
|
+
clientDid?: string | undefined;
|
|
2067
2068
|
clientName?: string | undefined;
|
|
2068
|
-
agentType?: string | undefined;
|
|
2069
2069
|
addedBy?: string | undefined;
|
|
2070
2070
|
addedAt?: string | undefined;
|
|
2071
2071
|
}[] | undefined;
|
|
2072
2072
|
rules?: {
|
|
2073
|
-
name: string;
|
|
2074
2073
|
id: string;
|
|
2075
|
-
|
|
2074
|
+
name: string;
|
|
2076
2075
|
conditions: {
|
|
2077
2076
|
value: string | number | boolean | string[];
|
|
2078
|
-
field: "path" | "agentDid" | "
|
|
2079
|
-
operator: "
|
|
2077
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2078
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2080
2079
|
caseInsensitive?: boolean | undefined;
|
|
2081
2080
|
}[];
|
|
2081
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2082
2082
|
message?: string | undefined;
|
|
2083
|
+
description?: string | undefined;
|
|
2083
2084
|
metadata?: {
|
|
2084
2085
|
createdAt?: string | undefined;
|
|
2085
2086
|
updatedAt?: string | undefined;
|
|
2086
2087
|
createdBy?: string | undefined;
|
|
2087
2088
|
} | undefined;
|
|
2088
2089
|
enabled?: boolean | undefined;
|
|
2089
|
-
description?: string | undefined;
|
|
2090
2090
|
priority?: number | undefined;
|
|
2091
2091
|
redirectUrl?: string | undefined;
|
|
2092
2092
|
}[] | undefined;
|
|
@@ -2115,9 +2115,9 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2115
2115
|
enabled: boolean;
|
|
2116
2116
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2117
2117
|
thresholds: {
|
|
2118
|
+
minReputationScore: number;
|
|
2118
2119
|
confidenceThreshold: number;
|
|
2119
2120
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2120
|
-
minReputationScore: number;
|
|
2121
2121
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2122
2122
|
trustedReputationThreshold: number;
|
|
2123
2123
|
trustSignedRequests: boolean;
|
|
@@ -2125,42 +2125,42 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2125
2125
|
denyList: {
|
|
2126
2126
|
active: boolean;
|
|
2127
2127
|
agentDid?: string | undefined;
|
|
2128
|
-
clientDid?: string | undefined;
|
|
2129
2128
|
expiresAt?: string | undefined;
|
|
2129
|
+
agentType?: string | undefined;
|
|
2130
2130
|
reason?: string | undefined;
|
|
2131
|
+
clientDid?: string | undefined;
|
|
2131
2132
|
clientName?: string | undefined;
|
|
2132
|
-
agentType?: string | undefined;
|
|
2133
2133
|
blockedAt?: string | undefined;
|
|
2134
2134
|
addedBy?: string | undefined;
|
|
2135
2135
|
}[];
|
|
2136
2136
|
allowList: {
|
|
2137
2137
|
agentDid?: string | undefined;
|
|
2138
|
-
|
|
2138
|
+
agentType?: string | undefined;
|
|
2139
2139
|
reason?: string | undefined;
|
|
2140
|
+
clientDid?: string | undefined;
|
|
2140
2141
|
clientName?: string | undefined;
|
|
2141
|
-
agentType?: string | undefined;
|
|
2142
2142
|
addedBy?: string | undefined;
|
|
2143
2143
|
addedAt?: string | undefined;
|
|
2144
2144
|
}[];
|
|
2145
2145
|
rules: {
|
|
2146
|
-
name: string;
|
|
2147
2146
|
id: string;
|
|
2147
|
+
name: string;
|
|
2148
2148
|
enabled: boolean;
|
|
2149
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2150
2149
|
priority: number;
|
|
2151
2150
|
conditions: {
|
|
2152
2151
|
value: string | number | boolean | string[];
|
|
2153
|
-
field: "path" | "agentDid" | "
|
|
2154
|
-
operator: "
|
|
2152
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2153
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2155
2154
|
caseInsensitive?: boolean | undefined;
|
|
2156
2155
|
}[];
|
|
2156
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2157
2157
|
message?: string | undefined;
|
|
2158
|
+
description?: string | undefined;
|
|
2158
2159
|
metadata?: {
|
|
2159
2160
|
createdAt?: string | undefined;
|
|
2160
2161
|
updatedAt?: string | undefined;
|
|
2161
2162
|
createdBy?: string | undefined;
|
|
2162
2163
|
} | undefined;
|
|
2163
|
-
description?: string | undefined;
|
|
2164
2164
|
redirectUrl?: string | undefined;
|
|
2165
2165
|
}[];
|
|
2166
2166
|
excludedPaths: string[];
|
|
@@ -2182,61 +2182,61 @@ export declare const GetPolicyResponseSchema: z.ZodObject<{
|
|
|
2182
2182
|
success: boolean;
|
|
2183
2183
|
data: {
|
|
2184
2184
|
policy: {
|
|
2185
|
+
version?: string | undefined;
|
|
2185
2186
|
metadata?: {
|
|
2186
2187
|
lastUpdated?: string | undefined;
|
|
2187
2188
|
updatedBy?: string | undefined;
|
|
2188
2189
|
policyId?: string | undefined;
|
|
2189
2190
|
} | undefined;
|
|
2190
|
-
version?: string | undefined;
|
|
2191
2191
|
enabled?: boolean | undefined;
|
|
2192
2192
|
redirectUrl?: string | undefined;
|
|
2193
2193
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2194
2194
|
thresholds?: {
|
|
2195
|
+
minReputationScore?: number | undefined;
|
|
2195
2196
|
confidenceThreshold?: number | undefined;
|
|
2196
2197
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2197
|
-
minReputationScore?: number | undefined;
|
|
2198
2198
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2199
2199
|
trustedReputationThreshold?: number | undefined;
|
|
2200
2200
|
trustSignedRequests?: boolean | undefined;
|
|
2201
2201
|
} | undefined;
|
|
2202
2202
|
denyList?: {
|
|
2203
2203
|
agentDid?: string | undefined;
|
|
2204
|
-
clientDid?: string | undefined;
|
|
2205
2204
|
expiresAt?: string | undefined;
|
|
2205
|
+
agentType?: string | undefined;
|
|
2206
2206
|
reason?: string | undefined;
|
|
2207
2207
|
active?: boolean | undefined;
|
|
2208
|
+
clientDid?: string | undefined;
|
|
2208
2209
|
clientName?: string | undefined;
|
|
2209
|
-
agentType?: string | undefined;
|
|
2210
2210
|
blockedAt?: string | undefined;
|
|
2211
2211
|
addedBy?: string | undefined;
|
|
2212
2212
|
}[] | undefined;
|
|
2213
2213
|
allowList?: {
|
|
2214
2214
|
agentDid?: string | undefined;
|
|
2215
|
-
|
|
2215
|
+
agentType?: string | undefined;
|
|
2216
2216
|
reason?: string | undefined;
|
|
2217
|
+
clientDid?: string | undefined;
|
|
2217
2218
|
clientName?: string | undefined;
|
|
2218
|
-
agentType?: string | undefined;
|
|
2219
2219
|
addedBy?: string | undefined;
|
|
2220
2220
|
addedAt?: string | undefined;
|
|
2221
2221
|
}[] | undefined;
|
|
2222
2222
|
rules?: {
|
|
2223
|
-
name: string;
|
|
2224
2223
|
id: string;
|
|
2225
|
-
|
|
2224
|
+
name: string;
|
|
2226
2225
|
conditions: {
|
|
2227
2226
|
value: string | number | boolean | string[];
|
|
2228
|
-
field: "path" | "agentDid" | "
|
|
2229
|
-
operator: "
|
|
2227
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2228
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2230
2229
|
caseInsensitive?: boolean | undefined;
|
|
2231
2230
|
}[];
|
|
2231
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2232
2232
|
message?: string | undefined;
|
|
2233
|
+
description?: string | undefined;
|
|
2233
2234
|
metadata?: {
|
|
2234
2235
|
createdAt?: string | undefined;
|
|
2235
2236
|
updatedAt?: string | undefined;
|
|
2236
2237
|
createdBy?: string | undefined;
|
|
2237
2238
|
} | undefined;
|
|
2238
2239
|
enabled?: boolean | undefined;
|
|
2239
|
-
description?: string | undefined;
|
|
2240
2240
|
priority?: number | undefined;
|
|
2241
2241
|
redirectUrl?: string | undefined;
|
|
2242
2242
|
}[] | undefined;
|
|
@@ -2297,16 +2297,16 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2297
2297
|
*/
|
|
2298
2298
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2299
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2300
|
+
minReputationScore: number;
|
|
2300
2301
|
confidenceThreshold: number;
|
|
2301
2302
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2302
|
-
minReputationScore: number;
|
|
2303
2303
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2304
2304
|
trustedReputationThreshold: number;
|
|
2305
2305
|
trustSignedRequests: boolean;
|
|
2306
2306
|
}, {
|
|
2307
|
+
minReputationScore?: number | undefined;
|
|
2307
2308
|
confidenceThreshold?: number | undefined;
|
|
2308
2309
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2309
|
-
minReputationScore?: number | undefined;
|
|
2310
2310
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2311
2311
|
trustedReputationThreshold?: number | undefined;
|
|
2312
2312
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -2333,41 +2333,41 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2333
2333
|
}, "strip", z.ZodTypeAny, {
|
|
2334
2334
|
active: boolean;
|
|
2335
2335
|
agentDid?: string | undefined;
|
|
2336
|
-
clientDid?: string | undefined;
|
|
2337
2336
|
expiresAt?: string | undefined;
|
|
2337
|
+
agentType?: string | undefined;
|
|
2338
2338
|
reason?: string | undefined;
|
|
2339
|
+
clientDid?: string | undefined;
|
|
2339
2340
|
clientName?: string | undefined;
|
|
2340
|
-
agentType?: string | undefined;
|
|
2341
2341
|
blockedAt?: string | undefined;
|
|
2342
2342
|
addedBy?: string | undefined;
|
|
2343
2343
|
}, {
|
|
2344
2344
|
agentDid?: string | undefined;
|
|
2345
|
-
clientDid?: string | undefined;
|
|
2346
2345
|
expiresAt?: string | undefined;
|
|
2346
|
+
agentType?: string | undefined;
|
|
2347
2347
|
reason?: string | undefined;
|
|
2348
2348
|
active?: boolean | undefined;
|
|
2349
|
+
clientDid?: string | undefined;
|
|
2349
2350
|
clientName?: string | undefined;
|
|
2350
|
-
agentType?: string | undefined;
|
|
2351
2351
|
blockedAt?: string | undefined;
|
|
2352
2352
|
addedBy?: string | undefined;
|
|
2353
2353
|
}>, {
|
|
2354
2354
|
active: boolean;
|
|
2355
2355
|
agentDid?: string | undefined;
|
|
2356
|
-
clientDid?: string | undefined;
|
|
2357
2356
|
expiresAt?: string | undefined;
|
|
2357
|
+
agentType?: string | undefined;
|
|
2358
2358
|
reason?: string | undefined;
|
|
2359
|
+
clientDid?: string | undefined;
|
|
2359
2360
|
clientName?: string | undefined;
|
|
2360
|
-
agentType?: string | undefined;
|
|
2361
2361
|
blockedAt?: string | undefined;
|
|
2362
2362
|
addedBy?: string | undefined;
|
|
2363
2363
|
}, {
|
|
2364
2364
|
agentDid?: string | undefined;
|
|
2365
|
-
clientDid?: string | undefined;
|
|
2366
2365
|
expiresAt?: string | undefined;
|
|
2366
|
+
agentType?: string | undefined;
|
|
2367
2367
|
reason?: string | undefined;
|
|
2368
2368
|
active?: boolean | undefined;
|
|
2369
|
+
clientDid?: string | undefined;
|
|
2369
2370
|
clientName?: string | undefined;
|
|
2370
|
-
agentType?: string | undefined;
|
|
2371
2371
|
blockedAt?: string | undefined;
|
|
2372
2372
|
addedBy?: string | undefined;
|
|
2373
2373
|
}>, "many">>>;
|
|
@@ -2388,34 +2388,34 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2388
2388
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
2389
2389
|
}, "strip", z.ZodTypeAny, {
|
|
2390
2390
|
agentDid?: string | undefined;
|
|
2391
|
-
|
|
2391
|
+
agentType?: string | undefined;
|
|
2392
2392
|
reason?: string | undefined;
|
|
2393
|
+
clientDid?: string | undefined;
|
|
2393
2394
|
clientName?: string | undefined;
|
|
2394
|
-
agentType?: string | undefined;
|
|
2395
2395
|
addedBy?: string | undefined;
|
|
2396
2396
|
addedAt?: string | undefined;
|
|
2397
2397
|
}, {
|
|
2398
2398
|
agentDid?: string | undefined;
|
|
2399
|
-
|
|
2399
|
+
agentType?: string | undefined;
|
|
2400
2400
|
reason?: string | undefined;
|
|
2401
|
+
clientDid?: string | undefined;
|
|
2401
2402
|
clientName?: string | undefined;
|
|
2402
|
-
agentType?: string | undefined;
|
|
2403
2403
|
addedBy?: string | undefined;
|
|
2404
2404
|
addedAt?: string | undefined;
|
|
2405
2405
|
}>, {
|
|
2406
2406
|
agentDid?: string | undefined;
|
|
2407
|
-
|
|
2407
|
+
agentType?: string | undefined;
|
|
2408
2408
|
reason?: string | undefined;
|
|
2409
|
+
clientDid?: string | undefined;
|
|
2409
2410
|
clientName?: string | undefined;
|
|
2410
|
-
agentType?: string | undefined;
|
|
2411
2411
|
addedBy?: string | undefined;
|
|
2412
2412
|
addedAt?: string | undefined;
|
|
2413
2413
|
}, {
|
|
2414
2414
|
agentDid?: string | undefined;
|
|
2415
|
-
|
|
2415
|
+
agentType?: string | undefined;
|
|
2416
2416
|
reason?: string | undefined;
|
|
2417
|
+
clientDid?: string | undefined;
|
|
2417
2418
|
clientName?: string | undefined;
|
|
2418
|
-
agentType?: string | undefined;
|
|
2419
2419
|
addedBy?: string | undefined;
|
|
2420
2420
|
addedAt?: string | undefined;
|
|
2421
2421
|
}>, "many">>>;
|
|
@@ -2443,13 +2443,13 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2443
2443
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2444
2444
|
}, "strip", z.ZodTypeAny, {
|
|
2445
2445
|
value: string | number | boolean | string[];
|
|
2446
|
-
field: "path" | "agentDid" | "
|
|
2447
|
-
operator: "
|
|
2446
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2447
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2448
2448
|
caseInsensitive?: boolean | undefined;
|
|
2449
2449
|
}, {
|
|
2450
2450
|
value: string | number | boolean | string[];
|
|
2451
|
-
field: "path" | "agentDid" | "
|
|
2452
|
-
operator: "
|
|
2451
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2452
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2453
2453
|
caseInsensitive?: boolean | undefined;
|
|
2454
2454
|
}>, "many">;
|
|
2455
2455
|
/** Action to take when conditions match */
|
|
@@ -2475,83 +2475,83 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2475
2475
|
createdBy?: string | undefined;
|
|
2476
2476
|
}>>;
|
|
2477
2477
|
}, "strip", z.ZodTypeAny, {
|
|
2478
|
-
name: string;
|
|
2479
2478
|
id: string;
|
|
2479
|
+
name: string;
|
|
2480
2480
|
enabled: boolean;
|
|
2481
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2482
2481
|
priority: number;
|
|
2483
2482
|
conditions: {
|
|
2484
2483
|
value: string | number | boolean | string[];
|
|
2485
|
-
field: "path" | "agentDid" | "
|
|
2486
|
-
operator: "
|
|
2484
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2485
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2487
2486
|
caseInsensitive?: boolean | undefined;
|
|
2488
2487
|
}[];
|
|
2488
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2489
2489
|
message?: string | undefined;
|
|
2490
|
+
description?: string | undefined;
|
|
2490
2491
|
metadata?: {
|
|
2491
2492
|
createdAt?: string | undefined;
|
|
2492
2493
|
updatedAt?: string | undefined;
|
|
2493
2494
|
createdBy?: string | undefined;
|
|
2494
2495
|
} | undefined;
|
|
2495
|
-
description?: string | undefined;
|
|
2496
2496
|
redirectUrl?: string | undefined;
|
|
2497
2497
|
}, {
|
|
2498
|
-
name: string;
|
|
2499
2498
|
id: string;
|
|
2500
|
-
|
|
2499
|
+
name: string;
|
|
2501
2500
|
conditions: {
|
|
2502
2501
|
value: string | number | boolean | string[];
|
|
2503
|
-
field: "path" | "agentDid" | "
|
|
2504
|
-
operator: "
|
|
2502
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2503
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2505
2504
|
caseInsensitive?: boolean | undefined;
|
|
2506
2505
|
}[];
|
|
2506
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2507
2507
|
message?: string | undefined;
|
|
2508
|
+
description?: string | undefined;
|
|
2508
2509
|
metadata?: {
|
|
2509
2510
|
createdAt?: string | undefined;
|
|
2510
2511
|
updatedAt?: string | undefined;
|
|
2511
2512
|
createdBy?: string | undefined;
|
|
2512
2513
|
} | undefined;
|
|
2513
2514
|
enabled?: boolean | undefined;
|
|
2514
|
-
description?: string | undefined;
|
|
2515
2515
|
priority?: number | undefined;
|
|
2516
2516
|
redirectUrl?: string | undefined;
|
|
2517
2517
|
}>, {
|
|
2518
|
-
name: string;
|
|
2519
2518
|
id: string;
|
|
2519
|
+
name: string;
|
|
2520
2520
|
enabled: boolean;
|
|
2521
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2522
2521
|
priority: number;
|
|
2523
2522
|
conditions: {
|
|
2524
2523
|
value: string | number | boolean | string[];
|
|
2525
|
-
field: "path" | "agentDid" | "
|
|
2526
|
-
operator: "
|
|
2524
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2525
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2527
2526
|
caseInsensitive?: boolean | undefined;
|
|
2528
2527
|
}[];
|
|
2528
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2529
2529
|
message?: string | undefined;
|
|
2530
|
+
description?: string | undefined;
|
|
2530
2531
|
metadata?: {
|
|
2531
2532
|
createdAt?: string | undefined;
|
|
2532
2533
|
updatedAt?: string | undefined;
|
|
2533
2534
|
createdBy?: string | undefined;
|
|
2534
2535
|
} | undefined;
|
|
2535
|
-
description?: string | undefined;
|
|
2536
2536
|
redirectUrl?: string | undefined;
|
|
2537
2537
|
}, {
|
|
2538
|
-
name: string;
|
|
2539
2538
|
id: string;
|
|
2540
|
-
|
|
2539
|
+
name: string;
|
|
2541
2540
|
conditions: {
|
|
2542
2541
|
value: string | number | boolean | string[];
|
|
2543
|
-
field: "path" | "agentDid" | "
|
|
2544
|
-
operator: "
|
|
2542
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2543
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2545
2544
|
caseInsensitive?: boolean | undefined;
|
|
2546
2545
|
}[];
|
|
2546
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2547
2547
|
message?: string | undefined;
|
|
2548
|
+
description?: string | undefined;
|
|
2548
2549
|
metadata?: {
|
|
2549
2550
|
createdAt?: string | undefined;
|
|
2550
2551
|
updatedAt?: string | undefined;
|
|
2551
2552
|
createdBy?: string | undefined;
|
|
2552
2553
|
} | undefined;
|
|
2553
2554
|
enabled?: boolean | undefined;
|
|
2554
|
-
description?: string | undefined;
|
|
2555
2555
|
priority?: number | undefined;
|
|
2556
2556
|
redirectUrl?: string | undefined;
|
|
2557
2557
|
}>, "many">>>;
|
|
@@ -2571,19 +2571,19 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2571
2571
|
policyId?: string | undefined;
|
|
2572
2572
|
}>>>;
|
|
2573
2573
|
}, "strip", z.ZodTypeAny, {
|
|
2574
|
+
version?: string | undefined;
|
|
2574
2575
|
metadata?: {
|
|
2575
2576
|
lastUpdated?: string | undefined;
|
|
2576
2577
|
updatedBy?: string | undefined;
|
|
2577
2578
|
policyId?: string | undefined;
|
|
2578
2579
|
} | undefined;
|
|
2579
|
-
version?: string | undefined;
|
|
2580
2580
|
enabled?: boolean | undefined;
|
|
2581
2581
|
redirectUrl?: string | undefined;
|
|
2582
2582
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2583
2583
|
thresholds?: {
|
|
2584
|
+
minReputationScore: number;
|
|
2584
2585
|
confidenceThreshold: number;
|
|
2585
2586
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2586
|
-
minReputationScore: number;
|
|
2587
2587
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2588
2588
|
trustedReputationThreshold: number;
|
|
2589
2589
|
trustSignedRequests: boolean;
|
|
@@ -2591,102 +2591,102 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2591
2591
|
denyList?: {
|
|
2592
2592
|
active: boolean;
|
|
2593
2593
|
agentDid?: string | undefined;
|
|
2594
|
-
clientDid?: string | undefined;
|
|
2595
2594
|
expiresAt?: string | undefined;
|
|
2595
|
+
agentType?: string | undefined;
|
|
2596
2596
|
reason?: string | undefined;
|
|
2597
|
+
clientDid?: string | undefined;
|
|
2597
2598
|
clientName?: string | undefined;
|
|
2598
|
-
agentType?: string | undefined;
|
|
2599
2599
|
blockedAt?: string | undefined;
|
|
2600
2600
|
addedBy?: string | undefined;
|
|
2601
2601
|
}[] | undefined;
|
|
2602
2602
|
allowList?: {
|
|
2603
2603
|
agentDid?: string | undefined;
|
|
2604
|
-
|
|
2604
|
+
agentType?: string | undefined;
|
|
2605
2605
|
reason?: string | undefined;
|
|
2606
|
+
clientDid?: string | undefined;
|
|
2606
2607
|
clientName?: string | undefined;
|
|
2607
|
-
agentType?: string | undefined;
|
|
2608
2608
|
addedBy?: string | undefined;
|
|
2609
2609
|
addedAt?: string | undefined;
|
|
2610
2610
|
}[] | undefined;
|
|
2611
2611
|
rules?: {
|
|
2612
|
-
name: string;
|
|
2613
2612
|
id: string;
|
|
2613
|
+
name: string;
|
|
2614
2614
|
enabled: boolean;
|
|
2615
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2616
2615
|
priority: number;
|
|
2617
2616
|
conditions: {
|
|
2618
2617
|
value: string | number | boolean | string[];
|
|
2619
|
-
field: "path" | "agentDid" | "
|
|
2620
|
-
operator: "
|
|
2618
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2619
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2621
2620
|
caseInsensitive?: boolean | undefined;
|
|
2622
2621
|
}[];
|
|
2622
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2623
2623
|
message?: string | undefined;
|
|
2624
|
+
description?: string | undefined;
|
|
2624
2625
|
metadata?: {
|
|
2625
2626
|
createdAt?: string | undefined;
|
|
2626
2627
|
updatedAt?: string | undefined;
|
|
2627
2628
|
createdBy?: string | undefined;
|
|
2628
2629
|
} | undefined;
|
|
2629
|
-
description?: string | undefined;
|
|
2630
2630
|
redirectUrl?: string | undefined;
|
|
2631
2631
|
}[] | undefined;
|
|
2632
2632
|
excludedPaths?: string[] | undefined;
|
|
2633
2633
|
includedPaths?: string[] | undefined;
|
|
2634
2634
|
}, {
|
|
2635
|
+
version?: string | undefined;
|
|
2635
2636
|
metadata?: {
|
|
2636
2637
|
lastUpdated?: string | undefined;
|
|
2637
2638
|
updatedBy?: string | undefined;
|
|
2638
2639
|
policyId?: string | undefined;
|
|
2639
2640
|
} | undefined;
|
|
2640
|
-
version?: string | undefined;
|
|
2641
2641
|
enabled?: boolean | undefined;
|
|
2642
2642
|
redirectUrl?: string | undefined;
|
|
2643
2643
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2644
2644
|
thresholds?: {
|
|
2645
|
+
minReputationScore?: number | undefined;
|
|
2645
2646
|
confidenceThreshold?: number | undefined;
|
|
2646
2647
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2647
|
-
minReputationScore?: number | undefined;
|
|
2648
2648
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2649
2649
|
trustedReputationThreshold?: number | undefined;
|
|
2650
2650
|
trustSignedRequests?: boolean | undefined;
|
|
2651
2651
|
} | undefined;
|
|
2652
2652
|
denyList?: {
|
|
2653
2653
|
agentDid?: string | undefined;
|
|
2654
|
-
clientDid?: string | undefined;
|
|
2655
2654
|
expiresAt?: string | undefined;
|
|
2655
|
+
agentType?: string | undefined;
|
|
2656
2656
|
reason?: string | undefined;
|
|
2657
2657
|
active?: boolean | undefined;
|
|
2658
|
+
clientDid?: string | undefined;
|
|
2658
2659
|
clientName?: string | undefined;
|
|
2659
|
-
agentType?: string | undefined;
|
|
2660
2660
|
blockedAt?: string | undefined;
|
|
2661
2661
|
addedBy?: string | undefined;
|
|
2662
2662
|
}[] | undefined;
|
|
2663
2663
|
allowList?: {
|
|
2664
2664
|
agentDid?: string | undefined;
|
|
2665
|
-
|
|
2665
|
+
agentType?: string | undefined;
|
|
2666
2666
|
reason?: string | undefined;
|
|
2667
|
+
clientDid?: string | undefined;
|
|
2667
2668
|
clientName?: string | undefined;
|
|
2668
|
-
agentType?: string | undefined;
|
|
2669
2669
|
addedBy?: string | undefined;
|
|
2670
2670
|
addedAt?: string | undefined;
|
|
2671
2671
|
}[] | undefined;
|
|
2672
2672
|
rules?: {
|
|
2673
|
-
name: string;
|
|
2674
2673
|
id: string;
|
|
2675
|
-
|
|
2674
|
+
name: string;
|
|
2676
2675
|
conditions: {
|
|
2677
2676
|
value: string | number | boolean | string[];
|
|
2678
|
-
field: "path" | "agentDid" | "
|
|
2679
|
-
operator: "
|
|
2677
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2678
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2680
2679
|
caseInsensitive?: boolean | undefined;
|
|
2681
2680
|
}[];
|
|
2681
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2682
2682
|
message?: string | undefined;
|
|
2683
|
+
description?: string | undefined;
|
|
2683
2684
|
metadata?: {
|
|
2684
2685
|
createdAt?: string | undefined;
|
|
2685
2686
|
updatedAt?: string | undefined;
|
|
2686
2687
|
createdBy?: string | undefined;
|
|
2687
2688
|
} | undefined;
|
|
2688
2689
|
enabled?: boolean | undefined;
|
|
2689
|
-
description?: string | undefined;
|
|
2690
2690
|
priority?: number | undefined;
|
|
2691
2691
|
redirectUrl?: string | undefined;
|
|
2692
2692
|
}[] | undefined;
|
|
@@ -2696,19 +2696,19 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2696
2696
|
}, "strip", z.ZodTypeAny, {
|
|
2697
2697
|
projectId: string;
|
|
2698
2698
|
policy: {
|
|
2699
|
+
version?: string | undefined;
|
|
2699
2700
|
metadata?: {
|
|
2700
2701
|
lastUpdated?: string | undefined;
|
|
2701
2702
|
updatedBy?: string | undefined;
|
|
2702
2703
|
policyId?: string | undefined;
|
|
2703
2704
|
} | undefined;
|
|
2704
|
-
version?: string | undefined;
|
|
2705
2705
|
enabled?: boolean | undefined;
|
|
2706
2706
|
redirectUrl?: string | undefined;
|
|
2707
2707
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2708
2708
|
thresholds?: {
|
|
2709
|
+
minReputationScore: number;
|
|
2709
2710
|
confidenceThreshold: number;
|
|
2710
2711
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2711
|
-
minReputationScore: number;
|
|
2712
2712
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2713
2713
|
trustedReputationThreshold: number;
|
|
2714
2714
|
trustSignedRequests: boolean;
|
|
@@ -2716,42 +2716,42 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2716
2716
|
denyList?: {
|
|
2717
2717
|
active: boolean;
|
|
2718
2718
|
agentDid?: string | undefined;
|
|
2719
|
-
clientDid?: string | undefined;
|
|
2720
2719
|
expiresAt?: string | undefined;
|
|
2720
|
+
agentType?: string | undefined;
|
|
2721
2721
|
reason?: string | undefined;
|
|
2722
|
+
clientDid?: string | undefined;
|
|
2722
2723
|
clientName?: string | undefined;
|
|
2723
|
-
agentType?: string | undefined;
|
|
2724
2724
|
blockedAt?: string | undefined;
|
|
2725
2725
|
addedBy?: string | undefined;
|
|
2726
2726
|
}[] | undefined;
|
|
2727
2727
|
allowList?: {
|
|
2728
2728
|
agentDid?: string | undefined;
|
|
2729
|
-
|
|
2729
|
+
agentType?: string | undefined;
|
|
2730
2730
|
reason?: string | undefined;
|
|
2731
|
+
clientDid?: string | undefined;
|
|
2731
2732
|
clientName?: string | undefined;
|
|
2732
|
-
agentType?: string | undefined;
|
|
2733
2733
|
addedBy?: string | undefined;
|
|
2734
2734
|
addedAt?: string | undefined;
|
|
2735
2735
|
}[] | undefined;
|
|
2736
2736
|
rules?: {
|
|
2737
|
-
name: string;
|
|
2738
2737
|
id: string;
|
|
2738
|
+
name: string;
|
|
2739
2739
|
enabled: boolean;
|
|
2740
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2741
2740
|
priority: number;
|
|
2742
2741
|
conditions: {
|
|
2743
2742
|
value: string | number | boolean | string[];
|
|
2744
|
-
field: "path" | "agentDid" | "
|
|
2745
|
-
operator: "
|
|
2743
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2744
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2746
2745
|
caseInsensitive?: boolean | undefined;
|
|
2747
2746
|
}[];
|
|
2747
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2748
2748
|
message?: string | undefined;
|
|
2749
|
+
description?: string | undefined;
|
|
2749
2750
|
metadata?: {
|
|
2750
2751
|
createdAt?: string | undefined;
|
|
2751
2752
|
updatedAt?: string | undefined;
|
|
2752
2753
|
createdBy?: string | undefined;
|
|
2753
2754
|
} | undefined;
|
|
2754
|
-
description?: string | undefined;
|
|
2755
2755
|
redirectUrl?: string | undefined;
|
|
2756
2756
|
}[] | undefined;
|
|
2757
2757
|
excludedPaths?: string[] | undefined;
|
|
@@ -2760,61 +2760,61 @@ export declare const UpdatePolicyRequestSchema: z.ZodObject<{
|
|
|
2760
2760
|
}, {
|
|
2761
2761
|
projectId: string;
|
|
2762
2762
|
policy: {
|
|
2763
|
+
version?: string | undefined;
|
|
2763
2764
|
metadata?: {
|
|
2764
2765
|
lastUpdated?: string | undefined;
|
|
2765
2766
|
updatedBy?: string | undefined;
|
|
2766
2767
|
policyId?: string | undefined;
|
|
2767
2768
|
} | undefined;
|
|
2768
|
-
version?: string | undefined;
|
|
2769
2769
|
enabled?: boolean | undefined;
|
|
2770
2770
|
redirectUrl?: string | undefined;
|
|
2771
2771
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2772
2772
|
thresholds?: {
|
|
2773
|
+
minReputationScore?: number | undefined;
|
|
2773
2774
|
confidenceThreshold?: number | undefined;
|
|
2774
2775
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2775
|
-
minReputationScore?: number | undefined;
|
|
2776
2776
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2777
2777
|
trustedReputationThreshold?: number | undefined;
|
|
2778
2778
|
trustSignedRequests?: boolean | undefined;
|
|
2779
2779
|
} | undefined;
|
|
2780
2780
|
denyList?: {
|
|
2781
2781
|
agentDid?: string | undefined;
|
|
2782
|
-
clientDid?: string | undefined;
|
|
2783
2782
|
expiresAt?: string | undefined;
|
|
2783
|
+
agentType?: string | undefined;
|
|
2784
2784
|
reason?: string | undefined;
|
|
2785
2785
|
active?: boolean | undefined;
|
|
2786
|
+
clientDid?: string | undefined;
|
|
2786
2787
|
clientName?: string | undefined;
|
|
2787
|
-
agentType?: string | undefined;
|
|
2788
2788
|
blockedAt?: string | undefined;
|
|
2789
2789
|
addedBy?: string | undefined;
|
|
2790
2790
|
}[] | undefined;
|
|
2791
2791
|
allowList?: {
|
|
2792
2792
|
agentDid?: string | undefined;
|
|
2793
|
-
|
|
2793
|
+
agentType?: string | undefined;
|
|
2794
2794
|
reason?: string | undefined;
|
|
2795
|
+
clientDid?: string | undefined;
|
|
2795
2796
|
clientName?: string | undefined;
|
|
2796
|
-
agentType?: string | undefined;
|
|
2797
2797
|
addedBy?: string | undefined;
|
|
2798
2798
|
addedAt?: string | undefined;
|
|
2799
2799
|
}[] | undefined;
|
|
2800
2800
|
rules?: {
|
|
2801
|
-
name: string;
|
|
2802
2801
|
id: string;
|
|
2803
|
-
|
|
2802
|
+
name: string;
|
|
2804
2803
|
conditions: {
|
|
2805
2804
|
value: string | number | boolean | string[];
|
|
2806
|
-
field: "path" | "agentDid" | "
|
|
2807
|
-
operator: "
|
|
2805
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
2806
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
2808
2807
|
caseInsensitive?: boolean | undefined;
|
|
2809
2808
|
}[];
|
|
2809
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2810
2810
|
message?: string | undefined;
|
|
2811
|
+
description?: string | undefined;
|
|
2811
2812
|
metadata?: {
|
|
2812
2813
|
createdAt?: string | undefined;
|
|
2813
2814
|
updatedAt?: string | undefined;
|
|
2814
2815
|
createdBy?: string | undefined;
|
|
2815
2816
|
} | undefined;
|
|
2816
2817
|
enabled?: boolean | undefined;
|
|
2817
|
-
description?: string | undefined;
|
|
2818
2818
|
priority?: number | undefined;
|
|
2819
2819
|
redirectUrl?: string | undefined;
|
|
2820
2820
|
}[] | undefined;
|
|
@@ -2875,16 +2875,16 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
2875
2875
|
*/
|
|
2876
2876
|
trustSignedRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2877
2877
|
}, "strip", z.ZodTypeAny, {
|
|
2878
|
+
minReputationScore: number;
|
|
2878
2879
|
confidenceThreshold: number;
|
|
2879
2880
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2880
|
-
minReputationScore: number;
|
|
2881
2881
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
2882
2882
|
trustedReputationThreshold: number;
|
|
2883
2883
|
trustSignedRequests: boolean;
|
|
2884
2884
|
}, {
|
|
2885
|
+
minReputationScore?: number | undefined;
|
|
2885
2886
|
confidenceThreshold?: number | undefined;
|
|
2886
2887
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2887
|
-
minReputationScore?: number | undefined;
|
|
2888
2888
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
2889
2889
|
trustedReputationThreshold?: number | undefined;
|
|
2890
2890
|
trustSignedRequests?: boolean | undefined;
|
|
@@ -2912,41 +2912,41 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
2912
2912
|
}, "strip", z.ZodTypeAny, {
|
|
2913
2913
|
active: boolean;
|
|
2914
2914
|
agentDid?: string | undefined;
|
|
2915
|
-
clientDid?: string | undefined;
|
|
2916
2915
|
expiresAt?: string | undefined;
|
|
2916
|
+
agentType?: string | undefined;
|
|
2917
2917
|
reason?: string | undefined;
|
|
2918
|
+
clientDid?: string | undefined;
|
|
2918
2919
|
clientName?: string | undefined;
|
|
2919
|
-
agentType?: string | undefined;
|
|
2920
2920
|
blockedAt?: string | undefined;
|
|
2921
2921
|
addedBy?: string | undefined;
|
|
2922
2922
|
}, {
|
|
2923
2923
|
agentDid?: string | undefined;
|
|
2924
|
-
clientDid?: string | undefined;
|
|
2925
2924
|
expiresAt?: string | undefined;
|
|
2925
|
+
agentType?: string | undefined;
|
|
2926
2926
|
reason?: string | undefined;
|
|
2927
2927
|
active?: boolean | undefined;
|
|
2928
|
+
clientDid?: string | undefined;
|
|
2928
2929
|
clientName?: string | undefined;
|
|
2929
|
-
agentType?: string | undefined;
|
|
2930
2930
|
blockedAt?: string | undefined;
|
|
2931
2931
|
addedBy?: string | undefined;
|
|
2932
2932
|
}>, {
|
|
2933
2933
|
active: boolean;
|
|
2934
2934
|
agentDid?: string | undefined;
|
|
2935
|
-
clientDid?: string | undefined;
|
|
2936
2935
|
expiresAt?: string | undefined;
|
|
2936
|
+
agentType?: string | undefined;
|
|
2937
2937
|
reason?: string | undefined;
|
|
2938
|
+
clientDid?: string | undefined;
|
|
2938
2939
|
clientName?: string | undefined;
|
|
2939
|
-
agentType?: string | undefined;
|
|
2940
2940
|
blockedAt?: string | undefined;
|
|
2941
2941
|
addedBy?: string | undefined;
|
|
2942
2942
|
}, {
|
|
2943
2943
|
agentDid?: string | undefined;
|
|
2944
|
-
clientDid?: string | undefined;
|
|
2945
2944
|
expiresAt?: string | undefined;
|
|
2945
|
+
agentType?: string | undefined;
|
|
2946
2946
|
reason?: string | undefined;
|
|
2947
2947
|
active?: boolean | undefined;
|
|
2948
|
+
clientDid?: string | undefined;
|
|
2948
2949
|
clientName?: string | undefined;
|
|
2949
|
-
agentType?: string | undefined;
|
|
2950
2950
|
blockedAt?: string | undefined;
|
|
2951
2951
|
addedBy?: string | undefined;
|
|
2952
2952
|
}>, "many">>;
|
|
@@ -2968,34 +2968,34 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
2968
2968
|
addedBy: z.ZodOptional<z.ZodString>;
|
|
2969
2969
|
}, "strip", z.ZodTypeAny, {
|
|
2970
2970
|
agentDid?: string | undefined;
|
|
2971
|
-
|
|
2971
|
+
agentType?: string | undefined;
|
|
2972
2972
|
reason?: string | undefined;
|
|
2973
|
+
clientDid?: string | undefined;
|
|
2973
2974
|
clientName?: string | undefined;
|
|
2974
|
-
agentType?: string | undefined;
|
|
2975
2975
|
addedBy?: string | undefined;
|
|
2976
2976
|
addedAt?: string | undefined;
|
|
2977
2977
|
}, {
|
|
2978
2978
|
agentDid?: string | undefined;
|
|
2979
|
-
|
|
2979
|
+
agentType?: string | undefined;
|
|
2980
2980
|
reason?: string | undefined;
|
|
2981
|
+
clientDid?: string | undefined;
|
|
2981
2982
|
clientName?: string | undefined;
|
|
2982
|
-
agentType?: string | undefined;
|
|
2983
2983
|
addedBy?: string | undefined;
|
|
2984
2984
|
addedAt?: string | undefined;
|
|
2985
2985
|
}>, {
|
|
2986
2986
|
agentDid?: string | undefined;
|
|
2987
|
-
|
|
2987
|
+
agentType?: string | undefined;
|
|
2988
2988
|
reason?: string | undefined;
|
|
2989
|
+
clientDid?: string | undefined;
|
|
2989
2990
|
clientName?: string | undefined;
|
|
2990
|
-
agentType?: string | undefined;
|
|
2991
2991
|
addedBy?: string | undefined;
|
|
2992
2992
|
addedAt?: string | undefined;
|
|
2993
2993
|
}, {
|
|
2994
2994
|
agentDid?: string | undefined;
|
|
2995
|
-
|
|
2995
|
+
agentType?: string | undefined;
|
|
2996
2996
|
reason?: string | undefined;
|
|
2997
|
+
clientDid?: string | undefined;
|
|
2997
2998
|
clientName?: string | undefined;
|
|
2998
|
-
agentType?: string | undefined;
|
|
2999
2999
|
addedBy?: string | undefined;
|
|
3000
3000
|
addedAt?: string | undefined;
|
|
3001
3001
|
}>, "many">>;
|
|
@@ -3024,13 +3024,13 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3024
3024
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3025
3025
|
}, "strip", z.ZodTypeAny, {
|
|
3026
3026
|
value: string | number | boolean | string[];
|
|
3027
|
-
field: "path" | "agentDid" | "
|
|
3028
|
-
operator: "
|
|
3027
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3028
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3029
3029
|
caseInsensitive?: boolean | undefined;
|
|
3030
3030
|
}, {
|
|
3031
3031
|
value: string | number | boolean | string[];
|
|
3032
|
-
field: "path" | "agentDid" | "
|
|
3033
|
-
operator: "
|
|
3032
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3033
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3034
3034
|
caseInsensitive?: boolean | undefined;
|
|
3035
3035
|
}>, "many">;
|
|
3036
3036
|
/** Action to take when conditions match */
|
|
@@ -3056,83 +3056,83 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3056
3056
|
createdBy?: string | undefined;
|
|
3057
3057
|
}>>;
|
|
3058
3058
|
}, "strip", z.ZodTypeAny, {
|
|
3059
|
-
name: string;
|
|
3060
3059
|
id: string;
|
|
3060
|
+
name: string;
|
|
3061
3061
|
enabled: boolean;
|
|
3062
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3063
3062
|
priority: number;
|
|
3064
3063
|
conditions: {
|
|
3065
3064
|
value: string | number | boolean | string[];
|
|
3066
|
-
field: "path" | "agentDid" | "
|
|
3067
|
-
operator: "
|
|
3065
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3066
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3068
3067
|
caseInsensitive?: boolean | undefined;
|
|
3069
3068
|
}[];
|
|
3069
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3070
3070
|
message?: string | undefined;
|
|
3071
|
+
description?: string | undefined;
|
|
3071
3072
|
metadata?: {
|
|
3072
3073
|
createdAt?: string | undefined;
|
|
3073
3074
|
updatedAt?: string | undefined;
|
|
3074
3075
|
createdBy?: string | undefined;
|
|
3075
3076
|
} | undefined;
|
|
3076
|
-
description?: string | undefined;
|
|
3077
3077
|
redirectUrl?: string | undefined;
|
|
3078
3078
|
}, {
|
|
3079
|
-
name: string;
|
|
3080
3079
|
id: string;
|
|
3081
|
-
|
|
3080
|
+
name: string;
|
|
3082
3081
|
conditions: {
|
|
3083
3082
|
value: string | number | boolean | string[];
|
|
3084
|
-
field: "path" | "agentDid" | "
|
|
3085
|
-
operator: "
|
|
3083
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3084
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3086
3085
|
caseInsensitive?: boolean | undefined;
|
|
3087
3086
|
}[];
|
|
3087
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3088
3088
|
message?: string | undefined;
|
|
3089
|
+
description?: string | undefined;
|
|
3089
3090
|
metadata?: {
|
|
3090
3091
|
createdAt?: string | undefined;
|
|
3091
3092
|
updatedAt?: string | undefined;
|
|
3092
3093
|
createdBy?: string | undefined;
|
|
3093
3094
|
} | undefined;
|
|
3094
3095
|
enabled?: boolean | undefined;
|
|
3095
|
-
description?: string | undefined;
|
|
3096
3096
|
priority?: number | undefined;
|
|
3097
3097
|
redirectUrl?: string | undefined;
|
|
3098
3098
|
}>, {
|
|
3099
|
-
name: string;
|
|
3100
3099
|
id: string;
|
|
3100
|
+
name: string;
|
|
3101
3101
|
enabled: boolean;
|
|
3102
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3103
3102
|
priority: number;
|
|
3104
3103
|
conditions: {
|
|
3105
3104
|
value: string | number | boolean | string[];
|
|
3106
|
-
field: "path" | "agentDid" | "
|
|
3107
|
-
operator: "
|
|
3105
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3106
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3108
3107
|
caseInsensitive?: boolean | undefined;
|
|
3109
3108
|
}[];
|
|
3109
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3110
3110
|
message?: string | undefined;
|
|
3111
|
+
description?: string | undefined;
|
|
3111
3112
|
metadata?: {
|
|
3112
3113
|
createdAt?: string | undefined;
|
|
3113
3114
|
updatedAt?: string | undefined;
|
|
3114
3115
|
createdBy?: string | undefined;
|
|
3115
3116
|
} | undefined;
|
|
3116
|
-
description?: string | undefined;
|
|
3117
3117
|
redirectUrl?: string | undefined;
|
|
3118
3118
|
}, {
|
|
3119
|
-
name: string;
|
|
3120
3119
|
id: string;
|
|
3121
|
-
|
|
3120
|
+
name: string;
|
|
3122
3121
|
conditions: {
|
|
3123
3122
|
value: string | number | boolean | string[];
|
|
3124
|
-
field: "path" | "agentDid" | "
|
|
3125
|
-
operator: "
|
|
3123
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3124
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3126
3125
|
caseInsensitive?: boolean | undefined;
|
|
3127
3126
|
}[];
|
|
3127
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3128
3128
|
message?: string | undefined;
|
|
3129
|
+
description?: string | undefined;
|
|
3129
3130
|
metadata?: {
|
|
3130
3131
|
createdAt?: string | undefined;
|
|
3131
3132
|
updatedAt?: string | undefined;
|
|
3132
3133
|
createdBy?: string | undefined;
|
|
3133
3134
|
} | undefined;
|
|
3134
3135
|
enabled?: boolean | undefined;
|
|
3135
|
-
description?: string | undefined;
|
|
3136
3136
|
priority?: number | undefined;
|
|
3137
3137
|
redirectUrl?: string | undefined;
|
|
3138
3138
|
}>, "many">>;
|
|
@@ -3159,9 +3159,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3159
3159
|
enabled: boolean;
|
|
3160
3160
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3161
3161
|
thresholds: {
|
|
3162
|
+
minReputationScore: number;
|
|
3162
3163
|
confidenceThreshold: number;
|
|
3163
3164
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3164
|
-
minReputationScore: number;
|
|
3165
3165
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3166
3166
|
trustedReputationThreshold: number;
|
|
3167
3167
|
trustSignedRequests: boolean;
|
|
@@ -3169,42 +3169,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3169
3169
|
denyList: {
|
|
3170
3170
|
active: boolean;
|
|
3171
3171
|
agentDid?: string | undefined;
|
|
3172
|
-
clientDid?: string | undefined;
|
|
3173
3172
|
expiresAt?: string | undefined;
|
|
3173
|
+
agentType?: string | undefined;
|
|
3174
3174
|
reason?: string | undefined;
|
|
3175
|
+
clientDid?: string | undefined;
|
|
3175
3176
|
clientName?: string | undefined;
|
|
3176
|
-
agentType?: string | undefined;
|
|
3177
3177
|
blockedAt?: string | undefined;
|
|
3178
3178
|
addedBy?: string | undefined;
|
|
3179
3179
|
}[];
|
|
3180
3180
|
allowList: {
|
|
3181
3181
|
agentDid?: string | undefined;
|
|
3182
|
-
|
|
3182
|
+
agentType?: string | undefined;
|
|
3183
3183
|
reason?: string | undefined;
|
|
3184
|
+
clientDid?: string | undefined;
|
|
3184
3185
|
clientName?: string | undefined;
|
|
3185
|
-
agentType?: string | undefined;
|
|
3186
3186
|
addedBy?: string | undefined;
|
|
3187
3187
|
addedAt?: string | undefined;
|
|
3188
3188
|
}[];
|
|
3189
3189
|
rules: {
|
|
3190
|
-
name: string;
|
|
3191
3190
|
id: string;
|
|
3191
|
+
name: string;
|
|
3192
3192
|
enabled: boolean;
|
|
3193
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3194
3193
|
priority: number;
|
|
3195
3194
|
conditions: {
|
|
3196
3195
|
value: string | number | boolean | string[];
|
|
3197
|
-
field: "path" | "agentDid" | "
|
|
3198
|
-
operator: "
|
|
3196
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3197
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3199
3198
|
caseInsensitive?: boolean | undefined;
|
|
3200
3199
|
}[];
|
|
3200
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3201
3201
|
message?: string | undefined;
|
|
3202
|
+
description?: string | undefined;
|
|
3202
3203
|
metadata?: {
|
|
3203
3204
|
createdAt?: string | undefined;
|
|
3204
3205
|
updatedAt?: string | undefined;
|
|
3205
3206
|
createdBy?: string | undefined;
|
|
3206
3207
|
} | undefined;
|
|
3207
|
-
description?: string | undefined;
|
|
3208
3208
|
redirectUrl?: string | undefined;
|
|
3209
3209
|
}[];
|
|
3210
3210
|
excludedPaths: string[];
|
|
@@ -3216,61 +3216,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3216
3216
|
redirectUrl?: string | undefined;
|
|
3217
3217
|
includedPaths?: string[] | undefined;
|
|
3218
3218
|
}, {
|
|
3219
|
+
version?: string | undefined;
|
|
3219
3220
|
metadata?: {
|
|
3220
3221
|
lastUpdated?: string | undefined;
|
|
3221
3222
|
updatedBy?: string | undefined;
|
|
3222
3223
|
policyId?: string | undefined;
|
|
3223
3224
|
} | undefined;
|
|
3224
|
-
version?: string | undefined;
|
|
3225
3225
|
enabled?: boolean | undefined;
|
|
3226
3226
|
redirectUrl?: string | undefined;
|
|
3227
3227
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3228
3228
|
thresholds?: {
|
|
3229
|
+
minReputationScore?: number | undefined;
|
|
3229
3230
|
confidenceThreshold?: number | undefined;
|
|
3230
3231
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3231
|
-
minReputationScore?: number | undefined;
|
|
3232
3232
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3233
3233
|
trustedReputationThreshold?: number | undefined;
|
|
3234
3234
|
trustSignedRequests?: boolean | undefined;
|
|
3235
3235
|
} | undefined;
|
|
3236
3236
|
denyList?: {
|
|
3237
3237
|
agentDid?: string | undefined;
|
|
3238
|
-
clientDid?: string | undefined;
|
|
3239
3238
|
expiresAt?: string | undefined;
|
|
3239
|
+
agentType?: string | undefined;
|
|
3240
3240
|
reason?: string | undefined;
|
|
3241
3241
|
active?: boolean | undefined;
|
|
3242
|
+
clientDid?: string | undefined;
|
|
3242
3243
|
clientName?: string | undefined;
|
|
3243
|
-
agentType?: string | undefined;
|
|
3244
3244
|
blockedAt?: string | undefined;
|
|
3245
3245
|
addedBy?: string | undefined;
|
|
3246
3246
|
}[] | undefined;
|
|
3247
3247
|
allowList?: {
|
|
3248
3248
|
agentDid?: string | undefined;
|
|
3249
|
-
|
|
3249
|
+
agentType?: string | undefined;
|
|
3250
3250
|
reason?: string | undefined;
|
|
3251
|
+
clientDid?: string | undefined;
|
|
3251
3252
|
clientName?: string | undefined;
|
|
3252
|
-
agentType?: string | undefined;
|
|
3253
3253
|
addedBy?: string | undefined;
|
|
3254
3254
|
addedAt?: string | undefined;
|
|
3255
3255
|
}[] | undefined;
|
|
3256
3256
|
rules?: {
|
|
3257
|
-
name: string;
|
|
3258
3257
|
id: string;
|
|
3259
|
-
|
|
3258
|
+
name: string;
|
|
3260
3259
|
conditions: {
|
|
3261
3260
|
value: string | number | boolean | string[];
|
|
3262
|
-
field: "path" | "agentDid" | "
|
|
3263
|
-
operator: "
|
|
3261
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3262
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3264
3263
|
caseInsensitive?: boolean | undefined;
|
|
3265
3264
|
}[];
|
|
3265
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3266
3266
|
message?: string | undefined;
|
|
3267
|
+
description?: string | undefined;
|
|
3267
3268
|
metadata?: {
|
|
3268
3269
|
createdAt?: string | undefined;
|
|
3269
3270
|
updatedAt?: string | undefined;
|
|
3270
3271
|
createdBy?: string | undefined;
|
|
3271
3272
|
} | undefined;
|
|
3272
3273
|
enabled?: boolean | undefined;
|
|
3273
|
-
description?: string | undefined;
|
|
3274
3274
|
priority?: number | undefined;
|
|
3275
3275
|
redirectUrl?: string | undefined;
|
|
3276
3276
|
}[] | undefined;
|
|
@@ -3281,9 +3281,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3281
3281
|
enabled: boolean;
|
|
3282
3282
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3283
3283
|
thresholds: {
|
|
3284
|
+
minReputationScore: number;
|
|
3284
3285
|
confidenceThreshold: number;
|
|
3285
3286
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3286
|
-
minReputationScore: number;
|
|
3287
3287
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3288
3288
|
trustedReputationThreshold: number;
|
|
3289
3289
|
trustSignedRequests: boolean;
|
|
@@ -3291,42 +3291,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3291
3291
|
denyList: {
|
|
3292
3292
|
active: boolean;
|
|
3293
3293
|
agentDid?: string | undefined;
|
|
3294
|
-
clientDid?: string | undefined;
|
|
3295
3294
|
expiresAt?: string | undefined;
|
|
3295
|
+
agentType?: string | undefined;
|
|
3296
3296
|
reason?: string | undefined;
|
|
3297
|
+
clientDid?: string | undefined;
|
|
3297
3298
|
clientName?: string | undefined;
|
|
3298
|
-
agentType?: string | undefined;
|
|
3299
3299
|
blockedAt?: string | undefined;
|
|
3300
3300
|
addedBy?: string | undefined;
|
|
3301
3301
|
}[];
|
|
3302
3302
|
allowList: {
|
|
3303
3303
|
agentDid?: string | undefined;
|
|
3304
|
-
|
|
3304
|
+
agentType?: string | undefined;
|
|
3305
3305
|
reason?: string | undefined;
|
|
3306
|
+
clientDid?: string | undefined;
|
|
3306
3307
|
clientName?: string | undefined;
|
|
3307
|
-
agentType?: string | undefined;
|
|
3308
3308
|
addedBy?: string | undefined;
|
|
3309
3309
|
addedAt?: string | undefined;
|
|
3310
3310
|
}[];
|
|
3311
3311
|
rules: {
|
|
3312
|
-
name: string;
|
|
3313
3312
|
id: string;
|
|
3313
|
+
name: string;
|
|
3314
3314
|
enabled: boolean;
|
|
3315
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3316
3315
|
priority: number;
|
|
3317
3316
|
conditions: {
|
|
3318
3317
|
value: string | number | boolean | string[];
|
|
3319
|
-
field: "path" | "agentDid" | "
|
|
3320
|
-
operator: "
|
|
3318
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3319
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3321
3320
|
caseInsensitive?: boolean | undefined;
|
|
3322
3321
|
}[];
|
|
3322
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3323
3323
|
message?: string | undefined;
|
|
3324
|
+
description?: string | undefined;
|
|
3324
3325
|
metadata?: {
|
|
3325
3326
|
createdAt?: string | undefined;
|
|
3326
3327
|
updatedAt?: string | undefined;
|
|
3327
3328
|
createdBy?: string | undefined;
|
|
3328
3329
|
} | undefined;
|
|
3329
|
-
description?: string | undefined;
|
|
3330
3330
|
redirectUrl?: string | undefined;
|
|
3331
3331
|
}[];
|
|
3332
3332
|
excludedPaths: string[];
|
|
@@ -3338,61 +3338,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3338
3338
|
redirectUrl?: string | undefined;
|
|
3339
3339
|
includedPaths?: string[] | undefined;
|
|
3340
3340
|
}, {
|
|
3341
|
+
version?: string | undefined;
|
|
3341
3342
|
metadata?: {
|
|
3342
3343
|
lastUpdated?: string | undefined;
|
|
3343
3344
|
updatedBy?: string | undefined;
|
|
3344
3345
|
policyId?: string | undefined;
|
|
3345
3346
|
} | undefined;
|
|
3346
|
-
version?: string | undefined;
|
|
3347
3347
|
enabled?: boolean | undefined;
|
|
3348
3348
|
redirectUrl?: string | undefined;
|
|
3349
3349
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3350
3350
|
thresholds?: {
|
|
3351
|
+
minReputationScore?: number | undefined;
|
|
3351
3352
|
confidenceThreshold?: number | undefined;
|
|
3352
3353
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3353
|
-
minReputationScore?: number | undefined;
|
|
3354
3354
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3355
3355
|
trustedReputationThreshold?: number | undefined;
|
|
3356
3356
|
trustSignedRequests?: boolean | undefined;
|
|
3357
3357
|
} | undefined;
|
|
3358
3358
|
denyList?: {
|
|
3359
3359
|
agentDid?: string | undefined;
|
|
3360
|
-
clientDid?: string | undefined;
|
|
3361
3360
|
expiresAt?: string | undefined;
|
|
3361
|
+
agentType?: string | undefined;
|
|
3362
3362
|
reason?: string | undefined;
|
|
3363
3363
|
active?: boolean | undefined;
|
|
3364
|
+
clientDid?: string | undefined;
|
|
3364
3365
|
clientName?: string | undefined;
|
|
3365
|
-
agentType?: string | undefined;
|
|
3366
3366
|
blockedAt?: string | undefined;
|
|
3367
3367
|
addedBy?: string | undefined;
|
|
3368
3368
|
}[] | undefined;
|
|
3369
3369
|
allowList?: {
|
|
3370
3370
|
agentDid?: string | undefined;
|
|
3371
|
-
|
|
3371
|
+
agentType?: string | undefined;
|
|
3372
3372
|
reason?: string | undefined;
|
|
3373
|
+
clientDid?: string | undefined;
|
|
3373
3374
|
clientName?: string | undefined;
|
|
3374
|
-
agentType?: string | undefined;
|
|
3375
3375
|
addedBy?: string | undefined;
|
|
3376
3376
|
addedAt?: string | undefined;
|
|
3377
3377
|
}[] | undefined;
|
|
3378
3378
|
rules?: {
|
|
3379
|
-
name: string;
|
|
3380
3379
|
id: string;
|
|
3381
|
-
|
|
3380
|
+
name: string;
|
|
3382
3381
|
conditions: {
|
|
3383
3382
|
value: string | number | boolean | string[];
|
|
3384
|
-
field: "path" | "agentDid" | "
|
|
3385
|
-
operator: "
|
|
3383
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3384
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3386
3385
|
caseInsensitive?: boolean | undefined;
|
|
3387
3386
|
}[];
|
|
3387
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3388
3388
|
message?: string | undefined;
|
|
3389
|
+
description?: string | undefined;
|
|
3389
3390
|
metadata?: {
|
|
3390
3391
|
createdAt?: string | undefined;
|
|
3391
3392
|
updatedAt?: string | undefined;
|
|
3392
3393
|
createdBy?: string | undefined;
|
|
3393
3394
|
} | undefined;
|
|
3394
3395
|
enabled?: boolean | undefined;
|
|
3395
|
-
description?: string | undefined;
|
|
3396
3396
|
priority?: number | undefined;
|
|
3397
3397
|
redirectUrl?: string | undefined;
|
|
3398
3398
|
}[] | undefined;
|
|
@@ -3406,9 +3406,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3406
3406
|
enabled: boolean;
|
|
3407
3407
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3408
3408
|
thresholds: {
|
|
3409
|
+
minReputationScore: number;
|
|
3409
3410
|
confidenceThreshold: number;
|
|
3410
3411
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3411
|
-
minReputationScore: number;
|
|
3412
3412
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3413
3413
|
trustedReputationThreshold: number;
|
|
3414
3414
|
trustSignedRequests: boolean;
|
|
@@ -3416,42 +3416,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3416
3416
|
denyList: {
|
|
3417
3417
|
active: boolean;
|
|
3418
3418
|
agentDid?: string | undefined;
|
|
3419
|
-
clientDid?: string | undefined;
|
|
3420
3419
|
expiresAt?: string | undefined;
|
|
3420
|
+
agentType?: string | undefined;
|
|
3421
3421
|
reason?: string | undefined;
|
|
3422
|
+
clientDid?: string | undefined;
|
|
3422
3423
|
clientName?: string | undefined;
|
|
3423
|
-
agentType?: string | undefined;
|
|
3424
3424
|
blockedAt?: string | undefined;
|
|
3425
3425
|
addedBy?: string | undefined;
|
|
3426
3426
|
}[];
|
|
3427
3427
|
allowList: {
|
|
3428
3428
|
agentDid?: string | undefined;
|
|
3429
|
-
|
|
3429
|
+
agentType?: string | undefined;
|
|
3430
3430
|
reason?: string | undefined;
|
|
3431
|
+
clientDid?: string | undefined;
|
|
3431
3432
|
clientName?: string | undefined;
|
|
3432
|
-
agentType?: string | undefined;
|
|
3433
3433
|
addedBy?: string | undefined;
|
|
3434
3434
|
addedAt?: string | undefined;
|
|
3435
3435
|
}[];
|
|
3436
3436
|
rules: {
|
|
3437
|
-
name: string;
|
|
3438
3437
|
id: string;
|
|
3438
|
+
name: string;
|
|
3439
3439
|
enabled: boolean;
|
|
3440
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3441
3440
|
priority: number;
|
|
3442
3441
|
conditions: {
|
|
3443
3442
|
value: string | number | boolean | string[];
|
|
3444
|
-
field: "path" | "agentDid" | "
|
|
3445
|
-
operator: "
|
|
3443
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3444
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3446
3445
|
caseInsensitive?: boolean | undefined;
|
|
3447
3446
|
}[];
|
|
3447
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3448
3448
|
message?: string | undefined;
|
|
3449
|
+
description?: string | undefined;
|
|
3449
3450
|
metadata?: {
|
|
3450
3451
|
createdAt?: string | undefined;
|
|
3451
3452
|
updatedAt?: string | undefined;
|
|
3452
3453
|
createdBy?: string | undefined;
|
|
3453
3454
|
} | undefined;
|
|
3454
|
-
description?: string | undefined;
|
|
3455
3455
|
redirectUrl?: string | undefined;
|
|
3456
3456
|
}[];
|
|
3457
3457
|
excludedPaths: string[];
|
|
@@ -3466,61 +3466,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3466
3466
|
changes?: string[] | undefined;
|
|
3467
3467
|
}, {
|
|
3468
3468
|
policy: {
|
|
3469
|
+
version?: string | undefined;
|
|
3469
3470
|
metadata?: {
|
|
3470
3471
|
lastUpdated?: string | undefined;
|
|
3471
3472
|
updatedBy?: string | undefined;
|
|
3472
3473
|
policyId?: string | undefined;
|
|
3473
3474
|
} | undefined;
|
|
3474
|
-
version?: string | undefined;
|
|
3475
3475
|
enabled?: boolean | undefined;
|
|
3476
3476
|
redirectUrl?: string | undefined;
|
|
3477
3477
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3478
3478
|
thresholds?: {
|
|
3479
|
+
minReputationScore?: number | undefined;
|
|
3479
3480
|
confidenceThreshold?: number | undefined;
|
|
3480
3481
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3481
|
-
minReputationScore?: number | undefined;
|
|
3482
3482
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3483
3483
|
trustedReputationThreshold?: number | undefined;
|
|
3484
3484
|
trustSignedRequests?: boolean | undefined;
|
|
3485
3485
|
} | undefined;
|
|
3486
3486
|
denyList?: {
|
|
3487
3487
|
agentDid?: string | undefined;
|
|
3488
|
-
clientDid?: string | undefined;
|
|
3489
3488
|
expiresAt?: string | undefined;
|
|
3489
|
+
agentType?: string | undefined;
|
|
3490
3490
|
reason?: string | undefined;
|
|
3491
3491
|
active?: boolean | undefined;
|
|
3492
|
+
clientDid?: string | undefined;
|
|
3492
3493
|
clientName?: string | undefined;
|
|
3493
|
-
agentType?: string | undefined;
|
|
3494
3494
|
blockedAt?: string | undefined;
|
|
3495
3495
|
addedBy?: string | undefined;
|
|
3496
3496
|
}[] | undefined;
|
|
3497
3497
|
allowList?: {
|
|
3498
3498
|
agentDid?: string | undefined;
|
|
3499
|
-
|
|
3499
|
+
agentType?: string | undefined;
|
|
3500
3500
|
reason?: string | undefined;
|
|
3501
|
+
clientDid?: string | undefined;
|
|
3501
3502
|
clientName?: string | undefined;
|
|
3502
|
-
agentType?: string | undefined;
|
|
3503
3503
|
addedBy?: string | undefined;
|
|
3504
3504
|
addedAt?: string | undefined;
|
|
3505
3505
|
}[] | undefined;
|
|
3506
3506
|
rules?: {
|
|
3507
|
-
name: string;
|
|
3508
3507
|
id: string;
|
|
3509
|
-
|
|
3508
|
+
name: string;
|
|
3510
3509
|
conditions: {
|
|
3511
3510
|
value: string | number | boolean | string[];
|
|
3512
|
-
field: "path" | "agentDid" | "
|
|
3513
|
-
operator: "
|
|
3511
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3512
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3514
3513
|
caseInsensitive?: boolean | undefined;
|
|
3515
3514
|
}[];
|
|
3515
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3516
3516
|
message?: string | undefined;
|
|
3517
|
+
description?: string | undefined;
|
|
3517
3518
|
metadata?: {
|
|
3518
3519
|
createdAt?: string | undefined;
|
|
3519
3520
|
updatedAt?: string | undefined;
|
|
3520
3521
|
createdBy?: string | undefined;
|
|
3521
3522
|
} | undefined;
|
|
3522
3523
|
enabled?: boolean | undefined;
|
|
3523
|
-
description?: string | undefined;
|
|
3524
3524
|
priority?: number | undefined;
|
|
3525
3525
|
redirectUrl?: string | undefined;
|
|
3526
3526
|
}[] | undefined;
|
|
@@ -3547,9 +3547,9 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3547
3547
|
enabled: boolean;
|
|
3548
3548
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3549
3549
|
thresholds: {
|
|
3550
|
+
minReputationScore: number;
|
|
3550
3551
|
confidenceThreshold: number;
|
|
3551
3552
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3552
|
-
minReputationScore: number;
|
|
3553
3553
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3554
3554
|
trustedReputationThreshold: number;
|
|
3555
3555
|
trustSignedRequests: boolean;
|
|
@@ -3557,42 +3557,42 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3557
3557
|
denyList: {
|
|
3558
3558
|
active: boolean;
|
|
3559
3559
|
agentDid?: string | undefined;
|
|
3560
|
-
clientDid?: string | undefined;
|
|
3561
3560
|
expiresAt?: string | undefined;
|
|
3561
|
+
agentType?: string | undefined;
|
|
3562
3562
|
reason?: string | undefined;
|
|
3563
|
+
clientDid?: string | undefined;
|
|
3563
3564
|
clientName?: string | undefined;
|
|
3564
|
-
agentType?: string | undefined;
|
|
3565
3565
|
blockedAt?: string | undefined;
|
|
3566
3566
|
addedBy?: string | undefined;
|
|
3567
3567
|
}[];
|
|
3568
3568
|
allowList: {
|
|
3569
3569
|
agentDid?: string | undefined;
|
|
3570
|
-
|
|
3570
|
+
agentType?: string | undefined;
|
|
3571
3571
|
reason?: string | undefined;
|
|
3572
|
+
clientDid?: string | undefined;
|
|
3572
3573
|
clientName?: string | undefined;
|
|
3573
|
-
agentType?: string | undefined;
|
|
3574
3574
|
addedBy?: string | undefined;
|
|
3575
3575
|
addedAt?: string | undefined;
|
|
3576
3576
|
}[];
|
|
3577
3577
|
rules: {
|
|
3578
|
-
name: string;
|
|
3579
3578
|
id: string;
|
|
3579
|
+
name: string;
|
|
3580
3580
|
enabled: boolean;
|
|
3581
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3582
3581
|
priority: number;
|
|
3583
3582
|
conditions: {
|
|
3584
3583
|
value: string | number | boolean | string[];
|
|
3585
|
-
field: "path" | "agentDid" | "
|
|
3586
|
-
operator: "
|
|
3584
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3585
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3587
3586
|
caseInsensitive?: boolean | undefined;
|
|
3588
3587
|
}[];
|
|
3588
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3589
3589
|
message?: string | undefined;
|
|
3590
|
+
description?: string | undefined;
|
|
3590
3591
|
metadata?: {
|
|
3591
3592
|
createdAt?: string | undefined;
|
|
3592
3593
|
updatedAt?: string | undefined;
|
|
3593
3594
|
createdBy?: string | undefined;
|
|
3594
3595
|
} | undefined;
|
|
3595
|
-
description?: string | undefined;
|
|
3596
3596
|
redirectUrl?: string | undefined;
|
|
3597
3597
|
}[];
|
|
3598
3598
|
excludedPaths: string[];
|
|
@@ -3614,61 +3614,61 @@ export declare const UpdatePolicyResponseSchema: z.ZodObject<{
|
|
|
3614
3614
|
success: boolean;
|
|
3615
3615
|
data: {
|
|
3616
3616
|
policy: {
|
|
3617
|
+
version?: string | undefined;
|
|
3617
3618
|
metadata?: {
|
|
3618
3619
|
lastUpdated?: string | undefined;
|
|
3619
3620
|
updatedBy?: string | undefined;
|
|
3620
3621
|
policyId?: string | undefined;
|
|
3621
3622
|
} | undefined;
|
|
3622
|
-
version?: string | undefined;
|
|
3623
3623
|
enabled?: boolean | undefined;
|
|
3624
3624
|
redirectUrl?: string | undefined;
|
|
3625
3625
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3626
3626
|
thresholds?: {
|
|
3627
|
+
minReputationScore?: number | undefined;
|
|
3627
3628
|
confidenceThreshold?: number | undefined;
|
|
3628
3629
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3629
|
-
minReputationScore?: number | undefined;
|
|
3630
3630
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3631
3631
|
trustedReputationThreshold?: number | undefined;
|
|
3632
3632
|
trustSignedRequests?: boolean | undefined;
|
|
3633
3633
|
} | undefined;
|
|
3634
3634
|
denyList?: {
|
|
3635
3635
|
agentDid?: string | undefined;
|
|
3636
|
-
clientDid?: string | undefined;
|
|
3637
3636
|
expiresAt?: string | undefined;
|
|
3637
|
+
agentType?: string | undefined;
|
|
3638
3638
|
reason?: string | undefined;
|
|
3639
3639
|
active?: boolean | undefined;
|
|
3640
|
+
clientDid?: string | undefined;
|
|
3640
3641
|
clientName?: string | undefined;
|
|
3641
|
-
agentType?: string | undefined;
|
|
3642
3642
|
blockedAt?: string | undefined;
|
|
3643
3643
|
addedBy?: string | undefined;
|
|
3644
3644
|
}[] | undefined;
|
|
3645
3645
|
allowList?: {
|
|
3646
3646
|
agentDid?: string | undefined;
|
|
3647
|
-
|
|
3647
|
+
agentType?: string | undefined;
|
|
3648
3648
|
reason?: string | undefined;
|
|
3649
|
+
clientDid?: string | undefined;
|
|
3649
3650
|
clientName?: string | undefined;
|
|
3650
|
-
agentType?: string | undefined;
|
|
3651
3651
|
addedBy?: string | undefined;
|
|
3652
3652
|
addedAt?: string | undefined;
|
|
3653
3653
|
}[] | undefined;
|
|
3654
3654
|
rules?: {
|
|
3655
|
-
name: string;
|
|
3656
3655
|
id: string;
|
|
3657
|
-
|
|
3656
|
+
name: string;
|
|
3658
3657
|
conditions: {
|
|
3659
3658
|
value: string | number | boolean | string[];
|
|
3660
|
-
field: "path" | "agentDid" | "
|
|
3661
|
-
operator: "
|
|
3659
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3660
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3662
3661
|
caseInsensitive?: boolean | undefined;
|
|
3663
3662
|
}[];
|
|
3663
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3664
3664
|
message?: string | undefined;
|
|
3665
|
+
description?: string | undefined;
|
|
3665
3666
|
metadata?: {
|
|
3666
3667
|
createdAt?: string | undefined;
|
|
3667
3668
|
updatedAt?: string | undefined;
|
|
3668
3669
|
createdBy?: string | undefined;
|
|
3669
3670
|
} | undefined;
|
|
3670
3671
|
enabled?: boolean | undefined;
|
|
3671
|
-
description?: string | undefined;
|
|
3672
3672
|
priority?: number | undefined;
|
|
3673
3673
|
redirectUrl?: string | undefined;
|
|
3674
3674
|
}[] | undefined;
|
|
@@ -3691,61 +3691,61 @@ export declare function validatePolicyConfig(data: unknown): PolicyConfig;
|
|
|
3691
3691
|
* Safely validate a policy configuration (returns result object)
|
|
3692
3692
|
*/
|
|
3693
3693
|
export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnType<{
|
|
3694
|
+
version?: string | undefined;
|
|
3694
3695
|
metadata?: {
|
|
3695
3696
|
lastUpdated?: string | undefined;
|
|
3696
3697
|
updatedBy?: string | undefined;
|
|
3697
3698
|
policyId?: string | undefined;
|
|
3698
3699
|
} | undefined;
|
|
3699
|
-
version?: string | undefined;
|
|
3700
3700
|
enabled?: boolean | undefined;
|
|
3701
3701
|
redirectUrl?: string | undefined;
|
|
3702
3702
|
defaultAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3703
3703
|
thresholds?: {
|
|
3704
|
+
minReputationScore?: number | undefined;
|
|
3704
3705
|
confidenceThreshold?: number | undefined;
|
|
3705
3706
|
confidenceAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3706
|
-
minReputationScore?: number | undefined;
|
|
3707
3707
|
lowReputationAction?: "allow" | "block" | "redirect" | "challenge" | "log" | undefined;
|
|
3708
3708
|
trustedReputationThreshold?: number | undefined;
|
|
3709
3709
|
trustSignedRequests?: boolean | undefined;
|
|
3710
3710
|
} | undefined;
|
|
3711
3711
|
denyList?: {
|
|
3712
3712
|
agentDid?: string | undefined;
|
|
3713
|
-
clientDid?: string | undefined;
|
|
3714
3713
|
expiresAt?: string | undefined;
|
|
3714
|
+
agentType?: string | undefined;
|
|
3715
3715
|
reason?: string | undefined;
|
|
3716
3716
|
active?: boolean | undefined;
|
|
3717
|
+
clientDid?: string | undefined;
|
|
3717
3718
|
clientName?: string | undefined;
|
|
3718
|
-
agentType?: string | undefined;
|
|
3719
3719
|
blockedAt?: string | undefined;
|
|
3720
3720
|
addedBy?: string | undefined;
|
|
3721
3721
|
}[] | undefined;
|
|
3722
3722
|
allowList?: {
|
|
3723
3723
|
agentDid?: string | undefined;
|
|
3724
|
-
|
|
3724
|
+
agentType?: string | undefined;
|
|
3725
3725
|
reason?: string | undefined;
|
|
3726
|
+
clientDid?: string | undefined;
|
|
3726
3727
|
clientName?: string | undefined;
|
|
3727
|
-
agentType?: string | undefined;
|
|
3728
3728
|
addedBy?: string | undefined;
|
|
3729
3729
|
addedAt?: string | undefined;
|
|
3730
3730
|
}[] | undefined;
|
|
3731
3731
|
rules?: {
|
|
3732
|
-
name: string;
|
|
3733
3732
|
id: string;
|
|
3734
|
-
|
|
3733
|
+
name: string;
|
|
3735
3734
|
conditions: {
|
|
3736
3735
|
value: string | number | boolean | string[];
|
|
3737
|
-
field: "path" | "agentDid" | "
|
|
3738
|
-
operator: "
|
|
3736
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3737
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3739
3738
|
caseInsensitive?: boolean | undefined;
|
|
3740
3739
|
}[];
|
|
3740
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3741
3741
|
message?: string | undefined;
|
|
3742
|
+
description?: string | undefined;
|
|
3742
3743
|
metadata?: {
|
|
3743
3744
|
createdAt?: string | undefined;
|
|
3744
3745
|
updatedAt?: string | undefined;
|
|
3745
3746
|
createdBy?: string | undefined;
|
|
3746
3747
|
} | undefined;
|
|
3747
3748
|
enabled?: boolean | undefined;
|
|
3748
|
-
description?: string | undefined;
|
|
3749
3749
|
priority?: number | undefined;
|
|
3750
3750
|
redirectUrl?: string | undefined;
|
|
3751
3751
|
}[] | undefined;
|
|
@@ -3756,9 +3756,9 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3756
3756
|
enabled: boolean;
|
|
3757
3757
|
defaultAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3758
3758
|
thresholds: {
|
|
3759
|
+
minReputationScore: number;
|
|
3759
3760
|
confidenceThreshold: number;
|
|
3760
3761
|
confidenceAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3761
|
-
minReputationScore: number;
|
|
3762
3762
|
lowReputationAction: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3763
3763
|
trustedReputationThreshold: number;
|
|
3764
3764
|
trustSignedRequests: boolean;
|
|
@@ -3766,42 +3766,42 @@ export declare function safeParsePolicyConfig(data: unknown): z.SafeParseReturnT
|
|
|
3766
3766
|
denyList: {
|
|
3767
3767
|
active: boolean;
|
|
3768
3768
|
agentDid?: string | undefined;
|
|
3769
|
-
clientDid?: string | undefined;
|
|
3770
3769
|
expiresAt?: string | undefined;
|
|
3770
|
+
agentType?: string | undefined;
|
|
3771
3771
|
reason?: string | undefined;
|
|
3772
|
+
clientDid?: string | undefined;
|
|
3772
3773
|
clientName?: string | undefined;
|
|
3773
|
-
agentType?: string | undefined;
|
|
3774
3774
|
blockedAt?: string | undefined;
|
|
3775
3775
|
addedBy?: string | undefined;
|
|
3776
3776
|
}[];
|
|
3777
3777
|
allowList: {
|
|
3778
3778
|
agentDid?: string | undefined;
|
|
3779
|
-
|
|
3779
|
+
agentType?: string | undefined;
|
|
3780
3780
|
reason?: string | undefined;
|
|
3781
|
+
clientDid?: string | undefined;
|
|
3781
3782
|
clientName?: string | undefined;
|
|
3782
|
-
agentType?: string | undefined;
|
|
3783
3783
|
addedBy?: string | undefined;
|
|
3784
3784
|
addedAt?: string | undefined;
|
|
3785
3785
|
}[];
|
|
3786
3786
|
rules: {
|
|
3787
|
-
name: string;
|
|
3788
3787
|
id: string;
|
|
3788
|
+
name: string;
|
|
3789
3789
|
enabled: boolean;
|
|
3790
|
-
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3791
3790
|
priority: number;
|
|
3792
3791
|
conditions: {
|
|
3793
3792
|
value: string | number | boolean | string[];
|
|
3794
|
-
field: "path" | "agentDid" | "
|
|
3795
|
-
operator: "
|
|
3793
|
+
field: "path" | "agentDid" | "confidence" | "agentType" | "method" | "agentName" | "riskLevel" | "clientDid" | "origin" | "agentVendor" | "reputationScore" | "userAgent" | "signatureVerified" | "isAuthenticated" | "hasValidDelegation";
|
|
3794
|
+
operator: "startsWith" | "endsWith" | "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEquals" | "lessThanOrEquals" | "matches" | "in" | "notIn";
|
|
3796
3795
|
caseInsensitive?: boolean | undefined;
|
|
3797
3796
|
}[];
|
|
3797
|
+
action: "allow" | "block" | "redirect" | "challenge" | "log";
|
|
3798
3798
|
message?: string | undefined;
|
|
3799
|
+
description?: string | undefined;
|
|
3799
3800
|
metadata?: {
|
|
3800
3801
|
createdAt?: string | undefined;
|
|
3801
3802
|
updatedAt?: string | undefined;
|
|
3802
3803
|
createdBy?: string | undefined;
|
|
3803
3804
|
} | undefined;
|
|
3804
|
-
description?: string | undefined;
|
|
3805
3805
|
redirectUrl?: string | undefined;
|
|
3806
3806
|
}[];
|
|
3807
3807
|
excludedPaths: string[];
|