@aws-sdk/client-securityhub 3.576.0 → 3.577.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.
|
@@ -150,6 +150,7 @@ export interface AccountDetails {
|
|
|
150
150
|
export interface AwsApiCallActionDomainDetails {
|
|
151
151
|
/**
|
|
152
152
|
* <p>The name of the DNS domain that issued the API call.</p>
|
|
153
|
+
* <p>Length Constraints: 128.</p>
|
|
153
154
|
* @public
|
|
154
155
|
*/
|
|
155
156
|
Domain?: string;
|
|
@@ -265,11 +266,13 @@ export interface ActionRemoteIpDetails {
|
|
|
265
266
|
export interface AwsApiCallAction {
|
|
266
267
|
/**
|
|
267
268
|
* <p>The name of the API method that was issued.</p>
|
|
269
|
+
* <p>Length Constraints: 128.</p>
|
|
268
270
|
* @public
|
|
269
271
|
*/
|
|
270
272
|
Api?: string;
|
|
271
273
|
/**
|
|
272
274
|
* <p>The name of the Amazon Web Services service that the API method belongs to.</p>
|
|
275
|
+
* <p>Length Constraints: 128.</p>
|
|
273
276
|
* @public
|
|
274
277
|
*/
|
|
275
278
|
ServiceName?: string;
|
|
@@ -367,11 +370,13 @@ export interface AwsApiCallAction {
|
|
|
367
370
|
export interface DnsRequestAction {
|
|
368
371
|
/**
|
|
369
372
|
* <p>The DNS domain that is associated with the DNS request.</p>
|
|
373
|
+
* <p>Length Constraints: 128.</p>
|
|
370
374
|
* @public
|
|
371
375
|
*/
|
|
372
376
|
Domain?: string;
|
|
373
377
|
/**
|
|
374
378
|
* <p>The protocol that was used for the DNS request.</p>
|
|
379
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 64.</p>
|
|
375
380
|
* @public
|
|
376
381
|
*/
|
|
377
382
|
Protocol?: string;
|
|
@@ -395,6 +400,7 @@ export interface ActionLocalPortDetails {
|
|
|
395
400
|
Port?: number;
|
|
396
401
|
/**
|
|
397
402
|
* <p>The port name of the local connection.</p>
|
|
403
|
+
* <p>Length Constraints: 128.</p>
|
|
398
404
|
* @public
|
|
399
405
|
*/
|
|
400
406
|
PortName?: string;
|
|
@@ -412,6 +418,7 @@ export interface ActionRemotePortDetails {
|
|
|
412
418
|
Port?: number;
|
|
413
419
|
/**
|
|
414
420
|
* <p>The port name of the remote connection.</p>
|
|
421
|
+
* <p>Length Constraints: 128.</p>
|
|
415
422
|
* @public
|
|
416
423
|
*/
|
|
417
424
|
PortName?: string;
|
|
@@ -446,6 +453,7 @@ export interface NetworkConnectionAction {
|
|
|
446
453
|
LocalPortDetails?: ActionLocalPortDetails;
|
|
447
454
|
/**
|
|
448
455
|
* <p>The protocol used to make the network connection request.</p>
|
|
456
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 64.</p>
|
|
449
457
|
* @public
|
|
450
458
|
*/
|
|
451
459
|
Protocol?: string;
|
|
@@ -8920,8 +8920,8 @@ export interface Compliance {
|
|
|
8920
8920
|
* <code>NOT_AVAILABLE</code> - Check could not be performed due to a service
|
|
8921
8921
|
* outage, API error, or because the result of the Config evaluation was
|
|
8922
8922
|
* <code>NOT_APPLICABLE</code>. If the Config evaluation result was
|
|
8923
|
-
* <code>NOT_APPLICABLE</code
|
|
8924
|
-
* the finding.</p>
|
|
8923
|
+
* <code>NOT_APPLICABLE</code> for a Security Hub control, Security Hub automatically archives
|
|
8924
|
+
* the finding after 3 days.</p>
|
|
8925
8925
|
* </li>
|
|
8926
8926
|
* </ul>
|
|
8927
8927
|
* </li>
|
|
@@ -8932,6 +8932,7 @@ export interface Compliance {
|
|
|
8932
8932
|
/**
|
|
8933
8933
|
* <p>For a control, the industry or regulatory framework requirements that are related to the
|
|
8934
8934
|
* control. The check for that control is aligned with these requirements.</p>
|
|
8935
|
+
* <p>Array Members: Maximum number of 32 items.</p>
|
|
8935
8936
|
* @public
|
|
8936
8937
|
*/
|
|
8937
8938
|
RelatedRequirements?: string[];
|
|
@@ -8976,6 +8977,7 @@ export interface FindingProviderSeverity {
|
|
|
8976
8977
|
Label?: SeverityLabel;
|
|
8977
8978
|
/**
|
|
8978
8979
|
* <p>The finding provider's original value for the severity.</p>
|
|
8980
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 64.</p>
|
|
8979
8981
|
* @public
|
|
8980
8982
|
*/
|
|
8981
8983
|
Original?: string;
|
|
@@ -9047,6 +9049,7 @@ export interface GeneratorDetails {
|
|
|
9047
9049
|
* <p>
|
|
9048
9050
|
* An array of tags used to identify the detector associated with the finding.
|
|
9049
9051
|
* </p>
|
|
9052
|
+
* <p>Array Members: Minimum number of 0 items. Maximum number of 10 items.</p>
|
|
9050
9053
|
* @public
|
|
9051
9054
|
*/
|
|
9052
9055
|
Labels?: string[];
|
|
@@ -9096,6 +9099,7 @@ export type MalwareType = (typeof MalwareType)[keyof typeof MalwareType];
|
|
|
9096
9099
|
export interface Malware {
|
|
9097
9100
|
/**
|
|
9098
9101
|
* <p>The name of the malware that was observed.</p>
|
|
9102
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 64.</p>
|
|
9099
9103
|
* @public
|
|
9100
9104
|
*/
|
|
9101
9105
|
Name: string | undefined;
|
|
@@ -9106,6 +9110,7 @@ export interface Malware {
|
|
|
9106
9110
|
Type?: MalwareType;
|
|
9107
9111
|
/**
|
|
9108
9112
|
* <p>The file system path of the malware that was observed.</p>
|
|
9113
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 512.</p>
|
|
9109
9114
|
* @public
|
|
9110
9115
|
*/
|
|
9111
9116
|
Path?: string;
|
|
@@ -9155,6 +9160,7 @@ export interface Network {
|
|
|
9155
9160
|
Direction?: NetworkDirection;
|
|
9156
9161
|
/**
|
|
9157
9162
|
* <p>The protocol of network-related information about a finding.</p>
|
|
9163
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 16.</p>
|
|
9158
9164
|
* @public
|
|
9159
9165
|
*/
|
|
9160
9166
|
Protocol?: string;
|
|
@@ -9180,6 +9186,7 @@ export interface Network {
|
|
|
9180
9186
|
SourcePort?: number;
|
|
9181
9187
|
/**
|
|
9182
9188
|
* <p>The source domain of network-related information about a finding.</p>
|
|
9189
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 128.</p>
|
|
9183
9190
|
* @public
|
|
9184
9191
|
*/
|
|
9185
9192
|
SourceDomain?: string;
|
|
@@ -9206,6 +9213,7 @@ export interface Network {
|
|
|
9206
9213
|
DestinationPort?: number;
|
|
9207
9214
|
/**
|
|
9208
9215
|
* <p>The destination domain of network-related information about a finding.</p>
|
|
9216
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 128.</p>
|
|
9209
9217
|
* @public
|
|
9210
9218
|
*/
|
|
9211
9219
|
DestinationDomain?: string;
|
|
@@ -9234,6 +9242,7 @@ export interface NetworkPathComponentDetails {
|
|
|
9234
9242
|
export interface NetworkHeader {
|
|
9235
9243
|
/**
|
|
9236
9244
|
* <p>The protocol used for the component.</p>
|
|
9245
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 16.</p>
|
|
9237
9246
|
* @public
|
|
9238
9247
|
*/
|
|
9239
9248
|
Protocol?: string;
|
|
@@ -9255,11 +9264,13 @@ export interface NetworkHeader {
|
|
|
9255
9264
|
export interface NetworkPathComponent {
|
|
9256
9265
|
/**
|
|
9257
9266
|
* <p>The identifier of a component in the network path.</p>
|
|
9267
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 32.</p>
|
|
9258
9268
|
* @public
|
|
9259
9269
|
*/
|
|
9260
9270
|
ComponentId?: string;
|
|
9261
9271
|
/**
|
|
9262
9272
|
* <p>The type of component.</p>
|
|
9273
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 32.</p>
|
|
9263
9274
|
* @public
|
|
9264
9275
|
*/
|
|
9265
9276
|
ComponentType?: string;
|
|
@@ -9283,6 +9294,7 @@ export interface NetworkPathComponent {
|
|
|
9283
9294
|
export interface Note {
|
|
9284
9295
|
/**
|
|
9285
9296
|
* <p>The text of a note.</p>
|
|
9297
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 512.</p>
|
|
9286
9298
|
* @public
|
|
9287
9299
|
*/
|
|
9288
9300
|
Text: string | undefined;
|
|
@@ -9331,40 +9343,47 @@ export interface PatchSummary {
|
|
|
9331
9343
|
/**
|
|
9332
9344
|
* <p>The identifier of the compliance standard that was used to determine the patch
|
|
9333
9345
|
* compliance status.</p>
|
|
9346
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
9334
9347
|
* @public
|
|
9335
9348
|
*/
|
|
9336
9349
|
Id: string | undefined;
|
|
9337
9350
|
/**
|
|
9338
9351
|
* <p>The number of patches from the compliance standard that were installed
|
|
9339
9352
|
* successfully.</p>
|
|
9353
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9340
9354
|
* @public
|
|
9341
9355
|
*/
|
|
9342
9356
|
InstalledCount?: number;
|
|
9343
9357
|
/**
|
|
9344
9358
|
* <p>The number of patches that are part of the compliance standard but are not installed.
|
|
9345
9359
|
* The count includes patches that failed to install.</p>
|
|
9360
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9346
9361
|
* @public
|
|
9347
9362
|
*/
|
|
9348
9363
|
MissingCount?: number;
|
|
9349
9364
|
/**
|
|
9350
9365
|
* <p>The number of patches from the compliance standard that failed to install.</p>
|
|
9366
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9351
9367
|
* @public
|
|
9352
9368
|
*/
|
|
9353
9369
|
FailedCount?: number;
|
|
9354
9370
|
/**
|
|
9355
9371
|
* <p>The number of installed patches that are not part of the compliance standard.</p>
|
|
9372
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9356
9373
|
* @public
|
|
9357
9374
|
*/
|
|
9358
9375
|
InstalledOtherCount?: number;
|
|
9359
9376
|
/**
|
|
9360
9377
|
* <p>The number of patches that are installed but are also on a list of patches that the
|
|
9361
9378
|
* customer rejected.</p>
|
|
9379
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9362
9380
|
* @public
|
|
9363
9381
|
*/
|
|
9364
9382
|
InstalledRejectedCount?: number;
|
|
9365
9383
|
/**
|
|
9366
9384
|
* <p>The number of patches that were applied, but that require the instance to be rebooted in
|
|
9367
9385
|
* order to be marked as installed.</p>
|
|
9386
|
+
* <p>The value can be an integer from <code>0</code> to <code>100000</code>.</p>
|
|
9368
9387
|
* @public
|
|
9369
9388
|
*/
|
|
9370
9389
|
InstalledPendingReboot?: number;
|
|
@@ -9430,12 +9449,14 @@ export interface PatchSummary {
|
|
|
9430
9449
|
OperationEndTime?: string;
|
|
9431
9450
|
/**
|
|
9432
9451
|
* <p>The reboot option specified for the instance.</p>
|
|
9452
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
9433
9453
|
* @public
|
|
9434
9454
|
*/
|
|
9435
9455
|
RebootOption?: string;
|
|
9436
9456
|
/**
|
|
9437
9457
|
* <p>The type of patch operation performed. For Patch Manager, the values are
|
|
9438
|
-
* <code>SCAN</code> and <code>INSTALL</code
|
|
9458
|
+
* <code>SCAN</code> and <code>INSTALL</code>.</p>
|
|
9459
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
9439
9460
|
* @public
|
|
9440
9461
|
*/
|
|
9441
9462
|
Operation?: string;
|
|
@@ -9447,11 +9468,13 @@ export interface PatchSummary {
|
|
|
9447
9468
|
export interface ProcessDetails {
|
|
9448
9469
|
/**
|
|
9449
9470
|
* <p>The name of the process.</p>
|
|
9471
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 64.</p>
|
|
9450
9472
|
* @public
|
|
9451
9473
|
*/
|
|
9452
9474
|
Name?: string;
|
|
9453
9475
|
/**
|
|
9454
9476
|
* <p>The path to the process executable.</p>
|
|
9477
|
+
* <p>Length Constraints: Minimum of 1. Maximum of 512.</p>
|
|
9455
9478
|
* @public
|
|
9456
9479
|
*/
|
|
9457
9480
|
Path?: string;
|
|
@@ -9545,6 +9568,7 @@ export type RecordState = (typeof RecordState)[keyof typeof RecordState];
|
|
|
9545
9568
|
export interface Recommendation {
|
|
9546
9569
|
/**
|
|
9547
9570
|
* <p>Describes the recommended steps to take to remediate an issue identified in a finding.</p>
|
|
9571
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 512 length.</p>
|
|
9548
9572
|
* @public
|
|
9549
9573
|
*/
|
|
9550
9574
|
Text?: string;
|
|
@@ -1518,6 +1518,7 @@ export interface Resource {
|
|
|
1518
1518
|
* is an EC2 instance, then set <code>Type</code> to <code>AwsEc2Instance</code>.</p>
|
|
1519
1519
|
* <p>If the resource does not match any of the provided types, then set <code>Type</code> to
|
|
1520
1520
|
* <code>Other</code>. </p>
|
|
1521
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
1521
1522
|
* @public
|
|
1522
1523
|
*/
|
|
1523
1524
|
Type: string | undefined;
|
|
@@ -1533,6 +1534,7 @@ export interface Resource {
|
|
|
1533
1534
|
Partition?: Partition;
|
|
1534
1535
|
/**
|
|
1535
1536
|
* <p>The canonical Amazon Web Services external Region name where this resource is located.</p>
|
|
1537
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 16.</p>
|
|
1536
1538
|
* @public
|
|
1537
1539
|
*/
|
|
1538
1540
|
Region?: string;
|
|
@@ -1543,7 +1545,7 @@ export interface Resource {
|
|
|
1543
1545
|
ResourceRole?: string;
|
|
1544
1546
|
/**
|
|
1545
1547
|
* <p>A list of Amazon Web Services tags associated with a resource at the time the finding was
|
|
1546
|
-
*
|
|
1548
|
+
* processed. Tags must follow <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions">Amazon Web Services tag naming limits and requirements</a>.</p>
|
|
1547
1549
|
* @public
|
|
1548
1550
|
*/
|
|
1549
1551
|
Tags?: Record<string, string>;
|
|
@@ -1647,6 +1649,7 @@ export interface Severity {
|
|
|
1647
1649
|
/**
|
|
1648
1650
|
* <p>Deprecated. The normalized severity of a finding.
|
|
1649
1651
|
* Instead of providing <code>Normalized</code>, provide <code>Label</code>.</p>
|
|
1652
|
+
* <p>The value of <code>Normalized</code> can be an integer between <code>0</code> and <code>100</code>.</p>
|
|
1650
1653
|
* <p>If you provide <code>Label</code> and do not provide <code>Normalized</code>, then
|
|
1651
1654
|
* <code>Normalized</code> is set automatically as follows.</p>
|
|
1652
1655
|
* <ul>
|
|
@@ -1676,6 +1679,7 @@ export interface Severity {
|
|
|
1676
1679
|
Normalized?: number;
|
|
1677
1680
|
/**
|
|
1678
1681
|
* <p>The native severity from the finding product that generated the finding.</p>
|
|
1682
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 64.</p>
|
|
1679
1683
|
* @public
|
|
1680
1684
|
*/
|
|
1681
1685
|
Original?: string;
|
|
@@ -1729,6 +1733,7 @@ export interface ThreatIntelIndicator {
|
|
|
1729
1733
|
Type?: ThreatIntelIndicatorType;
|
|
1730
1734
|
/**
|
|
1731
1735
|
* <p>The value of a threat intelligence indicator.</p>
|
|
1736
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 512 length.</p>
|
|
1732
1737
|
* @public
|
|
1733
1738
|
*/
|
|
1734
1739
|
Value?: string;
|
|
@@ -1770,6 +1775,7 @@ export interface ThreatIntelIndicator {
|
|
|
1770
1775
|
LastObservedAt?: string;
|
|
1771
1776
|
/**
|
|
1772
1777
|
* <p>The source of the threat intelligence indicator.</p>
|
|
1778
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 64 length.</p>
|
|
1773
1779
|
* @public
|
|
1774
1780
|
*/
|
|
1775
1781
|
Source?: string;
|
|
@@ -1789,24 +1795,28 @@ export interface FilePaths {
|
|
|
1789
1795
|
/**
|
|
1790
1796
|
* <p>Path to the infected or suspicious file on the resource it was detected on.
|
|
1791
1797
|
* </p>
|
|
1798
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1792
1799
|
* @public
|
|
1793
1800
|
*/
|
|
1794
1801
|
FilePath?: string;
|
|
1795
1802
|
/**
|
|
1796
1803
|
* <p>The name of the infected or suspicious file corresponding to the hash.
|
|
1797
1804
|
* </p>
|
|
1805
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1798
1806
|
* @public
|
|
1799
1807
|
*/
|
|
1800
1808
|
FileName?: string;
|
|
1801
1809
|
/**
|
|
1802
1810
|
* <p>The Amazon Resource Name (ARN) of the resource on which the threat was detected.
|
|
1803
1811
|
* </p>
|
|
1812
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1804
1813
|
* @public
|
|
1805
1814
|
*/
|
|
1806
1815
|
ResourceId?: string;
|
|
1807
1816
|
/**
|
|
1808
1817
|
* <p>The hash value for the infected or suspicious file.
|
|
1809
1818
|
* </p>
|
|
1819
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1810
1820
|
* @public
|
|
1811
1821
|
*/
|
|
1812
1822
|
Hash?: string;
|
|
@@ -1820,12 +1830,14 @@ export interface Threat {
|
|
|
1820
1830
|
/**
|
|
1821
1831
|
* <p>The name of the threat.
|
|
1822
1832
|
* </p>
|
|
1833
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1823
1834
|
* @public
|
|
1824
1835
|
*/
|
|
1825
1836
|
Name?: string;
|
|
1826
1837
|
/**
|
|
1827
1838
|
* <p>The severity of the threat.
|
|
1828
1839
|
* </p>
|
|
1840
|
+
* <p>Length Constraints: Minimum of 1 length. Maximum of 128 length.</p>
|
|
1829
1841
|
* @public
|
|
1830
1842
|
*/
|
|
1831
1843
|
Severity?: string;
|
|
@@ -1838,6 +1850,7 @@ export interface Threat {
|
|
|
1838
1850
|
/**
|
|
1839
1851
|
* <p>Provides information about the file paths that were affected by the threat.
|
|
1840
1852
|
* </p>
|
|
1853
|
+
* <p>Array Members: Minimum number of 1 item. Maximum number of 5 items.</p>
|
|
1841
1854
|
* @public
|
|
1842
1855
|
*/
|
|
1843
1856
|
FilePaths?: FilePaths[];
|
|
@@ -2270,12 +2283,13 @@ export type WorkflowState = (typeof WorkflowState)[keyof typeof WorkflowState];
|
|
|
2270
2283
|
*/
|
|
2271
2284
|
export interface AwsSecurityFinding {
|
|
2272
2285
|
/**
|
|
2273
|
-
* <p>The schema version that a finding is formatted for
|
|
2286
|
+
* <p>The schema version that a finding is formatted for. The value is <code>2018-10-08</code>.</p>
|
|
2274
2287
|
* @public
|
|
2275
2288
|
*/
|
|
2276
2289
|
SchemaVersion: string | undefined;
|
|
2277
2290
|
/**
|
|
2278
2291
|
* <p>The security findings provider-specific identifier for a finding.</p>
|
|
2292
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 512.</p>
|
|
2279
2293
|
* @public
|
|
2280
2294
|
*/
|
|
2281
2295
|
Id: string | undefined;
|
|
@@ -2283,6 +2297,7 @@ export interface AwsSecurityFinding {
|
|
|
2283
2297
|
* <p>The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
|
2284
2298
|
* This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for
|
|
2285
2299
|
* a custom integration.</p>
|
|
2300
|
+
* <p>Length Constraints: Minimum length of 12. Maximum length of 2048.</p>
|
|
2286
2301
|
* @public
|
|
2287
2302
|
*/
|
|
2288
2303
|
ProductArn: string | undefined;
|
|
@@ -2290,6 +2305,7 @@ export interface AwsSecurityFinding {
|
|
|
2290
2305
|
* <p>The name of the product that generated the finding.</p>
|
|
2291
2306
|
* <p>Security Hub populates this attribute automatically for each finding. You cannot update this attribute with <code>BatchImportFindings</code> or <code>BatchUpdateFindings</code>. The exception to this is a custom integration.</p>
|
|
2292
2307
|
* <p>When you use the Security Hub console or API to filter findings by product name, you use this attribute.</p>
|
|
2308
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 128.</p>
|
|
2293
2309
|
* @public
|
|
2294
2310
|
*/
|
|
2295
2311
|
ProductName?: string;
|
|
@@ -2297,24 +2313,30 @@ export interface AwsSecurityFinding {
|
|
|
2297
2313
|
* <p>The name of the company for the product that generated the finding.</p>
|
|
2298
2314
|
* <p>Security Hub populates this attribute automatically for each finding. You cannot update this attribute with <code>BatchImportFindings</code> or <code>BatchUpdateFindings</code>. The exception to this is a custom integration.</p>
|
|
2299
2315
|
* <p>When you use the Security Hub console or API to filter findings by company name, you use this attribute.</p>
|
|
2316
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 128.
|
|
2317
|
+
* </p>
|
|
2300
2318
|
* @public
|
|
2301
2319
|
*/
|
|
2302
2320
|
CompanyName?: string;
|
|
2303
2321
|
/**
|
|
2304
2322
|
* <p>The Region from which the finding was generated.</p>
|
|
2305
2323
|
* <p>Security Hub populates this attribute automatically for each finding. You cannot update it using <code>BatchImportFindings</code> or <code>BatchUpdateFindings</code>.</p>
|
|
2324
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 16.
|
|
2325
|
+
* </p>
|
|
2306
2326
|
* @public
|
|
2307
2327
|
*/
|
|
2308
2328
|
Region?: string;
|
|
2309
2329
|
/**
|
|
2310
2330
|
* <p>The identifier for the solution-specific component (a discrete unit of logic) that
|
|
2311
2331
|
* generated a finding. In various security findings providers' solutions, this generator can
|
|
2312
|
-
* be called a rule, a check, a detector, a plugin,
|
|
2332
|
+
* be called a rule, a check, a detector, a plugin, or something else.</p>
|
|
2333
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 512.</p>
|
|
2313
2334
|
* @public
|
|
2314
2335
|
*/
|
|
2315
2336
|
GeneratorId: string | undefined;
|
|
2316
2337
|
/**
|
|
2317
2338
|
* <p>The Amazon Web Services account ID that a finding is generated in.</p>
|
|
2339
|
+
* <p>Length Constraints: 12.</p>
|
|
2318
2340
|
* @public
|
|
2319
2341
|
*/
|
|
2320
2342
|
AwsAccountId: string | undefined;
|
|
@@ -2323,6 +2345,7 @@ export interface AwsSecurityFinding {
|
|
|
2323
2345
|
* that classify a finding.</p>
|
|
2324
2346
|
* <p>Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual
|
|
2325
2347
|
* Behaviors | Sensitive Data Identifications</p>
|
|
2348
|
+
* <p>Array Members: Maximum number of 50 items.</p>
|
|
2326
2349
|
* @public
|
|
2327
2350
|
*/
|
|
2328
2351
|
Types?: string[];
|
|
@@ -2470,18 +2493,14 @@ export interface AwsSecurityFinding {
|
|
|
2470
2493
|
*/
|
|
2471
2494
|
Criticality?: number;
|
|
2472
2495
|
/**
|
|
2473
|
-
* <p>A finding's title.</p>
|
|
2474
|
-
* <
|
|
2475
|
-
* <p>In this release, <code>Title</code> is a required property.</p>
|
|
2476
|
-
* </note>
|
|
2496
|
+
* <p>A finding's title. <code>Title</code> is a required property.</p>
|
|
2497
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
2477
2498
|
* @public
|
|
2478
2499
|
*/
|
|
2479
2500
|
Title: string | undefined;
|
|
2480
2501
|
/**
|
|
2481
|
-
* <p>A finding's description.</p>
|
|
2482
|
-
* <
|
|
2483
|
-
* <p>In this release, <code>Description</code> is a required property.</p>
|
|
2484
|
-
* </note>
|
|
2502
|
+
* <p>A finding's description. <code>Description</code> is a required property.</p>
|
|
2503
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 1024.</p>
|
|
2485
2504
|
* @public
|
|
2486
2505
|
*/
|
|
2487
2506
|
Description: string | undefined;
|
|
@@ -2505,12 +2524,14 @@ export interface AwsSecurityFinding {
|
|
|
2505
2524
|
ProductFields?: Record<string, string>;
|
|
2506
2525
|
/**
|
|
2507
2526
|
* <p>A list of name/value string pairs associated with the finding. These are custom,
|
|
2508
|
-
* user-defined fields added to a finding
|
|
2527
|
+
* user-defined fields added to a finding.</p>
|
|
2528
|
+
* <p>Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters, and the value can contain up to 1024 characters.</p>
|
|
2509
2529
|
* @public
|
|
2510
2530
|
*/
|
|
2511
2531
|
UserDefinedFields?: Record<string, string>;
|
|
2512
2532
|
/**
|
|
2513
2533
|
* <p>A list of malware related to a finding.</p>
|
|
2534
|
+
* <p>Array Members: Maximum number of 5 items.</p>
|
|
2514
2535
|
* @public
|
|
2515
2536
|
*/
|
|
2516
2537
|
Malware?: Malware[];
|
|
@@ -2533,17 +2554,20 @@ export interface AwsSecurityFinding {
|
|
|
2533
2554
|
/**
|
|
2534
2555
|
* <p>Details about the threat detected in a security finding and the file paths that were affected by the threat.
|
|
2535
2556
|
* </p>
|
|
2557
|
+
* <p>Array Members: Minimum number of 1 item. Maximum number of 32 items.</p>
|
|
2536
2558
|
* @public
|
|
2537
2559
|
*/
|
|
2538
2560
|
Threats?: Threat[];
|
|
2539
2561
|
/**
|
|
2540
2562
|
* <p>Threat intelligence details related to a finding.</p>
|
|
2563
|
+
* <p>Array Members: Minimum number of 1 item. Maximum number of 5 items.</p>
|
|
2541
2564
|
* @public
|
|
2542
2565
|
*/
|
|
2543
2566
|
ThreatIntelIndicators?: ThreatIntelIndicator[];
|
|
2544
2567
|
/**
|
|
2545
2568
|
* <p>A set of resource data types that describe the resources that the finding refers
|
|
2546
2569
|
* to.</p>
|
|
2570
|
+
* <p>Array Members: Minimum number of 1 item. Maximum number of 32 items.</p>
|
|
2547
2571
|
* @public
|
|
2548
2572
|
*/
|
|
2549
2573
|
Resources: Resource[] | undefined;
|
|
@@ -2578,6 +2602,7 @@ export interface AwsSecurityFinding {
|
|
|
2578
2602
|
RecordState?: RecordState;
|
|
2579
2603
|
/**
|
|
2580
2604
|
* <p>A list of related findings.</p>
|
|
2605
|
+
* <p>Array Members: Minimum number of 1 item. Maximum number of 10 items.</p>
|
|
2581
2606
|
* @public
|
|
2582
2607
|
*/
|
|
2583
2608
|
RelatedFindings?: RelatedFinding[];
|
|
@@ -2622,7 +2647,7 @@ export interface AwsSecurityFinding {
|
|
|
2622
2647
|
*/
|
|
2623
2648
|
GeneratorDetails?: GeneratorDetails;
|
|
2624
2649
|
/**
|
|
2625
|
-
* <p>A
|
|
2650
|
+
* <p>A timestamp that indicates when Security Hub received a finding and begins to process it.</p>
|
|
2626
2651
|
* <p>This field accepts only the specified formats. Timestamps
|
|
2627
2652
|
* can end with <code>Z</code> or <code>("+" / "-") time-hour [":" time-minute]</code>. The time-secfrac after seconds is limited
|
|
2628
2653
|
* to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:</p>
|
|
@@ -2654,6 +2679,8 @@ export interface AwsSecurityFinding {
|
|
|
2654
2679
|
/**
|
|
2655
2680
|
* <p>The name of the Amazon Web Services account from which a finding was generated.
|
|
2656
2681
|
* </p>
|
|
2682
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 50.
|
|
2683
|
+
* </p>
|
|
2657
2684
|
* @public
|
|
2658
2685
|
*/
|
|
2659
2686
|
AwsAccountName?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.577.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityhub",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.577.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.577.0",
|
|
25
25
|
"@aws-sdk/core": "3.576.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.577.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.577.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.577.0",
|
|
32
|
+
"@aws-sdk/types": "3.577.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.577.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
37
|
"@smithy/core": "^2.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.0",
|