@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
|
@@ -3,19 +3,18 @@ import { FindingDto, FindingUpsertDto } from '../findings.dto';
|
|
|
3
3
|
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
4
4
|
export type PlatformFindingUpsertDto = FindingUpsertDto & UpsertTenantBased;
|
|
5
5
|
export type PlatformFindingDto = FindingDto & TenantBased;
|
|
6
|
-
export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
description: z.ZodUnion<[z.ZodString, z.ZodUnknown]>;
|
|
6
|
+
export declare const _PlatformFindingSpecDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9
7
|
id: z.ZodString;
|
|
10
|
-
cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
8
|
createdAt: z.ZodString;
|
|
12
9
|
updatedAt: z.ZodString;
|
|
13
10
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, {
|
|
12
|
+
cid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
name: z.ZodString;
|
|
14
14
|
displayValue: z.ZodString;
|
|
15
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
kind: z.ZodNativeEnum<typeof import("..").FindingSpecKind>;
|
|
17
|
-
severity: z.ZodNativeEnum<typeof import("..").FindingSeverity>;
|
|
18
15
|
eventType: z.ZodString;
|
|
16
|
+
description: z.ZodUnion<[z.ZodString, z.ZodUnknown]>;
|
|
17
|
+
severity: z.ZodNativeEnum<typeof import("..").FindingSeverity>;
|
|
19
18
|
insights: z.ZodOptional<z.ZodObject<{
|
|
20
19
|
meta: z.ZodOptional<z.ZodObject<{
|
|
21
20
|
kind: z.ZodNativeEnum<typeof import("..").FindingKind>;
|
|
@@ -53,10 +52,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
53
52
|
kind: import("..").SaasComponentKind;
|
|
54
53
|
category: import("..").Category;
|
|
55
54
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
56
|
-
|
|
55
|
+
uid?: {
|
|
57
56
|
$has: boolean;
|
|
58
57
|
} | undefined;
|
|
59
|
-
|
|
58
|
+
aid?: {
|
|
60
59
|
$has: boolean;
|
|
61
60
|
} | undefined;
|
|
62
61
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -64,10 +63,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
64
63
|
kind: import("..").SaasComponentKind;
|
|
65
64
|
category: import("..").Category;
|
|
66
65
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
67
|
-
|
|
66
|
+
uid?: {
|
|
68
67
|
$has: boolean;
|
|
69
68
|
} | undefined;
|
|
70
|
-
|
|
69
|
+
aid?: {
|
|
71
70
|
$has: boolean;
|
|
72
71
|
} | undefined;
|
|
73
72
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -82,10 +81,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
82
81
|
kind: import("..").SaasComponentKind;
|
|
83
82
|
category: import("..").Category;
|
|
84
83
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
85
|
-
|
|
84
|
+
uid?: {
|
|
86
85
|
$has: boolean;
|
|
87
86
|
} | undefined;
|
|
88
|
-
|
|
87
|
+
aid?: {
|
|
89
88
|
$has: boolean;
|
|
90
89
|
} | undefined;
|
|
91
90
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -100,10 +99,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
100
99
|
kind: import("..").SaasComponentKind;
|
|
101
100
|
category: import("..").Category;
|
|
102
101
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
103
|
-
|
|
102
|
+
uid?: {
|
|
104
103
|
$has: boolean;
|
|
105
104
|
} | undefined;
|
|
106
|
-
|
|
105
|
+
aid?: {
|
|
107
106
|
$has: boolean;
|
|
108
107
|
} | undefined;
|
|
109
108
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -111,8 +110,11 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
111
110
|
}>>;
|
|
112
111
|
expireAfterDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
113
112
|
outcome: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingOutcome>>;
|
|
113
|
+
kind: z.ZodNativeEnum<typeof import("..").FindingSpecKind>;
|
|
114
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
}>, {
|
|
114
116
|
tid: z.ZodString;
|
|
115
|
-
}
|
|
117
|
+
}>, "strip", z.ZodTypeAny, {
|
|
116
118
|
name: string;
|
|
117
119
|
id: string;
|
|
118
120
|
tid: string;
|
|
@@ -136,10 +138,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
136
138
|
kind: import("..").SaasComponentKind;
|
|
137
139
|
category: import("..").Category;
|
|
138
140
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
139
|
-
|
|
141
|
+
uid?: {
|
|
140
142
|
$has: boolean;
|
|
141
143
|
} | undefined;
|
|
142
|
-
|
|
144
|
+
aid?: {
|
|
143
145
|
$has: boolean;
|
|
144
146
|
} | undefined;
|
|
145
147
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -171,10 +173,10 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
171
173
|
kind: import("..").SaasComponentKind;
|
|
172
174
|
category: import("..").Category;
|
|
173
175
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
174
|
-
|
|
176
|
+
uid?: {
|
|
175
177
|
$has: boolean;
|
|
176
178
|
} | undefined;
|
|
177
|
-
|
|
179
|
+
aid?: {
|
|
178
180
|
$has: boolean;
|
|
179
181
|
} | undefined;
|
|
180
182
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -184,7 +186,7 @@ export declare const _PlatformFindingSpecDto: z.ZodObject<{
|
|
|
184
186
|
outcome?: import("..").FindingOutcome | undefined;
|
|
185
187
|
}>;
|
|
186
188
|
export type PlatformFindingSpecDto = z.infer<typeof _PlatformFindingSpecDto>;
|
|
187
|
-
export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
189
|
+
export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
188
190
|
name: z.ZodString;
|
|
189
191
|
description: z.ZodUnion<[z.ZodString, z.ZodUnknown]>;
|
|
190
192
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -234,10 +236,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
234
236
|
kind: import("..").SaasComponentKind;
|
|
235
237
|
category: import("..").Category;
|
|
236
238
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
237
|
-
|
|
239
|
+
uid?: {
|
|
238
240
|
$has: boolean;
|
|
239
241
|
} | undefined;
|
|
240
|
-
|
|
242
|
+
aid?: {
|
|
241
243
|
$has: boolean;
|
|
242
244
|
} | undefined;
|
|
243
245
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -245,10 +247,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
245
247
|
kind: import("..").SaasComponentKind;
|
|
246
248
|
category: import("..").Category;
|
|
247
249
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
248
|
-
|
|
250
|
+
uid?: {
|
|
249
251
|
$has: boolean;
|
|
250
252
|
} | undefined;
|
|
251
|
-
|
|
253
|
+
aid?: {
|
|
252
254
|
$has: boolean;
|
|
253
255
|
} | undefined;
|
|
254
256
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -263,10 +265,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
263
265
|
kind: import("..").SaasComponentKind;
|
|
264
266
|
category: import("..").Category;
|
|
265
267
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
266
|
-
|
|
268
|
+
uid?: {
|
|
267
269
|
$has: boolean;
|
|
268
270
|
} | undefined;
|
|
269
|
-
|
|
271
|
+
aid?: {
|
|
270
272
|
$has: boolean;
|
|
271
273
|
} | undefined;
|
|
272
274
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -281,10 +283,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
281
283
|
kind: import("..").SaasComponentKind;
|
|
282
284
|
category: import("..").Category;
|
|
283
285
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
284
|
-
|
|
286
|
+
uid?: {
|
|
285
287
|
$has: boolean;
|
|
286
288
|
} | undefined;
|
|
287
|
-
|
|
289
|
+
aid?: {
|
|
288
290
|
$has: boolean;
|
|
289
291
|
} | undefined;
|
|
290
292
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -292,8 +294,9 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
292
294
|
}>>;
|
|
293
295
|
expireAfterDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
294
296
|
outcome: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingOutcome>>;
|
|
297
|
+
}, {
|
|
295
298
|
tid: z.ZodString;
|
|
296
|
-
}
|
|
299
|
+
}>, "strip", z.ZodTypeAny, {
|
|
297
300
|
name: string;
|
|
298
301
|
tid: string;
|
|
299
302
|
displayValue: string;
|
|
@@ -317,10 +320,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
317
320
|
kind: import("..").SaasComponentKind;
|
|
318
321
|
category: import("..").Category;
|
|
319
322
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
320
|
-
|
|
323
|
+
uid?: {
|
|
321
324
|
$has: boolean;
|
|
322
325
|
} | undefined;
|
|
323
|
-
|
|
326
|
+
aid?: {
|
|
324
327
|
$has: boolean;
|
|
325
328
|
} | undefined;
|
|
326
329
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|
|
@@ -352,10 +355,10 @@ export declare const _PlatformFindingSpecUpsertDto: z.ZodObject<{
|
|
|
352
355
|
kind: import("..").SaasComponentKind;
|
|
353
356
|
category: import("..").Category;
|
|
354
357
|
findingCondition: Record<string, string | number | boolean | undefined>;
|
|
355
|
-
|
|
358
|
+
uid?: {
|
|
356
359
|
$has: boolean;
|
|
357
360
|
} | undefined;
|
|
358
|
-
|
|
361
|
+
aid?: {
|
|
359
362
|
$has: boolean;
|
|
360
363
|
} | undefined;
|
|
361
364
|
remediatedCondition?: Record<string, string | number | boolean | undefined> | undefined;
|