@aws-sdk/client-securityhub 3.298.0 → 3.300.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.
Files changed (79) hide show
  1. package/dist-cjs/models/models_0.js +1 -6
  2. package/dist-cjs/models/models_1.js +6 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +244 -0
  4. package/dist-es/models/models_0.js +0 -5
  5. package/dist-es/models/models_1.js +5 -0
  6. package/dist-es/protocols/Aws_restJson1.js +244 -0
  7. package/dist-types/SecurityHub.d.ts +6 -4
  8. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
  9. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  10. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
  11. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
  12. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
  13. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
  14. package/dist-types/commands/BatchImportFindingsCommand.d.ts +4037 -0
  15. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
  16. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateInsightCommand.d.ts +639 -1
  20. package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
  21. package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
  22. package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
  23. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
  26. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
  27. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
  28. package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
  33. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
  34. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  35. package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
  36. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
  39. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  41. package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
  42. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
  43. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
  44. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFindingsCommand.d.ts +644 -0
  46. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
  47. package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
  48. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
  49. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  50. package/dist-types/commands/GetMembersCommand.d.ts +5 -0
  51. package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
  52. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
  53. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  56. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
  63. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
  64. package/dist-types/commands/UpdateFindingsCommand.d.ts +641 -0
  65. package/dist-types/commands/UpdateInsightCommand.d.ts +639 -0
  66. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  67. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
  69. package/dist-types/models/models_0.d.ts +254 -129
  70. package/dist-types/models/models_1.d.ts +205 -105
  71. package/dist-types/models/models_2.d.ts +106 -5
  72. package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/models/models_0.d.ts +46 -34
  77. package/dist-types/ts3.4/models/models_1.d.ts +49 -33
  78. package/dist-types/ts3.4/models/models_2.d.ts +31 -1
  79. package/package.json +12 -12
@@ -545,6 +545,70 @@ export interface AssociatedStandard {
545
545
  */
546
546
  StandardsId?: string;
547
547
  }
548
+ /**
549
+ * @public
550
+ * <p>
551
+ * Describes the state of an association between a route table and a subnet or gateway.
552
+ * </p>
553
+ */
554
+ export interface AssociationStateDetails {
555
+ /**
556
+ * <p>
557
+ * The state of the association.
558
+ * </p>
559
+ */
560
+ State?: string;
561
+ /**
562
+ * <p>
563
+ * The status message, if applicable.
564
+ * </p>
565
+ */
566
+ StatusMessage?: string;
567
+ }
568
+ /**
569
+ * @public
570
+ * <p>
571
+ * The associations between a route table and one or more subnets or a gateway.
572
+ * </p>
573
+ */
574
+ export interface AssociationSetDetails {
575
+ /**
576
+ * <p>
577
+ * The state of the association between a route table and a subnet or gateway.
578
+ * </p>
579
+ */
580
+ AssociationState?: AssociationStateDetails;
581
+ /**
582
+ * <p>
583
+ * The ID of the internet gateway or virtual private gateway.
584
+ * </p>
585
+ */
586
+ GatewayId?: string;
587
+ /**
588
+ * <p>
589
+ * Indicates whether this is the main route table.
590
+ * </p>
591
+ */
592
+ Main?: boolean;
593
+ /**
594
+ * <p>
595
+ * The ID of the association.
596
+ * </p>
597
+ */
598
+ RouteTableAssociationId?: string;
599
+ /**
600
+ * <p>
601
+ * The ID of the route table.
602
+ * </p>
603
+ */
604
+ RouteTableId?: string;
605
+ /**
606
+ * <p>
607
+ * The ID of the subnet. A subnet ID is not returned for an implicit association.
608
+ * </p>
609
+ */
610
+ SubnetId?: string;
611
+ }
548
612
  /**
549
613
  * @public
550
614
  */
@@ -3768,6 +3832,20 @@ export interface AwsEc2InstanceMetadataOptions {
3768
3832
  */
3769
3833
  InstanceMetadataTags?: string;
3770
3834
  }
