@aws-sdk/client-securityhub 3.940.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 (182) hide show
  1. package/README.md +8 -8
  2. package/dist-cjs/index.js +252 -763
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/SecurityHub.js +2 -2
  6. package/dist-es/SecurityHubClient.js +2 -2
  7. package/dist-es/commands/{ConnectorRegistrationsV2Command.js → RegisterConnectorV2Command.js} +5 -5
  8. package/dist-es/commands/index.js +1 -1
  9. package/dist-es/models/enums.js +9 -0
  10. package/dist-es/models/errors.js +16 -0
  11. package/dist-es/runtimeConfig.browser.js +2 -2
  12. package/dist-es/runtimeConfig.js +2 -3
  13. package/dist-es/schemas/schemas_0.js +212 -750
  14. package/dist-types/SecurityHub.d.ts +8 -8
  15. package/dist-types/SecurityHubClient.d.ts +13 -13
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  17. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  18. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -3
  19. package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -3
  20. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +3 -3
  21. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -3
  22. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -3
  23. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -3
  24. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +3 -3
  25. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +3 -3
  26. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +3 -3
  27. package/dist-types/commands/BatchImportFindingsCommand.d.ts +3 -3
  28. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -3
  29. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +3 -3
  30. package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +4 -4
  31. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -3
  32. package/dist-types/commands/CreateActionTargetCommand.d.ts +3 -3
  33. package/dist-types/commands/CreateAggregatorV2Command.d.ts +7 -4
  34. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +12 -9
  36. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateConnectorV2Command.d.ts +10 -7
  38. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +3 -3
  39. package/dist-types/commands/CreateInsightCommand.d.ts +3 -3
  40. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  41. package/dist-types/commands/CreateTicketV2Command.d.ts +5 -4
  42. package/dist-types/commands/DeclineInvitationsCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteActionTargetCommand.d.ts +3 -3
  44. package/dist-types/commands/DeleteAggregatorV2Command.d.ts +4 -4
  45. package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +4 -4
  46. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +3 -3
  47. package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -4
  48. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -3
  49. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -3
  50. package/dist-types/commands/DeleteInvitationsCommand.d.ts +3 -3
  51. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -3
  52. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +3 -3
  53. package/dist-types/commands/DescribeHubCommand.d.ts +3 -3
  54. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -3
  55. package/dist-types/commands/DescribeProductsCommand.d.ts +3 -3
  56. package/dist-types/commands/DescribeProductsV2Command.d.ts +4 -4
  57. package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +4 -4
  58. package/dist-types/commands/DescribeStandardsCommand.d.ts +3 -3
  59. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +3 -3
  60. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -3
  61. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -3
  62. package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -3
  63. package/dist-types/commands/DisableSecurityHubV2Command.d.ts +4 -4
  64. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -3
  65. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -3
  66. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -3
  67. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -3
  68. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -3
  69. package/dist-types/commands/EnableSecurityHubCommand.d.ts +3 -3
  70. package/dist-types/commands/EnableSecurityHubV2Command.d.ts +4 -4
  71. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -3
  72. package/dist-types/commands/GetAggregatorV2Command.d.ts +4 -4
  73. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +9 -9
  74. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +3 -3
  75. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +3 -3
  76. package/dist-types/commands/GetConnectorV2Command.d.ts +5 -5
  77. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +3 -3
  78. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -3
  79. package/dist-types/commands/GetFindingHistoryCommand.d.ts +3 -3
  80. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +10 -10
  81. package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
  82. package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +5 -5
  83. package/dist-types/commands/GetFindingsV2Command.d.ts +9 -9
  84. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -3
  85. package/dist-types/commands/GetInsightsCommand.d.ts +3 -3
  86. package/dist-types/commands/GetInvitationsCountCommand.d.ts +3 -3
  87. package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -3
  88. package/dist-types/commands/GetMembersCommand.d.ts +3 -3
  89. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +5 -5
  90. package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +5 -5
  91. package/dist-types/commands/GetResourcesV2Command.d.ts +5 -5
  92. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +3 -3
  93. package/dist-types/commands/InviteMembersCommand.d.ts +3 -3
  94. package/dist-types/commands/ListAggregatorsV2Command.d.ts +4 -4
  95. package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -3
  96. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +4 -4
  97. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +3 -3
  98. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +3 -3
  99. package/dist-types/commands/ListConnectorsV2Command.d.ts +4 -4
  100. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +3 -3
  101. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +3 -3
  102. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -3
  103. package/dist-types/commands/ListMembersCommand.d.ts +3 -3
  104. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -3
  105. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +3 -3
  106. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +3 -4
  107. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  108. package/dist-types/commands/RegisterConnectorV2Command.d.ts +98 -0
  109. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +3 -3
  110. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +3 -3
  111. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  112. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateActionTargetCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateAggregatorV2Command.d.ts +4 -4
  115. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +8 -8
  116. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +3 -3
  117. package/dist-types/commands/UpdateConnectorV2Command.d.ts +8 -6
  118. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +3 -3
  119. package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -3
  120. package/dist-types/commands/UpdateInsightCommand.d.ts +3 -3
  121. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -3
  122. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +3 -3
  123. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -3
  124. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -3
  125. package/dist-types/commands/index.d.ts +1 -1
  126. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  127. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  128. package/dist-types/extensionConfiguration.d.ts +4 -4
  129. package/dist-types/models/SecurityHubServiceException.d.ts +1 -1
  130. package/dist-types/models/enums.d.ts +17 -0
  131. package/dist-types/models/errors.d.ts +15 -1
  132. package/dist-types/models/models_0.d.ts +5 -5
  133. package/dist-types/models/models_1.d.ts +1 -1
  134. package/dist-types/models/models_2.d.ts +47 -45
  135. package/dist-types/models/models_3.d.ts +52 -31
  136. package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
  137. package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +1 -1
  139. package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
  140. package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
  141. package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
  142. package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
  143. package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
  144. package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +1 -1
  145. package/dist-types/pagination/GetFindingsV2Paginator.d.ts +1 -1
  146. package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
  147. package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +1 -1
  148. package/dist-types/pagination/GetResourcesV2Paginator.d.ts +1 -1
  149. package/dist-types/pagination/Interfaces.d.ts +1 -1
  150. package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +1 -1
  151. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  157. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
  160. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  161. package/dist-types/runtimeConfig.d.ts +1 -1
  162. package/dist-types/runtimeConfig.native.d.ts +1 -1
  163. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  164. package/dist-types/runtimeExtensions.d.ts +1 -1
  165. package/dist-types/schemas/schemas_0.d.ts +6 -5
  166. package/dist-types/ts3.4/SecurityHub.d.ts +17 -17
  167. package/dist-types/ts3.4/SecurityHubClient.d.ts +9 -9
  168. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -4
  171. package/dist-types/ts3.4/commands/RegisterConnectorV2Command.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +1 -1
  173. package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -1
  174. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  175. package/dist-types/ts3.4/models/errors.d.ts +9 -0
  176. package/dist-types/ts3.4/models/models_1.d.ts +3 -3
  177. package/dist-types/ts3.4/models/models_2.d.ts +31 -28
  178. package/dist-types/ts3.4/models/models_3.d.ts +24 -15
  179. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -5
  180. package/package.json +13 -12
  181. package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +0 -98
  182. package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +0 -51
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -13,7 +13,6 @@ import { BatchUpdateAutomationRulesCommand, } from "./commands/BatchUpdateAutoma
13
13
  import { BatchUpdateFindingsCommand, } from "./commands/BatchUpdateFindingsCommand";
