@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.
Files changed (140) hide show
  1. package/README.md +505 -17
  2. package/dist-cjs/SecurityHub.js +75 -0
  3. package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +46 -0
  4. package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +46 -0
  5. package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteInsightCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeActionTargetsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeHubCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeProductsCommand.js +1 -2
  14. package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +46 -0
  15. package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +46 -0
  16. package/dist-cjs/commands/index.js +5 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -76
  19. package/dist-cjs/models/models_2.js +102 -9
  20. package/dist-cjs/pagination/ListSecurityControlDefinitionsPaginator.js +36 -0
  21. package/dist-cjs/pagination/ListStandardsControlAssociationsPaginator.js +36 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +557 -3
  24. package/dist-es/SecurityHub.js +75 -0
  25. package/dist-es/commands/BatchGetSecurityControlsCommand.js +42 -0
  26. package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +42 -0
  27. package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +42 -0
  28. package/dist-es/commands/DeleteFindingAggregatorCommand.js +1 -1
  29. package/dist-es/commands/DeleteInsightCommand.js +1 -1
  30. package/dist-es/commands/DeleteInvitationsCommand.js +1 -1
  31. package/dist-es/commands/DeleteMembersCommand.js +1 -1
  32. package/dist-es/commands/DescribeActionTargetsCommand.js +1 -1
  33. package/dist-es/commands/DescribeHubCommand.js +1 -1
  34. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +1 -1
  35. package/dist-es/commands/DescribeProductsCommand.js +1 -2
  36. package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +42 -0
  37. package/dist-es/commands/ListStandardsControlAssociationsCommand.js +42 -0
  38. package/dist-es/commands/index.js +5 -0
  39. package/dist-es/models/models_0.js +5 -3
  40. package/dist-es/models/models_1.js +57 -50
  41. package/dist-es/models/models_2.js +77 -7
  42. package/dist-es/pagination/ListSecurityControlDefinitionsPaginator.js +32 -0
  43. package/dist-es/pagination/ListStandardsControlAssociationsPaginator.js +32 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +544 -0
  46. package/dist-types/SecurityHub.d.ts +59 -17
  47. package/dist-types/SecurityHubClient.d.ts +21 -19
  48. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +6 -0
  49. package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -0
  50. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +6 -0
  51. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +6 -0
  52. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -0
  53. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +45 -0
  54. package/dist-types/commands/BatchImportFindingsCommand.d.ts +6 -0
  55. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +6 -0
  56. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +45 -0
  57. package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -0
  58. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
  59. package/dist-types/commands/CreateInsightCommand.d.ts +6 -0
  60. package/dist-types/commands/CreateMembersCommand.d.ts +6 -0
  61. package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -0
  62. package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -0
  63. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +7 -1
  64. package/dist-types/commands/DeleteInsightCommand.d.ts +7 -1
  65. package/dist-types/commands/DeleteInvitationsCommand.d.ts +7 -1
  66. package/dist-types/commands/DeleteMembersCommand.d.ts +7 -1
  67. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -1
  68. package/dist-types/commands/DescribeHubCommand.d.ts +7 -1
  69. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -1
  70. package/dist-types/commands/DescribeProductsCommand.d.ts +7 -2
  71. package/dist-types/commands/DescribeStandardsCommand.d.ts +6 -0
  72. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +6 -0
  73. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +6 -0
  74. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -0
  75. package/dist-types/commands/DisableSecurityHubCommand.d.ts +6 -0
  76. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -0
  77. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -0
  78. package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -0
  79. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -0
  80. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -0
  81. package/dist-types/commands/EnableSecurityHubCommand.d.ts +6 -0
  82. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -0
  83. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +6 -0
  84. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +6 -0
  85. package/dist-types/commands/GetFindingsCommand.d.ts +6 -0
  86. package/dist-types/commands/GetInsightResultsCommand.d.ts +6 -0
  87. package/dist-types/commands/GetInsightsCommand.d.ts +6 -0
  88. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -0
  89. package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -0
  90. package/dist-types/commands/GetMembersCommand.d.ts +6 -0
  91. package/dist-types/commands/InviteMembersCommand.d.ts +6 -0
  92. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +6 -0
  93. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -0
  94. package/dist-types/commands/ListInvitationsCommand.d.ts +6 -0
  95. package/dist-types/commands/ListMembersCommand.d.ts +6 -0
  96. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -0
  97. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +45 -0
  98. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +45 -0
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  100. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  101. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  102. package/dist-types/commands/UpdateActionTargetCommand.d.ts +6 -0
  103. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +6 -0
  104. package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -0
  105. package/dist-types/commands/UpdateInsightCommand.d.ts +6 -0
  106. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -0
  107. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +6 -0
  108. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +6 -0
  109. package/dist-types/commands/index.d.ts +5 -0
  110. package/dist-types/models/models_0.d.ts +18 -25
  111. package/dist-types/models/models_1.d.ts +370 -260
  112. package/dist-types/models/models_2.d.ts +513 -8
  113. package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +4 -0
  115. package/dist-types/pagination/index.d.ts +2 -0
  116. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  117. package/dist-types/ts3.4/SecurityHub.d.ts +97 -0
  118. package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
  119. package/dist-types/ts3.4/commands/BatchGetSecurityControlsCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/BatchGetStandardsControlAssociationsCommand.d.ts +41 -0
  121. package/dist-types/ts3.4/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +41 -0
  122. package/dist-types/ts3.4/commands/DeleteFindingAggregatorCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeActionTargetsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeProductsCommand.d.ts +4 -2
  130. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +41 -0
  131. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +41 -0
  132. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  133. package/dist-types/ts3.4/models/models_0.d.ts +4 -6
  134. package/dist-types/ts3.4/models/models_1.d.ts +137 -118
  135. package/dist-types/ts3.4/models/models_2.d.ts +184 -8
  136. package/dist-types/ts3.4/pagination/ListSecurityControlDefinitionsPaginator.d.ts +11 -0
  137. package/dist-types/ts3.4/pagination/ListStandardsControlAssociationsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  139. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  140. 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.278.0",
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.278.0",
23
+ "@aws-sdk/client-sts": "3.281.0",
24
24
  "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.278.0",
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.272.0",
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.272.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.272.0",
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",