3835
+ /**
3836
+ * @public
3837
+ * <p>
3838
+ * The type of monitoring that’s turned on for an Amazon EC2 instance.
3839
+ * </p>
3840
+ */
3841
+ export interface AwsEc2InstanceMonitoringDetails {
3842
+ /**
3843
+ * <p>
3844
+ * Indicates whether detailed monitoring is turned on. Otherwise, basic monitoring is turned on.
3845
+ * </p>
3846
+ */
3847
+ State?: string;
3848
+ }
3771
3849
  /**
3772
3850
  * @public
3773
3851
  * <p>Identifies a network interface for the Amazon EC2 instance.</p>
@@ -3836,6 +3914,12 @@ export interface AwsEc2InstanceDetails {
3836
3914
  * </p>
3837
3915
  */
3838
3916
  MetadataOptions?: AwsEc2InstanceMetadataOptions;
3917
+ /**
3918
+ * <p>
3919
+ * Describes the type of monitoring that’s turned on for an instance.
3920
+ * </p>
3921
+ */
3922
+ Monitoring?: AwsEc2InstanceMonitoringDetails;
3839
3923
  }
3840
3924
  /**
3841
3925
  * @public
@@ -5278,6 +5362,168 @@ export interface AwsEc2NetworkInterfaceDetails {
5278
5362
  */
5279
5363
  PublicIp?: string;
5280
5364
  }
