@aws-sdk/client-securityhub 3.943.0 → 3.946.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 (163) hide show
  1. package/dist-cjs/index.js +162 -720
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SecurityHubClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +162 -720
  8. package/dist-types/SecurityHub.d.ts +1 -1
  9. package/dist-types/SecurityHubClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -3
  13. package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -3
  14. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +3 -3
  15. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -3
  16. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -3
  17. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -3
  18. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +3 -3
  19. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +3 -3
  20. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +3 -3
  21. package/dist-types/commands/BatchImportFindingsCommand.d.ts +3 -3
  22. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -3
  23. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +3 -3
  24. package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +3 -3
  25. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateActionTargetCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateAggregatorV2Command.d.ts +3 -3
  28. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -3
  29. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +4 -4
  30. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateConnectorV2Command.d.ts +3 -3
  32. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +3 -3
  33. package/dist-types/commands/CreateInsightCommand.d.ts +3 -3
  34. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateTicketV2Command.d.ts +3 -3
  36. package/dist-types/commands/DeclineInvitationsCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteActionTargetCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteAggregatorV2Command.d.ts +3 -3
  39. package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +3 -3
  40. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +3 -3
  41. package/dist-types/commands/DeleteConnectorV2Command.d.ts +3 -3
  42. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -3
  44. package/dist-types/commands/DeleteInvitationsCommand.d.ts +3 -3
  45. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -3
  46. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +3 -3
  47. package/dist-types/commands/DescribeHubCommand.d.ts +3 -3
  48. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -3
  49. package/dist-types/commands/DescribeProductsCommand.d.ts +3 -3
  50. package/dist-types/commands/DescribeProductsV2Command.d.ts +3 -3
  51. package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +3 -3
  52. package/dist-types/commands/DescribeStandardsCommand.d.ts +3 -3
  53. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +3 -3
  54. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -3
  55. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -3
  56. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -3
  57. package/dist-types/commands/DisableSecurityHubV2Command.d.ts +3 -3
  58. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -3
  59. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -3
  60. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -3
  61. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -3
  62. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -3
  63. package/dist-types/commands/EnableSecurityHubCommand.d.ts +3 -3
  64. package/dist-types/commands/EnableSecurityHubV2Command.d.ts +3 -3
  65. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -3
  66. package/dist-types/commands/GetAggregatorV2Command.d.ts +3 -3
  67. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +4 -4
  68. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +3 -3
  69. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +3 -3
  70. package/dist-types/commands/GetConnectorV2Command.d.ts +3 -3
  71. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +3 -3
  72. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -3
  73. package/dist-types/commands/GetFindingHistoryCommand.d.ts +3 -3
  74. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +4 -4
  75. package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
  76. package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +4 -4
  77. package/dist-types/commands/GetFindingsV2Command.d.ts +4 -4
  78. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -3
  79. package/dist-types/commands/GetInsightsCommand.d.ts +3 -3
  80. package/dist-types/commands/GetInvitationsCountCommand.d.ts +3 -3
  81. package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -3
  82. package/dist-types/commands/GetMembersCommand.d.ts +3 -3
  83. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +4 -4
  84. package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +4 -4
  85. package/dist-types/commands/GetResourcesV2Command.d.ts +4 -4
  86. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +3 -3
  87. package/dist-types/commands/InviteMembersCommand.d.ts +3 -3
  88. package/dist-types/commands/ListAggregatorsV2Command.d.ts +3 -3
  89. package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -3
  90. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +3 -3
  91. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +3 -3
  92. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +3 -3
  93. package/dist-types/commands/ListConnectorsV2Command.d.ts +3 -3
  94. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +3 -3
  95. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +3 -3
  96. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -3
  97. package/dist-types/commands/ListMembersCommand.d.ts +3 -3
  98. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -3
  99. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +3 -3
  100. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +3 -3
  101. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  102. package/dist-types/commands/RegisterConnectorV2Command.d.ts +3 -3
  103. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +3 -3
  104. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +3 -3
  105. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  106. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  107. package/dist-types/commands/UpdateActionTargetCommand.d.ts +3 -3
  108. package/dist-types/commands/UpdateAggregatorV2Command.d.ts +3 -3
  109. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +3 -3
  110. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +3 -3
  111. package/dist-types/commands/UpdateConnectorV2Command.d.ts +3 -3
  112. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateInsightCommand.d.ts +3 -3
  115. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -3
  116. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +3 -3
  117. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -3
  118. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -3
  119. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  120. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  121. package/dist-types/extensionConfiguration.d.ts +4 -4
  122. package/dist-types/models/SecurityHubServiceException.d.ts +1 -1
  123. package/dist-types/models/errors.d.ts +1 -1
  124. package/dist-types/models/models_1.d.ts +1 -1
  125. package/dist-types/models/models_2.d.ts +2 -2
  126. package/dist-types/models/models_3.d.ts +2 -2
  127. package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
  128. package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
  129. package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +1 -1
  130. package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
  131. package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
  132. package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
  133. package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
  134. package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
  135. package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +1 -1
  136. package/dist-types/pagination/GetFindingsV2Paginator.d.ts +1 -1
  137. package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +1 -1
  139. package/dist-types/pagination/GetResourcesV2Paginator.d.ts +1 -1
  140. package/dist-types/pagination/Interfaces.d.ts +1 -1
  141. package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +1 -1
  142. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
  143. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
  144. package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
  145. package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
  146. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  147. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  148. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  149. package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
  150. package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
  151. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  152. package/dist-types/runtimeConfig.d.ts +1 -1
  153. package/dist-types/runtimeConfig.native.d.ts +1 -1
  154. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  155. package/dist-types/runtimeExtensions.d.ts +1 -1
  156. package/dist-types/schemas/schemas_0.d.ts +1 -1
  157. package/dist-types/ts3.4/SecurityHubClient.d.ts +3 -3
  158. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  159. package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -1
  160. package/dist-types/ts3.4/models/models_1.d.ts +3 -3
  161. package/dist-types/ts3.4/models/models_2.d.ts +15 -15
  162. package/dist-types/ts3.4/models/models_3.d.ts +4 -4
  163. package/package.json +13 -12
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -9,6 +9,9 @@ import {
9
9
  SeverityLabel,
10
10
  } from "./enums";
