@mlvscan/api-client 1.1.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/README.md +21 -0
- package/dist/generated/files/index.d.ts +45 -0
- package/dist/generated/files/index.d.ts.map +1 -0
- package/dist/generated/files/index.js +46 -0
- package/dist/generated/files/index.js.map +1 -0
- package/dist/generated/files/upload_url/index.d.ts +50 -0
- package/dist/generated/files/upload_url/index.d.ts.map +1 -0
- package/dist/generated/files/upload_url/index.js +30 -0
- package/dist/generated/files/upload_url/index.js.map +1 -0
- package/dist/generated/mlvScanApiClient.d.ts +35 -0
- package/dist/generated/mlvScanApiClient.d.ts.map +1 -0
- package/dist/generated/mlvScanApiClient.js +72 -0
- package/dist/generated/mlvScanApiClient.js.map +1 -0
- package/dist/generated/models/index.d.ts +1609 -0
- package/dist/generated/models/index.d.ts.map +1 -0
- package/dist/generated/models/index.js +1483 -0
- package/dist/generated/models/index.js.map +1 -0
- package/dist/generated/public/index.d.ts +20 -0
- package/dist/generated/public/index.d.ts.map +1 -0
- package/dist/generated/public/index.js +20 -0
- package/dist/generated/public/index.js.map +1 -0
- package/dist/generated/public/reports/index.d.ts +22 -0
- package/dist/generated/public/reports/index.d.ts.map +1 -0
- package/dist/generated/public/reports/index.js +21 -0
- package/dist/generated/public/reports/index.js.map +1 -0
- package/dist/generated/public/reports/item/index.d.ts +29 -0
- package/dist/generated/public/reports/item/index.d.ts.map +1 -0
- package/dist/generated/public/reports/item/index.js +26 -0
- package/dist/generated/public/reports/item/index.js.map +1 -0
- package/dist/generated/reports/index.d.ts +22 -0
- package/dist/generated/reports/index.d.ts.map +1 -0
- package/dist/generated/reports/index.js +21 -0
- package/dist/generated/reports/index.js.map +1 -0
- package/dist/generated/reports/item/index.d.ts +32 -0
- package/dist/generated/reports/item/index.d.ts.map +1 -0
- package/dist/generated/reports/item/index.js +29 -0
- package/dist/generated/reports/item/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/mlvscan-client.d.ts +29 -0
- package/dist/mlvscan-client.d.ts.map +1 -0
- package/dist/mlvscan-client.js +131 -0
- package/dist/mlvscan-client.js.map +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,1609 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
export interface AssemblyMetadata extends AdditionalDataHolder, Parsable {
|
|
3
|
+
/**
|
|
4
|
+
* The assemblyVersion property
|
|
5
|
+
*/
|
|
6
|
+
assemblyVersion?: string | null;
|
|
7
|
+
/**
|
|
8
|
+
* The fileVersion property
|
|
9
|
+
*/
|
|
10
|
+
fileVersion?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* The informationalVersion property
|
|
13
|
+
*/
|
|
14
|
+
informationalVersion?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The moduleRuntimeVersion property
|
|
17
|
+
*/
|
|
18
|
+
moduleRuntimeVersion?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* The name property
|
|
21
|
+
*/
|
|
22
|
+
name?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* The referencedAssemblies property
|
|
25
|
+
*/
|
|
26
|
+
referencedAssemblies?: string[] | null;
|
|
27
|
+
/**
|
|
28
|
+
* The targetFramework property
|
|
29
|
+
*/
|
|
30
|
+
targetFramework?: string | null;
|
|
31
|
+
}
|
|
32
|
+
export interface CallChain extends AdditionalDataHolder, Parsable {
|
|
33
|
+
/**
|
|
34
|
+
* The description property
|
|
35
|
+
*/
|
|
36
|
+
description?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The id property
|
|
39
|
+
*/
|
|
40
|
+
id?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The nodes property
|
|
43
|
+
*/
|
|
44
|
+
nodes?: CallChainNode[] | null;
|
|
45
|
+
/**
|
|
46
|
+
* The ruleId property
|
|
47
|
+
*/
|
|
48
|
+
ruleId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* The severity property
|
|
51
|
+
*/
|
|
52
|
+
severity?: Severity | null;
|
|
53
|
+
}
|
|
54
|
+
export interface CallChainNode extends AdditionalDataHolder, Parsable {
|
|
55
|
+
/**
|
|
56
|
+
* The codeSnippet property
|
|
57
|
+
*/
|
|
58
|
+
codeSnippet?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* The description property
|
|
61
|
+
*/
|
|
62
|
+
description?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* The location property
|
|
65
|
+
*/
|
|
66
|
+
location?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The nodeType property
|
|
69
|
+
*/
|
|
70
|
+
nodeType?: CallChainNodeType | null;
|
|
71
|
+
}
|
|
72
|
+
export type CallChainNodeType = (typeof CallChainNodeTypeObject)[keyof typeof CallChainNodeTypeObject];
|
|
73
|
+
/**
|
|
74
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
75
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
76
|
+
* @returns {AssemblyMetadata}
|
|
77
|
+
*/
|
|
78
|
+
export declare function createAssemblyMetadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
79
|
+
/**
|
|
80
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
81
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
82
|
+
* @returns {CallChain}
|
|
83
|
+
*/
|
|
84
|
+
export declare function createCallChainFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
85
|
+
/**
|
|
86
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
87
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
88
|
+
* @returns {CallChainNode}
|
|
89
|
+
*/
|
|
90
|
+
export declare function createCallChainNodeFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
93
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
94
|
+
* @returns {DataFlowChain}
|
|
95
|
+
*/
|
|
96
|
+
export declare function createDataFlowChainFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
97
|
+
/**
|
|
98
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
99
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
100
|
+
* @returns {DataFlowNode}
|
|
101
|
+
*/
|
|
102
|
+
export declare function createDataFlowNodeFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
103
|
+
/**
|
|
104
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
105
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
106
|
+
* @returns {DeveloperGuidance}
|
|
107
|
+
*/
|
|
108
|
+
export declare function createDeveloperGuidanceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
109
|
+
/**
|
|
110
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
111
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
112
|
+
* @returns {ErrorResponse}
|
|
113
|
+
*/
|
|
114
|
+
export declare function createErrorResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
115
|
+
/**
|
|
116
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
117
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
118
|
+
* @returns {FilesUploadResponse_data_links}
|
|
119
|
+
*/
|
|
120
|
+
export declare function createFilesUploadResponse_data_linksFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
123
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
124
|
+
* @returns {FilesUploadResponse_data}
|
|
125
|
+
*/
|
|
126
|
+
export declare function createFilesUploadResponse_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
127
|
+
/**
|
|
128
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
129
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
130
|
+
* @returns {FilesUploadResponse}
|
|
131
|
+
*/
|
|
132
|
+
export declare function createFilesUploadResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
133
|
+
/**
|
|
134
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
135
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
136
|
+
* @returns {FilesUploadUrlResponse_data}
|
|
137
|
+
*/
|
|
138
|
+
export declare function createFilesUploadUrlResponse_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
139
|
+
/**
|
|
140
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
141
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
142
|
+
* @returns {FilesUploadUrlResponse}
|
|
143
|
+
*/
|
|
144
|
+
export declare function createFilesUploadUrlResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
145
|
+
/**
|
|
146
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
147
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
148
|
+
* @returns {Finding}
|
|
149
|
+
*/
|
|
150
|
+
export declare function createFindingFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
151
|
+
/**
|
|
152
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
153
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
154
|
+
* @returns {PublicRelatedReport}
|
|
155
|
+
*/
|
|
156
|
+
export declare function createPublicRelatedReportFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
157
|
+
/**
|
|
158
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
159
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
160
|
+
* @returns {PublicReportFinding}
|
|
161
|
+
*/
|
|
162
|
+
export declare function createPublicReportFindingFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
163
|
+
/**
|
|
164
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
165
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
166
|
+
* @returns {PublicReportResponse_reviewOverride}
|
|
167
|
+
*/
|
|
168
|
+
export declare function createPublicReportResponse_reviewOverrideFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
169
|
+
/**
|
|
170
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
171
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
172
|
+
* @returns {PublicReportResponse}
|
|
173
|
+
*/
|
|
174
|
+
export declare function createPublicReportResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
175
|
+
/**
|
|
176
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
177
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
178
|
+
* @returns {PublicReportSource}
|
|
179
|
+
*/
|
|
180
|
+
export declare function createPublicReportSourceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
181
|
+
/**
|
|
182
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
183
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
184
|
+
* @returns {PublicReportThreatFamily}
|
|
185
|
+
*/
|
|
186
|
+
export declare function createPublicReportThreatFamilyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
187
|
+
/**
|
|
188
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
189
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
190
|
+
* @returns {ReportResponse_result}
|
|
191
|
+
*/
|
|
192
|
+
export declare function createReportResponse_resultFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
193
|
+
/**
|
|
194
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
195
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
196
|
+
* @returns {ReportResponse_reviewOverride}
|
|
197
|
+
*/
|
|
198
|
+
export declare function createReportResponse_reviewOverrideFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
199
|
+
/**
|
|
200
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
201
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
202
|
+
* @returns {ReportResponse}
|
|
203
|
+
*/
|
|
204
|
+
export declare function createReportResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
205
|
+
/**
|
|
206
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
207
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
208
|
+
* @returns {ScanInput}
|
|
209
|
+
*/
|
|
210
|
+
export declare function createScanInputFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
211
|
+
/**
|
|
212
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
213
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
214
|
+
* @returns {ScanMetadata}
|
|
215
|
+
*/
|
|
216
|
+
export declare function createScanMetadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
217
|
+
/**
|
|
218
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
219
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
220
|
+
* @returns {ScanSummary_countBySeverity}
|
|
221
|
+
*/
|
|
222
|
+
export declare function createScanSummary_countBySeverityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
223
|
+
/**
|
|
224
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
225
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
226
|
+
* @returns {ScanSummary}
|
|
227
|
+
*/
|
|
228
|
+
export declare function createScanSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
229
|
+
/**
|
|
230
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
231
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
232
|
+
* @returns {ThreatDisposition}
|
|
233
|
+
*/
|
|
234
|
+
export declare function createThreatDispositionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
235
|
+
/**
|
|
236
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
237
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
238
|
+
* @returns {ThreatFamilyEvidence}
|
|
239
|
+
*/
|
|
240
|
+
export declare function createThreatFamilyEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
241
|
+
/**
|
|
242
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
243
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
244
|
+
* @returns {ThreatFamily}
|
|
245
|
+
*/
|
|
246
|
+
export declare function createThreatFamilyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
247
|
+
export interface DataFlowChain extends AdditionalDataHolder, Parsable {
|
|
248
|
+
/**
|
|
249
|
+
* The callDepth property
|
|
250
|
+
*/
|
|
251
|
+
callDepth?: number | null;
|
|
252
|
+
/**
|
|
253
|
+
* The description property
|
|
254
|
+
*/
|
|
255
|
+
description?: string | null;
|
|
256
|
+
/**
|
|
257
|
+
* The id property
|
|
258
|
+
*/
|
|
259
|
+
id?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* The involvedMethods property
|
|
262
|
+
*/
|
|
263
|
+
involvedMethods?: string[] | null;
|
|
264
|
+
/**
|
|
265
|
+
* The isCrossMethod property
|
|
266
|
+
*/
|
|
267
|
+
isCrossMethod?: boolean | null;
|
|
268
|
+
/**
|
|
269
|
+
* The isSuspicious property
|
|
270
|
+
*/
|
|
271
|
+
isSuspicious?: boolean | null;
|
|
272
|
+
/**
|
|
273
|
+
* The methodLocation property
|
|
274
|
+
*/
|
|
275
|
+
methodLocation?: string | null;
|
|
276
|
+
/**
|
|
277
|
+
* The nodes property
|
|
278
|
+
*/
|
|
279
|
+
nodes?: DataFlowNode[] | null;
|
|
280
|
+
/**
|
|
281
|
+
* The pattern property
|
|
282
|
+
*/
|
|
283
|
+
pattern?: DataFlowPattern | null;
|
|
284
|
+
/**
|
|
285
|
+
* The severity property
|
|
286
|
+
*/
|
|
287
|
+
severity?: Severity | null;
|
|
288
|
+
/**
|
|
289
|
+
* The sourceVariable property
|
|
290
|
+
*/
|
|
291
|
+
sourceVariable?: string | null;
|
|
292
|
+
}
|
|
293
|
+
export interface DataFlowNode extends AdditionalDataHolder, Parsable {
|
|
294
|
+
/**
|
|
295
|
+
* The codeSnippet property
|
|
296
|
+
*/
|
|
297
|
+
codeSnippet?: string | null;
|
|
298
|
+
/**
|
|
299
|
+
* The dataDescription property
|
|
300
|
+
*/
|
|
301
|
+
dataDescription?: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* The instructionOffset property
|
|
304
|
+
*/
|
|
305
|
+
instructionOffset?: number | null;
|
|
306
|
+
/**
|
|
307
|
+
* The isMethodBoundary property
|
|
308
|
+
*/
|
|
309
|
+
isMethodBoundary?: boolean | null;
|
|
310
|
+
/**
|
|
311
|
+
* The location property
|
|
312
|
+
*/
|
|
313
|
+
location?: string | null;
|
|
314
|
+
/**
|
|
315
|
+
* The methodKey property
|
|
316
|
+
*/
|
|
317
|
+
methodKey?: string | null;
|
|
318
|
+
/**
|
|
319
|
+
* The nodeType property
|
|
320
|
+
*/
|
|
321
|
+
nodeType?: DataFlowNodeType | null;
|
|
322
|
+
/**
|
|
323
|
+
* The operation property
|
|
324
|
+
*/
|
|
325
|
+
operation?: string | null;
|
|
326
|
+
/**
|
|
327
|
+
* The targetMethodKey property
|
|
328
|
+
*/
|
|
329
|
+
targetMethodKey?: string | null;
|
|
330
|
+
}
|
|
331
|
+
export type DataFlowNodeType = (typeof DataFlowNodeTypeObject)[keyof typeof DataFlowNodeTypeObject];
|
|
332
|
+
export type DataFlowPattern = (typeof DataFlowPatternObject)[keyof typeof DataFlowPatternObject];
|
|
333
|
+
/**
|
|
334
|
+
* The deserialization information for the current model
|
|
335
|
+
* @param AssemblyMetadata The instance to deserialize into.
|
|
336
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
337
|
+
*/
|
|
338
|
+
export declare function deserializeIntoAssemblyMetadata(assemblyMetadata?: Partial<AssemblyMetadata> | undefined): Record<string, (node: ParseNode) => void>;
|
|
339
|
+
/**
|
|
340
|
+
* The deserialization information for the current model
|
|
341
|
+
* @param CallChain The instance to deserialize into.
|
|
342
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
343
|
+
*/
|
|
344
|
+
export declare function deserializeIntoCallChain(callChain?: Partial<CallChain> | undefined): Record<string, (node: ParseNode) => void>;
|
|
345
|
+
/**
|
|
346
|
+
* The deserialization information for the current model
|
|
347
|
+
* @param CallChainNode The instance to deserialize into.
|
|
348
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
349
|
+
*/
|
|
350
|
+
export declare function deserializeIntoCallChainNode(callChainNode?: Partial<CallChainNode> | undefined): Record<string, (node: ParseNode) => void>;
|
|
351
|
+
/**
|
|
352
|
+
* The deserialization information for the current model
|
|
353
|
+
* @param DataFlowChain The instance to deserialize into.
|
|
354
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
355
|
+
*/
|
|
356
|
+
export declare function deserializeIntoDataFlowChain(dataFlowChain?: Partial<DataFlowChain> | undefined): Record<string, (node: ParseNode) => void>;
|
|
357
|
+
/**
|
|
358
|
+
* The deserialization information for the current model
|
|
359
|
+
* @param DataFlowNode The instance to deserialize into.
|
|
360
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
361
|
+
*/
|
|
362
|
+
export declare function deserializeIntoDataFlowNode(dataFlowNode?: Partial<DataFlowNode> | undefined): Record<string, (node: ParseNode) => void>;
|
|
363
|
+
/**
|
|
364
|
+
* The deserialization information for the current model
|
|
365
|
+
* @param DeveloperGuidance The instance to deserialize into.
|
|
366
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
367
|
+
*/
|
|
368
|
+
export declare function deserializeIntoDeveloperGuidance(developerGuidance?: Partial<DeveloperGuidance> | undefined): Record<string, (node: ParseNode) => void>;
|
|
369
|
+
/**
|
|
370
|
+
* The deserialization information for the current model
|
|
371
|
+
* @param ErrorResponse The instance to deserialize into.
|
|
372
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
373
|
+
*/
|
|
374
|
+
export declare function deserializeIntoErrorResponse(errorResponse?: Partial<ErrorResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
375
|
+
/**
|
|
376
|
+
* The deserialization information for the current model
|
|
377
|
+
* @param FilesUploadResponse The instance to deserialize into.
|
|
378
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
379
|
+
*/
|
|
380
|
+
export declare function deserializeIntoFilesUploadResponse(filesUploadResponse?: Partial<FilesUploadResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
381
|
+
/**
|
|
382
|
+
* The deserialization information for the current model
|
|
383
|
+
* @param FilesUploadResponse_data The instance to deserialize into.
|
|
384
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
385
|
+
*/
|
|
386
|
+
export declare function deserializeIntoFilesUploadResponse_data(filesUploadResponse_data?: Partial<FilesUploadResponse_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
387
|
+
/**
|
|
388
|
+
* The deserialization information for the current model
|
|
389
|
+
* @param FilesUploadResponse_data_links The instance to deserialize into.
|
|
390
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
391
|
+
*/
|
|
392
|
+
export declare function deserializeIntoFilesUploadResponse_data_links(filesUploadResponse_data_links?: Partial<FilesUploadResponse_data_links> | undefined): Record<string, (node: ParseNode) => void>;
|
|
393
|
+
/**
|
|
394
|
+
* The deserialization information for the current model
|
|
395
|
+
* @param FilesUploadUrlResponse The instance to deserialize into.
|
|
396
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
397
|
+
*/
|
|
398
|
+
export declare function deserializeIntoFilesUploadUrlResponse(filesUploadUrlResponse?: Partial<FilesUploadUrlResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
399
|
+
/**
|
|
400
|
+
* The deserialization information for the current model
|
|
401
|
+
* @param FilesUploadUrlResponse_data The instance to deserialize into.
|
|
402
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
403
|
+
*/
|
|
404
|
+
export declare function deserializeIntoFilesUploadUrlResponse_data(filesUploadUrlResponse_data?: Partial<FilesUploadUrlResponse_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
405
|
+
/**
|
|
406
|
+
* The deserialization information for the current model
|
|
407
|
+
* @param Finding The instance to deserialize into.
|
|
408
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
409
|
+
*/
|
|
410
|
+
export declare function deserializeIntoFinding(finding?: Partial<Finding> | undefined): Record<string, (node: ParseNode) => void>;
|
|
411
|
+
/**
|
|
412
|
+
* The deserialization information for the current model
|
|
413
|
+
* @param PublicRelatedReport The instance to deserialize into.
|
|
414
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
415
|
+
*/
|
|
416
|
+
export declare function deserializeIntoPublicRelatedReport(publicRelatedReport?: Partial<PublicRelatedReport> | undefined): Record<string, (node: ParseNode) => void>;
|
|
417
|
+
/**
|
|
418
|
+
* The deserialization information for the current model
|
|
419
|
+
* @param PublicReportFinding The instance to deserialize into.
|
|
420
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
421
|
+
*/
|
|
422
|
+
export declare function deserializeIntoPublicReportFinding(publicReportFinding?: Partial<PublicReportFinding> | undefined): Record<string, (node: ParseNode) => void>;
|
|
423
|
+
/**
|
|
424
|
+
* The deserialization information for the current model
|
|
425
|
+
* @param PublicReportResponse The instance to deserialize into.
|
|
426
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
427
|
+
*/
|
|
428
|
+
export declare function deserializeIntoPublicReportResponse(publicReportResponse?: Partial<PublicReportResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
429
|
+
/**
|
|
430
|
+
* The deserialization information for the current model
|
|
431
|
+
* @param PublicReportResponse_reviewOverride The instance to deserialize into.
|
|
432
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
433
|
+
*/
|
|
434
|
+
export declare function deserializeIntoPublicReportResponse_reviewOverride(publicReportResponse_reviewOverride?: Partial<PublicReportResponse_reviewOverride> | undefined): Record<string, (node: ParseNode) => void>;
|
|
435
|
+
/**
|
|
436
|
+
* The deserialization information for the current model
|
|
437
|
+
* @param PublicReportSource The instance to deserialize into.
|
|
438
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
439
|
+
*/
|
|
440
|
+
export declare function deserializeIntoPublicReportSource(publicReportSource?: Partial<PublicReportSource> | undefined): Record<string, (node: ParseNode) => void>;
|
|
441
|
+
/**
|
|
442
|
+
* The deserialization information for the current model
|
|
443
|
+
* @param PublicReportThreatFamily The instance to deserialize into.
|
|
444
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
445
|
+
*/
|
|
446
|
+
export declare function deserializeIntoPublicReportThreatFamily(publicReportThreatFamily?: Partial<PublicReportThreatFamily> | undefined): Record<string, (node: ParseNode) => void>;
|
|
447
|
+
/**
|
|
448
|
+
* The deserialization information for the current model
|
|
449
|
+
* @param ReportResponse The instance to deserialize into.
|
|
450
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
451
|
+
*/
|
|
452
|
+
export declare function deserializeIntoReportResponse(reportResponse?: Partial<ReportResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
453
|
+
/**
|
|
454
|
+
* The deserialization information for the current model
|
|
455
|
+
* @param ReportResponse_result The instance to deserialize into.
|
|
456
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
457
|
+
*/
|
|
458
|
+
export declare function deserializeIntoReportResponse_result(reportResponse_result?: Partial<ReportResponse_result> | undefined): Record<string, (node: ParseNode) => void>;
|
|
459
|
+
/**
|
|
460
|
+
* The deserialization information for the current model
|
|
461
|
+
* @param ReportResponse_reviewOverride The instance to deserialize into.
|
|
462
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
463
|
+
*/
|
|
464
|
+
export declare function deserializeIntoReportResponse_reviewOverride(reportResponse_reviewOverride?: Partial<ReportResponse_reviewOverride> | undefined): Record<string, (node: ParseNode) => void>;
|
|
465
|
+
/**
|
|
466
|
+
* The deserialization information for the current model
|
|
467
|
+
* @param ScanInput The instance to deserialize into.
|
|
468
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
469
|
+
*/
|
|
470
|
+
export declare function deserializeIntoScanInput(scanInput?: Partial<ScanInput> | undefined): Record<string, (node: ParseNode) => void>;
|
|
471
|
+
/**
|
|
472
|
+
* The deserialization information for the current model
|
|
473
|
+
* @param ScanMetadata The instance to deserialize into.
|
|
474
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
475
|
+
*/
|
|
476
|
+
export declare function deserializeIntoScanMetadata(scanMetadata?: Partial<ScanMetadata> | undefined): Record<string, (node: ParseNode) => void>;
|
|
477
|
+
/**
|
|
478
|
+
* The deserialization information for the current model
|
|
479
|
+
* @param ScanSummary The instance to deserialize into.
|
|
480
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
481
|
+
*/
|
|
482
|
+
export declare function deserializeIntoScanSummary(scanSummary?: Partial<ScanSummary> | undefined): Record<string, (node: ParseNode) => void>;
|
|
483
|
+
/**
|
|
484
|
+
* The deserialization information for the current model
|
|
485
|
+
* @param ScanSummary_countBySeverity The instance to deserialize into.
|
|
486
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
487
|
+
*/
|
|
488
|
+
export declare function deserializeIntoScanSummary_countBySeverity(scanSummary_countBySeverity?: Partial<ScanSummary_countBySeverity> | undefined): Record<string, (node: ParseNode) => void>;
|
|
489
|
+
/**
|
|
490
|
+
* The deserialization information for the current model
|
|
491
|
+
* @param ThreatDisposition The instance to deserialize into.
|
|
492
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
493
|
+
*/
|
|
494
|
+
export declare function deserializeIntoThreatDisposition(threatDisposition?: Partial<ThreatDisposition> | undefined): Record<string, (node: ParseNode) => void>;
|
|
495
|
+
/**
|
|
496
|
+
* The deserialization information for the current model
|
|
497
|
+
* @param ThreatFamily The instance to deserialize into.
|
|
498
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
499
|
+
*/
|
|
500
|
+
export declare function deserializeIntoThreatFamily(threatFamily?: Partial<ThreatFamily> | undefined): Record<string, (node: ParseNode) => void>;
|
|
501
|
+
/**
|
|
502
|
+
* The deserialization information for the current model
|
|
503
|
+
* @param ThreatFamilyEvidence The instance to deserialize into.
|
|
504
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
505
|
+
*/
|
|
506
|
+
export declare function deserializeIntoThreatFamilyEvidence(threatFamilyEvidence?: Partial<ThreatFamilyEvidence> | undefined): Record<string, (node: ParseNode) => void>;
|
|
507
|
+
export interface DeveloperGuidance extends AdditionalDataHolder, Parsable {
|
|
508
|
+
/**
|
|
509
|
+
* The alternativeApis property
|
|
510
|
+
*/
|
|
511
|
+
alternativeApis?: string[] | null;
|
|
512
|
+
/**
|
|
513
|
+
* The documentationUrl property
|
|
514
|
+
*/
|
|
515
|
+
documentationUrl?: string | null;
|
|
516
|
+
/**
|
|
517
|
+
* The isRemediable property
|
|
518
|
+
*/
|
|
519
|
+
isRemediable?: boolean | null;
|
|
520
|
+
/**
|
|
521
|
+
* The remediation property
|
|
522
|
+
*/
|
|
523
|
+
remediation?: string | null;
|
|
524
|
+
/**
|
|
525
|
+
* The ruleId property
|
|
526
|
+
*/
|
|
527
|
+
ruleId?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* The ruleIds property
|
|
530
|
+
*/
|
|
531
|
+
ruleIds?: string[] | null;
|
|
532
|
+
}
|
|
533
|
+
export interface ErrorResponse extends AdditionalDataHolder, ApiError, Parsable {
|
|
534
|
+
/**
|
|
535
|
+
* Error message
|
|
536
|
+
*/
|
|
537
|
+
errorEscaped?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Optional detailed error message
|
|
540
|
+
*/
|
|
541
|
+
messageEscaped?: string | null;
|
|
542
|
+
}
|
|
543
|
+
export interface FilesUploadResponse extends AdditionalDataHolder, Parsable {
|
|
544
|
+
/**
|
|
545
|
+
* The data property
|
|
546
|
+
*/
|
|
547
|
+
data?: FilesUploadResponse_data | null;
|
|
548
|
+
}
|
|
549
|
+
export interface FilesUploadResponse_data extends AdditionalDataHolder, Parsable {
|
|
550
|
+
/**
|
|
551
|
+
* Submission ID. Use this with GET /reports/{submissionId} to poll the analysis created by this upload.
|
|
552
|
+
*/
|
|
553
|
+
id?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* The links property
|
|
556
|
+
*/
|
|
557
|
+
links?: FilesUploadResponse_data_links | null;
|
|
558
|
+
/**
|
|
559
|
+
* Resource type. Similar to an analysis handle in APIs such as VirusTotal: it identifies this upload/submission, not necessarily a unique file hash.
|
|
560
|
+
*/
|
|
561
|
+
type?: FilesUploadResponse_data_type | null;
|
|
562
|
+
}
|
|
563
|
+
export interface FilesUploadResponse_data_links extends AdditionalDataHolder, Parsable {
|
|
564
|
+
/**
|
|
565
|
+
* Link to poll this submission report.
|
|
566
|
+
*/
|
|
567
|
+
self?: string | null;
|
|
568
|
+
}
|
|
569
|
+
export type FilesUploadResponse_data_type = (typeof FilesUploadResponse_data_typeObject)[keyof typeof FilesUploadResponse_data_typeObject];
|
|
570
|
+
export interface FilesUploadUrlResponse extends AdditionalDataHolder, Parsable {
|
|
571
|
+
/**
|
|
572
|
+
* The data property
|
|
573
|
+
*/
|
|
574
|
+
data?: FilesUploadUrlResponse_data | null;
|
|
575
|
+
}
|
|
576
|
+
export interface FilesUploadUrlResponse_data extends AdditionalDataHolder, Parsable {
|
|
577
|
+
/**
|
|
578
|
+
* URL expiration in seconds
|
|
579
|
+
*/
|
|
580
|
+
expiresIn?: number | null;
|
|
581
|
+
/**
|
|
582
|
+
* Submission ID. Use this with GET /reports/{submissionId} after uploading bytes to the presigned URL.
|
|
583
|
+
*/
|
|
584
|
+
submissionId?: string | null;
|
|
585
|
+
/**
|
|
586
|
+
* HTTP method for upload
|
|
587
|
+
*/
|
|
588
|
+
uploadMethod?: FilesUploadUrlResponse_data_upload_method | null;
|
|
589
|
+
/**
|
|
590
|
+
* One-time presigned PUT URL. Upload file using HTTP PUT with raw bytes.
|
|
591
|
+
*/
|
|
592
|
+
uploadUrl?: string | null;
|
|
593
|
+
}
|
|
594
|
+
export type FilesUploadUrlResponse_data_upload_method = (typeof FilesUploadUrlResponse_data_upload_methodObject)[keyof typeof FilesUploadUrlResponse_data_upload_methodObject];
|
|
595
|
+
export interface Finding extends AdditionalDataHolder, Parsable {
|
|
596
|
+
/**
|
|
597
|
+
* The callChain property
|
|
598
|
+
*/
|
|
599
|
+
callChain?: CallChain | null;
|
|
600
|
+
/**
|
|
601
|
+
* The callChainId property
|
|
602
|
+
*/
|
|
603
|
+
callChainId?: string | null;
|
|
604
|
+
/**
|
|
605
|
+
* The codeSnippet property
|
|
606
|
+
*/
|
|
607
|
+
codeSnippet?: string | null;
|
|
608
|
+
/**
|
|
609
|
+
* The dataFlowChain property
|
|
610
|
+
*/
|
|
611
|
+
dataFlowChain?: DataFlowChain | null;
|
|
612
|
+
/**
|
|
613
|
+
* The dataFlowChainId property
|
|
614
|
+
*/
|
|
615
|
+
dataFlowChainId?: string | null;
|
|
616
|
+
/**
|
|
617
|
+
* The description property
|
|
618
|
+
*/
|
|
619
|
+
description?: string | null;
|
|
620
|
+
/**
|
|
621
|
+
* The developerGuidance property
|
|
622
|
+
*/
|
|
623
|
+
developerGuidance?: DeveloperGuidance | null;
|
|
624
|
+
/**
|
|
625
|
+
* The id property
|
|
626
|
+
*/
|
|
627
|
+
id?: string | null;
|
|
628
|
+
/**
|
|
629
|
+
* The location property
|
|
630
|
+
*/
|
|
631
|
+
location?: string | null;
|
|
632
|
+
/**
|
|
633
|
+
* The riskScore property
|
|
634
|
+
*/
|
|
635
|
+
riskScore?: number | null;
|
|
636
|
+
/**
|
|
637
|
+
* The ruleId property
|
|
638
|
+
*/
|
|
639
|
+
ruleId?: string | null;
|
|
640
|
+
/**
|
|
641
|
+
* The severity property
|
|
642
|
+
*/
|
|
643
|
+
severity?: Severity | null;
|
|
644
|
+
/**
|
|
645
|
+
* The visibility property
|
|
646
|
+
*/
|
|
647
|
+
visibility?: FindingVisibility | null;
|
|
648
|
+
}
|
|
649
|
+
export type FindingVisibility = (typeof FindingVisibilityObject)[keyof typeof FindingVisibilityObject];
|
|
650
|
+
export interface PublicRelatedReport extends AdditionalDataHolder, Parsable {
|
|
651
|
+
/**
|
|
652
|
+
* Public normalized disposition for this related report.
|
|
653
|
+
*/
|
|
654
|
+
classification?: PublicRelatedReport_classification | null;
|
|
655
|
+
/**
|
|
656
|
+
* SHA-256 hash of the scanned bytes when available.
|
|
657
|
+
*/
|
|
658
|
+
contentHash?: string | null;
|
|
659
|
+
/**
|
|
660
|
+
* Time this source/report association was recorded.
|
|
661
|
+
*/
|
|
662
|
+
createdAt?: Date | null;
|
|
663
|
+
/**
|
|
664
|
+
* Whether this item is the report currently being viewed.
|
|
665
|
+
*/
|
|
666
|
+
current?: boolean | null;
|
|
667
|
+
/**
|
|
668
|
+
* Scanned file or extracted assembly name for this related report.
|
|
669
|
+
*/
|
|
670
|
+
fileName?: string | null;
|
|
671
|
+
/**
|
|
672
|
+
* Total retained public finding count for this related report.
|
|
673
|
+
*/
|
|
674
|
+
findingCount?: number | null;
|
|
675
|
+
/**
|
|
676
|
+
* Canonical report ID for this related assembly/file.
|
|
677
|
+
*/
|
|
678
|
+
reportId?: string | null;
|
|
679
|
+
/**
|
|
680
|
+
* Scan-result schema version for this related report.
|
|
681
|
+
*/
|
|
682
|
+
schemaVersion?: string | null;
|
|
683
|
+
/**
|
|
684
|
+
* Current lifecycle state for this related report.
|
|
685
|
+
*/
|
|
686
|
+
status?: PublicRelatedReport_status | null;
|
|
687
|
+
/**
|
|
688
|
+
* Submission ID for a report linked to the same public source artifact.
|
|
689
|
+
*/
|
|
690
|
+
submissionId?: string | null;
|
|
691
|
+
}
|
|
692
|
+
export type PublicRelatedReport_classification = (typeof PublicRelatedReport_classificationObject)[keyof typeof PublicRelatedReport_classificationObject];
|
|
693
|
+
export type PublicRelatedReport_status = (typeof PublicRelatedReport_statusObject)[keyof typeof PublicRelatedReport_statusObject];
|
|
694
|
+
export interface PublicReportFinding extends AdditionalDataHolder, Parsable {
|
|
695
|
+
/**
|
|
696
|
+
* The description property
|
|
697
|
+
*/
|
|
698
|
+
description?: string | null;
|
|
699
|
+
/**
|
|
700
|
+
* The id property
|
|
701
|
+
*/
|
|
702
|
+
id?: string | null;
|
|
703
|
+
/**
|
|
704
|
+
* The location property
|
|
705
|
+
*/
|
|
706
|
+
location?: string | null;
|
|
707
|
+
/**
|
|
708
|
+
* The ruleId property
|
|
709
|
+
*/
|
|
710
|
+
ruleId?: string | null;
|
|
711
|
+
/**
|
|
712
|
+
* The severity property
|
|
713
|
+
*/
|
|
714
|
+
severity?: string | null;
|
|
715
|
+
/**
|
|
716
|
+
* The visibility property
|
|
717
|
+
*/
|
|
718
|
+
visibility?: PublicReportFinding_visibility | null;
|
|
719
|
+
}
|
|
720
|
+
export type PublicReportFinding_visibility = (typeof PublicReportFinding_visibilityObject)[keyof typeof PublicReportFinding_visibilityObject];
|
|
721
|
+
/**
|
|
722
|
+
* Public source-linked report. This is a sanitized presentation of the same canonical scan result returned by GET /reports/{submissionId}, enriched with provider metadata and available only when the submission is linked to a public source artifact.
|
|
723
|
+
*/
|
|
724
|
+
export interface PublicReportResponse extends AdditionalDataHolder, Parsable {
|
|
725
|
+
/**
|
|
726
|
+
* Whether MLVScan recommends blocking or quarantining the artifact.
|
|
727
|
+
*/
|
|
728
|
+
blockingRecommended?: boolean | null;
|
|
729
|
+
/**
|
|
730
|
+
* Public normalized disposition derived from the underlying MLVScan Core result.
|
|
731
|
+
*/
|
|
732
|
+
classification?: PublicReportResponse_classification | null;
|
|
733
|
+
/**
|
|
734
|
+
* SHA-256 hash of the scanned bytes when available.
|
|
735
|
+
*/
|
|
736
|
+
contentHash?: string | null;
|
|
737
|
+
/**
|
|
738
|
+
* Scanned file or extracted assembly name.
|
|
739
|
+
*/
|
|
740
|
+
fileName?: string | null;
|
|
741
|
+
/**
|
|
742
|
+
* Total retained finding count from the underlying result.
|
|
743
|
+
*/
|
|
744
|
+
findingCount?: number | null;
|
|
745
|
+
/**
|
|
746
|
+
* Sanitized public findings, including default findings and advanced diagnostics. Internal-only details are omitted.
|
|
747
|
+
*/
|
|
748
|
+
findings?: PublicReportFinding[] | null;
|
|
749
|
+
/**
|
|
750
|
+
* Short public verdict headline.
|
|
751
|
+
*/
|
|
752
|
+
headline?: string | null;
|
|
753
|
+
/**
|
|
754
|
+
* Primary matched threat family ID, when known.
|
|
755
|
+
*/
|
|
756
|
+
primaryThreatFamilyId?: string | null;
|
|
757
|
+
/**
|
|
758
|
+
* Other public reports linked to the same source artifact, such as additional assemblies extracted from the same mod package.
|
|
759
|
+
*/
|
|
760
|
+
relatedReports?: PublicRelatedReport[] | null;
|
|
761
|
+
/**
|
|
762
|
+
* Canonical report ID, formatted as {sha256}:{schemaVersion}. Multiple source submissions can share this report when identical bytes are deduplicated.
|
|
763
|
+
*/
|
|
764
|
+
reportId?: string | null;
|
|
765
|
+
/**
|
|
766
|
+
* The reviewedAt property
|
|
767
|
+
*/
|
|
768
|
+
reviewedAt?: Date | null;
|
|
769
|
+
/**
|
|
770
|
+
* The reviewedBy property
|
|
771
|
+
*/
|
|
772
|
+
reviewedBy?: string | null;
|
|
773
|
+
/**
|
|
774
|
+
* Active review override applied to this public presentation, when available.
|
|
775
|
+
*/
|
|
776
|
+
reviewOverride?: PublicReportResponse_reviewOverride | null;
|
|
777
|
+
/**
|
|
778
|
+
* The reviewStatus property
|
|
779
|
+
*/
|
|
780
|
+
reviewStatus?: PublicReportResponse_reviewStatus | null;
|
|
781
|
+
/**
|
|
782
|
+
* Best available timestamp for when this scan result was produced.
|
|
783
|
+
*/
|
|
784
|
+
scannedAt?: Date | null;
|
|
785
|
+
/**
|
|
786
|
+
* MLVScan scanner/Core version recorded in the result when available.
|
|
787
|
+
*/
|
|
788
|
+
scannerVersion?: string | null;
|
|
789
|
+
/**
|
|
790
|
+
* Scan-result schema version used to produce this report.
|
|
791
|
+
*/
|
|
792
|
+
schemaVersion?: string | null;
|
|
793
|
+
/**
|
|
794
|
+
* Scanned byte size when available in the scanner result.
|
|
795
|
+
*/
|
|
796
|
+
sizeBytes?: number | null;
|
|
797
|
+
/**
|
|
798
|
+
* Provider/source metadata used by mlvscan.com and Discord source report links.
|
|
799
|
+
*/
|
|
800
|
+
source?: PublicReportSource | null;
|
|
801
|
+
/**
|
|
802
|
+
* Current lifecycle state for the underlying canonical report.
|
|
803
|
+
*/
|
|
804
|
+
status?: PublicReportResponse_status | null;
|
|
805
|
+
/**
|
|
806
|
+
* Submission ID for this public source report.
|
|
807
|
+
*/
|
|
808
|
+
submissionId?: string | null;
|
|
809
|
+
/**
|
|
810
|
+
* Public summary of the result.
|
|
811
|
+
*/
|
|
812
|
+
summary?: string | null;
|
|
813
|
+
/**
|
|
814
|
+
* Sanitized public threat-family matches.
|
|
815
|
+
*/
|
|
816
|
+
threatFamilies?: PublicReportThreatFamily[] | null;
|
|
817
|
+
/**
|
|
818
|
+
* Rule IDs triggered by the underlying scan result when available.
|
|
819
|
+
*/
|
|
820
|
+
triggeredRules?: string[] | null;
|
|
821
|
+
}
|
|
822
|
+
export type PublicReportResponse_classification = (typeof PublicReportResponse_classificationObject)[keyof typeof PublicReportResponse_classificationObject];
|
|
823
|
+
/**
|
|
824
|
+
* Active review override applied to this public presentation, when available.
|
|
825
|
+
*/
|
|
826
|
+
export interface PublicReportResponse_reviewOverride extends AdditionalDataHolder, Parsable {
|
|
827
|
+
/**
|
|
828
|
+
* The blockingRecommended property
|
|
829
|
+
*/
|
|
830
|
+
blockingRecommended?: boolean | null;
|
|
831
|
+
/**
|
|
832
|
+
* The classification property
|
|
833
|
+
*/
|
|
834
|
+
classification?: ThreatDispositionClassification | null;
|
|
835
|
+
/**
|
|
836
|
+
* The headline property
|
|
837
|
+
*/
|
|
838
|
+
headline?: string | null;
|
|
839
|
+
/**
|
|
840
|
+
* The id property
|
|
841
|
+
*/
|
|
842
|
+
id?: string | null;
|
|
843
|
+
/**
|
|
844
|
+
* The reason property
|
|
845
|
+
*/
|
|
846
|
+
reason?: string | null;
|
|
847
|
+
/**
|
|
848
|
+
* The reviewedAt property
|
|
849
|
+
*/
|
|
850
|
+
reviewedAt?: Date | null;
|
|
851
|
+
/**
|
|
852
|
+
* The reviewedBy property
|
|
853
|
+
*/
|
|
854
|
+
reviewedBy?: string | null;
|
|
855
|
+
/**
|
|
856
|
+
* The reviewedByDiscordUserId property
|
|
857
|
+
*/
|
|
858
|
+
reviewedByDiscordUserId?: string | null;
|
|
859
|
+
/**
|
|
860
|
+
* The reviewStatus property
|
|
861
|
+
*/
|
|
862
|
+
reviewStatus?: PublicReportResponse_reviewOverride_reviewStatus | null;
|
|
863
|
+
/**
|
|
864
|
+
* The scopeKind property
|
|
865
|
+
*/
|
|
866
|
+
scopeKind?: PublicReportResponse_reviewOverride_scopeKind | null;
|
|
867
|
+
/**
|
|
868
|
+
* The summary property
|
|
869
|
+
*/
|
|
870
|
+
summary?: string | null;
|
|
871
|
+
}
|
|
872
|
+
export type PublicReportResponse_reviewOverride_reviewStatus = (typeof PublicReportResponse_reviewOverride_reviewStatusObject)[keyof typeof PublicReportResponse_reviewOverride_reviewStatusObject];
|
|
873
|
+
export type PublicReportResponse_reviewOverride_scopeKind = (typeof PublicReportResponse_reviewOverride_scopeKindObject)[keyof typeof PublicReportResponse_reviewOverride_scopeKindObject];
|
|
874
|
+
export type PublicReportResponse_reviewStatus = (typeof PublicReportResponse_reviewStatusObject)[keyof typeof PublicReportResponse_reviewStatusObject];
|
|
875
|
+
export type PublicReportResponse_status = (typeof PublicReportResponse_statusObject)[keyof typeof PublicReportResponse_statusObject];
|
|
876
|
+
/**
|
|
877
|
+
* Provider/source metadata used by mlvscan.com and Discord source report links.
|
|
878
|
+
*/
|
|
879
|
+
export interface PublicReportSource extends AdditionalDataHolder, Parsable {
|
|
880
|
+
/**
|
|
881
|
+
* Provider author/uploader when available.
|
|
882
|
+
*/
|
|
883
|
+
author?: string | null;
|
|
884
|
+
/**
|
|
885
|
+
* Provider display name for the mod/package when available.
|
|
886
|
+
*/
|
|
887
|
+
displayName?: string | null;
|
|
888
|
+
/**
|
|
889
|
+
* Provider file or extracted assembly name associated with this public report.
|
|
890
|
+
*/
|
|
891
|
+
fileName?: string | null;
|
|
892
|
+
/**
|
|
893
|
+
* Provider game/community key.
|
|
894
|
+
*/
|
|
895
|
+
game?: string | null;
|
|
896
|
+
/**
|
|
897
|
+
* Original archive/package filename when the report is for an extracted assembly.
|
|
898
|
+
*/
|
|
899
|
+
packageFileName?: string | null;
|
|
900
|
+
/**
|
|
901
|
+
* Source provider, such as nexusmods or thunderstore.
|
|
902
|
+
*/
|
|
903
|
+
provider?: string | null;
|
|
904
|
+
/**
|
|
905
|
+
* Provider-specific artifact key recorded by MLVScan. This is for provenance, not scan deduplication.
|
|
906
|
+
*/
|
|
907
|
+
sourceKey?: string | null;
|
|
908
|
+
/**
|
|
909
|
+
* Canonical provider page URL when available.
|
|
910
|
+
*/
|
|
911
|
+
sourceUrl?: string | null;
|
|
912
|
+
/**
|
|
913
|
+
* Provider version string when available.
|
|
914
|
+
*/
|
|
915
|
+
version?: string | null;
|
|
916
|
+
}
|
|
917
|
+
export interface PublicReportThreatFamily extends AdditionalDataHolder, Parsable {
|
|
918
|
+
/**
|
|
919
|
+
* The advisorySlugs property
|
|
920
|
+
*/
|
|
921
|
+
advisorySlugs?: string[] | null;
|
|
922
|
+
/**
|
|
923
|
+
* The confidence property
|
|
924
|
+
*/
|
|
925
|
+
confidence?: number | null;
|
|
926
|
+
/**
|
|
927
|
+
* The displayName property
|
|
928
|
+
*/
|
|
929
|
+
displayName?: string | null;
|
|
930
|
+
/**
|
|
931
|
+
* The exactHashMatch property
|
|
932
|
+
*/
|
|
933
|
+
exactHashMatch?: boolean | null;
|
|
934
|
+
/**
|
|
935
|
+
* The familyId property
|
|
936
|
+
*/
|
|
937
|
+
familyId?: string | null;
|
|
938
|
+
/**
|
|
939
|
+
* The matchedRules property
|
|
940
|
+
*/
|
|
941
|
+
matchedRules?: string[] | null;
|
|
942
|
+
/**
|
|
943
|
+
* The matchKind property
|
|
944
|
+
*/
|
|
945
|
+
matchKind?: string | null;
|
|
946
|
+
/**
|
|
947
|
+
* The summary property
|
|
948
|
+
*/
|
|
949
|
+
summary?: string | null;
|
|
950
|
+
/**
|
|
951
|
+
* The variantId property
|
|
952
|
+
*/
|
|
953
|
+
variantId?: string | null;
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Operational submission report. Use this after POST /files or GET /files/upload_url to poll scan status and read the raw MLVScan Core result. This endpoint is submission-centric, but the returned report may be shared by other submissions with identical SHA-256 bytes and schema version.
|
|
957
|
+
*/
|
|
958
|
+
export interface ReportResponse extends AdditionalDataHolder, Parsable {
|
|
959
|
+
/**
|
|
960
|
+
* Time the canonical scan completed. Missing while pending or processing.
|
|
961
|
+
*/
|
|
962
|
+
completedAt?: Date | null;
|
|
963
|
+
/**
|
|
964
|
+
* Time the canonical report row was created. This may predate the submission when the upload reused an existing report for the same bytes and schema version.
|
|
965
|
+
*/
|
|
966
|
+
createdAt?: Date | null;
|
|
967
|
+
/**
|
|
968
|
+
* Error message when status is failed.
|
|
969
|
+
*/
|
|
970
|
+
errorEscaped?: string | null;
|
|
971
|
+
/**
|
|
972
|
+
* Canonical report ID for the scanned bytes, formatted as {sha256}:{schemaVersion}. Multiple submissions can point at the same report ID when bytes are deduplicated.
|
|
973
|
+
*/
|
|
974
|
+
reportId?: string | null;
|
|
975
|
+
/**
|
|
976
|
+
* Raw MLVScan Core ScanResult when status is completed. This is the canonical machine-readable scanner output for findings, disposition, threat families, content hash, and schema version. Null while pending or processing.
|
|
977
|
+
*/
|
|
978
|
+
result?: ReportResponse_result | null;
|
|
979
|
+
/**
|
|
980
|
+
* Active reviewed override applied to public presentation for these bytes, if one exists. The raw result field remains canonical scanner output.
|
|
981
|
+
*/
|
|
982
|
+
reviewOverride?: ReportResponse_reviewOverride | null;
|
|
983
|
+
/**
|
|
984
|
+
* Current lifecycle state for this submission-linked report. Poll until completed or failed.
|
|
985
|
+
*/
|
|
986
|
+
status?: ReportResponse_status | null;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Raw MLVScan Core ScanResult when status is completed. This is the canonical machine-readable scanner output for findings, disposition, threat families, content hash, and schema version. Null while pending or processing.
|
|
990
|
+
*/
|
|
991
|
+
export interface ReportResponse_result extends AdditionalDataHolder, Parsable {
|
|
992
|
+
/**
|
|
993
|
+
* The assembly property
|
|
994
|
+
*/
|
|
995
|
+
assembly?: AssemblyMetadata | null;
|
|
996
|
+
/**
|
|
997
|
+
* The callChains property
|
|
998
|
+
*/
|
|
999
|
+
callChains?: CallChain[] | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* The dataFlows property
|
|
1002
|
+
*/
|
|
1003
|
+
dataFlows?: DataFlowChain[] | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* The developerGuidance property
|
|
1006
|
+
*/
|
|
1007
|
+
developerGuidance?: DeveloperGuidance[] | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* The disposition property
|
|
1010
|
+
*/
|
|
1011
|
+
disposition?: ThreatDisposition | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* The findings property
|
|
1014
|
+
*/
|
|
1015
|
+
findings?: Finding[] | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* The input property
|
|
1018
|
+
*/
|
|
1019
|
+
input?: ScanInput | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* The metadata property
|
|
1022
|
+
*/
|
|
1023
|
+
metadata?: ScanMetadata | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* The schemaVersion property
|
|
1026
|
+
*/
|
|
1027
|
+
schemaVersion?: ReportResponse_result_schemaVersion | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* The summary property
|
|
1030
|
+
*/
|
|
1031
|
+
summary?: ScanSummary | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* The threatFamilies property
|
|
1034
|
+
*/
|
|
1035
|
+
threatFamilies?: ThreatFamily[] | null;
|
|
1036
|
+
}
|
|
1037
|
+
export type ReportResponse_result_schemaVersion = (typeof ReportResponse_result_schemaVersionObject)[keyof typeof ReportResponse_result_schemaVersionObject];
|
|
1038
|
+
/**
|
|
1039
|
+
* Active reviewed override applied to public presentation for these bytes, if one exists. The raw result field remains canonical scanner output.
|
|
1040
|
+
*/
|
|
1041
|
+
export interface ReportResponse_reviewOverride extends AdditionalDataHolder, Parsable {
|
|
1042
|
+
/**
|
|
1043
|
+
* The blockingRecommended property
|
|
1044
|
+
*/
|
|
1045
|
+
blockingRecommended?: boolean | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* The classification property
|
|
1048
|
+
*/
|
|
1049
|
+
classification?: ThreatDispositionClassification | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* The headline property
|
|
1052
|
+
*/
|
|
1053
|
+
headline?: string | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* The id property
|
|
1056
|
+
*/
|
|
1057
|
+
id?: string | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* The reason property
|
|
1060
|
+
*/
|
|
1061
|
+
reason?: string | null;
|
|
1062
|
+
/**
|
|
1063
|
+
* The reviewedAt property
|
|
1064
|
+
*/
|
|
1065
|
+
reviewedAt?: Date | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* The reviewedBy property
|
|
1068
|
+
*/
|
|
1069
|
+
reviewedBy?: string | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* The reviewedByDiscordUserId property
|
|
1072
|
+
*/
|
|
1073
|
+
reviewedByDiscordUserId?: string | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* The reviewStatus property
|
|
1076
|
+
*/
|
|
1077
|
+
reviewStatus?: ReportResponse_reviewOverride_reviewStatus | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* The scopeKind property
|
|
1080
|
+
*/
|
|
1081
|
+
scopeKind?: ReportResponse_reviewOverride_scopeKind | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* The summary property
|
|
1084
|
+
*/
|
|
1085
|
+
summary?: string | null;
|
|
1086
|
+
}
|
|
1087
|
+
export type ReportResponse_reviewOverride_reviewStatus = (typeof ReportResponse_reviewOverride_reviewStatusObject)[keyof typeof ReportResponse_reviewOverride_reviewStatusObject];
|
|
1088
|
+
export type ReportResponse_reviewOverride_scopeKind = (typeof ReportResponse_reviewOverride_scopeKindObject)[keyof typeof ReportResponse_reviewOverride_scopeKindObject];
|
|
1089
|
+
export type ReportResponse_status = (typeof ReportResponse_statusObject)[keyof typeof ReportResponse_statusObject];
|
|
1090
|
+
export interface ScanInput extends AdditionalDataHolder, Parsable {
|
|
1091
|
+
/**
|
|
1092
|
+
* The fileName property
|
|
1093
|
+
*/
|
|
1094
|
+
fileName?: string | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* The sha256Hash property
|
|
1097
|
+
*/
|
|
1098
|
+
sha256Hash?: string | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* The sizeBytes property
|
|
1101
|
+
*/
|
|
1102
|
+
sizeBytes?: number | null;
|
|
1103
|
+
}
|
|
1104
|
+
export interface ScanMetadata extends AdditionalDataHolder, Parsable {
|
|
1105
|
+
/**
|
|
1106
|
+
* Version of the MLVScan.Core library that produced the rule findings and scan-result mapping.
|
|
1107
|
+
*/
|
|
1108
|
+
coreVersion?: string | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Logical host/platform that produced this result.
|
|
1111
|
+
*/
|
|
1112
|
+
platform?: ScanPlatform | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Version of the host/platform implementation that invoked Core, such as the Azure Function, CLI, WASM package, or desktop host.
|
|
1115
|
+
*/
|
|
1116
|
+
platformVersion?: string | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Scan output mode used for this result.
|
|
1119
|
+
*/
|
|
1120
|
+
scanMode?: ScanMode | null;
|
|
1121
|
+
/**
|
|
1122
|
+
* Legacy scanner implementation version reported by the host. In current Core-generated results this mirrors platformVersion; prefer coreVersion for Core engine version and platformVersion for host version.
|
|
1123
|
+
*/
|
|
1124
|
+
scannerVersion?: string | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* UTC time when the scan result was produced.
|
|
1127
|
+
*/
|
|
1128
|
+
timestamp?: Date | null;
|
|
1129
|
+
}
|
|
1130
|
+
export type ScanMode = (typeof ScanModeObject)[keyof typeof ScanModeObject];
|
|
1131
|
+
export type ScanPlatform = (typeof ScanPlatformObject)[keyof typeof ScanPlatformObject];
|
|
1132
|
+
export interface ScanSummary extends AdditionalDataHolder, Parsable {
|
|
1133
|
+
/**
|
|
1134
|
+
* The countBySeverity property
|
|
1135
|
+
*/
|
|
1136
|
+
countBySeverity?: ScanSummary_countBySeverity | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* The totalFindings property
|
|
1139
|
+
*/
|
|
1140
|
+
totalFindings?: number | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* The triggeredRules property
|
|
1143
|
+
*/
|
|
1144
|
+
triggeredRules?: string[] | null;
|
|
1145
|
+
}
|
|
1146
|
+
export interface ScanSummary_countBySeverity extends AdditionalDataHolder, Parsable {
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* Serializes information the current object
|
|
1150
|
+
* @param AssemblyMetadata The instance to serialize from.
|
|
1151
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1152
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1153
|
+
*/
|
|
1154
|
+
export declare function serializeAssemblyMetadata(writer: SerializationWriter, assemblyMetadata?: Partial<AssemblyMetadata> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1155
|
+
/**
|
|
1156
|
+
* Serializes information the current object
|
|
1157
|
+
* @param CallChain The instance to serialize from.
|
|
1158
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1159
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1160
|
+
*/
|
|
1161
|
+
export declare function serializeCallChain(writer: SerializationWriter, callChain?: Partial<CallChain> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1162
|
+
/**
|
|
1163
|
+
* Serializes information the current object
|
|
1164
|
+
* @param CallChainNode The instance to serialize from.
|
|
1165
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1166
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1167
|
+
*/
|
|
1168
|
+
export declare function serializeCallChainNode(writer: SerializationWriter, callChainNode?: Partial<CallChainNode> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1169
|
+
/**
|
|
1170
|
+
* Serializes information the current object
|
|
1171
|
+
* @param DataFlowChain The instance to serialize from.
|
|
1172
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1173
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1174
|
+
*/
|
|
1175
|
+
export declare function serializeDataFlowChain(writer: SerializationWriter, dataFlowChain?: Partial<DataFlowChain> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1176
|
+
/**
|
|
1177
|
+
* Serializes information the current object
|
|
1178
|
+
* @param DataFlowNode The instance to serialize from.
|
|
1179
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1180
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1181
|
+
*/
|
|
1182
|
+
export declare function serializeDataFlowNode(writer: SerializationWriter, dataFlowNode?: Partial<DataFlowNode> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1183
|
+
/**
|
|
1184
|
+
* Serializes information the current object
|
|
1185
|
+
* @param DeveloperGuidance The instance to serialize from.
|
|
1186
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1187
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1188
|
+
*/
|
|
1189
|
+
export declare function serializeDeveloperGuidance(writer: SerializationWriter, developerGuidance?: Partial<DeveloperGuidance> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1190
|
+
/**
|
|
1191
|
+
* Serializes information the current object
|
|
1192
|
+
* @param ErrorResponse The instance to serialize from.
|
|
1193
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1194
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1195
|
+
*/
|
|
1196
|
+
export declare function serializeErrorResponse(writer: SerializationWriter, errorResponse?: Partial<ErrorResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1197
|
+
/**
|
|
1198
|
+
* Serializes information the current object
|
|
1199
|
+
* @param FilesUploadResponse The instance to serialize from.
|
|
1200
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1201
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1202
|
+
*/
|
|
1203
|
+
export declare function serializeFilesUploadResponse(writer: SerializationWriter, filesUploadResponse?: Partial<FilesUploadResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1204
|
+
/**
|
|
1205
|
+
* Serializes information the current object
|
|
1206
|
+
* @param FilesUploadResponse_data The instance to serialize from.
|
|
1207
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1208
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1209
|
+
*/
|
|
1210
|
+
export declare function serializeFilesUploadResponse_data(writer: SerializationWriter, filesUploadResponse_data?: Partial<FilesUploadResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1211
|
+
/**
|
|
1212
|
+
* Serializes information the current object
|
|
1213
|
+
* @param FilesUploadResponse_data_links The instance to serialize from.
|
|
1214
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1215
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1216
|
+
*/
|
|
1217
|
+
export declare function serializeFilesUploadResponse_data_links(writer: SerializationWriter, filesUploadResponse_data_links?: Partial<FilesUploadResponse_data_links> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1218
|
+
/**
|
|
1219
|
+
* Serializes information the current object
|
|
1220
|
+
* @param FilesUploadUrlResponse The instance to serialize from.
|
|
1221
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1222
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1223
|
+
*/
|
|
1224
|
+
export declare function serializeFilesUploadUrlResponse(writer: SerializationWriter, filesUploadUrlResponse?: Partial<FilesUploadUrlResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1225
|
+
/**
|
|
1226
|
+
* Serializes information the current object
|
|
1227
|
+
* @param FilesUploadUrlResponse_data The instance to serialize from.
|
|
1228
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1229
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1230
|
+
*/
|
|
1231
|
+
export declare function serializeFilesUploadUrlResponse_data(writer: SerializationWriter, filesUploadUrlResponse_data?: Partial<FilesUploadUrlResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1232
|
+
/**
|
|
1233
|
+
* Serializes information the current object
|
|
1234
|
+
* @param Finding The instance to serialize from.
|
|
1235
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1236
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1237
|
+
*/
|
|
1238
|
+
export declare function serializeFinding(writer: SerializationWriter, finding?: Partial<Finding> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1239
|
+
/**
|
|
1240
|
+
* Serializes information the current object
|
|
1241
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1242
|
+
* @param PublicRelatedReport The instance to serialize from.
|
|
1243
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1244
|
+
*/
|
|
1245
|
+
export declare function serializePublicRelatedReport(writer: SerializationWriter, publicRelatedReport?: Partial<PublicRelatedReport> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1246
|
+
/**
|
|
1247
|
+
* Serializes information the current object
|
|
1248
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1249
|
+
* @param PublicReportFinding The instance to serialize from.
|
|
1250
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1251
|
+
*/
|
|
1252
|
+
export declare function serializePublicReportFinding(writer: SerializationWriter, publicReportFinding?: Partial<PublicReportFinding> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1253
|
+
/**
|
|
1254
|
+
* Serializes information the current object
|
|
1255
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1256
|
+
* @param PublicReportResponse The instance to serialize from.
|
|
1257
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1258
|
+
*/
|
|
1259
|
+
export declare function serializePublicReportResponse(writer: SerializationWriter, publicReportResponse?: Partial<PublicReportResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1260
|
+
/**
|
|
1261
|
+
* Serializes information the current object
|
|
1262
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1263
|
+
* @param PublicReportResponse_reviewOverride The instance to serialize from.
|
|
1264
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1265
|
+
*/
|
|
1266
|
+
export declare function serializePublicReportResponse_reviewOverride(writer: SerializationWriter, publicReportResponse_reviewOverride?: Partial<PublicReportResponse_reviewOverride> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1267
|
+
/**
|
|
1268
|
+
* Serializes information the current object
|
|
1269
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1270
|
+
* @param PublicReportSource The instance to serialize from.
|
|
1271
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1272
|
+
*/
|
|
1273
|
+
export declare function serializePublicReportSource(writer: SerializationWriter, publicReportSource?: Partial<PublicReportSource> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1274
|
+
/**
|
|
1275
|
+
* Serializes information the current object
|
|
1276
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1277
|
+
* @param PublicReportThreatFamily The instance to serialize from.
|
|
1278
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1279
|
+
*/
|
|
1280
|
+
export declare function serializePublicReportThreatFamily(writer: SerializationWriter, publicReportThreatFamily?: Partial<PublicReportThreatFamily> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1281
|
+
/**
|
|
1282
|
+
* Serializes information the current object
|
|
1283
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1284
|
+
* @param ReportResponse The instance to serialize from.
|
|
1285
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1286
|
+
*/
|
|
1287
|
+
export declare function serializeReportResponse(writer: SerializationWriter, reportResponse?: Partial<ReportResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Serializes information the current object
|
|
1290
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1291
|
+
* @param ReportResponse_result The instance to serialize from.
|
|
1292
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1293
|
+
*/
|
|
1294
|
+
export declare function serializeReportResponse_result(writer: SerializationWriter, reportResponse_result?: Partial<ReportResponse_result> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1295
|
+
/**
|
|
1296
|
+
* Serializes information the current object
|
|
1297
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1298
|
+
* @param ReportResponse_reviewOverride The instance to serialize from.
|
|
1299
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1300
|
+
*/
|
|
1301
|
+
export declare function serializeReportResponse_reviewOverride(writer: SerializationWriter, reportResponse_reviewOverride?: Partial<ReportResponse_reviewOverride> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Serializes information the current object
|
|
1304
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1305
|
+
* @param ScanInput The instance to serialize from.
|
|
1306
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1307
|
+
*/
|
|
1308
|
+
export declare function serializeScanInput(writer: SerializationWriter, scanInput?: Partial<ScanInput> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1309
|
+
/**
|
|
1310
|
+
* Serializes information the current object
|
|
1311
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1312
|
+
* @param ScanMetadata The instance to serialize from.
|
|
1313
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1314
|
+
*/
|
|
1315
|
+
export declare function serializeScanMetadata(writer: SerializationWriter, scanMetadata?: Partial<ScanMetadata> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1316
|
+
/**
|
|
1317
|
+
* Serializes information the current object
|
|
1318
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1319
|
+
* @param ScanSummary The instance to serialize from.
|
|
1320
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1321
|
+
*/
|
|
1322
|
+
export declare function serializeScanSummary(writer: SerializationWriter, scanSummary?: Partial<ScanSummary> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1323
|
+
/**
|
|
1324
|
+
* Serializes information the current object
|
|
1325
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1326
|
+
* @param ScanSummary_countBySeverity The instance to serialize from.
|
|
1327
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1328
|
+
*/
|
|
1329
|
+
export declare function serializeScanSummary_countBySeverity(writer: SerializationWriter, scanSummary_countBySeverity?: Partial<ScanSummary_countBySeverity> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1330
|
+
/**
|
|
1331
|
+
* Serializes information the current object
|
|
1332
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1333
|
+
* @param ThreatDisposition The instance to serialize from.
|
|
1334
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1335
|
+
*/
|
|
1336
|
+
export declare function serializeThreatDisposition(writer: SerializationWriter, threatDisposition?: Partial<ThreatDisposition> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1337
|
+
/**
|
|
1338
|
+
* Serializes information the current object
|
|
1339
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1340
|
+
* @param ThreatFamily The instance to serialize from.
|
|
1341
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1342
|
+
*/
|
|
1343
|
+
export declare function serializeThreatFamily(writer: SerializationWriter, threatFamily?: Partial<ThreatFamily> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1344
|
+
/**
|
|
1345
|
+
* Serializes information the current object
|
|
1346
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1347
|
+
* @param ThreatFamilyEvidence The instance to serialize from.
|
|
1348
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1349
|
+
*/
|
|
1350
|
+
export declare function serializeThreatFamilyEvidence(writer: SerializationWriter, threatFamilyEvidence?: Partial<ThreatFamilyEvidence> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
1351
|
+
export type Severity = (typeof SeverityObject)[keyof typeof SeverityObject];
|
|
1352
|
+
export interface ThreatDisposition extends AdditionalDataHolder, Parsable {
|
|
1353
|
+
/**
|
|
1354
|
+
* The blockingRecommended property
|
|
1355
|
+
*/
|
|
1356
|
+
blockingRecommended?: boolean | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* The classification property
|
|
1359
|
+
*/
|
|
1360
|
+
classification?: ThreatDispositionClassification | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* The headline property
|
|
1363
|
+
*/
|
|
1364
|
+
headline?: string | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* The primaryThreatFamilyId property
|
|
1367
|
+
*/
|
|
1368
|
+
primaryThreatFamilyId?: string | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* The relatedFindingIds property
|
|
1371
|
+
*/
|
|
1372
|
+
relatedFindingIds?: string[] | null;
|
|
1373
|
+
/**
|
|
1374
|
+
* The summary property
|
|
1375
|
+
*/
|
|
1376
|
+
summary?: string | null;
|
|
1377
|
+
}
|
|
1378
|
+
export type ThreatDispositionClassification = (typeof ThreatDispositionClassificationObject)[keyof typeof ThreatDispositionClassificationObject];
|
|
1379
|
+
export interface ThreatFamily extends AdditionalDataHolder, Parsable {
|
|
1380
|
+
/**
|
|
1381
|
+
* The advisorySlugs property
|
|
1382
|
+
*/
|
|
1383
|
+
advisorySlugs?: string[] | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* The confidence property
|
|
1386
|
+
*/
|
|
1387
|
+
confidence?: number | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The displayName property
|
|
1390
|
+
*/
|
|
1391
|
+
displayName?: string | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* The evidence property
|
|
1394
|
+
*/
|
|
1395
|
+
evidence?: ThreatFamilyEvidence[] | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* The exactHashMatch property
|
|
1398
|
+
*/
|
|
1399
|
+
exactHashMatch?: boolean | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* The familyId property
|
|
1402
|
+
*/
|
|
1403
|
+
familyId?: string | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* The matchedRules property
|
|
1406
|
+
*/
|
|
1407
|
+
matchedRules?: string[] | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* The matchKind property
|
|
1410
|
+
*/
|
|
1411
|
+
matchKind?: ThreatMatchKind | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* The summary property
|
|
1414
|
+
*/
|
|
1415
|
+
summary?: string | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* The variantId property
|
|
1418
|
+
*/
|
|
1419
|
+
variantId?: string | null;
|
|
1420
|
+
}
|
|
1421
|
+
export interface ThreatFamilyEvidence extends AdditionalDataHolder, Parsable {
|
|
1422
|
+
/**
|
|
1423
|
+
* The callChainId property
|
|
1424
|
+
*/
|
|
1425
|
+
callChainId?: string | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* The confidence property
|
|
1428
|
+
*/
|
|
1429
|
+
confidence?: number | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* The dataFlowChainId property
|
|
1432
|
+
*/
|
|
1433
|
+
dataFlowChainId?: string | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* The kind property
|
|
1436
|
+
*/
|
|
1437
|
+
kind?: string | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* The location property
|
|
1440
|
+
*/
|
|
1441
|
+
location?: string | null;
|
|
1442
|
+
/**
|
|
1443
|
+
* The methodLocation property
|
|
1444
|
+
*/
|
|
1445
|
+
methodLocation?: string | null;
|
|
1446
|
+
/**
|
|
1447
|
+
* The pattern property
|
|
1448
|
+
*/
|
|
1449
|
+
pattern?: string | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* The ruleId property
|
|
1452
|
+
*/
|
|
1453
|
+
ruleId?: string | null;
|
|
1454
|
+
/**
|
|
1455
|
+
* The value property
|
|
1456
|
+
*/
|
|
1457
|
+
value?: string | null;
|
|
1458
|
+
}
|
|
1459
|
+
export type ThreatMatchKind = (typeof ThreatMatchKindObject)[keyof typeof ThreatMatchKindObject];
|
|
1460
|
+
export declare const CallChainNodeTypeObject: {
|
|
1461
|
+
readonly EntryPoint: "EntryPoint";
|
|
1462
|
+
readonly IntermediateCall: "IntermediateCall";
|
|
1463
|
+
readonly SuspiciousDeclaration: "SuspiciousDeclaration";
|
|
1464
|
+
};
|
|
1465
|
+
export declare const DataFlowNodeTypeObject: {
|
|
1466
|
+
readonly Source: "Source";
|
|
1467
|
+
readonly Transform: "Transform";
|
|
1468
|
+
readonly Sink: "Sink";
|
|
1469
|
+
readonly Intermediate: "Intermediate";
|
|
1470
|
+
};
|
|
1471
|
+
export declare const DataFlowPatternObject: {
|
|
1472
|
+
readonly Legitimate: "Legitimate";
|
|
1473
|
+
readonly DownloadAndExecute: "DownloadAndExecute";
|
|
1474
|
+
readonly DataExfiltration: "DataExfiltration";
|
|
1475
|
+
readonly DynamicCodeLoading: "DynamicCodeLoading";
|
|
1476
|
+
readonly CredentialTheft: "CredentialTheft";
|
|
1477
|
+
readonly RemoteConfigLoad: "RemoteConfigLoad";
|
|
1478
|
+
readonly ObfuscatedPersistence: "ObfuscatedPersistence";
|
|
1479
|
+
readonly EmbeddedResourceDropAndExecute: "EmbeddedResourceDropAndExecute";
|
|
1480
|
+
readonly Unknown: "Unknown";
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* Resource type. Similar to an analysis handle in APIs such as VirusTotal: it identifies this upload/submission, not necessarily a unique file hash.
|
|
1484
|
+
*/
|
|
1485
|
+
export declare const FilesUploadResponse_data_typeObject: {
|
|
1486
|
+
readonly Analysis: "analysis";
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* HTTP method for upload
|
|
1490
|
+
*/
|
|
1491
|
+
export declare const FilesUploadUrlResponse_data_upload_methodObject: {
|
|
1492
|
+
readonly PUT: "PUT";
|
|
1493
|
+
};
|
|
1494
|
+
export declare const FindingVisibilityObject: {
|
|
1495
|
+
readonly DefaultEscaped: "Default";
|
|
1496
|
+
readonly Advanced: "Advanced";
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* Public normalized disposition for this related report.
|
|
1500
|
+
*/
|
|
1501
|
+
export declare const PublicRelatedReport_classificationObject: {
|
|
1502
|
+
readonly Clean: "Clean";
|
|
1503
|
+
readonly Suspicious: "Suspicious";
|
|
1504
|
+
readonly KnownThreat: "KnownThreat";
|
|
1505
|
+
};
|
|
1506
|
+
/**
|
|
1507
|
+
* Current lifecycle state for this related report.
|
|
1508
|
+
*/
|
|
1509
|
+
export declare const PublicRelatedReport_statusObject: {
|
|
1510
|
+
readonly Pending: "pending";
|
|
1511
|
+
readonly Processing: "processing";
|
|
1512
|
+
readonly Completed: "completed";
|
|
1513
|
+
readonly Failed: "failed";
|
|
1514
|
+
};
|
|
1515
|
+
export declare const PublicReportFinding_visibilityObject: {
|
|
1516
|
+
readonly DefaultEscaped: "Default";
|
|
1517
|
+
readonly Advanced: "Advanced";
|
|
1518
|
+
};
|
|
1519
|
+
/**
|
|
1520
|
+
* Public normalized disposition derived from the underlying MLVScan Core result.
|
|
1521
|
+
*/
|
|
1522
|
+
export declare const PublicReportResponse_classificationObject: {
|
|
1523
|
+
readonly Clean: "Clean";
|
|
1524
|
+
readonly Suspicious: "Suspicious";
|
|
1525
|
+
readonly KnownThreat: "KnownThreat";
|
|
1526
|
+
};
|
|
1527
|
+
export declare const PublicReportResponse_reviewOverride_reviewStatusObject: {
|
|
1528
|
+
readonly False_positive: "false_positive";
|
|
1529
|
+
readonly Allowed: "allowed";
|
|
1530
|
+
readonly Needs_admin_review: "needs_admin_review";
|
|
1531
|
+
};
|
|
1532
|
+
export declare const PublicReportResponse_reviewOverride_scopeKindObject: {
|
|
1533
|
+
readonly Hash: "hash";
|
|
1534
|
+
readonly Report: "report";
|
|
1535
|
+
readonly Submission: "submission";
|
|
1536
|
+
readonly Source_artifact: "source_artifact";
|
|
1537
|
+
};
|
|
1538
|
+
export declare const PublicReportResponse_reviewStatusObject: {
|
|
1539
|
+
readonly False_positive: "false_positive";
|
|
1540
|
+
readonly Allowed: "allowed";
|
|
1541
|
+
readonly Needs_admin_review: "needs_admin_review";
|
|
1542
|
+
};
|
|
1543
|
+
/**
|
|
1544
|
+
* Current lifecycle state for the underlying canonical report.
|
|
1545
|
+
*/
|
|
1546
|
+
export declare const PublicReportResponse_statusObject: {
|
|
1547
|
+
readonly Pending: "pending";
|
|
1548
|
+
readonly Processing: "processing";
|
|
1549
|
+
readonly Completed: "completed";
|
|
1550
|
+
readonly Failed: "failed";
|
|
1551
|
+
};
|
|
1552
|
+
export declare const ReportResponse_result_schemaVersionObject: {
|
|
1553
|
+
readonly OneTwoZero: "1.2.0";
|
|
1554
|
+
};
|
|
1555
|
+
export declare const ReportResponse_reviewOverride_reviewStatusObject: {
|
|
1556
|
+
readonly False_positive: "false_positive";
|
|
1557
|
+
readonly Allowed: "allowed";
|
|
1558
|
+
readonly Needs_admin_review: "needs_admin_review";
|
|
1559
|
+
};
|
|
1560
|
+
export declare const ReportResponse_reviewOverride_scopeKindObject: {
|
|
1561
|
+
readonly Hash: "hash";
|
|
1562
|
+
readonly Report: "report";
|
|
1563
|
+
readonly Submission: "submission";
|
|
1564
|
+
readonly Source_artifact: "source_artifact";
|
|
1565
|
+
};
|
|
1566
|
+
/**
|
|
1567
|
+
* Current lifecycle state for this submission-linked report. Poll until completed or failed.
|
|
1568
|
+
*/
|
|
1569
|
+
export declare const ReportResponse_statusObject: {
|
|
1570
|
+
readonly Pending: "pending";
|
|
1571
|
+
readonly Processing: "processing";
|
|
1572
|
+
readonly Completed: "completed";
|
|
1573
|
+
readonly Failed: "failed";
|
|
1574
|
+
};
|
|
1575
|
+
/**
|
|
1576
|
+
* Scan output mode used for this result.
|
|
1577
|
+
*/
|
|
1578
|
+
export declare const ScanModeObject: {
|
|
1579
|
+
readonly Summary: "summary";
|
|
1580
|
+
readonly Detailed: "detailed";
|
|
1581
|
+
readonly Developer: "developer";
|
|
1582
|
+
};
|
|
1583
|
+
/**
|
|
1584
|
+
* Logical host/platform that produced this result.
|
|
1585
|
+
*/
|
|
1586
|
+
export declare const ScanPlatformObject: {
|
|
1587
|
+
readonly Core: "core";
|
|
1588
|
+
readonly Wasm: "wasm";
|
|
1589
|
+
readonly Cli: "cli";
|
|
1590
|
+
readonly Server: "server";
|
|
1591
|
+
readonly Desktop: "desktop";
|
|
1592
|
+
readonly Mcp: "mcp";
|
|
1593
|
+
};
|
|
1594
|
+
export declare const SeverityObject: {
|
|
1595
|
+
readonly Low: "Low";
|
|
1596
|
+
readonly Medium: "Medium";
|
|
1597
|
+
readonly High: "High";
|
|
1598
|
+
readonly Critical: "Critical";
|
|
1599
|
+
};
|
|
1600
|
+
export declare const ThreatDispositionClassificationObject: {
|
|
1601
|
+
readonly Clean: "Clean";
|
|
1602
|
+
readonly Suspicious: "Suspicious";
|
|
1603
|
+
readonly KnownThreat: "KnownThreat";
|
|
1604
|
+
};
|
|
1605
|
+
export declare const ThreatMatchKindObject: {
|
|
1606
|
+
readonly ExactSampleHash: "ExactSampleHash";
|
|
1607
|
+
readonly BehaviorVariant: "BehaviorVariant";
|
|
1608
|
+
};
|
|
1609
|
+
//# sourceMappingURL=index.d.ts.map
|