5365
+ /**
5366
+ * @public
5367
+ * <p>
5368
+ * Describes a virtual private gateway propagating route.
5369
+ * </p>
5370
+ */
5371
+ export interface PropagatingVgwSetDetails {
5372
+ /**
5373
+ * <p>
5374
+ * The ID of the virtual private gateway.
5375
+ * </p>
5376
+ */
5377
+ GatewayId?: string;
5378
+ }
5379
+ /**
5380
+ * @public
5381
+ * <p>
5382
+ * Provides details about the routes in the route table.
5383
+ * </p>
5384
+ */
5385
+ export interface RouteSetDetails {
5386
+ /**
5387
+ * <p>
5388
+ * The ID of the carrier gateway.
5389
+ * </p>
5390
+ */
5391
+ CarrierGatewayId?: string;
5392
+ /**
5393
+ * <p>
5394
+ * The Amazon Resource Name (ARN) of the core network.
5395
+ * </p>
5396
+ */
5397
+ CoreNetworkArn?: string;
5398
+ /**
5399
+ * <p>
5400
+ * The IPv4 CIDR block used for the destination match.
5401
+ * </p>
5402
+ */
5403
+ DestinationCidrBlock?: string;
5404
+ /**
5405
+ * <p>
5406
+ * The IPv6 CIDR block used for the destination match.
5407
+ * </p>
5408
+ */
5409
+ DestinationIpv6CidrBlock?: string;
5410
+ /**
5411
+ * <p>
5412
+ * The prefix of the destination Amazon Web Service.
5413
+ * </p>
5414
+ */
5415
+ DestinationPrefixListId?: string;
5416
+ /**
5417
+ * <p>
5418
+ * The ID of the egress-only internet gateway.
5419
+ * </p>
5420
+ */
5421
+ EgressOnlyInternetGatewayId?: string;
5422
+ /**
5423
+ * <p>
5424
+ * The ID of a gateway attached to your VPC.
5425
+ * </p>
5426
+ */
5427
+ GatewayId?: string;
5428
+ /**
5429
+ * <p>
5430
+ * The ID of a NAT instance in your VPC.
5431
+ * </p>
5432
+ */
5433
+ InstanceId?: string;
5434
+ /**
5435
+ * <p>
5436
+ * The ID of the Amazon Web Services account that owns the instance.
5437
+ * </p>
5438
+ */
5439
+ InstanceOwnerId?: string;
5440
+ /**
5441
+ * <p>
5442
+ * The ID of the local gateway.
5443
+ * </p>
5444
+ */
5445
+ LocalGatewayId?: string;
5446
+ /**
5447
+ * <p>
5448
+ * The ID of a NAT gateway.
5449
+ * </p>
5450
+ */
5451
+ NatGatewayId?: string;
5452
+ /**
5453
+ * <p>
5454
+ * The ID of the network interface.
5455
+ * </p>
5456
+ */
5457
+ NetworkInterfaceId?: string;
5458
+ /**
5459
+ * <p>
5460
+ * Describes how the route was created.
5461
+ * </p>
5462
+ */
5463
+ Origin?: string;
5464
+ /**
5465
+ * <p>
5466
+ * The state of the route.
5467
+ * </p>
5468
+ */
5469
+ State?: string;
5470
+ /**
5471
+ * <p>
5472
+ * The ID of a transit gateway.
5473
+ * </p>
5474
+ */
5475
+ TransitGatewayId?: string;
5476
+ /**
5477
+ * <p>
5478
+ * The ID of a VPC peering connection.
5479
+ * </p>
5480
+ */
5481
+ VpcPeeringConnectionId?: string;
5482
+ }
5483
+ /**
5484
+ * @public
5485
+ * <p>
5486
+ * Provides details about a route table for the specified VPC.
5487
+ * </p>
5488
+ */
5489
+ export interface AwsEc2RouteTableDetails {
5490
+ /**
5491
+ * <p>
5492
+ * The associations between a route table and one or more subnets or a gateway.
5493
+ * </p>
5494
+ */
5495
+ AssociationSet?: AssociationSetDetails[];
5496
+ /**
5497
+ * <p>
5498
+ * The ID of the Amazon Web Services account that owns the route table.
5499
+ * </p>
5500
+ */
5501
+ OwnerId?: string;
5502
+ /**
5503
+ * <p>
5504
+ * Describes a virtual private gateway propagating route.
5505
+ * </p>
5506
+ */
5507
+ PropagatingVgwSet?: PropagatingVgwSetDetails[];
5508
+ /**
5509
+ * <p>
5510
+ * The ID of the route table.
5511
+ * </p>
5512
+ */
5513
+ RouteTableId?: string;
5514
+ /**
5515
+ * <p>
5516
+ * The routes in the route table.
5517
+ * </p>
5518
+ */
5519
+ RouteSet?: RouteSetDetails[];
5520
+ /**
5521
+ * <p>
5522
+ * The ID of the virtual private cloud (VPC).
5523
+ * </p>
5524
+ */
5525
+ VpcId?: string;
5526
+ }
5281
5527
  /**
5282
5528
  * @public
5283
5529
  * <p>A range of IPv4 addresses.</p>
@@ -8139,6 +8385,14 @@ export interface AwsEksClusterResourcesVpcConfigDetails {
8139
8385
  * <p>The subnets that are associated with the cluster.</p>
8140
8386
  */
8141
8387
  SubnetIds?: string[];
8388
+ /**
8389
+ * <p>
8390
+ * Indicates whether the Amazon EKS public API server endpoint is turned on. If the Amazon EKS public API
8391
+ * server endpoint is turned off, your cluster's Kubernetes API server can only receive requests that originate from within
8392
+ * the cluster VPC.
8393
+ * </p>
8394
+ */
8395
+ EndpointPublicAccess?: boolean;
8142
8396
  }
8143
8397
  /**
8144
8398
  * @public
@@ -9129,132 +9383,3 @@ export interface AwsElbv2LoadBalancerDetails {
9129
9383
  */
9130
9384
  LoadBalancerAttributes?: AwsElbv2LoadBalancerAttribute[];
9131
9385
  }
