@ampsec/platform-client 70.0.0 → 70.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/FilterCriteria.d.ts +82 -45
- package/build/src/dto/actionExecution.dto.d.ts +3 -2
- package/build/src/dto/agents.dto.d.ts +3 -2
- package/build/src/dto/assets.dto.d.ts +31 -10
- package/build/src/dto/base.dto.d.ts +6 -4
- package/build/src/dto/coverage.dto.d.ts +144 -106
- package/build/src/dto/customActions.dto.d.ts +32 -28
- package/build/src/dto/customScores.dto.d.ts +8 -4
- package/build/src/dto/eng/coverage.dto.d.ts +8 -8
- package/build/src/dto/findings.dto.d.ts +41 -40
- package/build/src/dto/flows.dto.d.ts +222 -179
- package/build/src/dto/notification.dto.d.ts +157 -134
- package/build/src/dto/page.dto.d.ts +5 -5
- package/build/src/dto/platform/platform.actionExecution.dto.d.ts +26 -12
- package/build/src/dto/platform/platform.agents.dto.d.ts +3 -2
- package/build/src/dto/platform/platform.customActions.dto.d.ts +36 -32
- package/build/src/dto/platform/platform.customScores.dto.d.ts +16 -9
- package/build/src/dto/platform/platform.findings.dto.d.ts +37 -34
- package/build/src/dto/platform/platform.flows.dto.d.ts +176 -136
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +29 -25
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +48 -44
- package/build/src/dto/platform/platform.tokens.dto.d.ts +21 -9
- package/build/src/dto/platform/tenant.based.dto.d.ts +6 -5
- package/build/src/dto/saasAssets.dto.d.ts +84 -58
- package/build/src/dto/saasUsers.dto.d.ts +131 -110
- package/build/src/dto/tokens.dto.d.ts +3 -2
- package/build/src/dto/users.dto.d.ts +8 -8
- package/build/src/services/contentful.service.d.ts +12 -12
- package/build/src/settings.d.ts +3 -0
- package/build/src/settings.js +3 -0
- package/build/src/settings.js.map +1 -1
- package/package.json +1 -1
- package/src/settings.ts +3 -0
|
@@ -135,10 +135,10 @@ declare const _FindingSpecInsights: z.ZodObject<{
|
|
|
135
135
|
kind: SaasComponentKind;
|
|
136
136
|
category: Category;
|
|
137
137
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
138
|
-
|
|
138
|
+
uid?: {
|
|
139
139
|
$has: boolean;
|
|
140
140
|
} | undefined;
|
|
141
|
-
|
|
141
|
+
aid?: {
|
|
142
142
|
$has: boolean;
|
|
143
143
|
} | undefined;
|
|
144
144
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -146,10 +146,10 @@ declare const _FindingSpecInsights: z.ZodObject<{
|
|
|
146
146
|
kind: SaasComponentKind;
|
|
147
147
|
category: Category;
|
|
148
148
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
149
|
-
|
|
149
|
+
uid?: {
|
|
150
150
|
$has: boolean;
|
|
151
151
|
} | undefined;
|
|
152
|
-
|
|
152
|
+
aid?: {
|
|
153
153
|
$has: boolean;
|
|
154
154
|
} | undefined;
|
|
155
155
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -164,10 +164,10 @@ declare const _FindingSpecInsights: z.ZodObject<{
|
|
|
164
164
|
kind: SaasComponentKind;
|
|
165
165
|
category: Category;
|
|
166
166
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
167
|
-
|
|
167
|
+
uid?: {
|
|
168
168
|
$has: boolean;
|
|
169
169
|
} | undefined;
|
|
170
|
-
|
|
170
|
+
aid?: {
|
|
171
171
|
$has: boolean;
|
|
172
172
|
} | undefined;
|
|
173
173
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -182,20 +182,21 @@ declare const _FindingSpecInsights: z.ZodObject<{
|
|
|
182
182
|
kind: SaasComponentKind;
|
|
183
183
|
category: Category;
|
|
184
184
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
185
|
-
|
|
185
|
+
uid?: {
|
|
186
186
|
$has: boolean;
|
|
187
187
|
} | undefined;
|
|
188
|
-
|
|
188
|
+
aid?: {
|
|
189
189
|
$has: boolean;
|
|
190
190
|
} | undefined;
|
|
191
191
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
192
192
|
} | undefined;
|
|
193
193
|
}>;
|
|
194
|
-
export declare const _FindingSpecDto: z.ZodObject<{
|
|
194
|
+
export declare const _FindingSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
195
195
|
id: z.ZodString;
|
|
196
196
|
createdAt: z.ZodString;
|
|
197
197
|
updatedAt: z.ZodString;
|
|
198
198
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
199
|
+
}, {
|
|
199
200
|
cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
201
|
name: z.ZodString;
|
|
201
202
|
displayValue: z.ZodString;
|
|
@@ -239,10 +240,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
239
240
|
kind: SaasComponentKind;
|
|
240
241
|
category: Category;
|
|
241
242
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
242
|
-
|
|
243
|
+
uid?: {
|
|
243
244
|
$has: boolean;
|
|
244
245
|
} | undefined;
|
|
245
|
-
|
|
246
|
+
aid?: {
|
|
246
247
|
$has: boolean;
|
|
247
248
|
} | undefined;
|
|
248
249
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -250,10 +251,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
250
251
|
kind: SaasComponentKind;
|
|
251
252
|
category: Category;
|
|
252
253
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
253
|
-
|
|
254
|
+
uid?: {
|
|
254
255
|
$has: boolean;
|
|
255
256
|
} | undefined;
|
|
256
|
-
|
|
257
|
+
aid?: {
|
|
257
258
|
$has: boolean;
|
|
258
259
|
} | undefined;
|
|
259
260
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -268,10 +269,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
268
269
|
kind: SaasComponentKind;
|
|
269
270
|
category: Category;
|
|
270
271
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
271
|
-
|
|
272
|
+
uid?: {
|
|
272
273
|
$has: boolean;
|
|
273
274
|
} | undefined;
|
|
274
|
-
|
|
275
|
+
aid?: {
|
|
275
276
|
$has: boolean;
|
|
276
277
|
} | undefined;
|
|
277
278
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -286,10 +287,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
286
287
|
kind: SaasComponentKind;
|
|
287
288
|
category: Category;
|
|
288
289
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
289
|
-
|
|
290
|
+
uid?: {
|
|
290
291
|
$has: boolean;
|
|
291
292
|
} | undefined;
|
|
292
|
-
|
|
293
|
+
aid?: {
|
|
293
294
|
$has: boolean;
|
|
294
295
|
} | undefined;
|
|
295
296
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -299,7 +300,7 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
299
300
|
outcome: z.ZodOptional<z.ZodNativeEnum<typeof FindingOutcome>>;
|
|
300
301
|
kind: z.ZodNativeEnum<typeof FindingSpecKind>;
|
|
301
302
|
score: z.ZodOptional<z.ZodNumber>;
|
|
302
|
-
}
|
|
303
|
+
}>, "strip", z.ZodTypeAny, {
|
|
303
304
|
name: string;
|
|
304
305
|
id: string;
|
|
305
306
|
createdAt: string;
|
|
@@ -309,8 +310,9 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
309
310
|
kind: FindingSpecKind;
|
|
310
311
|
severity: FindingSeverity;
|
|
311
312
|
eventType: string;
|
|
312
|
-
cid?: string | null | undefined;
|
|
313
313
|
description?: unknown;
|
|
314
|
+
cid?: string | null | undefined;
|
|
315
|
+
score?: number | undefined;
|
|
314
316
|
insights?: {
|
|
315
317
|
meta?: {
|
|
316
318
|
displayValue: string;
|
|
@@ -321,10 +323,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
321
323
|
kind: SaasComponentKind;
|
|
322
324
|
category: Category;
|
|
323
325
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
324
|
-
|
|
326
|
+
uid?: {
|
|
325
327
|
$has: boolean;
|
|
326
328
|
} | undefined;
|
|
327
|
-
|
|
329
|
+
aid?: {
|
|
328
330
|
$has: boolean;
|
|
329
331
|
} | undefined;
|
|
330
332
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -332,7 +334,6 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
332
334
|
} | undefined;
|
|
333
335
|
expireAfterDays?: number | null | undefined;
|
|
334
336
|
outcome?: FindingOutcome | undefined;
|
|
335
|
-
score?: number | undefined;
|
|
336
337
|
}, {
|
|
337
338
|
name: string;
|
|
338
339
|
id: string;
|
|
@@ -343,8 +344,9 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
343
344
|
kind: FindingSpecKind;
|
|
344
345
|
severity: FindingSeverity;
|
|
345
346
|
eventType: string;
|
|
346
|
-
cid?: string | null | undefined;
|
|
347
347
|
description?: unknown;
|
|
348
|
+
cid?: string | null | undefined;
|
|
349
|
+
score?: number | undefined;
|
|
348
350
|
insights?: {
|
|
349
351
|
meta?: {
|
|
350
352
|
displayValue: string;
|
|
@@ -355,10 +357,10 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
355
357
|
kind: SaasComponentKind;
|
|
356
358
|
category: Category;
|
|
357
359
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
358
|
-
|
|
360
|
+
uid?: {
|
|
359
361
|
$has: boolean;
|
|
360
362
|
} | undefined;
|
|
361
|
-
|
|
363
|
+
aid?: {
|
|
362
364
|
$has: boolean;
|
|
363
365
|
} | undefined;
|
|
364
366
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -366,7 +368,6 @@ export declare const _FindingSpecDto: z.ZodObject<{
|
|
|
366
368
|
} | undefined;
|
|
367
369
|
expireAfterDays?: number | null | undefined;
|
|
368
370
|
outcome?: FindingOutcome | undefined;
|
|
369
|
-
score?: number | undefined;
|
|
370
371
|
}>;
|
|
371
372
|
export type FindingSpecInsights = z.infer<typeof _FindingSpecInsights>;
|
|
372
373
|
export type FindingSpecDto = z.infer<typeof _FindingSpecDto>;
|
|
@@ -420,10 +421,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
420
421
|
kind: SaasComponentKind;
|
|
421
422
|
category: Category;
|
|
422
423
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
423
|
-
|
|
424
|
+
uid?: {
|
|
424
425
|
$has: boolean;
|
|
425
426
|
} | undefined;
|
|
426
|
-
|
|
427
|
+
aid?: {
|
|
427
428
|
$has: boolean;
|
|
428
429
|
} | undefined;
|
|
429
430
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -431,10 +432,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
431
432
|
kind: SaasComponentKind;
|
|
432
433
|
category: Category;
|
|
433
434
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
434
|
-
|
|
435
|
+
uid?: {
|
|
435
436
|
$has: boolean;
|
|
436
437
|
} | undefined;
|
|
437
|
-
|
|
438
|
+
aid?: {
|
|
438
439
|
$has: boolean;
|
|
439
440
|
} | undefined;
|
|
440
441
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -449,10 +450,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
449
450
|
kind: SaasComponentKind;
|
|
450
451
|
category: Category;
|
|
451
452
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
452
|
-
|
|
453
|
+
uid?: {
|
|
453
454
|
$has: boolean;
|
|
454
455
|
} | undefined;
|
|
455
|
-
|
|
456
|
+
aid?: {
|
|
456
457
|
$has: boolean;
|
|
457
458
|
} | undefined;
|
|
458
459
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -467,10 +468,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
467
468
|
kind: SaasComponentKind;
|
|
468
469
|
category: Category;
|
|
469
470
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
470
|
-
|
|
471
|
+
uid?: {
|
|
471
472
|
$has: boolean;
|
|
472
473
|
} | undefined;
|
|
473
|
-
|
|
474
|
+
aid?: {
|
|
474
475
|
$has: boolean;
|
|
475
476
|
} | undefined;
|
|
476
477
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -501,10 +502,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
501
502
|
kind: SaasComponentKind;
|
|
502
503
|
category: Category;
|
|
503
504
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
504
|
-
|
|
505
|
+
uid?: {
|
|
505
506
|
$has: boolean;
|
|
506
507
|
} | undefined;
|
|
507
|
-
|
|
508
|
+
aid?: {
|
|
508
509
|
$has: boolean;
|
|
509
510
|
} | undefined;
|
|
510
511
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -535,10 +536,10 @@ export declare const _FindingSpecUpsertDto: z.ZodObject<{
|
|
|
535
536
|
kind: SaasComponentKind;
|
|
536
537
|
category: Category;
|
|
537
538
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
538
|
-
|
|
539
|
+
uid?: {
|
|
539
540
|
$has: boolean;
|
|
540
541
|
} | undefined;
|
|
541
|
-
|
|
542
|
+
aid?: {
|
|
542
543
|
$has: boolean;
|
|
543
544
|
} | undefined;
|
|
544
545
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -576,15 +577,15 @@ export declare const _CustomFindingPayload: z.ZodObject<{
|
|
|
576
577
|
context: z.ZodOptional<z.ZodUnknown>;
|
|
577
578
|
}, "strip", z.ZodTypeAny, {
|
|
578
579
|
eventType: string;
|
|
579
|
-
correlationId?: string | undefined;
|
|
580
580
|
email?: string | undefined;
|
|
581
581
|
serialNumber?: string | undefined;
|
|
582
|
+
correlationId?: string | undefined;
|
|
582
583
|
context?: unknown;
|
|
583
584
|
}, {
|
|
584
585
|
eventType: string;
|
|
585
|
-
correlationId?: string | undefined;
|
|
586
586
|
email?: string | undefined;
|
|
587
587
|
serialNumber?: string | undefined;
|
|
588
|
+
correlationId?: string | undefined;
|
|
588
589
|
context?: unknown;
|
|
589
590
|
}>;
|
|
590
591
|
export type CustomFindingPayload = z.infer<typeof _CustomFindingPayload>;
|