@aws-sdk/client-guardduty 3.934.0 → 3.936.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 +16 -0
- package/dist-cjs/index.js +1505 -525
- package/dist-es/GuardDuty.js +4 -0
- package/dist-es/commands/GetMalwareScanCommand.js +16 -0
- package/dist-es/commands/ListMalwareScansCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +445 -0
- package/dist-es/models/errors.js +81 -0
- package/dist-es/models/models_0.js +1 -383
- package/dist-es/models/models_1.js +1 -77
- package/dist-es/pagination/ListMalwareScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +942 -68
- package/dist-types/GuardDuty.d.ts +15 -0
- package/dist-types/GuardDutyClient.d.ts +4 -2
- package/dist-types/commands/DescribeMalwareScansCommand.d.ts +1 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +34 -1
- package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetMalwareScanCommand.d.ts +164 -0
- package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListMalwareScansCommand.d.ts +110 -0
- package/dist-types/commands/StartMalwareScanCommand.d.ts +14 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +973 -0
- package/dist-types/models/errors.d.ts +112 -0
- package/dist-types/models/models_0.d.ts +1178 -784
- package/dist-types/models/models_1.d.ts +169 -893
- package/dist-types/pagination/ListMalwareScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +35 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMalwareScansCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +554 -0
- package/dist-types/ts3.4/models/errors.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +329 -423
- package/dist-types/ts3.4/models/models_1.d.ts +68 -285
- package/dist-types/ts3.4/pagination/ListMalwareScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -1,806 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
* @public
|
|
4
|
-
* @enum
|
|
5
|
-
*/
|
|
6
|
-
export declare const FindingStatisticType: {
|
|
7
|
-
readonly COUNT_BY_SEVERITY: "COUNT_BY_SEVERITY";
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type FindingStatisticType = (typeof FindingStatisticType)[keyof typeof FindingStatisticType];
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export interface GetAdministratorAccountRequest {
|
|
17
|
-
/**
|
|
18
|
-
* <p>The unique ID of the detector of the GuardDuty member account.</p>
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
DetectorId: string | undefined;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export interface GetAdministratorAccountResponse {
|
|
27
|
-
/**
|
|
28
|
-
* <p>The administrator account details.</p>
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
Administrator: Administrator | undefined;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
export interface GetCoverageStatisticsRequest {
|
|
37
|
-
/**
|
|
38
|
-
* <p>The unique ID of the GuardDuty detector.</p>
|
|
39
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
40
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
DetectorId: string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* <p>Represents the criteria used to filter the coverage statistics.</p>
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
FilterCriteria?: CoverageFilterCriteria | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* <p>Represents the statistics type used to aggregate the coverage details.</p>
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
StatisticsType: CoverageStatisticsType[] | undefined;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
export interface GetCoverageStatisticsResponse {
|
|
59
|
-
/**
|
|
60
|
-
* <p>Represents the count aggregated by the <code>statusCode</code> and
|
|
61
|
-
* <code>resourceType</code>.</p>
|
|
62
|
-
* @public
|
|
63
|
-
*/
|
|
64
|
-
CoverageStatistics?: CoverageStatistics | undefined;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export interface GetDetectorRequest {
|
|
70
|
-
/**
|
|
71
|
-
* <p>The unique ID of the detector that you want to get.</p>
|
|
72
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
73
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
DetectorId: string | undefined;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
export interface GetDetectorResponse {
|
|
82
|
-
/**
|
|
83
|
-
* <p>The timestamp of when the detector was created.</p>
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
CreatedAt?: string | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* <p>The publishing frequency of the finding.</p>
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
FindingPublishingFrequency?: FindingPublishingFrequency | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* <p>The GuardDuty service role.</p>
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
ServiceRole: string | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* <p>The detector status.</p>
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
Status: DetectorStatus | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* <p>The last-updated timestamp for the detector.</p>
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
|
-
UpdatedAt?: string | undefined;
|
|
107
|
-
/**
|
|
108
|
-
* <p>Describes which data sources are enabled for the detector.</p>
|
|
109
|
-
*
|
|
110
|
-
* @deprecated This parameter is deprecated, use Features instead
|
|
111
|
-
* @public
|
|
112
|
-
*/
|
|
113
|
-
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* <p>The tags of the detector resource.</p>
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
Tags?: Record<string, string> | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* <p>Describes the features that have been enabled for the detector.</p>
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
Features?: DetectorFeatureConfigurationResult[] | undefined;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
export interface GetFilterRequest {
|
|
129
|
-
/**
|
|
130
|
-
* <p>The unique ID of the detector that is associated with this filter.</p>
|
|
131
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
132
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
DetectorId: string | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* <p>The name of the filter you want to get.</p>
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
FilterName: string | undefined;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
export interface GetFilterResponse {
|
|
146
|
-
/**
|
|
147
|
-
* <p>The name of the filter.</p>
|
|
148
|
-
* @public
|
|
149
|
-
*/
|
|
150
|
-
Name: string | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* <p>The description of the filter.</p>
|
|
153
|
-
* @public
|
|
154
|
-
*/
|
|
155
|
-
Description?: string | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
158
|
-
* @public
|
|
159
|
-
*/
|
|
160
|
-
Action: FilterAction | undefined;
|
|
161
|
-
/**
|
|
162
|
-
* <p>Specifies the position of the filter in the list of current filters. Also specifies the
|
|
163
|
-
* order in which this filter is applied to the findings.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
Rank?: number | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* <p>Represents the criteria to be used in the filter for querying findings.</p>
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
FindingCriteria: FindingCriteria | undefined;
|
|
172
|
-
/**
|
|
173
|
-
* <p>The tags of the filter resource.</p>
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
Tags?: Record<string, string> | undefined;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
export interface GetFindingsRequest {
|
|
182
|
-
/**
|
|
183
|
-
* <p>The ID of the detector that specifies the GuardDuty service whose findings you want to
|
|
184
|
-
* retrieve.</p>
|
|
185
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
186
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
DetectorId: string | undefined;
|
|
190
|
-
/**
|
|
191
|
-
* <p>The IDs of the findings that you want to retrieve.</p>
|
|
192
|
-
* @public
|
|
193
|
-
*/
|
|
194
|
-
FindingIds: string[] | undefined;
|
|
195
|
-
/**
|
|
196
|
-
* <p>Represents the criteria used for sorting findings.</p>
|
|
197
|
-
* @public
|
|
198
|
-
*/
|
|
199
|
-
SortCriteria?: SortCriteria | undefined;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @public
|
|
203
|
-
*/
|
|
204
|
-
export interface GetFindingsResponse {
|
|
205
|
-
/**
|
|
206
|
-
* <p>A list of findings.</p>
|
|
207
|
-
* @public
|
|
208
|
-
*/
|
|
209
|
-
Findings: Finding[] | undefined;
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* @public
|
|
213
|
-
* @enum
|
|
214
|
-
*/
|
|
215
|
-
export declare const GroupByType: {
|
|
216
|
-
readonly ACCOUNT: "ACCOUNT";
|
|
217
|
-
readonly DATE: "DATE";
|
|
218
|
-
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
219
|
-
readonly RESOURCE: "RESOURCE";
|
|
220
|
-
readonly SEVERITY: "SEVERITY";
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* @public
|
|
224
|
-
*/
|
|
225
|
-
export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
|
|
226
|
-
/**
|
|
227
|
-
* @public
|
|
228
|
-
*/
|
|
229
|
-
export interface GetFindingsStatisticsRequest {
|
|
230
|
-
/**
|
|
231
|
-
* <p>The ID of the detector whose findings statistics you
|
|
232
|
-
* want to retrieve.</p>
|
|
233
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
234
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
235
|
-
* @public
|
|
236
|
-
*/
|
|
237
|
-
DetectorId: string | undefined;
|
|
238
|
-
/**
|
|
239
|
-
* <p>The types of finding statistics to retrieve.</p>
|
|
240
|
-
*
|
|
241
|
-
* @deprecated This parameter is deprecated, please use GroupBy instead
|
|
242
|
-
* @public
|
|
243
|
-
*/
|
|
244
|
-
FindingStatisticTypes?: FindingStatisticType[] | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* <p>Represents the criteria that is used for querying findings.</p>
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
FindingCriteria?: FindingCriteria | undefined;
|
|
250
|
-
/**
|
|
251
|
-
* <p>Displays the findings statistics grouped by one of the listed valid values.</p>
|
|
252
|
-
* @public
|
|
253
|
-
*/
|
|
254
|
-
GroupBy?: GroupByType | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* <p>Displays the sorted findings in the requested order. The default
|
|
257
|
-
* value of <code>orderBy</code> is <code>DESC</code>.</p>
|
|
258
|
-
* <p>You can use this parameter only with the <code>groupBy</code> parameter.</p>
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
OrderBy?: OrderBy | undefined;
|
|
262
|
-
/**
|
|
263
|
-
* <p>The maximum number of results to be returned in the response. The default value is 25.</p>
|
|
264
|
-
* <p>You can use this parameter only with the <code>groupBy</code> parameter.</p>
|
|
265
|
-
* @public
|
|
266
|
-
*/
|
|
267
|
-
MaxResults?: number | undefined;
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* @public
|
|
271
|
-
*/
|
|
272
|
-
export interface GetFindingsStatisticsResponse {
|
|
273
|
-
/**
|
|
274
|
-
* <p>The finding statistics object.</p>
|
|
275
|
-
* @public
|
|
276
|
-
*/
|
|
277
|
-
FindingStatistics: FindingStatistics | undefined;
|
|
278
|
-
/**
|
|
279
|
-
* <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
|
|
280
|
-
* <p>This parameter is currently not supported.</p>
|
|
281
|
-
* @public
|
|
282
|
-
*/
|
|
283
|
-
NextToken?: string | undefined;
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* @public
|
|
287
|
-
*/
|
|
288
|
-
export interface GetInvitationsCountRequest {
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* @public
|
|
292
|
-
*/
|
|
293
|
-
export interface GetInvitationsCountResponse {
|
|
294
|
-
/**
|
|
295
|
-
* <p>The number of received invitations.</p>
|
|
296
|
-
* @public
|
|
297
|
-
*/
|
|
298
|
-
InvitationsCount?: number | undefined;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* @public
|
|
302
|
-
*/
|
|
303
|
-
export interface GetIPSetRequest {
|
|
304
|
-
/**
|
|
305
|
-
* <p>The unique ID of the detector that is associated with the IPSet.</p>
|
|
306
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
307
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
DetectorId: string | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* <p>The unique ID of the IPSet to retrieve.</p>
|
|
313
|
-
* @public
|
|
314
|
-
*/
|
|
315
|
-
IpSetId: string | undefined;
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* @public
|
|
319
|
-
* @enum
|
|
320
|
-
*/
|
|
321
|
-
export declare const IpSetStatus: {
|
|
322
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
323
|
-
readonly ACTIVE: "ACTIVE";
|
|
324
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
325
|
-
readonly DELETED: "DELETED";
|
|
326
|
-
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
327
|
-
readonly ERROR: "ERROR";
|
|
328
|
-
readonly INACTIVE: "INACTIVE";
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* @public
|
|
332
|
-
*/
|
|
333
|
-
export type IpSetStatus = (typeof IpSetStatus)[keyof typeof IpSetStatus];
|
|
334
|
-
/**
|
|
335
|
-
* @public
|
|
336
|
-
*/
|
|
337
|
-
export interface GetIPSetResponse {
|
|
338
|
-
/**
|
|
339
|
-
* <p>The user-friendly name for the IPSet.</p>
|
|
340
|
-
* @public
|
|
341
|
-
*/
|
|
342
|
-
Name: string | undefined;
|
|
343
|
-
/**
|
|
344
|
-
* <p>The format of the file that contains the IPSet.</p>
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
Format: IpSetFormat | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* <p>The URI of the file that contains the IPSet.</p>
|
|
350
|
-
* @public
|
|
351
|
-
*/
|
|
352
|
-
Location: string | undefined;
|
|
353
|
-
/**
|
|
354
|
-
* <p>The status of IPSet file that was uploaded.</p>
|
|
355
|
-
* @public
|
|
356
|
-
*/
|
|
357
|
-
Status: IpSetStatus | undefined;
|
|
358
|
-
/**
|
|
359
|
-
* <p>The tags of the IPSet resource.</p>
|
|
360
|
-
* @public
|
|
361
|
-
*/
|
|
362
|
-
Tags?: Record<string, string> | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* <p>The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the <b>location</b> parameter. This field appears
|
|
365
|
-
* in the response only if it was provided during IPSet creation or update.</p>
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
ExpectedBucketOwner?: string | undefined;
|
|
369
|
-
}
|
|
370
|
-
/**
|
|
371
|
-
* @public
|
|
372
|
-
*/
|
|
373
|
-
export interface GetMalwareProtectionPlanRequest {
|
|
374
|
-
/**
|
|
375
|
-
* <p>A unique identifier associated with Malware Protection plan resource.</p>
|
|
376
|
-
* @public
|
|
377
|
-
*/
|
|
378
|
-
MalwareProtectionPlanId: string | undefined;
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* @public
|
|
382
|
-
* @enum
|
|
383
|
-
*/
|
|
384
|
-
export declare const MalwareProtectionPlanStatus: {
|
|
385
|
-
readonly ACTIVE: "ACTIVE";
|
|
386
|
-
readonly ERROR: "ERROR";
|
|
387
|
-
readonly WARNING: "WARNING";
|
|
388
|
-
};
|
|
389
|
-
/**
|
|
390
|
-
* @public
|
|
391
|
-
*/
|
|
392
|
-
export type MalwareProtectionPlanStatus = (typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus];
|
|
393
|
-
/**
|
|
394
|
-
* <p>Information about the issue code and message associated to the status of
|
|
395
|
-
* your Malware Protection plan.</p>
|
|
396
|
-
* @public
|
|
397
|
-
*/
|
|
398
|
-
export interface MalwareProtectionPlanStatusReason {
|
|
399
|
-
/**
|
|
400
|
-
* <p>Issue code.</p>
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
Code?: string | undefined;
|
|
404
|
-
/**
|
|
405
|
-
* <p>Issue message that specifies the reason. For information
|
|
406
|
-
* about potential troubleshooting steps, see
|
|
407
|
-
* <a href="https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html">Troubleshooting Malware Protection for S3 status issues</a> in the
|
|
408
|
-
* <i>Amazon GuardDuty User Guide</i>.</p>
|
|
409
|
-
* @public
|
|
410
|
-
*/
|
|
411
|
-
Message?: string | undefined;
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export interface GetMalwareProtectionPlanResponse {
|
|
417
|
-
/**
|
|
418
|
-
* <p>Amazon Resource Name (ARN) of the protected resource.</p>
|
|
419
|
-
* @public
|
|
420
|
-
*/
|
|
421
|
-
Arn?: string | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* <p>Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and
|
|
424
|
-
* add tags to the associated protected resource.</p>
|
|
425
|
-
* @public
|
|
426
|
-
*/
|
|
427
|
-
Role?: string | undefined;
|
|
428
|
-
/**
|
|
429
|
-
* <p>Information about the protected resource that is associated with the created
|
|
430
|
-
* Malware Protection plan. Presently, <code>S3Bucket</code> is the only supported
|
|
431
|
-
* protected resource.</p>
|
|
432
|
-
* @public
|
|
433
|
-
*/
|
|
434
|
-
ProtectedResource?: CreateProtectedResource | undefined;
|
|
435
|
-
/**
|
|
436
|
-
* <p>Information about whether the tags will be added to the S3 object after scanning.</p>
|
|
437
|
-
* @public
|
|
438
|
-
*/
|
|
439
|
-
Actions?: MalwareProtectionPlanActions | undefined;
|
|
440
|
-
/**
|
|
441
|
-
* <p>The timestamp when the Malware Protection plan resource was created.</p>
|
|
442
|
-
* @public
|
|
443
|
-
*/
|
|
444
|
-
CreatedAt?: Date | undefined;
|
|
445
|
-
/**
|
|
446
|
-
* <p>Malware Protection plan status.</p>
|
|
447
|
-
* @public
|
|
448
|
-
*/
|
|
449
|
-
Status?: MalwareProtectionPlanStatus | undefined;
|
|
450
|
-
/**
|
|
451
|
-
* <p>Information about the issue code and message associated to the status of
|
|
452
|
-
* your Malware Protection plan.</p>
|
|
453
|
-
* @public
|
|
454
|
-
*/
|
|
455
|
-
StatusReasons?: MalwareProtectionPlanStatusReason[] | undefined;
|
|
456
|
-
/**
|
|
457
|
-
* <p>Tags added to the Malware Protection plan resource.</p>
|
|
458
|
-
* @public
|
|
459
|
-
*/
|
|
460
|
-
Tags?: Record<string, string> | undefined;
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* @public
|
|
464
|
-
*/
|
|
465
|
-
export interface GetMalwareScanSettingsRequest {
|
|
466
|
-
/**
|
|
467
|
-
* <p>The unique ID of the detector that is associated with this scan.</p>
|
|
468
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
469
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
470
|
-
* @public
|
|
471
|
-
*/
|
|
472
|
-
DetectorId: string | undefined;
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
* @public
|
|
476
|
-
* @enum
|
|
477
|
-
*/
|
|
478
|
-
export declare const ScanCriterionKey: {
|
|
479
|
-
readonly EC2_INSTANCE_TAG: "EC2_INSTANCE_TAG";
|
|
480
|
-
};
|
|
481
|
-
/**
|
|
482
|
-
* @public
|
|
483
|
-
*/
|
|
484
|
-
export type ScanCriterionKey = (typeof ScanCriterionKey)[keyof typeof ScanCriterionKey];
|
|
485
|
-
/**
|
|
486
|
-
* <p>Represents the <code>key:value</code> pair to be matched against given resource property.</p>
|
|
487
|
-
* @public
|
|
488
|
-
*/
|
|
489
|
-
export interface ScanConditionPair {
|
|
490
|
-
/**
|
|
491
|
-
* <p>Represents the <b>key</b> in the map condition.</p>
|
|
492
|
-
* @public
|
|
493
|
-
*/
|
|
494
|
-
Key: string | undefined;
|
|
495
|
-
/**
|
|
496
|
-
* <p>Represents optional <b>value</b> in the map
|
|
497
|
-
* condition. If not specified, only the <b>key</b> will be
|
|
498
|
-
* matched.</p>
|
|
499
|
-
* @public
|
|
500
|
-
*/
|
|
501
|
-
Value?: string | undefined;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* <p>Contains information about the condition.</p>
|
|
505
|
-
* @public
|
|
506
|
-
*/
|
|
507
|
-
export interface ScanCondition {
|
|
508
|
-
/**
|
|
509
|
-
* <p>Represents an <i>mapEqual</i>
|
|
510
|
-
* <b></b> condition to be applied
|
|
511
|
-
* to a single field when triggering for malware scan.</p>
|
|
512
|
-
* @public
|
|
513
|
-
*/
|
|
514
|
-
MapEquals: ScanConditionPair[] | undefined;
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* <p>Contains information about criteria used to filter resources before triggering malware
|
|
518
|
-
* scan.</p>
|
|
519
|
-
* @public
|
|
520
|
-
*/
|
|
521
|
-
export interface ScanResourceCriteria {
|
|
522
|
-
/**
|
|
523
|
-
* <p>Represents condition that when matched will allow a malware scan for a certain
|
|
524
|
-
* resource.</p>
|
|
525
|
-
* @public
|
|
526
|
-
*/
|
|
527
|
-
Include?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
528
|
-
/**
|
|
529
|
-
* <p>Represents condition that when matched will prevent a malware scan for a certain
|
|
530
|
-
* resource.</p>
|
|
531
|
-
* @public
|
|
532
|
-
*/
|
|
533
|
-
Exclude?: Partial<Record<ScanCriterionKey, ScanCondition>> | undefined;
|
|
534
|
-
}
|
|
535
|
-
/**
|
|
536
|
-
* @public
|
|
537
|
-
*/
|
|
538
|
-
export interface GetMalwareScanSettingsResponse {
|
|
539
|
-
/**
|
|
540
|
-
* <p>Represents the criteria to be used in the filter for scanning resources.</p>
|
|
541
|
-
* @public
|
|
542
|
-
*/
|
|
543
|
-
ScanResourceCriteria?: ScanResourceCriteria | undefined;
|
|
544
|
-
/**
|
|
545
|
-
* <p>An enum value representing possible snapshot preservation settings.</p>
|
|
546
|
-
* @public
|
|
547
|
-
*/
|
|
548
|
-
EbsSnapshotPreservation?: EbsSnapshotPreservation | undefined;
|
|
549
|
-
}
|
|
550
|
-
/**
|
|
551
|
-
* @public
|
|
552
|
-
*/
|
|
553
|
-
export interface GetMasterAccountRequest {
|
|
554
|
-
/**
|
|
555
|
-
* <p>The unique ID of the detector of the GuardDuty member account.</p>
|
|
556
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
557
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
558
|
-
* @public
|
|
559
|
-
*/
|
|
560
|
-
DetectorId: string | undefined;
|
|
561
|
-
}
|
|
562
|
-
/**
|
|
563
|
-
* <p>Contains information about the administrator account and invitation.</p>
|
|
564
|
-
* @public
|
|
565
|
-
*/
|
|
566
|
-
export interface Master {
|
|
567
|
-
/**
|
|
568
|
-
* <p>The ID of the account used as the administrator account.</p>
|
|
569
|
-
* @public
|
|
570
|
-
*/
|
|
571
|
-
AccountId?: string | undefined;
|
|
572
|
-
/**
|
|
573
|
-
* <p>The value used to validate the administrator account to the member account.</p>
|
|
574
|
-
* @public
|
|
575
|
-
*/
|
|
576
|
-
InvitationId?: string | undefined;
|
|
577
|
-
/**
|
|
578
|
-
* <p>The status of the relationship between the administrator and member accounts.</p>
|
|
579
|
-
* @public
|
|
580
|
-
*/
|
|
581
|
-
RelationshipStatus?: string | undefined;
|
|
582
|
-
/**
|
|
583
|
-
* <p>The timestamp when the invitation was sent.</p>
|
|
584
|
-
* @public
|
|
585
|
-
*/
|
|
586
|
-
InvitedAt?: string | undefined;
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* @public
|
|
590
|
-
*/
|
|
591
|
-
export interface GetMasterAccountResponse {
|
|
592
|
-
/**
|
|
593
|
-
* <p>The administrator account details.</p>
|
|
594
|
-
* @public
|
|
595
|
-
*/
|
|
596
|
-
Master: Master | undefined;
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
export interface GetMemberDetectorsRequest {
|
|
602
|
-
/**
|
|
603
|
-
* <p>The detector ID for the administrator account.</p>
|
|
604
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
605
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
606
|
-
* @public
|
|
607
|
-
*/
|
|
608
|
-
DetectorId: string | undefined;
|
|
609
|
-
/**
|
|
610
|
-
* <p>A list of member account IDs.</p>
|
|
611
|
-
* @public
|
|
612
|
-
*/
|
|
613
|
-
AccountIds: string[] | undefined;
|
|
614
|
-
}
|
|
615
|
-
/**
|
|
616
|
-
* <p>Information about the additional configuration for the member account.</p>
|
|
617
|
-
* @public
|
|
618
|
-
*/
|
|
619
|
-
export interface MemberAdditionalConfigurationResult {
|
|
620
|
-
/**
|
|
621
|
-
* <p>Indicates the name of the additional configuration that is set for the member
|
|
622
|
-
* account.</p>
|
|
623
|
-
* @public
|
|
624
|
-
*/
|
|
625
|
-
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
626
|
-
/**
|
|
627
|
-
* <p>Indicates the status of the additional configuration that is set for the member
|
|
628
|
-
* account.</p>
|
|
629
|
-
* @public
|
|
630
|
-
*/
|
|
631
|
-
Status?: FeatureStatus | undefined;
|
|
632
|
-
/**
|
|
633
|
-
* <p>The timestamp at which the additional configuration was set for the member account. This
|
|
634
|
-
* is in UTC format.</p>
|
|
635
|
-
* @public
|
|
636
|
-
*/
|
|
637
|
-
UpdatedAt?: Date | undefined;
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* <p>Contains information about the features for the member account.</p>
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
|
-
export interface MemberFeaturesConfigurationResult {
|
|
644
|
-
/**
|
|
645
|
-
* <p>Indicates the name of the feature that is enabled for the detector.</p>
|
|
646
|
-
* @public
|
|
647
|
-
*/
|
|
648
|
-
Name?: OrgFeature | undefined;
|
|
649
|
-
/**
|
|
650
|
-
* <p>Indicates the status of the feature that is enabled for the detector.</p>
|
|
651
|
-
* @public
|
|
652
|
-
*/
|
|
653
|
-
Status?: FeatureStatus | undefined;
|
|
654
|
-
/**
|
|
655
|
-
* <p>The timestamp at which the feature object was updated.</p>
|
|
656
|
-
* @public
|
|
657
|
-
*/
|
|
658
|
-
UpdatedAt?: Date | undefined;
|
|
659
|
-
/**
|
|
660
|
-
* <p>Indicates the additional configuration of the feature that is configured for the member
|
|
661
|
-
* account.</p>
|
|
662
|
-
* @public
|
|
663
|
-
*/
|
|
664
|
-
AdditionalConfiguration?: MemberAdditionalConfigurationResult[] | undefined;
|
|
665
|
-
}
|
|
666
|
-
/**
|
|
667
|
-
* <p>Contains information on which data sources are enabled for a member account.</p>
|
|
668
|
-
* @public
|
|
669
|
-
*/
|
|
670
|
-
export interface MemberDataSourceConfiguration {
|
|
671
|
-
/**
|
|
672
|
-
* <p>The account ID for the member account.</p>
|
|
673
|
-
* @public
|
|
674
|
-
*/
|
|
675
|
-
AccountId: string | undefined;
|
|
676
|
-
/**
|
|
677
|
-
* <p>Contains information on the status of data sources for the account.</p>
|
|
678
|
-
*
|
|
679
|
-
* @deprecated This parameter is deprecated, use Features instead
|
|
680
|
-
* @public
|
|
681
|
-
*/
|
|
682
|
-
DataSources?: DataSourceConfigurationsResult | undefined;
|
|
683
|
-
/**
|
|
684
|
-
* <p>Contains information about the status of the features for the member account.</p>
|
|
685
|
-
* @public
|
|
686
|
-
*/
|
|
687
|
-
Features?: MemberFeaturesConfigurationResult[] | undefined;
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* @public
|
|
691
|
-
*/
|
|
692
|
-
export interface GetMemberDetectorsResponse {
|
|
693
|
-
/**
|
|
694
|
-
* <p>An object that describes which data sources are enabled for a member account.</p>
|
|
695
|
-
* @public
|
|
696
|
-
*/
|
|
697
|
-
MemberDataSourceConfigurations: MemberDataSourceConfiguration[] | undefined;
|
|
698
|
-
/**
|
|
699
|
-
* <p>A list of member account IDs that were unable to be processed along with an explanation
|
|
700
|
-
* for why they were not processed.</p>
|
|
701
|
-
* @public
|
|
702
|
-
*/
|
|
703
|
-
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
704
|
-
}
|
|
705
|
-
/**
|
|
706
|
-
* @public
|
|
707
|
-
*/
|
|
708
|
-
export interface GetMembersRequest {
|
|
709
|
-
/**
|
|
710
|
-
* <p>The unique ID of the detector of the GuardDuty account whose members you want to
|
|
711
|
-
* retrieve.</p>
|
|
712
|
-
* <p>To find the <code>detectorId</code> in the current Region, see the
|
|
713
|
-
* Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p>
|
|
714
|
-
* @public
|
|
715
|
-
*/
|
|
716
|
-
DetectorId: string | undefined;
|
|
717
|
-
/**
|
|
718
|
-
* <p>A list of account IDs of the GuardDuty member accounts that you want to describe.</p>
|
|
719
|
-
* @public
|
|
720
|
-
*/
|
|
721
|
-
AccountIds: string[] | undefined;
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* <p>Contains information about the member account. </p>
|
|
725
|
-
* @public
|
|
726
|
-
*/
|
|
727
|
-
export interface Member {
|
|
728
|
-
/**
|
|
729
|
-
* <p>The ID of the member account.</p>
|
|
730
|
-
* @public
|
|
731
|
-
*/
|
|
732
|
-
AccountId: string | undefined;
|
|
733
|
-
/**
|
|
734
|
-
* <p>The detector ID of the member account.</p>
|
|
735
|
-
* @public
|
|
736
|
-
*/
|
|
737
|
-
DetectorId?: string | undefined;
|
|
738
|
-
/**
|
|
739
|
-
* <p>The administrator account ID.</p>
|
|
740
|
-
* @public
|
|
741
|
-
*/
|
|
742
|
-
MasterId: string | undefined;
|
|
743
|
-
/**
|
|
744
|
-
* <p>The email address of the member account.</p>
|
|
745
|
-
* @public
|
|
746
|
-
*/
|
|
747
|
-
Email: string | undefined;
|
|
748
|
-
/**
|
|
749
|
-
* <p>The status of the relationship between the member and the administrator.</p>
|
|
750
|
-
* @public
|
|
751
|
-
*/
|
|
752
|
-
RelationshipStatus: string | undefined;
|
|
753
|
-
/**
|
|
754
|
-
* <p>The timestamp when the invitation was sent.</p>
|
|
755
|
-
* @public
|
|
756
|
-
*/
|
|
757
|
-
InvitedAt?: string | undefined;
|
|
758
|
-
/**
|
|
759
|
-
* <p>The last-updated timestamp of the member.</p>
|
|
760
|
-
* @public
|
|
761
|
-
*/
|
|
762
|
-
UpdatedAt: string | undefined;
|
|
763
|
-
/**
|
|
764
|
-
* <p>The administrator account ID.</p>
|
|
765
|
-
* @public
|
|
766
|
-
*/
|
|
767
|
-
AdministratorId?: string | undefined;
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* @public
|
|
771
|
-
*/
|
|
772
|
-
export interface GetMembersResponse {
|
|
773
|
-
/**
|
|
774
|
-
* <p>A list of members.</p>
|
|
775
|
-
* @public
|
|
776
|
-
*/
|
|
777
|
-
Members: Member[] | undefined;
|
|
778
|
-
/**
|
|
779
|
-
* <p>A list of objects that contain the unprocessed account and a result string that explains
|
|
780
|
-
* why it was unprocessed.</p>
|
|
781
|
-
* @public
|
|
782
|
-
*/
|
|
783
|
-
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* <p>Information about the coverage
|
|
787
|
-
* statistic for the additional
|
|
788
|
-
* configuration of the feature.</p>
|
|
789
|
-
* @public
|
|
790
|
-
*/
|
|
791
|
-
export interface OrganizationFeatureStatisticsAdditionalConfiguration {
|
|
792
|
-
/**
|
|
793
|
-
* <p>Name of the additional configuration within a feature.</p>
|
|
794
|
-
* @public
|
|
795
|
-
*/
|
|
796
|
-
Name?: OrgFeatureAdditionalConfiguration | undefined;
|
|
797
|
-
/**
|
|
798
|
-
* <p>Total number of accounts that have enabled the additional
|
|
799
|
-
* configuration.</p>
|
|
800
|
-
* @public
|
|
801
|
-
*/
|
|
802
|
-
EnabledAccountsCount?: number | undefined;
|
|
803
|
-
}
|
|
1
|
+
import { AutoEnableMembers, DataSource, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, FindingPublishingFrequency, ListMalwareScansCriterionKey, MalwareProtectionResourceType, MalwareProtectionScanStatus, MalwareProtectionScanType, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, ScanResultStatus, ThreatEntitySetFormat, ThreatEntitySetStatus, ThreatIntelSetFormat, ThreatIntelSetStatus, TrustedEntitySetFormat, TrustedEntitySetStatus, UsageFeature, UsageStatisticType } from "./enums";
|
|
2
|
+
import { AccountFreeTrialInfo, AdminAccount, CoverageFilterCriteria, CoverageResource, CoverageSortCriteria, DataSourceConfigurations, Destination, DestinationProperties, DetectorFeatureConfiguration, FilterCondition, FindingCriteria, IncrementalScanDetails, MalwareProtectionPlanActions, Member, OrganizationFeatureStatisticsAdditionalConfiguration, ScanResourceCriteria, SortCriteria, UnprocessedAccount } from "./models_0";
|
|
804
3
|
/**
|
|
805
4
|
* <p>Information about the number of accounts
|
|
806
5
|
* that have enabled a specific feature.</p>
|
|
@@ -944,23 +143,6 @@ export interface GetThreatEntitySetRequest {
|
|
|
944
143
|
*/
|
|
945
144
|
ThreatEntitySetId: string | undefined;
|
|
946
145
|
}
|
|
947
|
-
/**
|
|
948
|
-
* @public
|
|
949
|
-
* @enum
|
|
950
|
-
*/
|
|
951
|
-
export declare const ThreatEntitySetStatus: {
|
|
952
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
953
|
-
readonly ACTIVE: "ACTIVE";
|
|
954
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
955
|
-
readonly DELETED: "DELETED";
|
|
956
|
-
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
957
|
-
readonly ERROR: "ERROR";
|
|
958
|
-
readonly INACTIVE: "INACTIVE";
|
|
959
|
-
};
|
|
960
|
-
/**
|
|
961
|
-
* @public
|
|
962
|
-
*/
|
|
963
|
-
export type ThreatEntitySetStatus = (typeof ThreatEntitySetStatus)[keyof typeof ThreatEntitySetStatus];
|
|
964
146
|
/**
|
|
965
147
|
* @public
|
|
966
148
|
*/
|
|
@@ -1029,23 +211,6 @@ export interface GetThreatIntelSetRequest {
|
|
|
1029
211
|
*/
|
|
1030
212
|
ThreatIntelSetId: string | undefined;
|
|
1031
213
|
}
|
|
1032
|
-
/**
|
|
1033
|
-
* @public
|
|
1034
|
-
* @enum
|
|
1035
|
-
*/
|
|
1036
|
-
export declare const ThreatIntelSetStatus: {
|
|
1037
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
1038
|
-
readonly ACTIVE: "ACTIVE";
|
|
1039
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
1040
|
-
readonly DELETED: "DELETED";
|
|
1041
|
-
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
1042
|
-
readonly ERROR: "ERROR";
|
|
1043
|
-
readonly INACTIVE: "INACTIVE";
|
|
1044
|
-
};
|
|
1045
|
-
/**
|
|
1046
|
-
* @public
|
|
1047
|
-
*/
|
|
1048
|
-
export type ThreatIntelSetStatus = (typeof ThreatIntelSetStatus)[keyof typeof ThreatIntelSetStatus];
|
|
1049
214
|
/**
|
|
1050
215
|
* @public
|
|
1051
216
|
*/
|
|
@@ -1098,23 +263,6 @@ export interface GetTrustedEntitySetRequest {
|
|
|
1098
263
|
*/
|
|
1099
264
|
TrustedEntitySetId: string | undefined;
|
|
1100
265
|
}
|
|
1101
|
-
/**
|
|
1102
|
-
* @public
|
|
1103
|
-
* @enum
|
|
1104
|
-
*/
|
|
1105
|
-
export declare const TrustedEntitySetStatus: {
|
|
1106
|
-
readonly ACTIVATING: "ACTIVATING";
|
|
1107
|
-
readonly ACTIVE: "ACTIVE";
|
|
1108
|
-
readonly DEACTIVATING: "DEACTIVATING";
|
|
1109
|
-
readonly DELETED: "DELETED";
|
|
1110
|
-
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
1111
|
-
readonly ERROR: "ERROR";
|
|
1112
|
-
readonly INACTIVE: "INACTIVE";
|
|
1113
|
-
};
|
|
1114
|
-
/**
|
|
1115
|
-
* @public
|
|
1116
|
-
*/
|
|
1117
|
-
export type TrustedEntitySetStatus = (typeof TrustedEntitySetStatus)[keyof typeof TrustedEntitySetStatus];
|
|
1118
266
|
/**
|
|
1119
267
|
* @public
|
|
1120
268
|
*/
|
|
@@ -1166,29 +314,6 @@ export interface GetTrustedEntitySetResponse {
|
|
|
1166
314
|
*/
|
|
1167
315
|
ErrorDetails?: string | undefined;
|
|
1168
316
|
}
|
|
1169
|
-
/**
|
|
1170
|
-
* @public
|
|
1171
|
-
* @enum
|
|
1172
|
-
*/
|
|
1173
|
-
export declare const UsageFeature: {
|
|
1174
|
-
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
1175
|
-
readonly DNS_LOGS: "DNS_LOGS";
|
|
1176
|
-
readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
|
|
1177
|
-
readonly EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING";
|
|
1178
|
-
readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
|
|
1179
|
-
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
1180
|
-
readonly FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING";
|
|
1181
|
-
readonly FLOW_LOGS: "FLOW_LOGS";
|
|
1182
|
-
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
1183
|
-
readonly RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED";
|
|
1184
|
-
readonly RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS";
|
|
1185
|
-
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
1186
|
-
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
1187
|
-
};
|
|
1188
|
-
/**
|
|
1189
|
-
* @public
|
|
1190
|
-
*/
|
|
1191
|
-
export type UsageFeature = (typeof UsageFeature)[keyof typeof UsageFeature];
|
|
1192
317
|
/**
|
|
1193
318
|
* <p>Contains information about the criteria used to query usage statistics.</p>
|
|
1194
319
|
* @public
|
|
@@ -1218,22 +343,6 @@ export interface UsageCriteria {
|
|
|
1218
343
|
*/
|
|
1219
344
|
Features?: UsageFeature[] | undefined;
|
|
1220
345
|
}
|
|
1221
|
-
/**
|
|
1222
|
-
* @public
|
|
1223
|
-
* @enum
|
|
1224
|
-
*/
|
|
1225
|
-
export declare const UsageStatisticType: {
|
|
1226
|
-
readonly SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT";
|
|
1227
|
-
readonly SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE";
|
|
1228
|
-
readonly SUM_BY_FEATURES: "SUM_BY_FEATURES";
|
|
1229
|
-
readonly SUM_BY_RESOURCE: "SUM_BY_RESOURCE";
|
|
1230
|
-
readonly TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE";
|
|
1231
|
-
readonly TOP_RESOURCES: "TOP_RESOURCES";
|
|
1232
|
-
};
|
|
1233
|
-
/**
|
|
1234
|
-
* @public
|
|
1235
|
-
*/
|
|
1236
|
-
export type UsageStatisticType = (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
|
|
1237
346
|
/**
|
|
1238
347
|
* @public
|
|
1239
348
|
*/
|
|
@@ -1976,6 +1085,130 @@ export interface ListMalwareProtectionPlansResponse {
|
|
|
1976
1085
|
*/
|
|
1977
1086
|
NextToken?: string | undefined;
|
|
1978
1087
|
}
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>Represents a condition that when matched will be added to the response of the operation.
|
|
1090
|
+
* Irrespective of using any filter criteria, an administrator account can view the scan entries
|
|
1091
|
+
* for all of its member accounts. However, each member account can view the scan entries only
|
|
1092
|
+
* for their own account.</p>
|
|
1093
|
+
* @public
|
|
1094
|
+
*/
|
|
1095
|
+
export interface ListMalwareScansFilterCriterion {
|
|
1096
|
+
/**
|
|
1097
|
+
* <p>An enum value representing possible scan properties to match with given scan
|
|
1098
|
+
* entries.</p>
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
ListMalwareScansCriterionKey?: ListMalwareScansCriterionKey | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>Contains information about the condition.</p>
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
FilterCondition?: FilterCondition | undefined;
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>Represents the criteria used to filter the malware scan entries.</p>
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
export interface ListMalwareScansFilterCriteria {
|
|
1113
|
+
/**
|
|
1114
|
+
* <p>Represents a condition that when matched will be added to the response of the
|
|
1115
|
+
* operation.</p>
|
|
1116
|
+
* @public
|
|
1117
|
+
*/
|
|
1118
|
+
ListMalwareScansFilterCriterion?: ListMalwareScansFilterCriterion[] | undefined;
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* @public
|
|
1122
|
+
*/
|
|
1123
|
+
export interface ListMalwareScansRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
* <p>You can use this parameter to indicate the maximum number of items that you want in the
|
|
1126
|
+
* response. The default value is 50. The maximum value is 50.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
MaxResults?: number | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>You can use this parameter when paginating results. Set the value of this parameter to
|
|
1132
|
+
* null on your first call to the list action. For subsequent calls to the action, fill nextToken
|
|
1133
|
+
* in the request with the value of NextToken from the previous response to continue listing
|
|
1134
|
+
* results.</p>
|
|
1135
|
+
* @public
|
|
1136
|
+
*/
|
|
1137
|
+
NextToken?: string | undefined;
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>Represents the criteria used to filter the malware scan entries.</p>
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
FilterCriteria?: ListMalwareScansFilterCriteria | undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>Represents the criteria used for sorting malware scan entries.</p>
|
|
1145
|
+
* @public
|
|
1146
|
+
*/
|
|
1147
|
+
SortCriteria?: SortCriteria | undefined;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>Contains information about a particular malware scan.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export interface MalwareScan {
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>Amazon Resource Name (ARN) of the resource for the given malware scan.</p>
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
ResourceArn?: string | undefined;
|
|
1159
|
+
/**
|
|
1160
|
+
* <p>The type of resource that was scanned for malware.</p>
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
ResourceType?: MalwareProtectionResourceType | undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* <p>A unique identifier that gets generated when you invoke the API without any error. Each malware scan has
|
|
1166
|
+
* a corresponding scan ID. Using this scan ID, you can monitor the status of your malware scan.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
ScanId?: string | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* <p>An enum value representing the current status of the malware scan.</p>
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
ScanStatus?: MalwareProtectionScanStatus | undefined;
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>An enum value representing the result of the malware scan.</p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
ScanResultStatus?: ScanResultStatus | undefined;
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>An enum value representing the type of scan that was initiated.</p>
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
ScanType?: MalwareProtectionScanType | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The timestamp representing when the malware scan was started.</p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
ScanStartedAt?: Date | undefined;
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>The timestamp representing when the malware scan was completed.</p>
|
|
1192
|
+
* @public
|
|
1193
|
+
*/
|
|
1194
|
+
ScanCompletedAt?: Date | undefined;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
export interface ListMalwareScansResponse {
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>The list of malware scans associated with the provided input parameters.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
Scans: MalwareScan[] | undefined;
|
|
1205
|
+
/**
|
|
1206
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
1207
|
+
* scans.</p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
NextToken?: string | undefined;
|
|
1211
|
+
}
|
|
1979
1212
|
/**
|
|
1980
1213
|
* @public
|
|
1981
1214
|
*/
|
|
@@ -2290,6 +1523,39 @@ export interface SendObjectMalwareScanRequest {
|
|
|
2290
1523
|
*/
|
|
2291
1524
|
export interface SendObjectMalwareScanResponse {
|
|
2292
1525
|
}
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>Contains information about the recovery point configuration for scanning backup data from Amazon Web Services Backup.</p>
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
export interface RecoveryPoint {
|
|
1531
|
+
/**
|
|
1532
|
+
* <p>The name of the Amazon Web Services Backup vault that contains the name of the recovery point to be scanned.</p>
|
|
1533
|
+
* @public
|
|
1534
|
+
*/
|
|
1535
|
+
BackupVaultName: string | undefined;
|
|
1536
|
+
}
|
|
1537
|
+
/**
|
|
1538
|
+
* <p>Contains information about the configuration to be used for the malware scan.</p>
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
export interface StartMalwareScanConfiguration {
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>Amazon Resource Name (ARN) of the IAM role that is used for scanning the resource.</p>
|
|
1544
|
+
* @public
|
|
1545
|
+
*/
|
|
1546
|
+
Role: string | undefined;
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>Contains information about the incremental scan configuration. When specified, the scan will only process
|
|
1549
|
+
* changes since the baseline resource.</p>
|
|
1550
|
+
* @public
|
|
1551
|
+
*/
|
|
1552
|
+
IncrementalScanDetails?: IncrementalScanDetails | undefined;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>Contains information about the recovery point configuration for the requested scan.</p>
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1557
|
+
RecoveryPoint?: RecoveryPoint | undefined;
|
|
1558
|
+
}
|
|
2293
1559
|
/**
|
|
2294
1560
|
* @public
|
|
2295
1561
|
*/
|
|
@@ -2299,6 +1565,16 @@ export interface StartMalwareScanRequest {
|
|
|
2299
1565
|
* @public
|
|
2300
1566
|
*/
|
|
2301
1567
|
ResourceArn: string | undefined;
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>The idempotency token for the create request.</p>
|
|
1570
|
+
* @public
|
|
1571
|
+
*/
|
|
1572
|
+
ClientToken?: string | undefined;
|
|
1573
|
+
/**
|
|
1574
|
+
* <p>Contains information about the configuration to be used for the malware scan.</p>
|
|
1575
|
+
* @public
|
|
1576
|
+
*/
|
|
1577
|
+
ScanConfiguration?: StartMalwareScanConfiguration | undefined;
|
|
2302
1578
|
}
|
|
2303
1579
|
/**
|
|
2304
1580
|
* @public
|