@ampsec/platform-client 61.0.0 → 61.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/dto/coverage.dto.d.ts +31 -0
- package/build/src/dto/flows.dto.d.ts +329 -54
- package/build/src/dto/flows.dto.js +16 -3
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/notification.dto.d.ts +121 -0
- package/build/src/dto/notification.dto.js +6 -1
- package/build/src/dto/notification.dto.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +242 -38
- package/build/src/dto/platform/platform.flows.dto.js +1 -1
- package/build/src/dto/platform/platform.flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +25 -0
- package/build/src/dto/saasAssets.dto.d.ts +72 -0
- package/build/src/dto/saasAssets.dto.js +6 -0
- package/build/src/dto/saasAssets.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/flows.dto.ts +19 -3
- package/src/dto/notification.dto.ts +6 -0
- package/src/dto/platform/platform.flows.dto.ts +1 -1
- package/src/dto/saasAssets.dto.ts +6 -0
|
@@ -24,6 +24,14 @@ export declare const _SaasAssetMeta: z.ZodObject<{
|
|
|
24
24
|
serialNumber: z.ZodOptional<z.ZodString>;
|
|
25
25
|
/** Asset mac addresses */
|
|
26
26
|
macAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
+
/** Asset owner information */
|
|
28
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
email: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
email?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
email?: string | undefined;
|
|
34
|
+
}>>;
|
|
27
35
|
}, "strip", z.ZodTypeAny, {
|
|
28
36
|
extId: string;
|
|
29
37
|
assetType: GlobalAssetType;
|
|
@@ -35,6 +43,9 @@ export declare const _SaasAssetMeta: z.ZodObject<{
|
|
|
35
43
|
lastActivityTime?: string | undefined;
|
|
36
44
|
serialNumber?: string | undefined;
|
|
37
45
|
macAddresses?: string[] | undefined;
|
|
46
|
+
owner?: {
|
|
47
|
+
email?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
38
49
|
}, {
|
|
39
50
|
extId: string;
|
|
40
51
|
assetType: GlobalAssetType;
|
|
@@ -46,6 +57,9 @@ export declare const _SaasAssetMeta: z.ZodObject<{
|
|
|
46
57
|
lastActivityTime?: string | undefined;
|
|
47
58
|
serialNumber?: string | undefined;
|
|
48
59
|
macAddresses?: string[] | undefined;
|
|
60
|
+
owner?: {
|
|
61
|
+
email?: string | undefined;
|
|
62
|
+
} | undefined;
|
|
49
63
|
}>;
|
|
50
64
|
_raw: z.ZodUnknown;
|
|
51
65
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -60,6 +74,9 @@ export declare const _SaasAssetMeta: z.ZodObject<{
|
|
|
60
74
|
lastActivityTime?: string | undefined;
|
|
61
75
|
serialNumber?: string | undefined;
|
|
62
76
|
macAddresses?: string[] | undefined;
|
|
77
|
+
owner?: {
|
|
78
|
+
email?: string | undefined;
|
|
79
|
+
} | undefined;
|
|
63
80
|
};
|
|
64
81
|
_raw?: unknown;
|
|
65
82
|
}, {
|
|
@@ -74,6 +91,9 @@ export declare const _SaasAssetMeta: z.ZodObject<{
|
|
|
74
91
|
lastActivityTime?: string | undefined;
|
|
75
92
|
serialNumber?: string | undefined;
|
|
76
93
|
macAddresses?: string[] | undefined;
|
|
94
|
+
owner?: {
|
|
95
|
+
email?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
77
97
|
};
|
|
78
98
|
_raw?: unknown;
|
|
79
99
|
}>;
|
|
@@ -125,6 +145,14 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
125
145
|
serialNumber: z.ZodOptional<z.ZodString>;
|
|
126
146
|
/** Asset mac addresses */
|
|
127
147
|
macAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
/** Asset owner information */
|
|
149
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
email: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
email?: string | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
email?: string | undefined;
|
|
155
|
+
}>>;
|
|
128
156
|
}, "strip", z.ZodTypeAny, {
|
|
129
157
|
extId: string;
|
|
130
158
|
assetType: GlobalAssetType;
|
|
@@ -136,6 +164,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
136
164
|
lastActivityTime?: string | undefined;
|
|
137
165
|
serialNumber?: string | undefined;
|
|
138
166
|
macAddresses?: string[] | undefined;
|
|
167
|
+
owner?: {
|
|
168
|
+
email?: string | undefined;
|
|
169
|
+
} | undefined;
|
|
139
170
|
}, {
|
|
140
171
|
extId: string;
|
|
141
172
|
assetType: GlobalAssetType;
|
|
@@ -147,6 +178,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
147
178
|
lastActivityTime?: string | undefined;
|
|
148
179
|
serialNumber?: string | undefined;
|
|
149
180
|
macAddresses?: string[] | undefined;
|
|
181
|
+
owner?: {
|
|
182
|
+
email?: string | undefined;
|
|
183
|
+
} | undefined;
|
|
150
184
|
}>;
|
|
151
185
|
_raw: z.ZodUnknown;
|
|
152
186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -161,6 +195,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
161
195
|
lastActivityTime?: string | undefined;
|
|
162
196
|
serialNumber?: string | undefined;
|
|
163
197
|
macAddresses?: string[] | undefined;
|
|
198
|
+
owner?: {
|
|
199
|
+
email?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
164
201
|
};
|
|
165
202
|
_raw?: unknown;
|
|
166
203
|
}, {
|
|
@@ -175,6 +212,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
175
212
|
lastActivityTime?: string | undefined;
|
|
176
213
|
serialNumber?: string | undefined;
|
|
177
214
|
macAddresses?: string[] | undefined;
|
|
215
|
+
owner?: {
|
|
216
|
+
email?: string | undefined;
|
|
217
|
+
} | undefined;
|
|
178
218
|
};
|
|
179
219
|
_raw?: unknown;
|
|
180
220
|
}>;
|
|
@@ -200,6 +240,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
200
240
|
lastActivityTime?: string | undefined;
|
|
201
241
|
serialNumber?: string | undefined;
|
|
202
242
|
macAddresses?: string[] | undefined;
|
|
243
|
+
owner?: {
|
|
244
|
+
email?: string | undefined;
|
|
245
|
+
} | undefined;
|
|
203
246
|
};
|
|
204
247
|
_raw?: unknown;
|
|
205
248
|
};
|
|
@@ -230,6 +273,9 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
|
|
|
230
273
|
lastActivityTime?: string | undefined;
|
|
231
274
|
serialNumber?: string | undefined;
|
|
232
275
|
macAddresses?: string[] | undefined;
|
|
276
|
+
owner?: {
|
|
277
|
+
email?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
233
279
|
};
|
|
234
280
|
_raw?: unknown;
|
|
235
281
|
};
|
|
@@ -282,6 +328,14 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
282
328
|
serialNumber: z.ZodOptional<z.ZodString>;
|
|
283
329
|
/** Asset mac addresses */
|
|
284
330
|
macAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
331
|
+
/** Asset owner information */
|
|
332
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
email: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
email?: string | undefined;
|
|
336
|
+
}, {
|
|
337
|
+
email?: string | undefined;
|
|
338
|
+
}>>;
|
|
285
339
|
}, "strip", z.ZodTypeAny, {
|
|
286
340
|
extId: string;
|
|
287
341
|
assetType: GlobalAssetType;
|
|
@@ -293,6 +347,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
293
347
|
lastActivityTime?: string | undefined;
|
|
294
348
|
serialNumber?: string | undefined;
|
|
295
349
|
macAddresses?: string[] | undefined;
|
|
350
|
+
owner?: {
|
|
351
|
+
email?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
296
353
|
}, {
|
|
297
354
|
extId: string;
|
|
298
355
|
assetType: GlobalAssetType;
|
|
@@ -304,6 +361,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
304
361
|
lastActivityTime?: string | undefined;
|
|
305
362
|
serialNumber?: string | undefined;
|
|
306
363
|
macAddresses?: string[] | undefined;
|
|
364
|
+
owner?: {
|
|
365
|
+
email?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
307
367
|
}>;
|
|
308
368
|
_raw: z.ZodUnknown;
|
|
309
369
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -318,6 +378,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
318
378
|
lastActivityTime?: string | undefined;
|
|
319
379
|
serialNumber?: string | undefined;
|
|
320
380
|
macAddresses?: string[] | undefined;
|
|
381
|
+
owner?: {
|
|
382
|
+
email?: string | undefined;
|
|
383
|
+
} | undefined;
|
|
321
384
|
};
|
|
322
385
|
_raw?: unknown;
|
|
323
386
|
}, {
|
|
@@ -332,6 +395,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
332
395
|
lastActivityTime?: string | undefined;
|
|
333
396
|
serialNumber?: string | undefined;
|
|
334
397
|
macAddresses?: string[] | undefined;
|
|
398
|
+
owner?: {
|
|
399
|
+
email?: string | undefined;
|
|
400
|
+
} | undefined;
|
|
335
401
|
};
|
|
336
402
|
_raw?: unknown;
|
|
337
403
|
}>;
|
|
@@ -366,6 +432,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
366
432
|
lastActivityTime?: string | undefined;
|
|
367
433
|
serialNumber?: string | undefined;
|
|
368
434
|
macAddresses?: string[] | undefined;
|
|
435
|
+
owner?: {
|
|
436
|
+
email?: string | undefined;
|
|
437
|
+
} | undefined;
|
|
369
438
|
};
|
|
370
439
|
_raw?: unknown;
|
|
371
440
|
};
|
|
@@ -396,6 +465,9 @@ export declare const _SaasAssetDto: z.ZodObject<{
|
|
|
396
465
|
lastActivityTime?: string | undefined;
|
|
397
466
|
serialNumber?: string | undefined;
|
|
398
467
|
macAddresses?: string[] | undefined;
|
|
468
|
+
owner?: {
|
|
469
|
+
email?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
399
471
|
};
|
|
400
472
|
_raw?: unknown;
|
|
401
473
|
};
|
|
@@ -29,6 +29,12 @@ exports._SaasAssetMeta = zod_1.z.object({
|
|
|
29
29
|
serialNumber: zod_1.z.string().optional(),
|
|
30
30
|
/** Asset mac addresses */
|
|
31
31
|
macAddresses: zod_1.z.array(zod_1.z.string()).optional(),
|
|
32
|
+
/** Asset owner information */
|
|
33
|
+
owner: zod_1.z
|
|
34
|
+
.object({
|
|
35
|
+
email: zod_1.z.string().optional(),
|
|
36
|
+
})
|
|
37
|
+
.optional(),
|
|
32
38
|
}),
|
|
33
39
|
_raw: zod_1.z.unknown(),
|
|
34
40
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,mCAAwC;AAE3B,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,6BAA6B;QAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,iBAAiB;QACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,uBAAe,CAAC;QACxC,iBAAiB;QACjB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,sBAAsB;QACtB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC9B,+CAA+C;QAC/C,mBAAmB;QACnB,kCAAkC;QAClC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,gCAAgC;QAChC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CACvB,OAAC,CAAC,MAAM,CAAC;YACP,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;YACxB,gCAAgC;YAChC,cAAc;SACf,CAAC,CACH;QACD,0BAA0B;QAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,0BAA0B;QAC1B,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,mCAAwC;AAE3B,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,6BAA6B;QAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,iBAAiB;QACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,uBAAe,CAAC;QACxC,iBAAiB;QACjB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,sBAAsB;QACtB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC9B,+CAA+C;QAC/C,mBAAmB;QACnB,kCAAkC;QAClC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,gCAAgC;QAChC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CACvB,OAAC,CAAC,MAAM,CAAC;YACP,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;YACxB,gCAAgC;YAChC,cAAc;SACf,CAAC,CACH;QACD,0BAA0B;QAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,0BAA0B;QAC1B,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC5C,8BAA8B;QAC9B,KAAK,EAAE,OAAC;aACL,MAAM,CAAC;YACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC;aACD,QAAQ,EAAE;KACd,CAAC;IACF,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CAAC;AAIU,QAAA,mBAAmB,GAAG,gCAAqB,CAAC,KAAK,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,mBAAmB;IACnB,OAAO,EAAE,sBAAU;IACnB,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,eAAe;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,yCAAyC;IACzC,IAAI,EAAE,sBAAc;CACrB,CAAC,CACH,CAAC;AAIW,QAAA,aAAa,GAAG,2BAAmB,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/dto/flows.dto.ts
CHANGED
|
@@ -94,9 +94,12 @@ export enum FlowSpecStatusKind {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
const _FlowTrigger = z.object({
|
|
97
|
-
|
|
98
|
-
displayValue: z.string()
|
|
97
|
+
id: z.string(),
|
|
98
|
+
displayValue: z.string(),
|
|
99
|
+
cid: z.string().optional(),
|
|
100
|
+
eventType: z.string(),
|
|
99
101
|
});
|
|
102
|
+
|
|
100
103
|
export type FlowTrigger = z.infer<typeof _FlowTrigger>;
|
|
101
104
|
|
|
102
105
|
const _FlowTriggerFilter = z.object({
|
|
@@ -105,7 +108,15 @@ const _FlowTriggerFilter = z.object({
|
|
|
105
108
|
});
|
|
106
109
|
export type FlowTriggerFilter = z.infer<typeof _FlowTriggerFilter>;
|
|
107
110
|
const _FlowFilter = z.object({
|
|
108
|
-
cohorts: z.array(
|
|
111
|
+
cohorts: z.array(
|
|
112
|
+
z.object({
|
|
113
|
+
id: z.string(),
|
|
114
|
+
kind: z.enum(['ORGANIZATION', 'DEPARTMENT', 'USER', 'RISK_CONTRIBUTOR']),
|
|
115
|
+
displayValue: z.string(),
|
|
116
|
+
value: z.string(),
|
|
117
|
+
inclusive: z.boolean(),
|
|
118
|
+
})
|
|
119
|
+
),
|
|
109
120
|
custom: z.record(z.unknown()).optional(),
|
|
110
121
|
});
|
|
111
122
|
const _FlowTone = z.object({
|
|
@@ -122,6 +133,9 @@ export const _FlowActions = z.object({
|
|
|
122
133
|
includeInstructions: z.boolean().optional(),
|
|
123
134
|
// TODO instructions contact address???
|
|
124
135
|
expirationActionId: z.string().optional(),
|
|
136
|
+
simpleTriageYesActId: z.string().optional(),
|
|
137
|
+
simpleTriageNoActId: z.string().optional(),
|
|
138
|
+
resolveNowActionId: z.string().optional(),
|
|
125
139
|
});
|
|
126
140
|
export type FlowActions = z.infer<typeof _FlowActions>;
|
|
127
141
|
export const _FlowRewardsConfig = z.object({
|
|
@@ -150,6 +164,8 @@ export const _FlowSpecDto = _BaseDto.merge(
|
|
|
150
164
|
reminderInterval: _FlowInterval.optional(),
|
|
151
165
|
actions: _FlowActions.optional(),
|
|
152
166
|
rewards: z.array(_FlowRewardsConfig).optional(),
|
|
167
|
+
customMessage: z.object({template: z.string(), append: z.boolean()}).optional(),
|
|
168
|
+
scheduleConfig: z.object({required: z.boolean()}).optional(),
|
|
153
169
|
activity: z
|
|
154
170
|
.object({
|
|
155
171
|
lastTriggered: z.string().optional(),
|
|
@@ -28,11 +28,15 @@ export const _NotificationAddress = z.object({
|
|
|
28
28
|
webhooks: z.array(z.string()).optional(),
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
+
export const _FlowContextKey = z.enum(['TONE', 'ACTION_GET_INSTRUCTIONS_ENABLED']);
|
|
32
|
+
export const _FlowContext = z.record(_FlowContextKey, z.any());
|
|
33
|
+
|
|
31
34
|
export const _RawContentStrategy = z.object({
|
|
32
35
|
kind: z.literal(ContentStrategyKind.RAW),
|
|
33
36
|
content: z.string(),
|
|
34
37
|
subject: z.string().optional(),
|
|
35
38
|
context: z.record(z.string()).optional(),
|
|
39
|
+
flowContext: _FlowContext.optional(),
|
|
36
40
|
// TODO context: z.record(z.union([z.string(), z.number(), z.boolean(), z.null(), z.undefined()])).optional(),
|
|
37
41
|
});
|
|
38
42
|
export type RawContentStrategy = z.infer<typeof _RawContentStrategy>;
|
|
@@ -41,12 +45,14 @@ export const _TemplateContentStrategy = z.object({
|
|
|
41
45
|
kind: z.literal(ContentStrategyKind.TEMPLATE),
|
|
42
46
|
templateId: z.string(),
|
|
43
47
|
context: z.record(z.string()),
|
|
48
|
+
flowContext: _FlowContext.optional(),
|
|
44
49
|
});
|
|
45
50
|
export type TemplateContentStrategy = z.infer<typeof _TemplateContentStrategy>;
|
|
46
51
|
|
|
47
52
|
export const _FindingContentStrategy = z.object({
|
|
48
53
|
kind: z.literal(ContentStrategyKind.FINDING),
|
|
49
54
|
fid: z.string(),
|
|
55
|
+
flowContext: _FlowContext.optional(),
|
|
50
56
|
});
|
|
51
57
|
export type FindingContentStrategy = z.infer<typeof _FindingContentStrategy>;
|
|
52
58
|
|
|
@@ -36,7 +36,7 @@ export const NOOP_FLOW_SPEC: PlatformFlowSpecDto = {
|
|
|
36
36
|
description: 'Used internally to drop trigger events',
|
|
37
37
|
fslStrategy: 'STANDARD',
|
|
38
38
|
triggerFilter: {
|
|
39
|
-
trigger: [{
|
|
39
|
+
trigger: [{id: '000000000000', displayValue: 'NOOP', eventType: ''}],
|
|
40
40
|
},
|
|
41
41
|
filter: {
|
|
42
42
|
cohorts: [],
|
|
@@ -29,6 +29,12 @@ export const _SaasAssetMeta = z.object({
|
|
|
29
29
|
serialNumber: z.string().optional(),
|
|
30
30
|
/** Asset mac addresses */
|
|
31
31
|
macAddresses: z.array(z.string()).optional(),
|
|
32
|
+
/** Asset owner information */
|
|
33
|
+
owner: z
|
|
34
|
+
.object({
|
|
35
|
+
email: z.string().optional(),
|
|
36
|
+
})
|
|
37
|
+
.optional(),
|
|
32
38
|
}),
|
|
33
39
|
_raw: z.unknown(),
|
|
34
40
|
});
|