@aws-sdk/client-securityhub 3.940.0 → 3.943.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 (60) hide show
  1. package/README.md +8 -8
  2. package/dist-cjs/index.js +97 -50
  3. package/dist-es/SecurityHub.js +2 -2
  4. package/dist-es/commands/{ConnectorRegistrationsV2Command.js → RegisterConnectorV2Command.js} +5 -5
  5. package/dist-es/commands/index.js +1 -1
  6. package/dist-es/models/enums.js +9 -0
  7. package/dist-es/models/errors.js +16 -0
  8. package/dist-es/schemas/schemas_0.js +57 -37
  9. package/dist-types/SecurityHub.d.ts +7 -7
  10. package/dist-types/SecurityHubClient.d.ts +3 -3
  11. package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +1 -1
  12. package/dist-types/commands/CreateAggregatorV2Command.d.ts +4 -1
  13. package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +8 -5
  14. package/dist-types/commands/CreateConnectorV2Command.d.ts +7 -4
  15. package/dist-types/commands/CreateTicketV2Command.d.ts +2 -1
  16. package/dist-types/commands/DeleteAggregatorV2Command.d.ts +1 -1
  17. package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +1 -1
  18. package/dist-types/commands/DeleteConnectorV2Command.d.ts +1 -1
  19. package/dist-types/commands/DescribeProductsV2Command.d.ts +1 -1
  20. package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +1 -1
  21. package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
  22. package/dist-types/commands/EnableSecurityHubV2Command.d.ts +1 -1
  23. package/dist-types/commands/GetAggregatorV2Command.d.ts +1 -1
  24. package/dist-types/commands/GetAutomationRuleV2Command.d.ts +5 -5
  25. package/dist-types/commands/GetConnectorV2Command.d.ts +2 -2
  26. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +6 -6
  27. package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +1 -1
  28. package/dist-types/commands/GetFindingsV2Command.d.ts +5 -5
  29. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +1 -1
  30. package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +1 -1
  31. package/dist-types/commands/GetResourcesV2Command.d.ts +1 -1
  32. package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
  33. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
  34. package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
  35. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  37. package/dist-types/commands/{ConnectorRegistrationsV2Command.d.ts → RegisterConnectorV2Command.d.ts} +23 -23
  38. package/dist-types/commands/UpdateAggregatorV2Command.d.ts +1 -1
  39. package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +5 -5
  40. package/dist-types/commands/UpdateConnectorV2Command.d.ts +5 -3
  41. package/dist-types/commands/index.d.ts +1 -1
  42. package/dist-types/models/enums.d.ts +17 -0
  43. package/dist-types/models/errors.d.ts +14 -0
  44. package/dist-types/models/models_0.d.ts +5 -5
  45. package/dist-types/models/models_2.d.ts +45 -43
  46. package/dist-types/models/models_3.d.ts +51 -30
  47. package/dist-types/schemas/schemas_0.d.ts +6 -5
  48. package/dist-types/ts3.4/SecurityHub.d.ts +17 -17
  49. package/dist-types/ts3.4/SecurityHubClient.d.ts +6 -6
  50. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/RegisterConnectorV2Command.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +1 -1
  54. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  55. package/dist-types/ts3.4/models/errors.d.ts +9 -0
  56. package/dist-types/ts3.4/models/models_2.d.ts +16 -13
  57. package/dist-types/ts3.4/models/models_3.d.ts +20 -11
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -5
  59. package/package.json +5 -5
  60. package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +0 -51
package/README.md CHANGED
@@ -385,14 +385,6 @@ BatchUpdateStandardsControlAssociations
385
385
 
386
386
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/BatchUpdateStandardsControlAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchUpdateStandardsControlAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchUpdateStandardsControlAssociationsCommandOutput/)
387
387
 
388
- </details>
389
- <details>
390
- <summary>
391
- ConnectorRegistrationsV2
392
- </summary>
393
-
394
- [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ConnectorRegistrationsV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ConnectorRegistrationsV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ConnectorRegistrationsV2CommandOutput/)
395
-
396
388
  </details>