14
14
  import { BatchUpdateFindingsV2Command, } from "./commands/BatchUpdateFindingsV2Command";
15
15
  import { BatchUpdateStandardsControlAssociationsCommand, } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
16
- import { ConnectorRegistrationsV2Command, } from "./commands/ConnectorRegistrationsV2Command";
17
16
  import { CreateActionTargetCommand, } from "./commands/CreateActionTargetCommand";
18
17
  import { CreateAggregatorV2Command, } from "./commands/CreateAggregatorV2Command";
19
18
  import { CreateAutomationRuleCommand, } from "./commands/CreateAutomationRuleCommand";
@@ -90,6 +89,7 @@ import { ListOrganizationAdminAccountsCommand, } from "./commands/ListOrganizati
90
89
  import { ListSecurityControlDefinitionsCommand, } from "./commands/ListSecurityControlDefinitionsCommand";
91
90
  import { ListStandardsControlAssociationsCommand, } from "./commands/ListStandardsControlAssociationsCommand";
92
91
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
92
+ import { RegisterConnectorV2Command, } from "./commands/RegisterConnectorV2Command";
93
93
  import { StartConfigurationPolicyAssociationCommand, } from "./commands/StartConfigurationPolicyAssociationCommand";
94
94
  import { StartConfigurationPolicyDisassociationCommand, } from "./commands/StartConfigurationPolicyDisassociationCommand";
95
95
  import { TagResourceCommand } from "./commands/TagResourceCommand";
