@aws-sdk/client-securityhub 3.998.0 → 3.1000.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 +19 -19
- package/dist-cjs/index.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +3 -2
- package/dist-es/models/enums.js +2 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/SecurityHub.d.ts +19 -19
- package/dist-types/SecurityHubClient.d.ts +19 -19
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -4
- package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -4
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +3 -3
- package/dist-types/commands/CreateActionTargetCommand.d.ts +2 -2
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/CreateInsightCommand.d.ts +1 -1
- package/dist-types/commands/CreateMembersCommand.d.ts +8 -8
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -5
- package/dist-types/commands/DeleteMembersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHubCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProductsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProductsV2Command.d.ts +2 -1
- package/dist-types/commands/DescribeStandardsCommand.d.ts +1 -1
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +2 -2
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -2
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -3
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +6 -6
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +1 -1
- package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +4 -4
- package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -2
- package/dist-types/commands/GetMembersCommand.d.ts +3 -3
- package/dist-types/commands/InviteMembersCommand.d.ts +6 -6
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -4
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/index.d.ts +19 -19
- package/dist-types/models/enums.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +83 -82
- package/dist-types/models/models_1.d.ts +57 -57
- package/dist-types/models/models_2.d.ts +197 -192
- package/dist-types/models/models_3.d.ts +23 -23
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/package.json +12 -12
|
@@ -145,7 +145,7 @@ export interface StartConfigurationPolicyAssociationResponse {
|
|
|
145
145
|
/**
|
|
146
146
|
* <p>
|
|
147
147
|
* Indicates whether the association between the specified target and the configuration was directly applied by the
|
|
148
|
-
* Security Hub delegated administrator or inherited from a parent.
|
|
148
|
+
* Security Hub CSPM delegated administrator or inherited from a parent.
|
|
149
149
|
* </p>
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
@@ -347,10 +347,10 @@ export interface UpdateConfigurationPolicyRequest {
|
|
|
347
347
|
UpdatedReason?: string | undefined;
|
|
348
348
|
/**
|
|
349
349
|
* <p>
|
|
350
|
-
* An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or
|
|
350
|
+
* An object that defines how Security Hub CSPM is configured. It includes whether Security Hub CSPM is enabled or
|
|
351
351
|
* disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls.
|
|
352
|
-
* If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly
|
|
353
|
-
* released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub
|
|
352
|
+
* If you provide a list of security controls that are enabled in the configuration policy, Security Hub CSPM disables all other controls (including newly
|
|
353
|
+
* released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub CSPM
|
|
354
354
|
* enables all other controls (including newly released controls).
|
|
355
355
|
* </p>
|
|
356
356
|
* <p>When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list
|
|
@@ -407,11 +407,11 @@ export interface UpdateConfigurationPolicyResponse {
|
|
|
407
407
|
CreatedAt?: Date | undefined;
|
|
408
408
|
/**
|
|
409
409
|
* <p>
|
|
410
|
-
* An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or
|
|
410
|
+
* An object that defines how Security Hub CSPM is configured. It includes whether Security Hub CSPM is enabled or
|
|
411
411
|
* disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a
|
|
412
|
-
* list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including
|
|
412
|
+
* list of security controls that are enabled in the configuration policy, Security Hub CSPM disables all other controls (including
|
|
413
413
|
* newly released controls). If the request included a list of security controls that are disabled in the configuration policy,
|
|
414
|
-
* Security Hub enables all other controls (including newly released controls).
|
|
414
|
+
* Security Hub CSPM enables all other controls (including newly released controls).
|
|
415
415
|
* </p>
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
@@ -452,23 +452,23 @@ export interface UpdateFindingAggregatorRequest {
|
|
|
452
452
|
*/
|
|
453
453
|
FindingAggregatorArn: string | undefined;
|
|
454
454
|
/**
|
|
455
|
-
* <p>Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.</p>
|
|
455
|
+
* <p>Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub CSPM supports them and you opt into them.</p>
|
|
456
456
|
* <p>The selected option also determines how to use the Regions provided in the Regions list.</p>
|
|
457
457
|
* <p>The options are as follows:</p>
|
|
458
458
|
* <ul>
|
|
459
459
|
* <li>
|
|
460
460
|
* <p>
|
|
461
|
-
* <code>ALL_REGIONS</code> - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
|
|
461
|
+
* <code>ALL_REGIONS</code> - Aggregates findings from all of the Regions where Security Hub CSPM is enabled. When you choose this option, Security Hub CSPM also automatically aggregates findings from new Regions as Security Hub CSPM supports them and you opt into them.
|
|
462
462
|
* </p>
|
|
463
463
|
* </li>
|
|
464
464
|
* <li>
|
|
465
465
|
* <p>
|
|
466
|
-
* <code>ALL_REGIONS_EXCEPT_SPECIFIED</code> - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the <code>Regions</code> parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
|
|
466
|
+
* <code>ALL_REGIONS_EXCEPT_SPECIFIED</code> - Aggregates findings from all of the Regions where Security Hub CSPM is enabled, except for the Regions listed in the <code>Regions</code> parameter. When you choose this option, Security Hub CSPM also automatically aggregates findings from new Regions as Security Hub CSPM supports them and you opt into them.
|
|
467
467
|
* </p>
|
|
468
468
|
* </li>
|
|
469
469
|
* <li>
|
|
470
470
|
* <p>
|
|
471
|
-
* <code>SPECIFIED_REGIONS</code> - Aggregates findings only from the Regions listed in the <code>Regions</code> parameter. Security Hub does not automatically aggregate findings from new Regions.
|
|
471
|
+
* <code>SPECIFIED_REGIONS</code> - Aggregates findings only from the Regions listed in the <code>Regions</code> parameter. Security Hub CSPM does not automatically aggregate findings from new Regions.
|
|
472
472
|
* </p>
|
|
473
473
|
* </li>
|
|
474
474
|
* <li>
|
|
@@ -574,20 +574,20 @@ export interface UpdateInsightResponse {
|
|
|
574
574
|
*/
|
|
575
575
|
export interface UpdateOrganizationConfigurationRequest {
|
|
576
576
|
/**
|
|
577
|
-
* <p>Whether to automatically enable Security Hub in new member accounts when they join the organization.</p>
|
|
578
|
-
* <p>If set to <code>true</code>, then Security Hub is automatically enabled in new accounts. If set to <code>false</code>,
|
|
579
|
-
* then Security Hub isn't enabled in new accounts automatically. The default value is <code>false</code>.</p>
|
|
577
|
+
* <p>Whether to automatically enable Security Hub CSPM in new member accounts when they join the organization.</p>
|
|
578
|
+
* <p>If set to <code>true</code>, then Security Hub CSPM is automatically enabled in new accounts. If set to <code>false</code>,
|
|
579
|
+
* then Security Hub CSPM isn't enabled in new accounts automatically. The default value is <code>false</code>.</p>
|
|
580
580
|
* <p>If the <code>ConfigurationType</code> of your organization is set to <code>CENTRAL</code>, then this field is set
|
|
581
581
|
* to <code>false</code> and can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration
|
|
582
|
-
* policy in which Security Hub is enabled and associate the policy with new organization accounts.</p>
|
|
582
|
+
* policy in which Security Hub CSPM is enabled and associate the policy with new organization accounts.</p>
|
|
583
583
|
* @public
|
|
584
584
|
*/
|
|
585
585
|
AutoEnable: boolean | undefined;
|
|
586
586
|
/**
|
|
587
|
-
* <p>Whether to automatically enable Security Hub <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html">default standards</a>
|
|
587
|
+
* <p>Whether to automatically enable Security Hub CSPM <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html">default standards</a>
|
|
588
588
|
* in new member accounts when they join the organization.</p>
|
|
589
589
|
* <p>The default value of this parameter is equal to <code>DEFAULT</code>.</p>
|
|
590
|
-
* <p>If equal to <code>DEFAULT</code>, then Security Hub default standards are automatically enabled for new member
|
|
590
|
+
* <p>If equal to <code>DEFAULT</code>, then Security Hub CSPM default standards are automatically enabled for new member
|
|
591
591
|
* accounts. If equal to <code>NONE</code>, then default standards are not automatically enabled for new member
|
|
592
592
|
* accounts.</p>
|
|
593
593
|
* <p>If the <code>ConfigurationType</code> of your organization is set to <code>CENTRAL</code>, then this field is set
|
|
@@ -598,7 +598,7 @@ export interface UpdateOrganizationConfigurationRequest {
|
|
|
598
598
|
AutoEnableStandards?: AutoEnableStandards | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* <p>
|
|
601
|
-
* Provides information about the way an organization is configured in Security Hub.
|
|
601
|
+
* Provides information about the way an organization is configured in Security Hub CSPM.
|
|
602
602
|
* </p>
|
|
603
603
|
* @public
|
|
604
604
|
*/
|
|
@@ -653,9 +653,9 @@ export interface UpdateSecurityHubConfigurationRequest {
|
|
|
653
653
|
* </p>
|
|
654
654
|
* <p>When you automatically enable new controls, you can interact with the controls in
|
|
655
655
|
* the console and programmatically immediately after release. However, automatically enabled controls have a temporary default status of
|
|
656
|
-
* <code>DISABLED</code>. It can take up to several days for Security Hub to process the control release and designate the
|
|
656
|
+
* <code>DISABLED</code>. It can take up to several days for Security Hub CSPM to process the control release and designate the
|
|
657
657
|
* control as <code>ENABLED</code> in your account. During the processing period, you can manually enable or disable a
|
|
658
|
-
* control, and Security Hub will maintain that designation regardless of whether you have <code>AutoEnableControls</code> set to
|
|
658
|
+
* control, and Security Hub CSPM will maintain that designation regardless of whether you have <code>AutoEnableControls</code> set to
|
|
659
659
|
* <code>true</code>.</p>
|
|
660
660
|
* @public
|
|
661
661
|
*/
|
|
@@ -663,9 +663,9 @@ export interface UpdateSecurityHubConfigurationRequest {
|
|
|
663
663
|
/**
|
|
664
664
|
* <p>Updates whether the calling account has consolidated control findings turned on.
|
|
665
665
|
* If the value for this field is set to
|
|
666
|
-
* <code>SECURITY_CONTROL</code>, Security Hub generates a single finding for a control check even when the check
|
|
666
|
+
* <code>SECURITY_CONTROL</code>, Security Hub CSPM generates a single finding for a control check even when the check
|
|
667
667
|
* applies to multiple enabled standards.</p>
|
|
668
|
-
* <p>If the value for this field is set to <code>STANDARD_CONTROL</code>, Security Hub generates separate findings
|
|
668
|
+
* <p>If the value for this field is set to <code>STANDARD_CONTROL</code>, Security Hub CSPM generates separate findings
|
|
669
669
|
* for a control check when the check applies to multiple enabled standards.</p>
|
|
670
670
|
* <p>For accounts that are part of an organization, this value can only be updated in the administrator account.</p>
|
|
671
671
|
* @public
|
|
@@ -776,7 +776,7 @@ export interface FindingsTrendsCompositeFilter {
|
|
|
776
776
|
Operator?: AllowedOperators | undefined;
|
|
777
777
|
}
|
|
778
778
|
/**
|
|
779
|
-
* <p>Enables the creation of criteria for Amazon Web Services resources in Security Hub.</p>
|
|
779
|
+
* <p>Enables the creation of criteria for Amazon Web Services resources in Security Hub CSPM.</p>
|
|
780
780
|
* @public
|
|
781
781
|
*/
|
|
782
782
|
export interface ResourcesCompositeFilter {
|
|
@@ -469,6 +469,7 @@ export declare const IntegrationType: {
|
|
|
469
469
|
export type IntegrationType =
|
|
470
470
|
(typeof IntegrationType)[keyof typeof IntegrationType];
|
|
471
471
|
export declare const IntegrationV2Type: {
|
|
472
|
+
readonly EXTENDED_PLAN: "EXTENDED_PLAN";
|
|
472
473
|
readonly RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB";
|
|
473
474
|
readonly SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB";
|
|
474
475
|
readonly UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB";
|
|
@@ -523,6 +524,7 @@ export declare const GroupByField: {
|
|
|
523
524
|
readonly FINDING_INFO_TYPES: "finding_info.types";
|
|
524
525
|
readonly METADATA_PRODUCT_NAME: "metadata.product.name";
|
|
525
526
|
readonly METADATA_PRODUCT_UID: "metadata.product.uid";
|
|
527
|
+
readonly METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name";
|
|
526
528
|
readonly RESOURCES_TYPE: "resources.type";
|
|
527
529
|
readonly RESOURCES_UID: "resources.uid";
|
|
528
530
|
readonly SEVERITY: "severity";
|
|
@@ -1560,6 +1560,7 @@ export interface ProductV2 {
|
|
|
1560
1560
|
IntegrationV2Types?: IntegrationV2Type[] | undefined;
|
|
1561
1561
|
MarketplaceUrl?: string | undefined;
|
|
1562
1562
|
ActivationUrl?: string | undefined;
|
|
1563
|
+
MarketplaceProductId?: string | undefined;
|
|
1563
1564
|
}
|
|
1564
1565
|
export interface DescribeProductsV2Response {
|
|
1565
1566
|
ProductsV2: ProductV2[] | undefined;
|
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.1000.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityhub",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.
|
|
24
|
+
"@aws-sdk/core": "^3.973.15",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.14",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.6",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.6",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.6",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.15",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.6",
|
|
31
|
+
"@aws-sdk/types": "^3.973.4",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.6",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.9",
|
|
36
36
|
"@smithy/core": "^3.23.6",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.11",
|