@ampsec/platform-client 58.9.2 → 58.11.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 +795 -40
- package/build/src/FilterCriteria.js +82 -0
- package/build/src/FilterCriteria.js.map +1 -1
- package/build/src/dto/assets.dto.d.ts +10 -1
- package/build/src/dto/base.dto.d.ts +27 -9
- package/build/src/dto/base.dto.js +2 -4
- package/build/src/dto/base.dto.js.map +1 -1
- package/build/src/dto/coverage.dto.d.ts +11 -11
- package/build/src/dto/enums/finding.status.d.ts +3 -1
- package/build/src/dto/enums/finding.status.js +2 -0
- package/build/src/dto/enums/finding.status.js.map +1 -1
- package/build/src/dto/flows.dto.d.ts +819 -0
- package/build/src/dto/flows.dto.js +85 -0
- package/build/src/dto/flows.dto.js.map +1 -0
- package/build/src/dto/index.d.ts +1 -0
- package/build/src/dto/index.js +1 -0
- package/build/src/dto/index.js.map +1 -1
- package/build/src/dto/platform/index.d.ts +1 -0
- package/build/src/dto/platform/index.js +1 -0
- package/build/src/dto/platform/index.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +540 -0
- package/build/src/dto/platform/platform.flows.dto.js +32 -0
- package/build/src/dto/platform/platform.flows.dto.js.map +1 -0
- package/build/src/dto/platform/tenant.based.dto.d.ts +40 -8
- package/build/src/dto/platform/tenant.based.dto.js +7 -0
- package/build/src/dto/platform/tenant.based.dto.js.map +1 -1
- package/build/src/dto/saasAssets.dto.d.ts +10 -1
- package/build/src/dto/saasUsers.dto.d.ts +15 -6
- package/build/src/services/AmpSdk.d.ts +3 -0
- package/build/src/services/AmpSdk.js +2 -0
- package/build/src/services/AmpSdk.js.map +1 -1
- package/build/src/services/constants.d.ts +2 -0
- package/build/src/services/constants.js +2 -0
- package/build/src/services/constants.js.map +1 -1
- package/build/src/services/utils.d.ts +3 -0
- package/build/src/services/utils.js +16 -1
- package/build/src/services/utils.js.map +1 -1
- package/package.json +2 -1
- package/src/FilterCriteria.ts +104 -39
- package/src/dto/base.dto.ts +4 -6
- package/src/dto/enums/finding.status.ts +2 -0
- package/src/dto/flows.dto.ts +107 -0
- package/src/dto/index.ts +1 -0
- package/src/dto/platform/index.ts +1 -0
- package/src/dto/platform/platform.flows.dto.ts +38 -0
- package/src/dto/platform/tenant.based.dto.ts +8 -9
- package/src/services/AmpSdk.ts +5 -0
- package/src/services/constants.ts +2 -0
- package/src/services/utils.ts +16 -0
|
@@ -1,3 +1,85 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._FilterCriteria = exports._BaseFilter = exports._SortFilter = exports._PaginationFilter = exports._DateMatcher = exports._NumberMatcher = exports._StringMatcher = exports._IdMatcher = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _OptionalStringValue = zod_1.z.string().nullable();
|
|
6
|
+
const _OptionalNumberValue = zod_1.z.number().nullable();
|
|
7
|
+
exports._IdMatcher = zod_1.z.object({
|
|
8
|
+
$eq: _OptionalStringValue.optional(),
|
|
9
|
+
$ne: _OptionalStringValue.optional(),
|
|
10
|
+
$in: zod_1.z.array(_OptionalStringValue).optional(),
|
|
11
|
+
$nin: zod_1.z.array(_OptionalStringValue).optional(),
|
|
12
|
+
});
|
|
13
|
+
exports._StringMatcher = zod_1.z.object({
|
|
14
|
+
$eq: _OptionalStringValue.optional(),
|
|
15
|
+
$neq: _OptionalStringValue.optional(),
|
|
16
|
+
$lt: zod_1.z.string().optional(),
|
|
17
|
+
$gt: zod_1.z.string().optional(),
|
|
18
|
+
$lte: zod_1.z.string().optional(),
|
|
19
|
+
$gte: zod_1.z.string().optional(),
|
|
20
|
+
$like: zod_1.z.string().optional(),
|
|
21
|
+
$nlike: zod_1.z.string().optional(),
|
|
22
|
+
$in: zod_1.z.array(_OptionalStringValue).optional(),
|
|
23
|
+
$nin: zod_1.z.array(_OptionalStringValue).optional(),
|
|
24
|
+
});
|
|
25
|
+
exports._NumberMatcher = zod_1.z.object({
|
|
26
|
+
$eq: _OptionalNumberValue.optional(),
|
|
27
|
+
$neq: _OptionalNumberValue.optional(),
|
|
28
|
+
$lt: zod_1.z.number().optional(),
|
|
29
|
+
$gt: zod_1.z.number().optional(),
|
|
30
|
+
$lte: zod_1.z.number().optional(),
|
|
31
|
+
$gte: zod_1.z.number().optional(),
|
|
32
|
+
$in: zod_1.z.array(_OptionalNumberValue).optional(),
|
|
33
|
+
$nin: zod_1.z.array(_OptionalNumberValue).optional(),
|
|
34
|
+
});
|
|
35
|
+
exports._DateMatcher = zod_1.z.object({
|
|
36
|
+
$eq: _OptionalStringValue.optional(),
|
|
37
|
+
$neq: _OptionalStringValue.optional(),
|
|
38
|
+
$lt: zod_1.z.string().optional(),
|
|
39
|
+
$gt: zod_1.z.string().optional(),
|
|
40
|
+
$lte: zod_1.z.string().optional(),
|
|
41
|
+
$gte: zod_1.z.string().optional(),
|
|
42
|
+
});
|
|
43
|
+
exports._PaginationFilter = zod_1.z.object({
|
|
44
|
+
limit: zod_1.z.number().int().min(1).optional(),
|
|
45
|
+
offset: zod_1.z.number().int().min(0).optional(),
|
|
46
|
+
});
|
|
47
|
+
exports._SortFilter = zod_1.z.object({
|
|
48
|
+
sort: zod_1.z.record(zod_1.z.enum(['ASC', 'DESC'])).optional(),
|
|
49
|
+
});
|
|
50
|
+
exports._BaseFilter = exports._PaginationFilter.merge(exports._SortFilter);
|
|
51
|
+
exports._FilterCriteria = exports._BaseFilter
|
|
52
|
+
.merge(zod_1.z.object({
|
|
53
|
+
/** Entity ID */
|
|
54
|
+
id: exports._IdMatcher.optional(),
|
|
55
|
+
/** Tenant ID */
|
|
56
|
+
tid: exports._IdMatcher.optional(),
|
|
57
|
+
/** Connector ID */
|
|
58
|
+
cid: exports._IdMatcher.optional(),
|
|
59
|
+
/** Organization name. Defaults to `*` which matches all organizations. */
|
|
60
|
+
organization: zod_1.z.string().optional(),
|
|
61
|
+
/** Department name. Defaults to `*` which matches all departments. */
|
|
62
|
+
department: zod_1.z.string().optional(),
|
|
63
|
+
/** User ID */
|
|
64
|
+
uid: exports._IdMatcher.optional(),
|
|
65
|
+
/** Asset ID */
|
|
66
|
+
aid: exports._IdMatcher.optional(),
|
|
67
|
+
/** Created at Date */
|
|
68
|
+
createdAt: exports._DateMatcher.optional(),
|
|
69
|
+
/** Updated at Date */
|
|
70
|
+
updatedAt: exports._DateMatcher.optional(),
|
|
71
|
+
/** Deleted at Date. `null` if not deleted */
|
|
72
|
+
deletedAt: exports._DateMatcher.optional(),
|
|
73
|
+
}))
|
|
74
|
+
.catchall(zod_1.z.record(zod_1.z.union([
|
|
75
|
+
zod_1.z.string(),
|
|
76
|
+
zod_1.z.array(zod_1.z.string()), //
|
|
77
|
+
exports._StringMatcher,
|
|
78
|
+
zod_1.z.number(),
|
|
79
|
+
exports._NumberMatcher,
|
|
80
|
+
zod_1.z.boolean(),
|
|
81
|
+
zod_1.z.null(),
|
|
82
|
+
zod_1.z.undefined(),
|
|
83
|
+
exports._SortFilter,
|
|
84
|
+
])));
|
|
3
85
|
//# sourceMappingURL=FilterCriteria.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterCriteria.js","sourceRoot":"","sources":["../../src/FilterCriteria.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"FilterCriteria.js","sourceRoot":"","sources":["../../src/FilterCriteria.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAEtB,MAAM,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;AACnD,MAAM,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;AAEtC,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,GAAG,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,O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AE,kBAAU,CAAC,QAAQ,EAAE;IACzB,gBAAgB;IAChB,GAAG,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAC1B,mBAAmB;IACnB,GAAG,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAC1B,0EAA0E;IAC1E,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,sEAAsE;IACtE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc;IACd,GAAG,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAC1B,eAAe;IACf,GAAG,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAC1B,sBAAsB;IACtB,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;IAClC,sBAAsB;IACtB,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;IAClC,6CAA6C;IAC7C,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;CACnC,CAAC,CACH;KACA,QAAQ,CACP,OAAC,CAAC,MAAM,CACN,OAAC,CAAC,KAAK,CAAC;IACN,OAAC,CAAC,MAAM,EAAE;IACV,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACvB,sBAAc;IACd,OAAC,CAAC,MAAM,EAAE;IACV,sBAAc;IACd,OAAC,CAAC,OAAO,EAAE;IACX,OAAC,CAAC,IAAI,EAAE;IACR,OAAC,CAAC,SAAS,EAAE;IACb,mBAAW;CACZ,CAAC,CACH,CACF,CAAC"}
|
|
@@ -48,7 +48,10 @@ export declare const _SummaryAssetDto: z.ZodObject<{
|
|
|
48
48
|
}>;
|
|
49
49
|
export type SummaryAssetDto = z.infer<typeof _SummaryAssetDto>;
|
|
50
50
|
export declare const _AssetUpsertDto: z.ZodObject<{
|
|
51
|
-
id: z.ZodOptional<z.
|
|
51
|
+
id: z.ZodOptional<z.ZodString>;
|
|
52
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
53
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
54
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
55
|
etag: z.ZodString;
|
|
53
56
|
extKeys: z.ZodObject<{
|
|
54
57
|
extId: z.ZodOptional<z.ZodString>;
|
|
@@ -75,6 +78,9 @@ export declare const _AssetUpsertDto: z.ZodObject<{
|
|
|
75
78
|
sn?: string | undefined;
|
|
76
79
|
};
|
|
77
80
|
id?: string | undefined;
|
|
81
|
+
createdAt?: string | undefined;
|
|
82
|
+
updatedAt?: string | undefined;
|
|
83
|
+
deletedAt?: string | null | undefined;
|
|
78
84
|
uid?: string | undefined;
|
|
79
85
|
assetType?: GlobalAssetType | undefined;
|
|
80
86
|
}, {
|
|
@@ -86,6 +92,9 @@ export declare const _AssetUpsertDto: z.ZodObject<{
|
|
|
86
92
|
sn?: string | undefined;
|
|
87
93
|
};
|
|
88
94
|
id?: string | undefined;
|
|
95
|
+
createdAt?: string | undefined;
|
|
96
|
+
updatedAt?: string | undefined;
|
|
97
|
+
deletedAt?: string | null | undefined;
|
|
89
98
|
uid?: string | undefined;
|
|
90
99
|
assetType?: GlobalAssetType | undefined;
|
|
91
100
|
}>;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const _BaseUpsertDto: z.ZodObject<{
|
|
3
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
id?: string | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
id?: string | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
export type BaseUpsertDto = z.infer<typeof _BaseUpsertDto>;
|
|
10
2
|
export declare const _BaseDto: z.ZodObject<{
|
|
11
3
|
id: z.ZodString;
|
|
12
4
|
createdAt: z.ZodString;
|
|
@@ -24,15 +16,41 @@ export declare const _BaseDto: z.ZodObject<{
|
|
|
24
16
|
deletedAt: string | null;
|
|
25
17
|
}>;
|
|
26
18
|
export type BaseDto = z.infer<typeof _BaseDto>;
|
|
19
|
+
export declare const _BaseUpsertDto: z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
22
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
createdAt?: string | undefined;
|
|
27
|
+
updatedAt?: string | undefined;
|
|
28
|
+
deletedAt?: string | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
id?: string | undefined;
|
|
31
|
+
createdAt?: string | undefined;
|
|
32
|
+
updatedAt?: string | undefined;
|
|
33
|
+
deletedAt?: string | null | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export type BaseUpsertDto = z.infer<typeof _BaseUpsertDto>;
|
|
27
36
|
export declare const _ChangeAwareUpsertDto: z.ZodObject<{
|
|
28
|
-
id: z.ZodOptional<z.
|
|
37
|
+
id: z.ZodOptional<z.ZodString>;
|
|
38
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
39
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
40
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
41
|
etag: z.ZodString;
|
|
30
42
|
}, "strip", z.ZodTypeAny, {
|
|
31
43
|
etag: string;
|
|
32
44
|
id?: string | undefined;
|
|
45
|
+
createdAt?: string | undefined;
|
|
46
|
+
updatedAt?: string | undefined;
|
|
47
|
+
deletedAt?: string | null | undefined;
|
|
33
48
|
}, {
|
|
34
49
|
etag: string;
|
|
35
50
|
id?: string | undefined;
|
|
51
|
+
createdAt?: string | undefined;
|
|
52
|
+
updatedAt?: string | undefined;
|
|
53
|
+
deletedAt?: string | null | undefined;
|
|
36
54
|
}>;
|
|
37
55
|
export type ChangeAwareUpsertDto = z.infer<typeof _ChangeAwareUpsertDto>;
|
|
38
56
|
export declare const _ChangeAwareDto: z.ZodObject<{
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._ChangeAwareDto = exports._ChangeAwareUpsertDto = exports.
|
|
3
|
+
exports._ChangeAwareDto = exports._ChangeAwareUpsertDto = exports._BaseUpsertDto = exports._BaseDto = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports._BaseUpsertDto = zod_1.z.object({
|
|
6
|
-
id: zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()]).optional(),
|
|
7
|
-
});
|
|
8
5
|
exports._BaseDto = zod_1.z.object({
|
|
9
6
|
id: zod_1.z.string(),
|
|
10
7
|
createdAt: zod_1.z.string(),
|
|
11
8
|
updatedAt: zod_1.z.string(),
|
|
12
9
|
deletedAt: zod_1.z.string().nullable(),
|
|
13
10
|
});
|
|
11
|
+
exports._BaseUpsertDto = exports._BaseDto.partial();
|
|
14
12
|
const WithEtag = zod_1.z.object({ etag: zod_1.z.string() });
|
|
15
13
|
exports._ChangeAwareUpsertDto = exports._BaseUpsertDto.merge(WithEtag);
|
|
16
14
|
exports._ChangeAwareDto = exports._BaseDto.merge(WithEtag);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/base.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAET,QAAA,
|
|
1
|
+
{"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/base.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAET,QAAA,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAIU,QAAA,cAAc,GAAG,gBAAQ,CAAC,OAAO,EAAE,CAAC;AAIjD,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAEjC,QAAA,qBAAqB,GAAG,sBAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAIvD,QAAA,eAAe,GAAG,gBAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -35,10 +35,10 @@ export declare const _AssetCoverageSummary: z.ZodObject<{
|
|
|
35
35
|
}>;
|
|
36
36
|
export type AssetCoverageSummary = z.infer<typeof _AssetCoverageSummary>;
|
|
37
37
|
export declare const _UserCoverageSummary: z.ZodObject<{
|
|
38
|
+
email: z.ZodOptional<z.ZodString>;
|
|
38
39
|
id: z.ZodOptional<z.ZodString>;
|
|
39
40
|
organization: z.ZodOptional<z.ZodString>;
|
|
40
41
|
department: z.ZodOptional<z.ZodString>;
|
|
41
|
-
email: z.ZodOptional<z.ZodString>;
|
|
42
42
|
score: z.ZodOptional<z.ZodNumber>;
|
|
43
43
|
firstName: z.ZodOptional<z.ZodString>;
|
|
44
44
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -97,10 +97,10 @@ export declare const _UserCoverageSummary: z.ZodObject<{
|
|
|
97
97
|
os?: string | undefined;
|
|
98
98
|
model?: string | undefined;
|
|
99
99
|
}[];
|
|
100
|
+
email?: string | undefined;
|
|
100
101
|
id?: string | undefined;
|
|
101
102
|
organization?: string | undefined;
|
|
102
103
|
department?: string | undefined;
|
|
103
|
-
email?: string | undefined;
|
|
104
104
|
score?: number | undefined;
|
|
105
105
|
firstName?: string | undefined;
|
|
106
106
|
lastName?: string | undefined;
|
|
@@ -123,10 +123,10 @@ export declare const _UserCoverageSummary: z.ZodObject<{
|
|
|
123
123
|
os?: string | undefined;
|
|
124
124
|
model?: string | undefined;
|
|
125
125
|
}[];
|
|
126
|
+
email?: string | undefined;
|
|
126
127
|
id?: string | undefined;
|
|
127
128
|
organization?: string | undefined;
|
|
128
129
|
department?: string | undefined;
|
|
129
|
-
email?: string | undefined;
|
|
130
130
|
score?: number | undefined;
|
|
131
131
|
firstName?: string | undefined;
|
|
132
132
|
lastName?: string | undefined;
|
|
@@ -137,19 +137,19 @@ export declare const _UserCoverageSummary: z.ZodObject<{
|
|
|
137
137
|
}>;
|
|
138
138
|
export type UserCoverageSummary = z.infer<typeof _UserCoverageSummary>;
|
|
139
139
|
export declare const _UserCoverageReport: z.ZodObject<{
|
|
140
|
+
email: z.ZodOptional<z.ZodString>;
|
|
140
141
|
id: z.ZodOptional<z.ZodString>;
|
|
141
142
|
organization: z.ZodOptional<z.ZodString>;
|
|
142
143
|
department: z.ZodOptional<z.ZodString>;
|
|
143
|
-
email: z.ZodOptional<z.ZodString>;
|
|
144
144
|
score: z.ZodOptional<z.ZodNumber>;
|
|
145
145
|
firstName: z.ZodOptional<z.ZodString>;
|
|
146
146
|
lastName: z.ZodOptional<z.ZodString>;
|
|
147
147
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
148
148
|
lastActivity: z.ZodOptional<z.ZodString>;
|
|
149
149
|
userAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
150
|
+
email: z.ZodString;
|
|
150
151
|
cid: z.ZodString;
|
|
151
152
|
uid: z.ZodString;
|
|
152
|
-
email: z.ZodString;
|
|
153
153
|
extId: z.ZodString;
|
|
154
154
|
meta: z.ZodUnknown;
|
|
155
155
|
id: z.ZodString;
|
|
@@ -158,24 +158,24 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
158
158
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
159
159
|
etag: z.ZodString;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
email: string;
|
|
161
162
|
id: string;
|
|
162
163
|
cid: string;
|
|
163
164
|
uid: string;
|
|
164
165
|
createdAt: string;
|
|
165
166
|
updatedAt: string;
|
|
166
167
|
deletedAt: string | null;
|
|
167
|
-
email: string;
|
|
168
168
|
etag: string;
|
|
169
169
|
extId: string;
|
|
170
170
|
meta?: unknown;
|
|
171
171
|
}, {
|
|
172
|
+
email: string;
|
|
172
173
|
id: string;
|
|
173
174
|
cid: string;
|
|
174
175
|
uid: string;
|
|
175
176
|
createdAt: string;
|
|
176
177
|
updatedAt: string;
|
|
177
178
|
deletedAt: string | null;
|
|
178
|
-
email: string;
|
|
179
179
|
etag: string;
|
|
180
180
|
extId: string;
|
|
181
181
|
meta?: unknown;
|
|
@@ -307,13 +307,13 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
307
307
|
meta?: unknown;
|
|
308
308
|
}[]>;
|
|
309
309
|
userAccounts: Record<string, {
|
|
310
|
+
email: string;
|
|
310
311
|
id: string;
|
|
311
312
|
cid: string;
|
|
312
313
|
uid: string;
|
|
313
314
|
createdAt: string;
|
|
314
315
|
updatedAt: string;
|
|
315
316
|
deletedAt: string | null;
|
|
316
|
-
email: string;
|
|
317
317
|
etag: string;
|
|
318
318
|
extId: string;
|
|
319
319
|
meta?: unknown;
|
|
@@ -333,10 +333,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
333
333
|
uid?: string | undefined;
|
|
334
334
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
335
335
|
}[];
|
|
336
|
+
email?: string | undefined;
|
|
336
337
|
id?: string | undefined;
|
|
337
338
|
organization?: string | undefined;
|
|
338
339
|
department?: string | undefined;
|
|
339
|
-
email?: string | undefined;
|
|
340
340
|
score?: number | undefined;
|
|
341
341
|
firstName?: string | undefined;
|
|
342
342
|
lastName?: string | undefined;
|
|
@@ -361,13 +361,13 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
361
361
|
meta?: unknown;
|
|
362
362
|
}[]>;
|
|
363
363
|
userAccounts: Record<string, {
|
|
364
|
+
email: string;
|
|
364
365
|
id: string;
|
|
365
366
|
cid: string;
|
|
366
367
|
uid: string;
|
|
367
368
|
createdAt: string;
|
|
368
369
|
updatedAt: string;
|
|
369
370
|
deletedAt: string | null;
|
|
370
|
-
email: string;
|
|
371
371
|
etag: string;
|
|
372
372
|
extId: string;
|
|
373
373
|
meta?: unknown;
|
|
@@ -387,10 +387,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
387
387
|
uid?: string | undefined;
|
|
388
388
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
389
389
|
}[];
|
|
390
|
+
email?: string | undefined;
|
|
390
391
|
id?: string | undefined;
|
|
391
392
|
organization?: string | undefined;
|
|
392
393
|
department?: string | undefined;
|
|
393
|
-
email?: string | undefined;
|
|
394
394
|
score?: number | undefined;
|
|
395
395
|
firstName?: string | undefined;
|
|
396
396
|
lastName?: string | undefined;
|
|
@@ -25,5 +25,7 @@ export declare enum FindingStatus {
|
|
|
25
25
|
/** CLOSED + IGNORED from score */
|
|
26
26
|
CLOSED = "CLOSED",
|
|
27
27
|
/** CLOSED + IGNORED from score */
|
|
28
|
-
FALSE_POSITIVE = "CLOSED_FALSE_POSITIVE"
|
|
28
|
+
FALSE_POSITIVE = "CLOSED_FALSE_POSITIVE",
|
|
29
|
+
/** CLOSED + IGNORED from score */
|
|
30
|
+
CLOSED_BY_OMISSION = "CLOSED_BY_OMISSION"
|
|
29
31
|
}
|
|
@@ -30,5 +30,7 @@ var FindingStatus;
|
|
|
30
30
|
FindingStatus["CLOSED"] = "CLOSED";
|
|
31
31
|
/** CLOSED + IGNORED from score */
|
|
32
32
|
FindingStatus["FALSE_POSITIVE"] = "CLOSED_FALSE_POSITIVE";
|
|
33
|
+
/** CLOSED + IGNORED from score */
|
|
34
|
+
FindingStatus["CLOSED_BY_OMISSION"] = "CLOSED_BY_OMISSION";
|
|
33
35
|
})(FindingStatus || (exports.FindingStatus = FindingStatus = {}));
|
|
34
36
|
//# sourceMappingURL=finding.status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"finding.status.js","sourceRoot":"","sources":["../../../../src/dto/enums/finding.status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,IAAY,
|
|
1
|
+
{"version":3,"file":"finding.status.js","sourceRoot":"","sources":["../../../../src/dto/enums/finding.status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,+BAA+B;IAC/B,8BAAa,CAAA;IACb,+BAA+B;IAC/B,8DAA6C,CAAA;IAC7C,+BAA+B;IAC/B,gDAA+B,CAAA;IAC/B,kCAAkC;IAClC,kCAAiB,CAAA;IACjB,kCAAkC;IAClC,yDAAwC,CAAA;IACxC,kCAAkC;IAClC,0DAAyC,CAAA;AAC3C,CAAC,EAbW,aAAa,6BAAb,aAAa,QAaxB"}
|