@@ -122,7 +122,6 @@ const commands = {
122
122
  BatchUpdateFindingsCommand,
123
123
  BatchUpdateFindingsV2Command,
124
124
  BatchUpdateStandardsControlAssociationsCommand,
125
- ConnectorRegistrationsV2Command,
126
125
  CreateActionTargetCommand,
127
126
  CreateAggregatorV2Command,
128
127
  CreateAutomationRuleCommand,
@@ -199,6 +198,7 @@ const commands = {
199
198
  ListSecurityControlDefinitionsCommand,
200
199
  ListStandardsControlAssociationsCommand,
201
200
  ListTagsForResourceCommand,
201
+ RegisterConnectorV2Command,
202
202
  StartConfigurationPolicyAssociationCommand,
203
203
  StartConfigurationPolicyDisassociationCommand,
204
204
  TagResourceCommand,
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultSecurityHubHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -1,16 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ConnectorRegistrationsV2 } from "../schemas/schemas_0";
4
+ import { RegisterConnectorV2 } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class ConnectorRegistrationsV2Command extends $Command
6
+ export class RegisterConnectorV2Command extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("SecurityHubAPIService", "ConnectorRegistrationsV2", {})
13
- .n("SecurityHubClient", "ConnectorRegistrationsV2Command")
14
- .sc(ConnectorRegistrationsV2)
12
+ .s("SecurityHubAPIService", "RegisterConnectorV2", {})
13
+ .n("SecurityHubClient", "RegisterConnectorV2Command")
14
+ .sc(RegisterConnectorV2)
15
15
  .build() {
16
16
  }
@@ -12,7 +12,6 @@ export * from "./BatchUpdateAutomationRulesCommand";
12
12
  export * from "./BatchUpdateFindingsCommand";
13
13
  export * from "./BatchUpdateFindingsV2Command";
14
14
  export * from "./BatchUpdateStandardsControlAssociationsCommand";
15
- export * from "./ConnectorRegistrationsV2Command";
16
15
  export * from "./CreateActionTargetCommand";
17
16
  export * from "./CreateAggregatorV2Command";
18
17
  export * from "./CreateAutomationRuleCommand";
@@ -89,6 +88,7 @@ export * from "./ListOrganizationAdminAccountsCommand";
89
88
  export * from "./ListSecurityControlDefinitionsCommand";
90
89
  export * from "./ListStandardsControlAssociationsCommand";
91
90
  export * from "./ListTagsForResourceCommand";
91
+ export * from "./RegisterConnectorV2Command";
92
92
  export * from "./StartConfigurationPolicyAssociationCommand";
93
93
  export * from "./StartConfigurationPolicyDisassociationCommand";
94
94
  export * from "./TagResourceCommand";
@@ -258,6 +258,8 @@ export const OcsfNumberField = {
258
258
  RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count",
259
259
  SEVERITY_ID: "severity_id",
260
260
  STATUS_ID: "status_id",
261
+ VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id",
262
+ VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score",
261
263
  };
262
264
  export const OcsfStringField = {
263
265
  ACTIVITY_NAME: "activity_name",
@@ -292,6 +294,7 @@ export const OcsfStringField = {
292
294
  FINDING_INFO_DESC: "finding_info.desc",
293
295
  FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
294
296
  FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
297
+ FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category",
295
298
  FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
296
299
  FINDING_INFO_SRC_URL: "finding_info.src_url",
297
300
  FINDING_INFO_TITLE: "finding_info.title",
@@ -323,6 +326,7 @@ export const OcsfStringField = {
323
326
  RESOURCES_VPC_UID: "resources.vpc_uid",
324
327
  SEVERITY: "severity",
325
328
  STATUS: "status",
329
+ VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity",
326
330
  VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path",
327
331
  VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
328
332
  VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score",
@@ -348,6 +352,9 @@ export const ControlFindingGenerator = {
348
352
  SECURITY_CONTROL: "SECURITY_CONTROL",
349
353
  STANDARD_CONTROL: "STANDARD_CONTROL",
350
354
  };
355
+ export const TicketCreationMode = {
356
+ DRYRUN: "DRYRUN",
357
+ };
351
358
  export const SecurityControlProperty = {
352
359
  Parameters: "Parameters",
353
360
  };
@@ -406,6 +413,7 @@ export const GroupByField = {
406
413
  COMPLIANCE_STANDARDS: "compliance.standards",
407
414
  COMPLIANCE_STATUS: "compliance.status",
408
415
  FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name",
416
+ FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category",
409
417
  FINDING_INFO_TITLE: "finding_info.title",
410
418
  FINDING_INFO_TYPES: "finding_info.types",
411
419
  METADATA_PRODUCT_NAME: "metadata.product.name",
@@ -414,6 +422,7 @@ export const GroupByField = {
414
422
  RESOURCES_UID: "resources.uid",
415
423
  SEVERITY: "severity",
416
424
  STATUS: "status",
425
+ VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity",
417
426
  VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
418
427
  VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
419
428
  };
@@ -175,6 +175,22 @@ export class ResourceConflictException extends __BaseException {
175
175
  this.Code = opts.Code;
176
176
  }
177
177
  }
178
+ export class ServiceQuotaExceededException extends __BaseException {
179
+ name = "ServiceQuotaExceededException";
180
+ $fault = "client";
181
+ Message;
182
+ Code;
183
+ constructor(opts) {
184
+ super({
185
+ name: "ServiceQuotaExceededException",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
190
+ this.Message = opts.Message;
191
+ this.Code = opts.Code;
192
+ }
193
+ }
178
194
  export class ResourceInUseException extends __BaseException {
179
195
  name = "ResourceInUseException";
180
196
  $fault = "client";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);