397
389
  <details>
398
390
  <summary>
@@ -1001,6 +993,14 @@ ListTagsForResource
1001
993
 
1002
994
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListTagsForResourceCommandOutput/)
1003
995
 
996
+ </details>
997
+ <details>
998
+ <summary>
999
+ RegisterConnectorV2
1000
+ </summary>
1001
+
1002
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/RegisterConnectorV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/RegisterConnectorV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/RegisterConnectorV2CommandOutput/)
1003
+
1004
1004
  </details>
1005
1005
  <details>
1006
1006
  <summary>
package/dist-cjs/index.js CHANGED
@@ -293,6 +293,22 @@ let ResourceConflictException$1 = class ResourceConflictException extends Securi
293
293
  this.Code = opts.Code;
294
294
  }
295
295
  };
296
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends SecurityHubServiceException$1 {
297
+ name = "ServiceQuotaExceededException";
298
+ $fault = "client";
299
+ Message;
300
+ Code;
301
+ constructor(opts) {
302
+ super({
303
+ name: "ServiceQuotaExceededException",
304
+ $fault: "client",
305
+ ...opts,
306
+ });
307
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
308
+ this.Message = opts.Message;
309
+ this.Code = opts.Code;
310
+ }
311
+ };
296
312
  let ResourceInUseException$1 = class ResourceInUseException extends SecurityHubServiceException$1 {
297
313
  name = "ResourceInUseException";
298
314
  $fault = "client";
@@ -1137,8 +1153,8 @@ const _ASsso = "AssociationState";
1137
1153
  const _ASssoc = "AssociationSet";
1138
1154
  const _ASssoci = "AssociatedStandards";
1139
1155
  const _ASu = "AuthenticationStrategy";
1140
- const _ASut = "AuthState";
1141
- const _ASuth = "AuthStatus";
1156
+ const _ASut = "AuthStatus";
1157
+ const _ASuth = "AuthState";
1142
1158
  const _ASuto = "AutonomousSystem";
1143
1159
  const _AT = "ActionType";
1144
1160
  const _ATA = "ActionTargetArn";
@@ -1522,9 +1538,6 @@ const _CRRGA = "CapacityReservationResourceGroupArn";
1522
1538
  const _CRRIMBPS = "CurrentRestoreRateInMegaBytesPerSecond";
1523
1539
  const _CRS = "CapacityReservationSpecification";
1524
1540
  const _CRT = "CapacityReservationTarget";
1525
- const _CRV = "ConnectorRegistrationsV2";
1526
- const _CRVR = "ConnectorRegistrationsV2Request";
1527
- const _CRVRo = "ConnectorRegistrationsV2Response";
1528
1541
  const _CRe = "CellReference";
1529
1542
  const _CRl = "ClassificationResult";
1530
1543
  const _CRo = "CompatibleRuntimes";
@@ -1551,7 +1564,6 @@ const _CSa = "CanarySettings";
1551
1564
  const _CSe = "CertificateSource";
1552
1565
  const _CSl = "ClusterSettings";
1553
1566
  const _CSla = "ClassificationStatus";
1554
- const _CSli = "ClientSecret";
1555
1567
  const _CSlu = "ClusterStatus";
1556
1568
  const _CSo = "ConnectionSettings";
1557
1569
  const _CSod = "CodeSha256";
@@ -2970,6 +2982,9 @@ const _RCLA = "ResourceContainerLaunchedAt";
2970
2982
  const _RCN = "ResourceContainerName";
2971
2983
  const _RCTD = "ResourceCreationTimeDt";
2972
2984
  const _RCU = "ReadCapacityUnits";
2985
+ const _RCV = "RegisterConnectorV2";
2986
+ const _RCVR = "RegisterConnectorV2Request";
2987
+ const _RCVRe = "RegisterConnectorV2Response";
2973
2988
  const _RCe = "RegistryCredential";
2974
2989
  const _RCea = "ReasonCode";
2975
2990
  const _RCep = "RepositoryCredentials";
@@ -3188,6 +3203,7 @@ const _SAU = "ServiceAccountUsername";
3188
3203
  const _SAZ = "SecondaryAvailabilityZone";
3189
3204
  const _SAZu = "SubnetAvailabilityZone";
3190
3205
  const _SAe = "SecondaryArtifacts";
3206
+ const _SAec = "SecretArn";
3191
3207
  const _SAer = "ServiceArn";
3192
3208
  const _SAo = "SourceArn";
3193
3209
  const _SAt = "StartedAt";
@@ -3334,8 +3350,8 @@ const _SMs = "SslMode";
3334
3350
  const _SMu = "SubnetMappings";
3335
3351
  const _SN = "ServiceName";
3336
3352
  const _SND = "ServiceNowDetail";
3337
- const _SNES = "SensitiveNonEmptyString";
3338
3353
  const _SNPC = "ServiceNowProviderConfiguration";
3354
+ const _SNUC = "ServiceNowUpdateConfiguration";
3339
3355
  const _SNe = "ServerName";
3340
3356
  const _SNer = "ServiceNow";
3341
3357
  const _SNev = "SeverityNormalized";
@@ -3358,6 +3374,7 @@ const _SPof = "SoftwarePackage";
3358
3374
  const _SPou = "SourcePort";
3359
3375
  const _SPour = "SourcePorts";
3360
3376
  const _SPt = "StartPeriod";
3377
+ const _SQEE = "ServiceQuotaExceededException";
3361
3378
  const _SR = "ServiceRole";
3362
3379
  const _SRACA = "StatelessRulesAndCustomActions";
3363
3380
  const _SRC = "StatusReasonCode";
@@ -3732,7 +3749,6 @@ const _s = "server";
3732
3749
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.securityhub";
3733
3750
  const _tK = "tagKeys";
3734
3751
  const n0 = "com.amazonaws.securityhub";
3735
- var SensitiveNonEmptyString = [0, n0, _SNES, 8, 0];
3736
3752
  var AcceptAdministratorInvitationRequest = [3, n0, _AAIR, 0, [_AI, _II], [0, 0]];
3737
3753
  var AcceptAdministratorInvitationResponse = [3, n0, _AAIRc, 0, [], []];
3738
3754
  var AcceptInvitationRequest = [3, n0, _AIR, 0, [_MI, _II], [0, 0]];
@@ -8883,8 +8899,6 @@ var ConflictException = [
8883
8899
  [0, 0],
8884
8900
  ];
8885
8901
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
8886
- var ConnectorRegistrationsV2Request = [3, n0, _CRVR, 0, [_ACut, _ASut], [0, 0]];
8887
- var ConnectorRegistrationsV2Response = [3, n0, _CRVRo, 0, [_CAon, _CIo], [0, 0]];
8888
8902
  var ConnectorSummary = [
8889
8903
  3,
8890
8904
  n0,
@@ -8960,9 +8974,16 @@ var CreateConnectorV2Request = [
8960
8974
  _CCVR,
8961
8975
  0,
8962
8976
  [_N, _D, _Prov, _KKA, _Tags, _CTl],
8963
- [0, 0, [() => ProviderConfiguration, 0], 0, 128 | 0, [0, 4]],
8977
+ [0, 0, () => ProviderConfiguration, 0, 128 | 0, [0, 4]],
8978
+ ];
8979
+ var CreateConnectorV2Response = [
8980
+ 3,
8981
+ n0,
8982
+ _CCVRr,
8983
+ 0,
8984
+ [_CAon, _CIo, _AUut, _CSonn],
8985
+ [0, 0, 0, 0],
8964
8986
  ];
8965
- var CreateConnectorV2Response = [3, n0, _CCVRr, 0, [_CAon, _CIo, _AUut], [0, 0, 0]];
8966
8987
  var CreateFindingAggregatorRequest = [3, n0, _CFAR, 0, [_RLM, _Regi], [0, 64 | 0]];
8967
8988
  var CreateFindingAggregatorResponse = [
8968
8989
  3,
@@ -8983,7 +9004,14 @@ var CreateInsightRequest = [
8983
9004
  var CreateInsightResponse = [3, n0, _CIRr, 0, [_IAns], [0]];
8984
9005
  var CreateMembersRequest = [3, n0, _CMR, 0, [_AD], [() => AccountDetailsList]];
8985
9006
  var CreateMembersResponse = [3, n0, _CMRr, 0, [_UAnp], [() => ResultList]];
8986
- var CreateTicketV2Request = [3, n0, _CTVR, 0, [_CIo, _FMU, _CTl], [0, 0, [0, 4]]];
9007
+ var CreateTicketV2Request = [
9008
+ 3,
9009
+ n0,
9010
+ _CTVR,
9011
+ 0,
9012
+ [_CIo, _FMU, _CTl, _Mod],
9013
+ [0, 0, [0, 4], 0],
9014
+ ];
8987
9015
  var CreateTicketV2Response = [3, n0, _CTVRr, 0, [_TIi, _TSU], [0, 0]];
8988
9016
  var CustomDataIdentifiersDetections = [
8989
9017
  3,
@@ -9596,7 +9624,7 @@ var InviteMembersResponse = [3, n0, _IMRn, 0, [_UAnp], [() => ResultList]];
9596
9624
  var IpFilter = [3, n0, _IFp, 0, [_Cid], [0]];
9597
9625
  var IpOrganizationDetails = [3, n0, _IOD, 0, [_Asn, _AOs, _Isp, _Org], [1, 0, 0, 0]];
9598
9626
  var Ipv6CidrBlockAssociation = [3, n0, _ICBA, 0, [_AIs, _ICB, _CBSi], [0, 0, 0]];
9599
- var JiraCloudDetail = [3, n0, _JCD, 0, [_CIlo, _PK, _Do, _AUut, _ASuth], [0, 0, 0, 0, 0]];
9627
+ var JiraCloudDetail = [3, n0, _JCD, 0, [_CIlo, _PK, _Do, _AUut, _ASut], [0, 0, 0, 0, 0]];
9600
9628
  var JiraCloudProviderConfiguration = [3, n0, _JCPC, 0, [_PK], [0]];
9601
9629
  var JiraCloudUpdateConfiguration = [3, n0, _JCUC, 0, [_PK], [0]];
9602
9630
  var KeywordFilter = [3, n0, _KF, 0, [_Val], [0]];
@@ -10133,6 +10161,8 @@ var ProviderSummary = [3, n0, _PSr, 0, [_PNrov, _CSonn], [0, 0]];
10133
10161
  var Range = [3, n0, _Ra, 0, [_Star, _End_, _SCta], [1, 1, 1]];
10134
10162
  var Recommendation = [3, n0, _Reco, 0, [_Tex, _Ur], [0, 0]];
10135
10163
  var _Record = [3, n0, _Recor, 0, [_JP, _RIec], [0, 1]];
10164
+ var RegisterConnectorV2Request = [3, n0, _RCVR, 0, [_ACut, _ASuth], [0, 0]];
10165
+ var RegisterConnectorV2Response = [3, n0, _RCVRe, 0, [_CAon, _CIo], [0, 0]];
10136
10166
  var RelatedFinding = [3, n0, _RFe, 0, [_PA, _I], [0, 0]];
10137
10167
  var Remediation = [3, n0, _Rem, 0, [_Reco], [() => Recommendation]];
10138
10168
  var Resource = [
@@ -10700,15 +10730,21 @@ var Sequence = [
10700
10730
  [_Ui, _Acto, _Endp, _Sig, _SIeq],
10701
10731
  [0, () => ActorsList, () => NetworkEndpointsList, () => SignalsList, () => IndicatorsList],
10702
10732
  ];
10703
- var ServiceNowDetail = [3, n0, _SND, 0, [_INn, _CI, _ASuth], [0, 0, 0]];
10704
- var ServiceNowProviderConfiguration = [
10705
- 3,
10733
+ var ServiceNowDetail = [3, n0, _SND, 0, [_INn, _SAec, _ASut], [0, 0, 0]];
10734
+ var ServiceNowProviderConfiguration = [3, n0, _SNPC, 0, [_INn, _SAec], [0, 0]];
10735
+ var ServiceNowUpdateConfiguration = [3, n0, _SNUC, 0, [_SAec], [0]];
10736
+ var ServiceQuotaExceededException = [
10737
+ -3,
10706
10738
  n0,
10707
- _SNPC,
10708
- 0,
10709
- [_INn, _CI, _CSli],
10710
- [0, 0, [() => SensitiveNonEmptyString, 0]],
10739
+ _SQEE,
10740
+ {
10741
+ [_e]: _c,
10742
+ [_hE]: 402,
10743
+ },
10744
+ [_M, _C],
10745
+ [0, 0],
10711
10746
  ];
10747
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
10712
10748
  var Severity = [3, n0, _Se, 0, [_Produ, _Lab, _Norm, _Orig], [1, 0, 1, 0]];
10713
10749
  var SeverityTrendsCount = [
10714
10750
  3,
@@ -10958,8 +10994,8 @@ var UpdateConnectorV2Request = [
10958
10994
  n0,
10959
10995
  _UCVR,
10960
10996
  0,
10961
- [_CIo, _CSli, _D, _Prov],
10962
- [[0, 1], [() => SensitiveNonEmptyString, 0], 0, () => ProviderUpdateConfiguration],
10997
+ [_CIo, _D, _Prov],
10998
+ [[0, 1], 0, () => ProviderUpdateConfiguration],
10963
10999
  ];
10964
11000
  var UpdateConnectorV2Response = [3, n0, _UCVRp, 0, [], []];
10965
11001
  var UpdateFindingAggregatorRequest = [
@@ -12214,7 +12250,7 @@ var ProviderConfiguration = [
12214
12250
  _PCro,
12215
12251
  0,
12216
12252
  [_JC, _SNer],
12217
- [() => JiraCloudProviderConfiguration, [() => ServiceNowProviderConfiguration, 0]],
12253
+ [() => JiraCloudProviderConfiguration, () => ServiceNowProviderConfiguration],
12218
12254
  ];
12219
12255
  var ProviderDetail = [
12220
12256
  3,
@@ -12229,8 +12265,8 @@ var ProviderUpdateConfiguration = [
12229
12265
  n0,
12230
12266
  _PUC,
12231
12267
  0,
12232
- [_JC],
12233
- [() => JiraCloudUpdateConfiguration],
12268
+ [_JC, _SNer],
12269
+ [() => JiraCloudUpdateConfiguration, () => ServiceNowUpdateConfiguration],
12234
12270
  ];
12235
12271
  var Target = [3, n0, _Ta, 0, [_AIc, _OUI, _RIoo], [0, 0, 0]];
12236
12272
  var AcceptAdministratorInvitation = [
@@ -12373,16 +12409,6 @@ var BatchUpdateStandardsControlAssociations = [
12373
12409
  () => BatchUpdateStandardsControlAssociationsRequest,
12374
12410
  () => BatchUpdateStandardsControlAssociationsResponse,
12375
12411
  ];
12376
- var ConnectorRegistrationsV2 = [
12377
- 9,
12378
- n0,
12379
- _CRV,
12380
- {
12381
- [_h]: ["POST", "/connectorsv2/registrations", 200],
12382
- },
12383
- () => ConnectorRegistrationsV2Request,
12384
- () => ConnectorRegistrationsV2Response,
12385
- ];
12386
12412
  var CreateActionTarget = [
12387
12413
  9,
12388
12414
  n0,
@@ -13143,6 +13169,16 @@ var ListTagsForResource = [
13143
13169
  () => ListTagsForResourceRequest,
13144
13170
  () => ListTagsForResourceResponse,
13145
13171
  ];
13172
+ var RegisterConnectorV2 = [
13173
+ 9,
13174
+ n0,
13175
+ _RCV,
13176
+ {
13177
+ [_h]: ["POST", "/connectorsv2/register", 200],
13178
+ },
13179
+ () => RegisterConnectorV2Request,
13180
+ () => RegisterConnectorV2Response,
13181
+ ];
13146
13182
  var StartConfigurationPolicyAssociation = [
13147
13183
  9,
13148
13184
  n0,
@@ -13472,18 +13508,6 @@ class BatchUpdateStandardsControlAssociationsCommand extends smithyClient.Comman
13472
13508
  .build() {
13473
13509
  }
13474
13510
 
13475
- class ConnectorRegistrationsV2Command extends smithyClient.Command
13476
- .classBuilder()
13477
- .ep(commonParams)
13478
- .m(function (Command, cs, config, o) {
13479
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
13480
- })
13481
- .s("SecurityHubAPIService", "ConnectorRegistrationsV2", {})
13482
- .n("SecurityHubClient", "ConnectorRegistrationsV2Command")
13483
- .sc(ConnectorRegistrationsV2)
13484
- .build() {
13485
- }
13486
-
13487
13511
  class CreateActionTargetCommand extends smithyClient.Command
13488
13512
  .classBuilder()
13489
13513
  .ep(commonParams)
@@ -14396,6 +14420,18 @@ class ListTagsForResourceCommand extends smithyClient.Command
14396
14420
  .build() {
14397
14421
  }
14398
14422
 
14423
+ class RegisterConnectorV2Command extends smithyClient.Command
14424
+ .classBuilder()
14425
+ .ep(commonParams)
14426
+ .m(function (Command, cs, config, o) {
14427
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
14428
+ })
14429
+ .s("SecurityHubAPIService", "RegisterConnectorV2", {})
14430
+ .n("SecurityHubClient", "RegisterConnectorV2Command")
14431
+ .sc(RegisterConnectorV2)
14432
+ .build() {
14433
+ }
14434
+
14399
14435
  class StartConfigurationPolicyAssociationCommand extends smithyClient.Command
14400
14436
  .classBuilder()
14401
14437
  .ep(commonParams)
@@ -14603,7 +14639,6 @@ const commands = {
14603
14639
  BatchUpdateFindingsCommand,
14604
14640
  BatchUpdateFindingsV2Command,
14605
14641
  BatchUpdateStandardsControlAssociationsCommand,
14606
- ConnectorRegistrationsV2Command,
14607
14642
  CreateActionTargetCommand,
14608
14643
  CreateAggregatorV2Command,
14609
14644
  CreateAutomationRuleCommand,
@@ -14680,6 +14715,7 @@ const commands = {
14680
14715
  ListSecurityControlDefinitionsCommand,
14681
14716
  ListStandardsControlAssociationsCommand,
14682
14717
  ListTagsForResourceCommand,
14718
+ RegisterConnectorV2Command,
14683
14719
  StartConfigurationPolicyAssociationCommand,
14684
14720
  StartConfigurationPolicyDisassociationCommand,
14685
14721
  TagResourceCommand,
@@ -15007,6 +15043,8 @@ const OcsfNumberField = {
15007
15043
  RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count",
15008
15044
  SEVERITY_ID: "severity_id",
15009
15045
  STATUS_ID: "status_id",
15046
+ VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id",
15047
+ VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score",
15010
15048
  };
15011
15049
  const OcsfStringField = {
15012
15050
  ACTIVITY_NAME: "activity_name",
@@ -15041,6 +15079,7 @@ const OcsfStringField = {
15041
15079
  FINDING_INFO_DESC: "finding_info.desc",
15042
15080
  FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
15043
15081
  FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
15082
+ FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category",
15044
15083
  FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
15045
15084
  FINDING_INFO_SRC_URL: "finding_info.src_url",
15046
15085
  FINDING_INFO_TITLE: "finding_info.title",
@@ -15072,6 +15111,7 @@ const OcsfStringField = {
15072
15111
  RESOURCES_VPC_UID: "resources.vpc_uid",
15073
15112
  SEVERITY: "severity",
15074
15113
  STATUS: "status",
15114
+ VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity",
15075
15115
  VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path",
15076
15116
  VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
15077
15117
  VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score",
@@ -15097,6 +15137,9 @@ const ControlFindingGenerator = {
15097
15137
  SECURITY_CONTROL: "SECURITY_CONTROL",
15098
15138
  STANDARD_CONTROL: "STANDARD_CONTROL",
15099
15139
  };
15140
+ const TicketCreationMode = {
15141
+ DRYRUN: "DRYRUN",
15142
+ };
15100
15143
  const SecurityControlProperty = {
15101
15144
  Parameters: "Parameters",
15102
15145
  };
@@ -15155,6 +15198,7 @@ const GroupByField = {
15155
15198
  COMPLIANCE_STANDARDS: "compliance.standards",
15156
15199
  COMPLIANCE_STATUS: "compliance.status",
15157
15200
  FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name",
15201
+ FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category",
15158
15202
  FINDING_INFO_TITLE: "finding_info.title",
15159
15203
  FINDING_INFO_TYPES: "finding_info.types",
15160
15204
  METADATA_PRODUCT_NAME: "metadata.product.name",
@@ -15163,6 +15207,7 @@ const GroupByField = {
15163
15207
  RESOURCES_UID: "resources.uid",
15164
15208
  SEVERITY: "severity",
15165
15209
  STATUS: "status",
15210
+ VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity",
15166
15211
  VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
15167
15212
  VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
15168
15213
  };
@@ -15269,7 +15314,6 @@ exports.ConflictException = ConflictException$1;
15269
15314
  exports.ConnectionDirection = ConnectionDirection;
15270
15315
  exports.ConnectorAuthStatus = ConnectorAuthStatus;
15271
15316
  exports.ConnectorProviderName = ConnectorProviderName;
15272
- exports.ConnectorRegistrationsV2Command = ConnectorRegistrationsV2Command;
15273
15317
  exports.ConnectorStatus = ConnectorStatus;
15274
15318
  exports.ControlFindingGenerator = ControlFindingGenerator;
15275
15319
  exports.ControlStatus = ControlStatus;
@@ -15377,6 +15421,7 @@ exports.ParameterValueType = ParameterValueType;
15377
15421
  exports.Partition = Partition;
15378
15422
  exports.RecordState = RecordState;
15379
15423
  exports.RegionAvailabilityStatus = RegionAvailabilityStatus;
15424
+ exports.RegisterConnectorV2Command = RegisterConnectorV2Command;
15380
15425
  exports.ResourceCategory = ResourceCategory;
15381
15426
  exports.ResourceConflictException = ResourceConflictException$1;
15382
15427
  exports.ResourceGroupByField = ResourceGroupByField;
@@ -15394,6 +15439,7 @@ exports.SecurityHub = SecurityHub;
15394
15439
  exports.SecurityHubClient = SecurityHubClient;
15395
15440
  exports.SecurityHubFeature = SecurityHubFeature;
15396
15441
  exports.SecurityHubServiceException = SecurityHubServiceException$1;
15442
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
15397
15443
  exports.SeverityLabel = SeverityLabel;
15398
15444
  exports.SeverityRating = SeverityRating;
15399
15445
  exports.SortOrder = SortOrder;
@@ -15408,6 +15454,7 @@ exports.TargetType = TargetType;
15408
15454
  exports.ThreatIntelIndicatorCategory = ThreatIntelIndicatorCategory;
15409
15455
  exports.ThreatIntelIndicatorType = ThreatIntelIndicatorType;
15410
15456
  exports.ThrottlingException = ThrottlingException$1;
15457
+ exports.TicketCreationMode = TicketCreationMode;
15411
15458
  exports.UnprocessedErrorCode = UnprocessedErrorCode;
15412
15459
  exports.UntagResourceCommand = UntagResourceCommand;
15413
15460
  exports.UpdateActionTargetCommand = UpdateActionTargetCommand;
@@ -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,
@@ -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";