@aws-sdk/client-securityhub 3.28.0 → 3.32.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/CHANGELOG.md +35 -0
- package/dist/cjs/models/models_0.js +209 -209
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js +207 -4
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +1022 -219
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +159 -159
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js +159 -0
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +1061 -326
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/models/models_0.d.ts +882 -763
- package/dist/types/models/models_1.d.ts +653 -16
- package/dist/types/ts3.4/models/models_0.d.ts +882 -763
- package/dist/types/ts3.4/models/models_1.d.ts +653 -16
- package/models/models_0.ts +991 -852
- package/models/models_1.ts +817 -24
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +1418 -276
package/models/models_1.ts
CHANGED
|
@@ -2,12 +2,14 @@ import {
|
|
|
2
2
|
AccountDetails,
|
|
3
3
|
Action,
|
|
4
4
|
ActionTarget,
|
|
5
|
+
Adjustment,
|
|
5
6
|
AdminAccount,
|
|
6
7
|
AwsApiGatewayRestApiDetails,
|
|
7
8
|
AwsApiGatewayStageDetails,
|
|
8
9
|
AwsApiGatewayV2ApiDetails,
|
|
9
10
|
AwsApiGatewayV2StageDetails,
|
|
10
11
|
AwsAutoScalingAutoScalingGroupDetails,
|
|
12
|
+
AwsAutoScalingLaunchConfigurationDetails,
|
|
11
13
|
AwsCertificateManagerCertificateDetails,
|
|
12
14
|
AwsCloudFrontDistributionDetails,
|
|
13
15
|
AwsCloudTrailTrailDetails,
|
|
@@ -21,6 +23,8 @@ import {
|
|
|
21
23
|
AwsEc2SubnetDetails,
|
|
22
24
|
AwsEc2VolumeDetails,
|
|
23
25
|
AwsEc2VpcDetails,
|
|
26
|
+
AwsEc2VpnConnectionDetails,
|
|
27
|
+
AwsEcrContainerImageDetails,
|
|
24
28
|
AwsEcsClusterDetails,
|
|
25
29
|
AwsEcsServiceDetails,
|
|
26
30
|
AwsEcsTaskDefinitionDetails,
|
|
@@ -46,30 +50,786 @@ import {
|
|
|
46
50
|
AwsS3BucketDetails,
|
|
47
51
|
AwsS3ObjectDetails,
|
|
48
52
|
AwsSecretsManagerSecretDetails,
|
|
49
|
-
AwsSnsTopicSubscription,
|
|
50
53
|
Compliance,
|
|
51
|
-
DataClassificationDetails,
|
|
52
54
|
FindingProviderFields,
|
|
53
55
|
Malware,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Note,
|
|
57
|
-
PatchSummary,
|
|
58
|
-
ProcessDetails,
|
|
59
|
-
RecordState,
|
|
56
|
+
NetworkDirection,
|
|
57
|
+
PortRange,
|
|
60
58
|
RelatedFinding,
|
|
61
|
-
Remediation,
|
|
62
59
|
SeverityLabel,
|
|
63
60
|
} from "./models_0";
|
|
64
61
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
65
62
|
|
|
63
|
+
/**
|
|
64
|
+
* <p>The details of network-related information about a finding.</p>
|
|
65
|
+
*/
|
|
66
|
+
export interface Network {
|
|
67
|
+
/**
|
|
68
|
+
* <p>The direction of network traffic associated with a finding.</p>
|
|
69
|
+
*/
|
|
70
|
+
Direction?: NetworkDirection | string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* <p>The protocol of network-related information about a finding.</p>
|
|
74
|
+
*/
|
|
75
|
+
Protocol?: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* <p>The range of open ports that is present on the network.</p>
|
|
79
|
+
*/
|
|
80
|
+
OpenPortRange?: PortRange;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* <p>The source IPv4 address of network-related information about a finding.</p>
|
|
84
|
+
*/
|
|
85
|
+
SourceIpV4?: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* <p>The source IPv6 address of network-related information about a finding.</p>
|
|
89
|
+
*/
|
|
90
|
+
SourceIpV6?: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* <p>The source port of network-related information about a finding.</p>
|
|
94
|
+
*/
|
|
95
|
+
SourcePort?: number;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* <p>The source domain of network-related information about a finding.</p>
|
|
99
|
+
*/
|
|
100
|
+
SourceDomain?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* <p>The source media access control (MAC) address of network-related information about a
|
|
104
|
+
* finding.</p>
|
|
105
|
+
*/
|
|
106
|
+
SourceMac?: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* <p>The destination IPv4 address of network-related information about a finding.</p>
|
|
110
|
+
*/
|
|
111
|
+
DestinationIpV4?: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* <p>The destination IPv6 address of network-related information about a finding.</p>
|
|
115
|
+
*/
|
|
116
|
+
DestinationIpV6?: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* <p>The destination port of network-related information about a finding.</p>
|
|
120
|
+
*/
|
|
121
|
+
DestinationPort?: number;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* <p>The destination domain of network-related information about a finding.</p>
|
|
125
|
+
*/
|
|
126
|
+
DestinationDomain?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export namespace Network {
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
export const filterSensitiveLog = (obj: Network): any => ({
|
|
134
|
+
...obj,
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* <p>Information about the destination of the next component in the network path.</p>
|
|
140
|
+
*/
|
|
141
|
+
export interface NetworkPathComponentDetails {
|
|
142
|
+
/**
|
|
143
|
+
* <p>The IP addresses of the destination.</p>
|
|
144
|
+
*/
|
|
145
|
+
Address?: string[];
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* <p>A list of port ranges for the destination.</p>
|
|
149
|
+
*/
|
|
150
|
+
PortRanges?: PortRange[];
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export namespace NetworkPathComponentDetails {
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
export const filterSensitiveLog = (obj: NetworkPathComponentDetails): any => ({
|
|
158
|
+
...obj,
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* <p>Details about a network path component that occurs before or after the current
|
|
164
|
+
* component.</p>
|
|
165
|
+
*/
|
|
166
|
+
export interface NetworkHeader {
|
|
167
|
+
/**
|
|
168
|
+
* <p>The protocol used for the component.</p>
|
|
169
|
+
*/
|
|
170
|
+
Protocol?: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* <p>Information about the destination of the component.</p>
|
|
174
|
+
*/
|
|
175
|
+
Destination?: NetworkPathComponentDetails;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* <p>Information about the origin of the component.</p>
|
|
179
|
+
*/
|
|
180
|
+
Source?: NetworkPathComponentDetails;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export namespace NetworkHeader {
|
|
184
|
+
/**
|
|
185
|
+
* @internal
|
|
186
|
+
*/
|
|
187
|
+
export const filterSensitiveLog = (obj: NetworkHeader): any => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* <p>Information about a network path component.</p>
|
|
194
|
+
*/
|
|
195
|
+
export interface NetworkPathComponent {
|
|
196
|
+
/**
|
|
197
|
+
* <p>The identifier of a component in the network path.</p>
|
|
198
|
+
*/
|
|
199
|
+
ComponentId?: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* <p>The type of component.</p>
|
|
203
|
+
*/
|
|
204
|
+
ComponentType?: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* <p>Information about the component that comes after the current component in the network
|
|
208
|
+
* path.</p>
|
|
209
|
+
*/
|
|
210
|
+
Egress?: NetworkHeader;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* <p>Information about the component that comes before the current node in the network
|
|
214
|
+
* path.</p>
|
|
215
|
+
*/
|
|
216
|
+
Ingress?: NetworkHeader;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export namespace NetworkPathComponent {
|
|
220
|
+
/**
|
|
221
|
+
* @internal
|
|
222
|
+
*/
|
|
223
|
+
export const filterSensitiveLog = (obj: NetworkPathComponent): any => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* <p>A user-defined note added to a finding.</p>
|
|
230
|
+
*/
|
|
231
|
+
export interface Note {
|
|
232
|
+
/**
|
|
233
|
+
* <p>The text of a note.</p>
|
|
234
|
+
*/
|
|
235
|
+
Text: string | undefined;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* <p>The principal that created a note.</p>
|
|
239
|
+
*/
|
|
240
|
+
UpdatedBy: string | undefined;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* <p>The timestamp of when the note was updated.</p>
|
|
244
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
245
|
+
* Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
246
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
247
|
+
*/
|
|
248
|
+
UpdatedAt: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export namespace Note {
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
export const filterSensitiveLog = (obj: Note): any => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* <p>Provides an overview of the patch compliance status for an instance against a selected
|
|
262
|
+
* compliance standard.</p>
|
|
263
|
+
*/
|
|
264
|
+
export interface PatchSummary {
|
|
265
|
+
/**
|
|
266
|
+
* <p>The identifier of the compliance standard that was used to determine the patch
|
|
267
|
+
* compliance status.</p>
|
|
268
|
+
*/
|
|
269
|
+
Id: string | undefined;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* <p>The number of patches from the compliance standard that were installed
|
|
273
|
+
* successfully.</p>
|
|
274
|
+
*/
|
|
275
|
+
InstalledCount?: number;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* <p>The number of patches that are part of the compliance standard but are not installed.
|
|
279
|
+
* The count includes patches that failed to install.</p>
|
|
280
|
+
*/
|
|
281
|
+
MissingCount?: number;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* <p>The number of patches from the compliance standard that failed to install.</p>
|
|
285
|
+
*/
|
|
286
|
+
FailedCount?: number;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* <p>The number of installed patches that are not part of the compliance standard.</p>
|
|
290
|
+
*/
|
|
291
|
+
InstalledOtherCount?: number;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* <p>The number of patches that are installed but are also on a list of patches that the
|
|
295
|
+
* customer rejected.</p>
|
|
296
|
+
*/
|
|
297
|
+
InstalledRejectedCount?: number;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* <p>The number of patches that were applied, but that require the instance to be rebooted in
|
|
301
|
+
* order to be marked as installed.</p>
|
|
302
|
+
*/
|
|
303
|
+
InstalledPendingReboot?: number;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* <p>Indicates when the operation started.</p>
|
|
307
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
308
|
+
* Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
309
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
310
|
+
*/
|
|
311
|
+
OperationStartTime?: string;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* <p>Indicates when the operation completed.</p>
|
|
315
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
316
|
+
* Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
317
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
318
|
+
*/
|
|
319
|
+
OperationEndTime?: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* <p>The reboot option specified for the instance.</p>
|
|
323
|
+
*/
|
|
324
|
+
RebootOption?: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* <p>The type of patch operation performed. For Patch Manager, the values are
|
|
328
|
+
* <code>SCAN</code> and <code>INSTALL</code>. </p>
|
|
329
|
+
*/
|
|
330
|
+
Operation?: string;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export namespace PatchSummary {
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
*/
|
|
337
|
+
export const filterSensitiveLog = (obj: PatchSummary): any => ({
|
|
338
|
+
...obj,
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* <p>The details of process-related information about a finding.</p>
|
|
344
|
+
*/
|
|
345
|
+
export interface ProcessDetails {
|
|
346
|
+
/**
|
|
347
|
+
* <p>The name of the process.</p>
|
|
348
|
+
*/
|
|
349
|
+
Name?: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* <p>The path to the process executable.</p>
|
|
353
|
+
*/
|
|
354
|
+
Path?: string;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* <p>The process ID.</p>
|
|
358
|
+
*/
|
|
359
|
+
Pid?: number;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* <p>The parent process ID.</p>
|
|
363
|
+
*/
|
|
364
|
+
ParentPid?: number;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* <p>Indicates when the process was launched.</p>
|
|
368
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
369
|
+
* Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
370
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
371
|
+
*/
|
|
372
|
+
LaunchedAt?: string;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* <p>Indicates when the process was terminated.</p>
|
|
376
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
377
|
+
* Date/Time Format</a>. The value cannot contain spaces. For example,
|
|
378
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
379
|
+
*/
|
|
380
|
+
TerminatedAt?: string;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export namespace ProcessDetails {
|
|
384
|
+
/**
|
|
385
|
+
* @internal
|
|
386
|
+
*/
|
|
387
|
+
export const filterSensitiveLog = (obj: ProcessDetails): any => ({
|
|
388
|
+
...obj,
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export enum RecordState {
|
|
393
|
+
ACTIVE = "ACTIVE",
|
|
394
|
+
ARCHIVED = "ARCHIVED",
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* <p>A recommendation on how to remediate the issue identified in a finding.</p>
|
|
399
|
+
*/
|
|
400
|
+
export interface Recommendation {
|
|
401
|
+
/**
|
|
402
|
+
* <p>Describes the recommended steps to take to remediate an issue identified in a finding.</p>
|
|
403
|
+
*/
|
|
404
|
+
Text?: string;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* <p>A URL to a page or site that contains information about how to remediate a finding.</p>
|
|
408
|
+
*/
|
|
409
|
+
Url?: string;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export namespace Recommendation {
|
|
413
|
+
/**
|
|
414
|
+
* @internal
|
|
415
|
+
*/
|
|
416
|
+
export const filterSensitiveLog = (obj: Recommendation): any => ({
|
|
417
|
+
...obj,
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* <p>Details about the remediation steps for a finding.</p>
|
|
423
|
+
*/
|
|
424
|
+
export interface Remediation {
|
|
425
|
+
/**
|
|
426
|
+
* <p>A recommendation on the steps to take to remediate the issue identified by a finding.</p>
|
|
427
|
+
*/
|
|
428
|
+
Recommendation?: Recommendation;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export namespace Remediation {
|
|
432
|
+
/**
|
|
433
|
+
* @internal
|
|
434
|
+
*/
|
|
435
|
+
export const filterSensitiveLog = (obj: Remediation): any => ({
|
|
436
|
+
...obj,
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* <p>An occurrence of sensitive data detected in a Microsoft Excel workbook, comma-separated value (CSV) file, or tab-separated value (TSV) file.</p>
|
|
442
|
+
*/
|
|
443
|
+
export interface Cell {
|
|
444
|
+
/**
|
|
445
|
+
* <p>The column number of the column that contains the data. For a Microsoft Excel workbook, the column number corresponds to the alphabetical column identifiers. For example, a value of 1 for Column corresponds to the A column in the workbook.</p>
|
|
446
|
+
*/
|
|
447
|
+
Column?: number;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* <p>The row number of the row that contains the data.</p>
|
|
451
|
+
*/
|
|
452
|
+
Row?: number;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* <p>The name of the column that contains the data.</p>
|
|
456
|
+
*/
|
|
457
|
+
ColumnName?: string;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* <p>For a Microsoft Excel workbook, provides the location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2.</p>
|
|
461
|
+
*/
|
|
462
|
+
CellReference?: string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export namespace Cell {
|
|
466
|
+
/**
|
|
467
|
+
* @internal
|
|
468
|
+
*/
|
|
469
|
+
export const filterSensitiveLog = (obj: Cell): any => ({
|
|
470
|
+
...obj,
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* <p>Identifies where the sensitive data begins and ends.</p>
|
|
476
|
+
*/
|
|
477
|
+
export interface Range {
|
|
478
|
+
/**
|
|
479
|
+
* <p>The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.</p>
|
|
480
|
+
*/
|
|
481
|
+
Start?: number;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* <p>The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.</p>
|
|
485
|
+
*/
|
|
486
|
+
End?: number;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* <p>In the line where the sensitive data starts, the column within the line where the sensitive data starts.</p>
|
|
490
|
+
*/
|
|
491
|
+
StartColumn?: number;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export namespace Range {
|
|
495
|
+
/**
|
|
496
|
+
* @internal
|
|
497
|
+
*/
|
|
498
|
+
export const filterSensitiveLog = (obj: Range): any => ({
|
|
499
|
+
...obj,
|
|
500
|
+
});
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* <p>An occurrence of sensitive data in an Adobe Portable Document Format (PDF) file.</p>
|
|
505
|
+
*/
|
|
506
|
+
export interface Page {
|
|
507
|
+
/**
|
|
508
|
+
* <p>The page number of the page that contains the sensitive data.</p>
|
|
509
|
+
*/
|
|
510
|
+
PageNumber?: number;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* <p>An occurrence of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.</p>
|
|
514
|
+
*/
|
|
515
|
+
LineRange?: Range;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* <p>An occurrence of sensitive data detected in a binary text file.</p>
|
|
519
|
+
*/
|
|
520
|
+
OffsetRange?: Range;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export namespace Page {
|
|
524
|
+
/**
|
|
525
|
+
* @internal
|
|
526
|
+
*/
|
|
527
|
+
export const filterSensitiveLog = (obj: Page): any => ({
|
|
528
|
+
...obj,
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* <p>An occurrence of sensitive data in an Apache Avro object container or an Apache Parquet file.</p>
|
|
534
|
+
*/
|
|
535
|
+
export interface _Record {
|
|
536
|
+
/**
|
|
537
|
+
* <p>The path, as a JSONPath expression, to the field in the record that contains the data. If the field name is longer than 20 characters, it is truncated. If the path is longer than 250 characters, it is truncated.</p>
|
|
538
|
+
*/
|
|
539
|
+
JsonPath?: string;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* <p>The record index, starting from 0, for the record that contains the data.</p>
|
|
543
|
+
*/
|
|
544
|
+
RecordIndex?: number;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export namespace _Record {
|
|
548
|
+
/**
|
|
549
|
+
* @internal
|
|
550
|
+
*/
|
|
551
|
+
export const filterSensitiveLog = (obj: _Record): any => ({
|
|
552
|
+
...obj,
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* <p>The detected occurrences of sensitive data.</p>
|
|
558
|
+
*/
|
|
559
|
+
export interface Occurrences {
|
|
560
|
+
/**
|
|
561
|
+
* <p>Occurrences of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.</p>
|
|
562
|
+
*/
|
|
563
|
+
LineRanges?: Range[];
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* <p>Occurrences of sensitive data detected in a binary text file.</p>
|
|
567
|
+
*/
|
|
568
|
+
OffsetRanges?: Range[];
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* <p>Occurrences of sensitive data in an Adobe Portable Document Format (PDF) file.</p>
|
|
572
|
+
*/
|
|
573
|
+
Pages?: Page[];
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* <p>Occurrences of sensitive data in an Apache Avro object container or an Apache Parquet file.</p>
|
|
577
|
+
*/
|
|
578
|
+
Records?: _Record[];
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* <p>Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated value (CSV) files, or tab-separated value (TSV) files.</p>
|
|
582
|
+
*/
|
|
583
|
+
Cells?: Cell[];
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export namespace Occurrences {
|
|
587
|
+
/**
|
|
588
|
+
* @internal
|
|
589
|
+
*/
|
|
590
|
+
export const filterSensitiveLog = (obj: Occurrences): any => ({
|
|
591
|
+
...obj,
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* <p>The list of detected instances of sensitive data.</p>
|
|
597
|
+
*/
|
|
598
|
+
export interface CustomDataIdentifiersDetections {
|
|
599
|
+
/**
|
|
600
|
+
* <p>The total number of occurrences of sensitive data that were detected.</p>
|
|
601
|
+
*/
|
|
602
|
+
Count?: number;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* <p>The ARN of the custom identifier that was used to detect the sensitive data.</p>
|
|
606
|
+
*/
|
|
607
|
+
Arn?: string;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* <p>he name of the custom identifier that detected the sensitive data.</p>
|
|
611
|
+
*/
|
|
612
|
+
Name?: string;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* <p>Details about the sensitive data that was detected.</p>
|
|
616
|
+
*/
|
|
617
|
+
Occurrences?: Occurrences;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export namespace CustomDataIdentifiersDetections {
|
|
621
|
+
/**
|
|
622
|
+
* @internal
|
|
623
|
+
*/
|
|
624
|
+
export const filterSensitiveLog = (obj: CustomDataIdentifiersDetections): any => ({
|
|
625
|
+
...obj,
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* <p>Contains an instance of sensitive data that was detected by a customer-defined identifier.</p>
|
|
631
|
+
*/
|
|
632
|
+
export interface CustomDataIdentifiersResult {
|
|
633
|
+
/**
|
|
634
|
+
* <p>The list of detected instances of sensitive data.</p>
|
|
635
|
+
*/
|
|
636
|
+
Detections?: CustomDataIdentifiersDetections[];
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* <p>The total number of occurrences of sensitive data.</p>
|
|
640
|
+
*/
|
|
641
|
+
TotalCount?: number;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export namespace CustomDataIdentifiersResult {
|
|
645
|
+
/**
|
|
646
|
+
* @internal
|
|
647
|
+
*/
|
|
648
|
+
export const filterSensitiveLog = (obj: CustomDataIdentifiersResult): any => ({
|
|
649
|
+
...obj,
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* <p>The list of detected instances of sensitive data.</p>
|
|
655
|
+
*/
|
|
656
|
+
export interface SensitiveDataDetections {
|
|
657
|
+
/**
|
|
658
|
+
* <p>The total number of occurrences of sensitive data that were detected.</p>
|
|
659
|
+
*/
|
|
660
|
+
Count?: number;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* <p>The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.</p>
|
|
664
|
+
*/
|
|
665
|
+
Type?: string;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* <p>Details about the sensitive data that was detected.</p>
|
|
669
|
+
*/
|
|
670
|
+
Occurrences?: Occurrences;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export namespace SensitiveDataDetections {
|
|
674
|
+
/**
|
|
675
|
+
* @internal
|
|
676
|
+
*/
|
|
677
|
+
export const filterSensitiveLog = (obj: SensitiveDataDetections): any => ({
|
|
678
|
+
...obj,
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* <p>Contains a detected instance of sensitive data that are based on built-in identifiers.</p>
|
|
684
|
+
*/
|
|
685
|
+
export interface SensitiveDataResult {
|
|
686
|
+
/**
|
|
687
|
+
* <p>The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.</p>
|
|
688
|
+
*/
|
|
689
|
+
Category?: string;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* <p>The list of detected instances of sensitive data.</p>
|
|
693
|
+
*/
|
|
694
|
+
Detections?: SensitiveDataDetections[];
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* <p>The total number of occurrences of sensitive data.</p>
|
|
698
|
+
*/
|
|
699
|
+
TotalCount?: number;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export namespace SensitiveDataResult {
|
|
703
|
+
/**
|
|
704
|
+
* @internal
|
|
705
|
+
*/
|
|
706
|
+
export const filterSensitiveLog = (obj: SensitiveDataResult): any => ({
|
|
707
|
+
...obj,
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* <p>Provides details about the current status of the sensitive data detection.</p>
|
|
713
|
+
*/
|
|
714
|
+
export interface ClassificationStatus {
|
|
715
|
+
/**
|
|
716
|
+
* <p>The code that represents the status of the sensitive data detection.</p>
|
|
717
|
+
*/
|
|
718
|
+
Code?: string;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* <p>A longer description of the current status of the sensitive data detection.</p>
|
|
722
|
+
*/
|
|
723
|
+
Reason?: string;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export namespace ClassificationStatus {
|
|
727
|
+
/**
|
|
728
|
+
* @internal
|
|
729
|
+
*/
|
|
730
|
+
export const filterSensitiveLog = (obj: ClassificationStatus): any => ({
|
|
731
|
+
...obj,
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* <p>Details about the sensitive data that was detected on the resource.</p>
|
|
737
|
+
*/
|
|
738
|
+
export interface ClassificationResult {
|
|
739
|
+
/**
|
|
740
|
+
* <p>The type of content that the finding applies to.</p>
|
|
741
|
+
*/
|
|
742
|
+
MimeType?: string;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* <p>The total size in bytes of the affected data.</p>
|
|
746
|
+
*/
|
|
747
|
+
SizeClassified?: number;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* <p>Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.</p>
|
|
751
|
+
*/
|
|
752
|
+
AdditionalOccurrences?: boolean;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* <p>The current status of the sensitive data detection.</p>
|
|
756
|
+
*/
|
|
757
|
+
Status?: ClassificationStatus;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* <p>Provides details about sensitive data that was identified based on built-in configuration.</p>
|
|
761
|
+
*/
|
|
762
|
+
SensitiveData?: SensitiveDataResult[];
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* <p>Provides details about sensitive data that was identified based on customer-defined configuration.</p>
|
|
766
|
+
*/
|
|
767
|
+
CustomDataIdentifiers?: CustomDataIdentifiersResult;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export namespace ClassificationResult {
|
|
771
|
+
/**
|
|
772
|
+
* @internal
|
|
773
|
+
*/
|
|
774
|
+
export const filterSensitiveLog = (obj: ClassificationResult): any => ({
|
|
775
|
+
...obj,
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* <p>Provides details about sensitive data that was detected on a resource.</p>
|
|
781
|
+
*/
|
|
782
|
+
export interface DataClassificationDetails {
|
|
783
|
+
/**
|
|
784
|
+
* <p>The path to the folder or file that contains the sensitive data.</p>
|
|
785
|
+
*/
|
|
786
|
+
DetailedResultsLocation?: string;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* <p>The details about the sensitive data that was detected on the resource.</p>
|
|
790
|
+
*/
|
|
791
|
+
Result?: ClassificationResult;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export namespace DataClassificationDetails {
|
|
795
|
+
/**
|
|
796
|
+
* @internal
|
|
797
|
+
*/
|
|
798
|
+
export const filterSensitiveLog = (obj: DataClassificationDetails): any => ({
|
|
799
|
+
...obj,
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* <p>A wrapper type for the attributes of an Amazon SNS subscription.</p>
|
|
805
|
+
*/
|
|
806
|
+
export interface AwsSnsTopicSubscription {
|
|
807
|
+
/**
|
|
808
|
+
* <p>The subscription's endpoint (format depends on the protocol).</p>
|
|
809
|
+
*/
|
|
810
|
+
Endpoint?: string;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* <p>The subscription's protocol.</p>
|
|
814
|
+
*/
|
|
815
|
+
Protocol?: string;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export namespace AwsSnsTopicSubscription {
|
|
819
|
+
/**
|
|
820
|
+
* @internal
|
|
821
|
+
*/
|
|
822
|
+
export const filterSensitiveLog = (obj: AwsSnsTopicSubscription): any => ({
|
|
823
|
+
...obj,
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
|
|
66
827
|
/**
|
|
67
828
|
* <p>A wrapper type for the topic's ARN.</p>
|
|
68
829
|
*/
|
|
69
830
|
export interface AwsSnsTopicDetails {
|
|
70
831
|
/**
|
|
71
|
-
* <p>The ID of an Amazon Web Services managed
|
|
72
|
-
* CMK.</p>
|
|
832
|
+
* <p>The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.</p>
|
|
73
833
|
*/
|
|
74
834
|
KmsMasterKeyId?: string;
|
|
75
835
|
|
|
@@ -108,8 +868,8 @@ export interface AwsSqsQueueDetails {
|
|
|
108
868
|
KmsDataKeyReusePeriodSeconds?: number;
|
|
109
869
|
|
|
110
870
|
/**
|
|
111
|
-
* <p>The ID of an Amazon Web Services managed
|
|
112
|
-
*
|
|
871
|
+
* <p>The ID of an Amazon Web Services managed key for Amazon SQS or a custom
|
|
872
|
+
* KMS key.</p>
|
|
113
873
|
*/
|
|
114
874
|
KmsMasterKeyId?: string;
|
|
115
875
|
|
|
@@ -690,7 +1450,7 @@ export interface ResourceDetails {
|
|
|
690
1450
|
AwsRedshiftCluster?: AwsRedshiftClusterDetails;
|
|
691
1451
|
|
|
692
1452
|
/**
|
|
693
|
-
* <p>
|
|
1453
|
+
* <p>Contains details about a Classic Load Balancer.</p>
|
|
694
1454
|
*/
|
|
695
1455
|
AwsElbLoadBalancer?: AwsElbLoadBalancerDetails;
|
|
696
1456
|
|
|
@@ -796,6 +1556,21 @@ export interface ResourceDetails {
|
|
|
796
1556
|
* <p>Details about a service within an ECS cluster.</p>
|
|
797
1557
|
*/
|
|
798
1558
|
AwsEcsService?: AwsEcsServiceDetails;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* <p>Provides details about a launch configuration.</p>
|
|
1562
|
+
*/
|
|
1563
|
+
AwsAutoScalingLaunchConfiguration?: AwsAutoScalingLaunchConfigurationDetails;
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>Details about an EC2 VPN connection.</p>
|
|
1567
|
+
*/
|
|
1568
|
+
AwsEc2VpnConnection?: AwsEc2VpnConnectionDetails;
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>information about an Amazon ECR image.</p>
|
|
1572
|
+
*/
|
|
1573
|
+
AwsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
799
1574
|
}
|
|
800
1575
|
|
|
801
1576
|
export namespace ResourceDetails {
|
|
@@ -1085,6 +1860,16 @@ export interface Cvss {
|
|
|
1085
1860
|
* <p>The base scoring vector for the CVSS score.</p>
|
|
1086
1861
|
*/
|
|
1087
1862
|
BaseVector?: string;
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* <p>The origin of the original CVSS score and vector.</p>
|
|
1866
|
+
*/
|
|
1867
|
+
Source?: string;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* <p>Adjustments to the CVSS metrics.</p>
|
|
1871
|
+
*/
|
|
1872
|
+
Adjustments?: Adjustment[];
|
|
1088
1873
|
}
|
|
1089
1874
|
|
|
1090
1875
|
export namespace Cvss {
|
|
@@ -1169,6 +1954,16 @@ export interface SoftwarePackage {
|
|
|
1169
1954
|
* <p>The architecture used for the software package.</p>
|
|
1170
1955
|
*/
|
|
1171
1956
|
Architecture?: string;
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* <p>The source of the package.</p>
|
|
1960
|
+
*/
|
|
1961
|
+
PackageManager?: string;
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* <p>The file system path to the package manager inventory file.</p>
|
|
1965
|
+
*/
|
|
1966
|
+
FilePath?: string;
|
|
1172
1967
|
}
|
|
1173
1968
|
|
|
1174
1969
|
export namespace SoftwarePackage {
|
|
@@ -1236,8 +2031,8 @@ export enum WorkflowStatus {
|
|
|
1236
2031
|
*/
|
|
1237
2032
|
export interface Workflow {
|
|
1238
2033
|
/**
|
|
1239
|
-
* <p>The status of the investigation into the finding. The
|
|
1240
|
-
* following.</p>
|
|
2034
|
+
* <p>The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to <code>SUPPRESSED</code> or <code>RESOLVED</code> does not prevent a new finding for the same issue.</p>
|
|
2035
|
+
* <p>The allowed values are the following.</p>
|
|
1241
2036
|
* <ul>
|
|
1242
2037
|
* <li>
|
|
1243
2038
|
* <p>
|
|
@@ -1266,8 +2061,7 @@ export interface Workflow {
|
|
|
1266
2061
|
* </li>
|
|
1267
2062
|
* <li>
|
|
1268
2063
|
* <p>
|
|
1269
|
-
* <code>SUPPRESSED</code> -
|
|
1270
|
-
* acted upon.</p>
|
|
2064
|
+
* <code>SUPPRESSED</code> - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.</p>
|
|
1271
2065
|
* </li>
|
|
1272
2066
|
* <li>
|
|
1273
2067
|
* <p>
|
|
@@ -1327,7 +2121,7 @@ export interface AwsSecurityFinding {
|
|
|
1327
2121
|
* <p>The name of the product that generated the finding.</p>
|
|
1328
2122
|
* <p>Security Hub populates this attribute automatically for each finding. You cannot update it using <code>BatchImportFindings</code> or <code>BatchUpdateFindings</code>. The exception to this is when you use a custom integration.</p>
|
|
1329
2123
|
* <p>When you use the Security Hub console to filter findings by product name, you use this attribute.</p>
|
|
1330
|
-
* <p>When you use the Security Hub API to filter findings by product name, you use the <code>aws/securityhub/
|
|
2124
|
+
* <p>When you use the Security Hub API to filter findings by product name, you use the <code>aws/securityhub/ProductName</code> attribute under <code>ProductFields</code>.</p>
|
|
1331
2125
|
* <p>Security Hub does not synchronize those two attributes.</p>
|
|
1332
2126
|
*/
|
|
1333
2127
|
ProductName?: string;
|
|
@@ -2785,8 +3579,8 @@ export namespace SeverityUpdate {
|
|
|
2785
3579
|
*/
|
|
2786
3580
|
export interface WorkflowUpdate {
|
|
2787
3581
|
/**
|
|
2788
|
-
* <p>The status of the investigation into the finding. The
|
|
2789
|
-
* following.</p>
|
|
3582
|
+
* <p>The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to <code>SUPPRESSED</code> or <code>RESOLVED</code> does not prevent a new finding for the same issue.</p>
|
|
3583
|
+
* <p>The allowed values are the following.</p>
|
|
2790
3584
|
* <ul>
|
|
2791
3585
|
* <li>
|
|
2792
3586
|
* <p>
|
|
@@ -2818,8 +3612,7 @@ export interface WorkflowUpdate {
|
|
|
2818
3612
|
* </li>
|
|
2819
3613
|
* <li>
|
|
2820
3614
|
* <p>
|
|
2821
|
-
* <code>SUPPRESSED</code> -
|
|
2822
|
-
* acted upon.</p>
|
|
3615
|
+
* <code>SUPPRESSED</code> - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.</p>
|
|
2823
3616
|
* </li>
|
|
2824
3617
|
* </ul>
|
|
2825
3618
|
*/
|
|
@@ -3555,7 +4348,7 @@ export interface Product {
|
|
|
3555
4348
|
|
|
3556
4349
|
/**
|
|
3557
4350
|
* <p>For integrations with Amazon Web Services services, the Amazon Web Services Console URL from which to activate the service.</p>
|
|
3558
|
-
* <p>For integrations with third-party products, the Marketplace URL from which to subscribe to or purchase the product.</p>
|
|
4351
|
+
* <p>For integrations with third-party products, the Amazon Web Services Marketplace URL from which to subscribe to or purchase the product.</p>
|
|
3559
4352
|
*/
|
|
3560
4353
|
MarketplaceUrl?: string;
|
|
3561
4354
|
|