11
11
  import {
12
+ AwsEcsTaskDefinitionProxyConfigurationDetails,
13
+ AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails,
14
+ AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails,
12
15
  Actor,
13
16
  AssociatedStandard,
14
17
  AvailabilityZone,
@@ -16,9 +19,6 @@ import {
16
19
  AwsEcsTaskDefinitionContainerDefinitionsDetails,
17
20
  AwsEcsTaskDefinitionInferenceAcceleratorsDetails,
18
21
  AwsEcsTaskDefinitionPlacementConstraintsDetails,
19
- AwsEcsTaskDefinitionProxyConfigurationDetails,
20
- AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails,
21
- AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails,
22
22
  RelatedFinding,
23
23
  } from "./models_0";
24
24
  export interface AwsEcsTaskDefinitionVolumesHostDetails {
@@ -55,18 +55,9 @@ import {
55
55
  WorkflowStatus,
56
56
  } from "./enums";
57
57
  import {
58
- AccountDetails,
59
58
  Action,
60
- ActionTarget,
61
- Adjustment,
62
- AdminAccount,
63
- AggregatorV2,
64
59
  AssociationFilters,
65
- AutomationRulesAction,
66
- AutomationRulesConfig,
67
60
  AutomationRulesFindingFilters,
68
- AutomationRulesMetadata,
69
- AutomationRulesMetadataV2,
70
61
  AwsAmazonMqBrokerDetails,
71
62
  AwsApiGatewayRestApiDetails,
72
63
  AwsApiGatewayStageDetails,
@@ -109,14 +100,23 @@ import {
109
100
  AwsEcsClusterDetails,
110
101
  AwsEcsContainerDetails,
111
102
  AwsEcsServiceDetails,
103
+ NoteUpdate,
104
+ SeverityUpdate,
105
+ WorkflowUpdate,
106
+ AccountDetails,
107
+ ActionTarget,
108
+ Adjustment,
109
+ AdminAccount,
110
+ AggregatorV2,
111
+ AutomationRulesAction,
112
+ AutomationRulesConfig,
113
+ AutomationRulesMetadata,
114
+ AutomationRulesMetadataV2,
112
115
  DateFilter,
113
116
  MapFilter,
114
- NoteUpdate,
115
117
  NumberFilter,
116
118
  RelatedFinding,
117
- SeverityUpdate,
118
119
  StringFilter,
119
- WorkflowUpdate,
120
120
  } from "./models_0";
121
121
  import {
122
122
  AwsEcsTaskDefinitionDetails,
@@ -170,19 +170,19 @@ import {
170
170
  AwsWafRegionalWebAclDetails,
171
171
  AwsWafRuleDetails,
172
172
  AwsWafRuleGroupDetails,
173
- AwsWafv2CustomHttpHeader,
174
173
  Compliance,
175
174
  DataClassificationDetails,
176
175
  Detection,
177
176
  FindingProviderFields,
178
177
  GeneratorDetails,
179
- Malware,
180
178
  Network,
181
- NetworkPathComponent,
182
179
  Note,
183
180
  PatchSummary,
184
181
  ProcessDetails,
185
182
  Remediation,
183
+ AwsWafv2CustomHttpHeader,
184
+ Malware,
185
+ NetworkPathComponent,
186
186
  } from "./models_1";
187
187
  export interface AwsWafv2CustomRequestHandlingDetails {
188
188
  InsertHeaders?: AwsWafv2CustomHttpHeader[] | undefined;
@@ -12,9 +12,12 @@ import {
12
12
  SortOrder,
13
13
  TargetType,
14
14
  } from "./enums";
15
- import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
15
+ import { NoteUpdate, AutomationRulesActionV2 } from "./models_0";
16
16
  import {
17
17
  AwsSecurityFindingFilters,
18
+ OrganizationConfiguration,
19
+ Policy,
20
+ Target,
18
21
  FindingsTrendsStringFilter,
19
22
  JiraCloudUpdateConfiguration,
20
23
  OcsfBooleanFilter,
@@ -23,16 +26,13 @@ import {
23
26
  OcsfMapFilter,
24
27
  OcsfNumberFilter,
25
28
  OcsfStringFilter,
26
- OrganizationConfiguration,
27
29
  ParameterConfiguration,
28
- Policy,
29
30
  ResourcesDateFilter,
30
31
  ResourcesMapFilter,
31
32
  ResourcesNumberFilter,
32
33
  ResourcesStringFilter,
33
34
  ResourcesTrendsStringFilter,
34
35
  SortCriterion,
35
- Target,
36
36
  } from "./models_2";
37
37
  export interface ListTagsForResourceResponse {
38
38
  Tags?: Record<string, string> | 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.943.0",
4
+ "version": "3.946.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",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo securityhub"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo securityhub",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,38 +21,38 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
- "@aws-sdk/credential-provider-node": "3.943.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.943.0",
29
+ "@aws-sdk/middleware-user-agent": "3.946.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.943.0",
34
+ "@aws-sdk/util-user-agent-node": "3.946.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/fetch-http-handler": "^5.3.6",
37
38
  "@smithy/hash-node": "^4.2.5",
38
39
  "@smithy/invalid-dependency": "^4.2.5",
39
40
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.12",
41
- "@smithy/middleware-retry": "^4.4.12",
41
+ "@smithy/middleware-endpoint": "^4.3.14",
42
+ "@smithy/middleware-retry": "^4.4.14",
42
43
  "@smithy/middleware-serde": "^4.2.6",
43
44
  "@smithy/middleware-stack": "^4.2.5",
44
45
  "@smithy/node-config-provider": "^4.3.5",
45
46
  "@smithy/node-http-handler": "^4.4.5",
46
47
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.8",
48
+ "@smithy/smithy-client": "^4.9.10",
48
49
  "@smithy/types": "^4.9.0",
49
50
  "@smithy/url-parser": "^4.2.5",
50
51
  "@smithy/util-base64": "^4.3.0",
51
52
  "@smithy/util-body-length-browser": "^4.2.0",
52
53
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.11",
54
- "@smithy/util-defaults-mode-node": "^4.2.14",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
55
+ "@smithy/util-defaults-mode-node": "^4.2.16",
55
56
  "@smithy/util-endpoints": "^3.2.5",
56
57
  "@smithy/util-middleware": "^4.2.5",
57
58
  "@smithy/util-retry": "^4.2.5",