9132
- /**
9133
- * @public
9134
- * <p>Attributes of the session that the key was used for.</p>
9135
- */
9136
- export interface AwsIamAccessKeySessionContextAttributes {
9137
- /**
9138
- * <p>Indicates whether the session used multi-factor authentication (MFA).</p>
9139
- */
9140
- MfaAuthenticated?: boolean;
9141
- /**
9142
- * <p>Indicates when the session was created.</p>
9143
- * <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
9144
- * Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
9145
- * <code>2020-03-22T13:22:13.933Z</code>.</p>
9146
- */
9147
- CreationDate?: string;
9148
- }
9149
- /**
9150
- * @public
9151
- * <p>Information about the entity that created the session.</p>
9152
- */
9153
- export interface AwsIamAccessKeySessionContextSessionIssuer {
9154
- /**
9155
- * <p>The type of principal (user, role, or group) that created the session.</p>
9156
- */
9157
- Type?: string;
9158
- /**
9159
- * <p>The principal ID of the principal (user, role, or group) that created the
9160
- * session.</p>
9161
- */
9162
- PrincipalId?: string;
9163
- /**
9164
- * <p>The ARN of the session.</p>
9165
- */
9166
- Arn?: string;
9167
- /**
9168
- * <p>The identifier of the Amazon Web Services account that created the session.</p>
9169
- */
9170
- AccountId?: string;
9171
- /**
9172
- * <p>The name of the principal that created the session.</p>
9173
- */
9174
- UserName?: string;
9175
- }
9176
- /**
9177
- * @public
9178
- * <p>Provides information about the session that the key was used for.</p>
9179
- */
9180
- export interface AwsIamAccessKeySessionContext {
9181
- /**
9182
- * <p>Attributes of the session that the key was used for.</p>
9183
- */
9184
- Attributes?: AwsIamAccessKeySessionContextAttributes;
9185
- /**
9186
- * <p>Information about the entity that created the session.</p>
9187
- */
9188
- SessionIssuer?: AwsIamAccessKeySessionContextSessionIssuer;
9189
- }
9190
- /**
9191
- * @public
9192
- */
9193
- export declare enum AwsIamAccessKeyStatus {
9194
- ACTIVE = "Active",
9195
- INACTIVE = "Inactive"
9196
- }
9197
- /**
9198
- * @public
9199
- * <p>IAM access key details related to a finding.</p>
9200
- */
9201
- export interface AwsIamAccessKeyDetails {
9202
- /**
9203
- * @deprecated
9204
- *
9205
- * <p>The user associated with the IAM access key related to a finding.</p>
9206
- * <p>The <code>UserName</code> parameter has been replaced with the
9207
- * <code>PrincipalName</code> parameter because access keys can also be assigned to
9208
- * principals that are not IAM users.</p>
9209
- */
9210
- UserName?: string;
9211
- /**
9212
- * <p>The status of the IAM access key related to a finding.</p>
9213
- */
9214
- Status?: AwsIamAccessKeyStatus | string;
9215
- /**
9216
- * <p>Indicates when the IAM access key was created.</p>
9217
- * <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
9218
- * Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
9219
- * <code>2020-03-22T13:22:13.933Z</code>.</p>
9220
- */
9221
- CreatedAt?: string;
9222
- /**
9223
- * <p>The ID of the principal associated with an access key.</p>
9224
- */
9225
- PrincipalId?: string;
9226
- /**
9227
- * <p>The type of principal associated with an access key.</p>
9228
- */
9229
- PrincipalType?: string;
9230
- /**
9231
- * <p>The name of the principal.</p>
9232
- */
9233
- PrincipalName?: string;
9234
- /**
9235
- * <p>The Amazon Web Services account ID of the account for the key.</p>
9236
- */
9237
- AccountId?: string;
9238
- /**
9239
- * <p>The identifier of the access key.</p>
9240
- */
9241
- AccessKeyId?: string;
9242
- /**
9243
- * <p>Information about the session that the key was used for.</p>
9244
- */
9245
- SessionContext?: AwsIamAccessKeySessionContext;
9246
- }
9247
- /**
9248
- * @public
9249
- * <p>A managed policy that is attached to an IAM principal.</p>
9250
- */
9251
- export interface AwsIamAttachedManagedPolicy {
9252
- /**
9253
- * <p>The name of the policy.</p>
9254
- */
9255
- PolicyName?: string;
9256
- /**
9257
- * <p>The ARN of the policy.</p>
9258
- */
9259
- PolicyArn?: string;
9260
- }