@aws-sdk/client-securityhub 3.278.0 → 3.281.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 +505 -17
- package/dist-cjs/SecurityHub.js +75 -0
- package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +46 -0
- package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +46 -0
- package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/DeleteInsightCommand.js +3 -3
- package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
- package/dist-cjs/commands/DescribeActionTargetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeHubCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeProductsCommand.js +1 -2
- package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +46 -0
- package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +11 -10
- package/dist-cjs/models/models_1.js +81 -76
- package/dist-cjs/models/models_2.js +102 -9
- package/dist-cjs/pagination/ListSecurityControlDefinitionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListStandardsControlAssociationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +557 -3
- package/dist-es/SecurityHub.js +75 -0
- package/dist-es/commands/BatchGetSecurityControlsCommand.js +42 -0
- package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +42 -0
- package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +42 -0
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +1 -1
- package/dist-es/commands/DeleteInsightCommand.js +1 -1
- package/dist-es/commands/DeleteInvitationsCommand.js +1 -1
- package/dist-es/commands/DeleteMembersCommand.js +1 -1
- package/dist-es/commands/DescribeActionTargetsCommand.js +1 -1
- package/dist-es/commands/DescribeHubCommand.js +1 -1
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +1 -1
- package/dist-es/commands/DescribeProductsCommand.js +1 -2
- package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +42 -0
- package/dist-es/commands/ListStandardsControlAssociationsCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +5 -3
- package/dist-es/models/models_1.js +57 -50
- package/dist-es/models/models_2.js +77 -7
- package/dist-es/pagination/ListSecurityControlDefinitionsPaginator.js +32 -0
- package/dist-es/pagination/ListStandardsControlAssociationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +544 -0
- package/dist-types/SecurityHub.d.ts +59 -17
- package/dist-types/SecurityHubClient.d.ts +21 -19
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +6 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +6 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -0
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +45 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +6 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +6 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +45 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +6 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +6 -0
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -0
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -0
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +7 -1
- package/dist-types/commands/DeleteInsightCommand.d.ts +7 -1
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +7 -1
- package/dist-types/commands/DeleteMembersCommand.d.ts +7 -1
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -1
- package/dist-types/commands/DescribeHubCommand.d.ts +7 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -1
- package/dist-types/commands/DescribeProductsCommand.d.ts +7 -2
- package/dist-types/commands/DescribeStandardsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +6 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +6 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +6 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +6 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +6 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +6 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +6 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -0
- package/dist-types/commands/GetMembersCommand.d.ts +6 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +6 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +6 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +6 -0
- package/dist-types/commands/ListMembersCommand.d.ts +6 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +45 -0
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +45 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +18 -25
- package/dist-types/models/models_1.d.ts +370 -260
- package/dist-types/models/models_2.d.ts +513 -8
- package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +97 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetSecurityControlsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchGetStandardsControlAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeActionTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProductsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -6
- package/dist-types/ts3.4/models/models_1.d.ts +137 -118
- package/dist-types/ts3.4/models/models_2.d.ts +184 -8
- package/dist-types/ts3.4/pagination/ListSecurityControlDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStandardsControlAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +6 -6
|
@@ -19,6 +19,14 @@ import {
|
|
|
19
19
|
BatchEnableStandardsCommandInput,
|
|
20
20
|
BatchEnableStandardsCommandOutput,
|
|
21
21
|
} from "../commands/BatchEnableStandardsCommand";
|
|
22
|
+
import {
|
|
23
|
+
BatchGetSecurityControlsCommandInput,
|
|
24
|
+
BatchGetSecurityControlsCommandOutput,
|
|
25
|
+
} from "../commands/BatchGetSecurityControlsCommand";
|
|
26
|
+
import {
|
|
27
|
+
BatchGetStandardsControlAssociationsCommandInput,
|
|
28
|
+
BatchGetStandardsControlAssociationsCommandOutput,
|
|
29
|
+
} from "../commands/BatchGetStandardsControlAssociationsCommand";
|
|
22
30
|
import {
|
|
23
31
|
BatchImportFindingsCommandInput,
|
|
24
32
|
BatchImportFindingsCommandOutput,
|
|
@@ -27,6 +35,10 @@ import {
|
|
|
27
35
|
BatchUpdateFindingsCommandInput,
|
|
28
36
|
BatchUpdateFindingsCommandOutput,
|
|
29
37
|
} from "../commands/BatchUpdateFindingsCommand";
|
|
38
|
+
import {
|
|
39
|
+
BatchUpdateStandardsControlAssociationsCommandInput,
|
|
40
|
+
BatchUpdateStandardsControlAssociationsCommandOutput,
|
|
41
|
+
} from "../commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
30
42
|
import {
|
|
31
43
|
CreateActionTargetCommandInput,
|
|
32
44
|
CreateActionTargetCommandOutput,
|
|
@@ -187,6 +199,14 @@ import {
|
|
|
187
199
|
ListOrganizationAdminAccountsCommandInput,
|
|
188
200
|
ListOrganizationAdminAccountsCommandOutput,
|
|
189
201
|
} from "../commands/ListOrganizationAdminAccountsCommand";
|
|
202
|
+
import {
|
|
203
|
+
ListSecurityControlDefinitionsCommandInput,
|
|
204
|
+
ListSecurityControlDefinitionsCommandOutput,
|
|
205
|
+
} from "../commands/ListSecurityControlDefinitionsCommand";
|
|
206
|
+
import {
|
|
207
|
+
ListStandardsControlAssociationsCommandInput,
|
|
208
|
+
ListStandardsControlAssociationsCommandOutput,
|
|
209
|
+
} from "../commands/ListStandardsControlAssociationsCommand";
|
|
190
210
|
import {
|
|
191
211
|
ListTagsForResourceCommandInput,
|
|
192
212
|
ListTagsForResourceCommandOutput,
|
|
@@ -243,6 +263,14 @@ export declare const serializeAws_restJson1BatchEnableStandardsCommand: (
|
|
|
243
263
|
input: BatchEnableStandardsCommandInput,
|
|
244
264
|
context: __SerdeContext
|
|
245
265
|
) => Promise<__HttpRequest>;
|
|
266
|
+
export declare const serializeAws_restJson1BatchGetSecurityControlsCommand: (
|
|
267
|
+
input: BatchGetSecurityControlsCommandInput,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<__HttpRequest>;
|
|
270
|
+
export declare const serializeAws_restJson1BatchGetStandardsControlAssociationsCommand: (
|
|
271
|
+
input: BatchGetStandardsControlAssociationsCommandInput,
|
|
272
|
+
context: __SerdeContext
|
|
273
|
+
) => Promise<__HttpRequest>;
|
|
246
274
|
export declare const serializeAws_restJson1BatchImportFindingsCommand: (
|
|
247
275
|
input: BatchImportFindingsCommandInput,
|
|
248
276
|
context: __SerdeContext
|
|
@@ -251,6 +279,10 @@ export declare const serializeAws_restJson1BatchUpdateFindingsCommand: (
|
|
|
251
279
|
input: BatchUpdateFindingsCommandInput,
|
|
252
280
|
context: __SerdeContext
|
|
253
281
|
) => Promise<__HttpRequest>;
|
|
282
|
+
export declare const serializeAws_restJson1BatchUpdateStandardsControlAssociationsCommand: (
|
|
283
|
+
input: BatchUpdateStandardsControlAssociationsCommandInput,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<__HttpRequest>;
|
|
254
286
|
export declare const serializeAws_restJson1CreateActionTargetCommand: (
|
|
255
287
|
input: CreateActionTargetCommandInput,
|
|
256
288
|
context: __SerdeContext
|
|
@@ -411,6 +443,14 @@ export declare const serializeAws_restJson1ListOrganizationAdminAccountsCommand:
|
|
|
411
443
|
input: ListOrganizationAdminAccountsCommandInput,
|
|
412
444
|
context: __SerdeContext
|
|
413
445
|
) => Promise<__HttpRequest>;
|
|
446
|
+
export declare const serializeAws_restJson1ListSecurityControlDefinitionsCommand: (
|
|
447
|
+
input: ListSecurityControlDefinitionsCommandInput,
|
|
448
|
+
context: __SerdeContext
|
|
449
|
+
) => Promise<__HttpRequest>;
|
|
450
|
+
export declare const serializeAws_restJson1ListStandardsControlAssociationsCommand: (
|
|
451
|
+
input: ListStandardsControlAssociationsCommandInput,
|
|
452
|
+
context: __SerdeContext
|
|
453
|
+
) => Promise<__HttpRequest>;
|
|
414
454
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (
|
|
415
455
|
input: ListTagsForResourceCommandInput,
|
|
416
456
|
context: __SerdeContext
|
|
@@ -467,6 +507,14 @@ export declare const deserializeAws_restJson1BatchEnableStandardsCommand: (
|
|
|
467
507
|
output: __HttpResponse,
|
|
468
508
|
context: __SerdeContext
|
|
469
509
|
) => Promise<BatchEnableStandardsCommandOutput>;
|
|
510
|
+
export declare const deserializeAws_restJson1BatchGetSecurityControlsCommand: (
|
|
511
|
+
output: __HttpResponse,
|
|
512
|
+
context: __SerdeContext
|
|
513
|
+
) => Promise<BatchGetSecurityControlsCommandOutput>;
|
|
514
|
+
export declare const deserializeAws_restJson1BatchGetStandardsControlAssociationsCommand: (
|
|
515
|
+
output: __HttpResponse,
|
|
516
|
+
context: __SerdeContext
|
|
517
|
+
) => Promise<BatchGetStandardsControlAssociationsCommandOutput>;
|
|
470
518
|
export declare const deserializeAws_restJson1BatchImportFindingsCommand: (
|
|
471
519
|
output: __HttpResponse,
|
|
472
520
|
context: __SerdeContext
|
|
@@ -475,6 +523,10 @@ export declare const deserializeAws_restJson1BatchUpdateFindingsCommand: (
|
|
|
475
523
|
output: __HttpResponse,
|
|
476
524
|
context: __SerdeContext
|
|
477
525
|
) => Promise<BatchUpdateFindingsCommandOutput>;
|
|
526
|
+
export declare const deserializeAws_restJson1BatchUpdateStandardsControlAssociationsCommand: (
|
|
527
|
+
output: __HttpResponse,
|
|
528
|
+
context: __SerdeContext
|
|
529
|
+
) => Promise<BatchUpdateStandardsControlAssociationsCommandOutput>;
|
|
478
530
|
export declare const deserializeAws_restJson1CreateActionTargetCommand: (
|
|
479
531
|
output: __HttpResponse,
|
|
480
532
|
context: __SerdeContext
|
|
@@ -635,6 +687,14 @@ export declare const deserializeAws_restJson1ListOrganizationAdminAccountsComman
|
|
|
635
687
|
output: __HttpResponse,
|
|
636
688
|
context: __SerdeContext
|
|
637
689
|
) => Promise<ListOrganizationAdminAccountsCommandOutput>;
|
|
690
|
+
export declare const deserializeAws_restJson1ListSecurityControlDefinitionsCommand: (
|
|
691
|
+
output: __HttpResponse,
|
|
692
|
+
context: __SerdeContext
|
|
693
|
+
) => Promise<ListSecurityControlDefinitionsCommandOutput>;
|
|
694
|
+
export declare const deserializeAws_restJson1ListStandardsControlAssociationsCommand: (
|
|
695
|
+
output: __HttpResponse,
|
|
696
|
+
context: __SerdeContext
|
|
697
|
+
) => Promise<ListStandardsControlAssociationsCommandOutput>;
|
|
638
698
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
|
|
639
699
|
output: __HttpResponse,
|
|
640
700
|
context: __SerdeContext
|
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.281.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
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-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.281.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.281.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.272.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.272.0",
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
+
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.279.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.272.0",
|