@aws-sdk/client-securityhub 3.939.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
@@ -622,6 +622,8 @@ export declare const OcsfNumberField: {
622
622
  readonly RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count";
623
623
  readonly SEVERITY_ID: "severity_id";
624
624
  readonly STATUS_ID: "status_id";
625
+ readonly VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id";
626
+ readonly VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score";
625
627
  };
626
628
  /**
627
629
  * @public
@@ -664,6 +666,7 @@ export declare const OcsfStringField: {
664
666
  readonly FINDING_INFO_DESC: "finding_info.desc";
665
667
  readonly FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid";
666
668
  readonly FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title";
669
+ readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
667
670
  readonly FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid";
668
671
  readonly FINDING_INFO_SRC_URL: "finding_info.src_url";
669
672
  readonly FINDING_INFO_TITLE: "finding_info.title";
@@ -695,6 +698,7 @@ export declare const OcsfStringField: {
695
698
  readonly RESOURCES_VPC_UID: "resources.vpc_uid";
696
699
  readonly SEVERITY: "severity";
697
700
  readonly STATUS: "status";
701
+ readonly VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity";
698
702
  readonly VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path";
699
703
  readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
700
704
  readonly VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score";
@@ -756,6 +760,17 @@ export declare const ControlFindingGenerator: {
756
760
  * @public
757
761
  */
758
762
  export type ControlFindingGenerator = (typeof ControlFindingGenerator)[keyof typeof ControlFindingGenerator];
763
+ /**
764
+ * @public
765
+ * @enum
766
+ */
767
+ export declare const TicketCreationMode: {
768
+ readonly DRYRUN: "DRYRUN";
769
+ };
770
+ /**
771
+ * @public
772
+ */
773
+ export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof TicketCreationMode];
759
774
  /**
760
775
  * @public
761
776
  * @enum
@@ -890,6 +905,7 @@ export declare const GroupByField: {
890
905
  readonly COMPLIANCE_STANDARDS: "compliance.standards";
891
906
  readonly COMPLIANCE_STATUS: "compliance.status";
892
907
  readonly FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name";
908
+ readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
893
909
  readonly FINDING_INFO_TITLE: "finding_info.title";
894
910
  readonly FINDING_INFO_TYPES: "finding_info.types";
895
911
  readonly METADATA_PRODUCT_NAME: "metadata.product.name";
@@ -898,6 +914,7 @@ export declare const GroupByField: {
898
914
  readonly RESOURCES_UID: "resources.uid";
899
915
  readonly SEVERITY: "severity";
900
916
  readonly STATUS: "status";
917
+ readonly VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity";
901
918
  readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
902
919
  readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
903
920
  };
@@ -160,6 +160,20 @@ export declare class ResourceConflictException extends __BaseException {
160
160
  */
161
161
  constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
162
162
  }
163
+ /**
164
+ * <p>The request was rejected because it would exceed the service quota limit.</p>
165
+ * @public
166
+ */
167
+ export declare class ServiceQuotaExceededException extends __BaseException {
168
+ readonly name: "ServiceQuotaExceededException";
169
+ readonly $fault: "client";
170
+ Message?: string | undefined;
171
+ Code?: string | undefined;
172
+ /**
173
+ * @internal
174
+ */
175
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
176
+ }
163
177
  /**
164
178
  * <p>
165
179
  * The request was rejected because it conflicts with the resource's availability. For example, you tried
@@ -3666,7 +3666,7 @@ export interface AwsAutoScalingLaunchConfigurationDetails {
3666
3666
  */
3667
3667
  RamdiskId?: string | undefined;
3668
3668
  /**
3669
- * <p>The security groups to assign to the instances in the Auto Scaling group.</p>
3669
+ * <p>The security groups to assign to the instances in the Amazon EC2 Auto Scaling group.</p>
3670
3670
  * @public
3671
3671
  */
3672
3672
  SecurityGroups?: string[] | undefined;
@@ -4875,7 +4875,7 @@ export interface AwsCloudFrontDistributionOriginS3OriginConfig {
4875
4875
  }
4876
4876
  /**
4877
4877
  * <p>A complex type that describes the
4878
- * Amazon S3 bucket, HTTP server (for example, a web server), Elemental MediaStore, or other server from which CloudFront gets your files.</p>
4878
+ * Amazon S3 bucket, HTTP server (for example, a web server), or other server from which CloudFront gets your files.</p>
4879
4879
  * @public
4880
4880
  */
4881
4881
  export interface AwsCloudFrontDistributionOriginItem {
@@ -10371,7 +10371,7 @@ export interface AwsEcsServiceLoadBalancersDetails {
10371
10371
  */
10372
10372
  LoadBalancerName?: string | undefined;
10373
10373
  /**
10374
- * <p>The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.</p>
10374
+ * <p>The ARN of the ELB target group or groups associated with a service or task set.</p>
10375
10375
  * <p>Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.</p>
10376
10376
  * @public
10377
10377
  */
@@ -10526,7 +10526,7 @@ export interface AwsEcsServiceDetails {
10526
10526
  */
10527
10527
  EnableExecuteCommand?: boolean | undefined;
10528
10528
  /**
10529
- * <p>After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.</p>
10529
+ * <p>After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy ELB target health checks.</p>
10530
10530
  * @public
10531
10531
  */
10532
10532
  HealthCheckGracePeriodSeconds?: number | undefined;
@@ -10575,7 +10575,7 @@ export interface AwsEcsServiceDetails {
10575
10575
  */
10576
10576
  PropagateTags?: string | undefined;
10577
10577
  /**
10578
- * <p>The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.</p>
10578
+ * <p>The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an ELB load balancer.</p>
10579
10579
  * @public
10580
10580
  */
10581
10581
  Role?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AssociationStatus, AssociationType, AutoEnableStandards, BatchUpdateFindingsV2UnprocessedFindingErrorCode, ConfigurationPolicyAssociationStatus, ConnectorAuthStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, FindingHistoryUpdateSourceType, FindingsTrendsStringField, GranularityField, IntegrationType, IntegrationV2Type, OcsfBooleanField, OcsfDateField, OcsfIpField, OcsfMapField, OcsfNumberField, OcsfStringField, OrganizationConfigurationConfigurationType, OrganizationConfigurationStatus, ParameterValueType, Partition, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, ResourcesTrendsStringField, RuleStatus, SecurityControlProperty, SecurityHubFeature, SeverityLabel, SeverityRating, SortOrder, StandardsControlsUpdatable, StandardsStatus, StatusReasonCode, TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, UnprocessedErrorCode, UpdateStatus, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, WorkflowState, WorkflowStatus } from "./enums";
2
+ import { AssociationStatus, AssociationType, AutoEnableStandards, BatchUpdateFindingsV2UnprocessedFindingErrorCode, ConfigurationPolicyAssociationStatus, ConnectorAuthStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, FindingHistoryUpdateSourceType, FindingsTrendsStringField, GranularityField, IntegrationType, IntegrationV2Type, OcsfBooleanField, OcsfDateField, OcsfIpField, OcsfMapField, OcsfNumberField, OcsfStringField, OrganizationConfigurationConfigurationType, OrganizationConfigurationStatus, ParameterValueType, Partition, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, ResourcesTrendsStringField, RuleStatus, SecurityControlProperty, SecurityHubFeature, SeverityLabel, SeverityRating, SortOrder, StandardsControlsUpdatable, StandardsStatus, StatusReasonCode, TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, TicketCreationMode, UnprocessedErrorCode, UpdateStatus, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, WorkflowState, WorkflowStatus } from "./enums";
3
3
  import { AccountDetails, Action, ActionTarget, Adjustment, AdminAccount, AggregatorV2, AssociationFilters, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AutomationRulesMetadata, AutomationRulesMetadataV2, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAthenaWorkGroupDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDmsEndpointDetails, AwsDmsReplicationInstanceDetails, AwsDmsReplicationTaskDetails, AwsDynamoDbTableDetails, AwsEc2ClientVpnEndpointDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, SeverityUpdate, StringFilter, WorkflowUpdate } from "./models_0";
4
4
  import { AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsEventSchemasRegistryDetails, AwsEventsEndpointDetails, AwsEventsEventbusDetails, AwsGuardDutyDetectorDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKinesisStreamDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsMskClusterDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccessPointDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, AwsSnsTopicDetails, AwsSqsQueueDetails, AwsSsmPatchComplianceDetails, AwsStepFunctionStateMachineDetails, AwsWafRateBasedRuleDetails, AwsWafRegionalRateBasedRuleDetails, AwsWafRegionalRuleDetails, AwsWafRegionalRuleGroupDetails, AwsWafRegionalWebAclDetails, AwsWafRuleDetails, AwsWafRuleGroupDetails, AwsWafv2CustomHttpHeader, Compliance, DataClassificationDetails, Detection, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, Remediation } from "./models_1";
5
5
  /**
@@ -4983,36 +4983,6 @@ export interface ConfigurationPolicySummary {
4983
4983
  */
4984
4984
  ServiceEnabled?: boolean | undefined;
4985
4985
  }
4986
- /**
4987
- * @public
4988
- */
4989
- export interface ConnectorRegistrationsV2Request {
4990
- /**
4991
- * <p>The authCode retrieved from authUrl to complete the OAuth 2.0 authorization code flow.</p>
4992
- * @public
4993
- */
4994
- AuthCode: string | undefined;
4995
- /**
4996
- * <p>The authState retrieved from authUrl to complete the OAuth 2.0 authorization code flow.</p>
4997
- * @public
4998
- */
4999
- AuthState: string | undefined;
5000
- }
5001
- /**
5002
- * @public
5003
- */
5004
- export interface ConnectorRegistrationsV2Response {
5005
- /**
5006
- * <p>The Amazon Resource Name (ARN) of the connectorV2.</p>
5007
- * @public
5008
- */
5009
- ConnectorArn?: string | undefined;
5010
- /**
5011
- * <p>The UUID of the connectorV2 to identify connectorV2 resource.</p>
5012
- * @public
5013
- */
5014
- ConnectorId: string | undefined;
5015
- }
5016
4986
  /**
5017
4987
  * <p>The connectorV2 third-party provider configuration summary.</p>
5018
4988
  * @public
@@ -5493,15 +5463,10 @@ export interface ServiceNowProviderConfiguration {
5493
5463
  */
5494
5464
  InstanceName: string | undefined;
5495
5465
  /**
5496
- * <p>The client ID of ServiceNow ITSM.</p>
5466
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the ServiceNow credentials.</p>
5497
5467
  * @public
5498
5468
  */
5499
- ClientId: string | undefined;
5500
- /**
5501
- * <p>The client secret of ServiceNow ITSM.</p>
5502
- * @public
5503
- */
5504
- ClientSecret: string | undefined;
5469
+ SecretArn: string | undefined;
5505
5470
  }
5506
5471
  /**
5507
5472
  * <p>The initial configuration settings required to establish an integration between Security Hub and third-party provider.</p>
@@ -5591,7 +5556,7 @@ export interface CreateConnectorV2Response {
5591
5556
  * <p>The Amazon Resource Name (ARN) of the connectorV2.</p>
5592
5557
  * @public
5593
5558
  */
5594
- ConnectorArn?: string | undefined;
5559
+ ConnectorArn: string | undefined;
5595
5560
  /**
5596
5561
  * <p>The UUID of the connectorV2 to identify connectorV2 resource.</p>
5597
5562
  * @public
@@ -5602,6 +5567,11 @@ export interface CreateConnectorV2Response {
5602
5567
  * @public
5603
5568
  */
5604
5569
  AuthUrl?: string | undefined;
5570
+ /**
5571
+ * <p>The current status of the connectorV2.</p>
5572
+ * @public
5573
+ */
5574
+ ConnectorStatus?: ConnectorStatus | undefined;
5605
5575
  }
5606
5576
  /**
5607
5577
  * @public
@@ -5762,6 +5732,11 @@ export interface CreateTicketV2Request {
5762
5732
  * @public
5763
5733
  */
5764
5734
  ClientToken?: string | undefined;
5735
+ /**
5736
+ * <p>The mode for ticket creation. When set to DRYRUN, the ticket is created using a Security Hub owned template test finding to verify the integration is working correctly.</p>
5737
+ * @public
5738
+ */
5739
+ Mode?: TicketCreationMode | undefined;
5765
5740
  }
5766
5741
  /**
5767
5742
  * @public
@@ -7178,12 +7153,12 @@ export interface ServiceNowDetail {
7178
7153
  */
7179
7154
  InstanceName?: string | undefined;
7180
7155
  /**
7181
- * <p>The clientId of ServiceNow ITSM.</p>
7156
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the ServiceNow credentials.</p>
7182
7157
  * @public
7183
7158
  */
7184
- ClientId?: string | undefined;
7159
+ SecretArn: string | undefined;
7185
7160
  /**
7186
- * <p>The status of the authorization between Jira Cloud and the service.</p>
7161
+ * <p>The status of the authorization between ServiceNow and the service.</p>
7187
7162
  * @public
7188
7163
  */
7189
7164
  AuthStatus: ConnectorAuthStatus | undefined;
@@ -8392,7 +8367,7 @@ export interface JiraCloudUpdateConfiguration {
8392
8367
  * <p>The project key for a JiraCloud instance.</p>
8393
8368
  * @public
8394
8369
  */
8395
- ProjectKey: string | undefined;
8370
+ ProjectKey?: string | undefined;
8396
8371
  }
8397
8372
  /**
8398
8373
  * @public
@@ -8979,3 +8954,30 @@ export interface StandardsControlAssociationSummary {
8979
8954
  */
8980
8955
  StandardsControlDescription?: string | undefined;
8981
8956
  }
8957
+ /**
8958
+ * @public
8959
+ */
8960
+ export interface ListStandardsControlAssociationsResponse {
8961
+ /**
8962
+ * <p> An array that provides the enablement status and other details for each security
8963
+ * control that applies to each enabled standard. </p>
8964
+ * @public
8965
+ */
8966
+ StandardsControlAssociationSummaries: StandardsControlAssociationSummary[] | undefined;
8967
+ /**
8968
+ * <p> A pagination parameter that's included in the response only if it was included in the
8969
+ * request. </p>
8970
+ * @public
8971
+ */
8972
+ NextToken?: string | undefined;
8973
+ }
8974
+ /**
8975
+ * @public
8976
+ */
8977
+ export interface ListTagsForResourceRequest {
8978
+ /**
8979
+ * <p>The ARN of the resource to retrieve tags for.</p>
8980
+ * @public
8981
+ */
8982
+ ResourceArn: string | undefined;
8983
+ }
@@ -1,48 +1,32 @@
1
1
  import { AllowedOperators, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SortOrder, TargetType } from "./enums";
2
2
  import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
3
- import { AwsSecurityFindingFilters, FindingsTrendsStringFilter, JiraCloudUpdateConfiguration, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, SortCriterion, StandardsControlAssociationSummary, Target } from "./models_2";
3
+ import { AwsSecurityFindingFilters, FindingsTrendsStringFilter, JiraCloudUpdateConfiguration, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, SortCriterion, Target } from "./models_2";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export interface ListStandardsControlAssociationsResponse {
8
- /**
9
- * <p> An array that provides the enablement status and other details for each security
10
- * control that applies to each enabled standard. </p>
11
- * @public
12
- */
13
- StandardsControlAssociationSummaries: StandardsControlAssociationSummary[] | undefined;
14
- /**
15
- * <p> A pagination parameter that's included in the response only if it was included in the
16
- * request. </p>
17
- * @public
18
- */
19
- NextToken?: string | undefined;
20
- }
21
- /**
22
- * @public
23
- */
24
- export interface ListTagsForResourceRequest {
7
+ export interface ListTagsForResourceResponse {
25
8
  /**
26
- * <p>The ARN of the resource to retrieve tags for.</p>
9
+ * <p>The tags associated with a resource.</p>
27
10
  * @public
28
11
  */
29
- ResourceArn: string | undefined;
12
+ Tags?: Record<string, string> | undefined;
30
13
  }
31
14
  /**
15
+ * <p>The parameters used to modify an existing ServiceNow integration.</p>
32
16
  * @public
33
17
  */
34
- export interface ListTagsForResourceResponse {
18
+ export interface ServiceNowUpdateConfiguration {
35
19
  /**
36
- * <p>The tags associated with a resource.</p>
20
+ * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the ServiceNow credentials.</p>
37
21
  * @public
38
22
  */
39
- Tags?: Record<string, string> | undefined;
23
+ SecretArn?: string | undefined;
40
24
  }
41
25
  /**
42
26
  * <p>The parameters required to update the configuration of an integration provider.</p>
43
27
  * @public
44
28
  */
45
- export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.$UnknownMember;
29
+ export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.ServiceNowMember | ProviderUpdateConfiguration.$UnknownMember;
46
30
  /**
47
31
  * @public
48
32
  */
@@ -53,6 +37,16 @@ export declare namespace ProviderUpdateConfiguration {
53
37
  */
54
38
  interface JiraCloudMember {
55
39
  JiraCloud: JiraCloudUpdateConfiguration;
40
+ ServiceNow?: never;
41
+ $unknown?: never;
42
+ }
43
+ /**
44
+ * <p>The parameters required to update the configuration for a ServiceNow integration.</p>
45
+ * @public
46
+ */
47
+ interface ServiceNowMember {
48
+ JiraCloud?: never;
49
+ ServiceNow: ServiceNowUpdateConfiguration;
56
50
  $unknown?: never;
57
51
  }
58
52
  /**
@@ -60,6 +54,7 @@ export declare namespace ProviderUpdateConfiguration {
60
54
  */
61
55
  interface $UnknownMember {
62
56
  JiraCloud?: never;
57
+ ServiceNow?: never;
63
58
  $unknown: [string, any];
64
59
  }
65
60
  /**
@@ -68,9 +63,40 @@ export declare namespace ProviderUpdateConfiguration {
68
63
  */
69
64
  interface Visitor<T> {
70
65
  JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
66
+ ServiceNow: (value: ServiceNowUpdateConfiguration) => T;
71
67
  _: (name: string, value: any) => T;
72
68
  }
73
69
  }
70
+ /**
71
+ * @public
72
+ */
73
+ export interface RegisterConnectorV2Request {
74
+ /**
75
+ * <p>The authCode retrieved from authUrl to complete the OAuth 2.0 authorization code flow.</p>
76
+ * @public
77
+ */
78
+ AuthCode: string | undefined;
79
+ /**
80
+ * <p>The authState retrieved from authUrl to complete the OAuth 2.0 authorization code flow.</p>
81
+ * @public
82
+ */
83
+ AuthState: string | undefined;
84
+ }
85
+ /**
86
+ * @public
87
+ */
88
+ export interface RegisterConnectorV2Response {
89
+ /**
90
+ * <p>The Amazon Resource Name (ARN) of the connectorV2.</p>
91
+ * @public
92
+ */
93
+ ConnectorArn?: string | undefined;
94
+ /**
95
+ * <p>The UUID of the connectorV2 to identify connectorV2 resource.</p>
96
+ * @public
97
+ */
98
+ ConnectorId: string | undefined;
99
+ }
74
100
  /**
75
101
  * @public
76
102
  */
@@ -400,11 +426,6 @@ export interface UpdateConnectorV2Request {
400
426
  * @public
401
427
  */
402
428
  ConnectorId: string | undefined;
403
- /**
404
- * <p>The clientSecret of ServiceNow.</p>
405
- * @public
406
- */
407
- ClientSecret?: string | undefined;
408
429
  /**
409
430
  * <p>The description of the connectorV2.</p>
410
431
  * @public
@@ -1,5 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var SensitiveNonEmptyString: StaticSimpleSchema;
1
+ import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
2
  export declare var AcceptAdministratorInvitationRequest: StaticStructureSchema;
4
3
  export declare var AcceptAdministratorInvitationResponse: StaticStructureSchema;
5
4
  export declare var AcceptInvitationRequest: StaticStructureSchema;
@@ -571,8 +570,6 @@ export declare var ConfigurationPolicyAssociation: StaticStructureSchema;
571
570
  export declare var ConfigurationPolicyAssociationSummary: StaticStructureSchema;
572
571
  export declare var ConfigurationPolicySummary: StaticStructureSchema;
573
572
  export declare var ConflictException: StaticErrorSchema;
574
- export declare var ConnectorRegistrationsV2Request: StaticStructureSchema;
575
- export declare var ConnectorRegistrationsV2Response: StaticStructureSchema;
576
573
  export declare var ConnectorSummary: StaticStructureSchema;
577
574
  export declare var ContainerDetails: StaticStructureSchema;
578
575
  export declare var Country: StaticStructureSchema;
@@ -823,6 +820,8 @@ export declare var ProviderSummary: StaticStructureSchema;
823
820
  export declare var Range: StaticStructureSchema;
824
821
  export declare var Recommendation: StaticStructureSchema;
825
822
  export declare var _Record: StaticStructureSchema;
823
+ export declare var RegisterConnectorV2Request: StaticStructureSchema;
824
+ export declare var RegisterConnectorV2Response: StaticStructureSchema;
826
825
  export declare var RelatedFinding: StaticStructureSchema;
827
826
  export declare var Remediation: StaticStructureSchema;
828
827
  export declare var Resource: StaticStructureSchema;
@@ -879,6 +878,8 @@ export declare var SensitiveDataResult: StaticStructureSchema;
879
878
  export declare var Sequence: StaticStructureSchema;
880
879
  export declare var ServiceNowDetail: StaticStructureSchema;
881
880
  export declare var ServiceNowProviderConfiguration: StaticStructureSchema;
881
+ export declare var ServiceNowUpdateConfiguration: StaticStructureSchema;
882
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
882
883
  export declare var Severity: StaticStructureSchema;
883
884
  export declare var SeverityTrendsCount: StaticStructureSchema;
884
885
  export declare var SeverityUpdate: StaticStructureSchema;
@@ -1293,7 +1294,6 @@ export declare var BatchUpdateAutomationRules: StaticOperationSchema;
1293
1294
  export declare var BatchUpdateFindings: StaticOperationSchema;
1294
1295
  export declare var BatchUpdateFindingsV2: StaticOperationSchema;
1295
1296
  export declare var BatchUpdateStandardsControlAssociations: StaticOperationSchema;
1296
- export declare var ConnectorRegistrationsV2: StaticOperationSchema;
1297
1297
  export declare var CreateActionTarget: StaticOperationSchema;
1298
1298
  export declare var CreateAggregatorV2: StaticOperationSchema;
1299
1299
  export declare var CreateAutomationRule: StaticOperationSchema;
@@ -1370,6 +1370,7 @@ export declare var ListOrganizationAdminAccounts: StaticOperationSchema;
1370
1370
  export declare var ListSecurityControlDefinitions: StaticOperationSchema;
1371
1371
  export declare var ListStandardsControlAssociations: StaticOperationSchema;
1372
1372
  export declare var ListTagsForResource: StaticOperationSchema;
1373
+ export declare var RegisterConnectorV2: StaticOperationSchema;
1373
1374
  export declare var StartConfigurationPolicyAssociation: StaticOperationSchema;
1374
1375
  export declare var StartConfigurationPolicyDisassociation: StaticOperationSchema;
1375
1376
  export declare var TagResource: StaticOperationSchema;
@@ -55,10 +55,6 @@ import {
55
55
  BatchUpdateStandardsControlAssociationsCommandInput,
56
56
  BatchUpdateStandardsControlAssociationsCommandOutput,
57
57
  } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
58
- import {
59
- ConnectorRegistrationsV2CommandInput,
60
- ConnectorRegistrationsV2CommandOutput,
61
- } from "./commands/ConnectorRegistrationsV2Command";
62
58
  import {
63
59
  CreateActionTargetCommandInput,
64
60
  CreateActionTargetCommandOutput,
@@ -363,6 +359,10 @@ import {
363
359
  ListTagsForResourceCommandInput,
364
360
  ListTagsForResourceCommandOutput,
365
361
  } from "./commands/ListTagsForResourceCommand";
362
+ import {
363
+ RegisterConnectorV2CommandInput,
364
+ RegisterConnectorV2CommandOutput,
365
+ } from "./commands/RegisterConnectorV2Command";
366
366
  import {
367
367
  StartConfigurationPolicyAssociationCommandInput,
368
368
  StartConfigurationPolicyAssociationCommandOutput,
@@ -630,19 +630,6 @@ export interface SecurityHub {
630
630
  data?: BatchUpdateStandardsControlAssociationsCommandOutput
631
631
  ) => void
632
632
  ): void;
633
- connectorRegistrationsV2(
634
- args: ConnectorRegistrationsV2CommandInput,
635
- options?: __HttpHandlerOptions
636
- ): Promise<ConnectorRegistrationsV2CommandOutput>;
637
- connectorRegistrationsV2(
638
- args: ConnectorRegistrationsV2CommandInput,
639
- cb: (err: any, data?: ConnectorRegistrationsV2CommandOutput) => void
640
- ): void;
641
- connectorRegistrationsV2(
642
- args: ConnectorRegistrationsV2CommandInput,
643
- options: __HttpHandlerOptions,
644
- cb: (err: any, data?: ConnectorRegistrationsV2CommandOutput) => void
645
- ): void;
646
633
  createActionTarget(
647
634
  args: CreateActionTargetCommandInput,
648
635
  options?: __HttpHandlerOptions
@@ -1688,6 +1675,19 @@ export interface SecurityHub {
1688
1675
  options: __HttpHandlerOptions,
1689
1676
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1690
1677
  ): void;
1678
+ registerConnectorV2(
1679
+ args: RegisterConnectorV2CommandInput,
1680
+ options?: __HttpHandlerOptions
1681
+ ): Promise<RegisterConnectorV2CommandOutput>;
1682
+ registerConnectorV2(
1683
+ args: RegisterConnectorV2CommandInput,
1684
+ cb: (err: any, data?: RegisterConnectorV2CommandOutput) => void
1685
+ ): void;
1686
+ registerConnectorV2(
1687
+ args: RegisterConnectorV2CommandInput,
1688
+ options: __HttpHandlerOptions,
1689
+ cb: (err: any, data?: RegisterConnectorV2CommandOutput) => void
1690
+ ): void;
1691
1691
  startConfigurationPolicyAssociation(
1692
1692
  args: StartConfigurationPolicyAssociationCommandInput,
1693
1693
  options?: __HttpHandlerOptions
@@ -104,10 +104,6 @@ import {
104
104
  BatchUpdateStandardsControlAssociationsCommandInput,
105
105
  BatchUpdateStandardsControlAssociationsCommandOutput,
106
106
  } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
107
- import {
108
- ConnectorRegistrationsV2CommandInput,
109
- ConnectorRegistrationsV2CommandOutput,
110
- } from "./commands/ConnectorRegistrationsV2Command";
111
107
  import {
112
108
  CreateActionTargetCommandInput,
113
109
  CreateActionTargetCommandOutput,
@@ -412,6 +408,10 @@ import {
412
408
  ListTagsForResourceCommandInput,
413
409
  ListTagsForResourceCommandOutput,
414
410
  } from "./commands/ListTagsForResourceCommand";
411
+ import {
412
+ RegisterConnectorV2CommandInput,
413
+ RegisterConnectorV2CommandOutput,
414
+ } from "./commands/RegisterConnectorV2Command";
415
415
  import {
416
416
  StartConfigurationPolicyAssociationCommandInput,
417
417
  StartConfigurationPolicyAssociationCommandOutput,
@@ -498,7 +498,6 @@ export type ServiceInputTypes =
498
498
  | BatchUpdateFindingsCommandInput
499
499
  | BatchUpdateFindingsV2CommandInput
500
500
  | BatchUpdateStandardsControlAssociationsCommandInput
501
- | ConnectorRegistrationsV2CommandInput
502
501
  | CreateActionTargetCommandInput
503
502
  | CreateAggregatorV2CommandInput
504
503
  | CreateAutomationRuleCommandInput
@@ -575,6 +574,7 @@ export type ServiceInputTypes =
575
574
  | ListSecurityControlDefinitionsCommandInput
576
575
  | ListStandardsControlAssociationsCommandInput
577
576
  | ListTagsForResourceCommandInput
577
+ | RegisterConnectorV2CommandInput
578
578
  | StartConfigurationPolicyAssociationCommandInput
579
579
  | StartConfigurationPolicyDisassociationCommandInput
580
580
  | TagResourceCommandInput
@@ -606,7 +606,6 @@ export type ServiceOutputTypes =
606
606
  | BatchUpdateFindingsCommandOutput
607
607
  | BatchUpdateFindingsV2CommandOutput
608
608
  | BatchUpdateStandardsControlAssociationsCommandOutput
609
- | ConnectorRegistrationsV2CommandOutput
610
609
  | CreateActionTargetCommandOutput
611
610
  | CreateAggregatorV2CommandOutput
612
611
  | CreateAutomationRuleCommandOutput
@@ -683,6 +682,7 @@ export type ServiceOutputTypes =
683
682
  | ListSecurityControlDefinitionsCommandOutput
684
683
  | ListStandardsControlAssociationsCommandOutput
685
684
  | ListTagsForResourceCommandOutput
685
+ | RegisterConnectorV2CommandOutput
686
686
  | StartConfigurationPolicyAssociationCommandOutput
687
687
  | StartConfigurationPolicyDisassociationCommandOutput
688
688
  | TagResourceCommandOutput
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListStandardsControlAssociationsRequest } from "../models/models_2";
4
- import { ListStandardsControlAssociationsResponse } from "../models/models_3";
3
+ import {
4
+ ListStandardsControlAssociationsRequest,
5
+ ListStandardsControlAssociationsResponse,
6
+ } from "../models/models_2";
5
7
  import {
6
8
  SecurityHubClientResolvedConfig,
7
9
  ServiceInputTypes,
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ListTagsForResourceRequest,
5
- ListTagsForResourceResponse,
6
- } from "../models/models_3";
3
+ import { ListTagsForResourceRequest } from "../models/models_2";
4
+ import { ListTagsForResourceResponse } from "../models/models_3";
7
5
  import {
8
6
  SecurityHubClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ RegisterConnectorV2Request,
5
+ RegisterConnectorV2Response,
6
+ } from "../models/models_3";
7
+ import {
8
+ SecurityHubClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecurityHubClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface RegisterConnectorV2CommandInput
15
+ extends RegisterConnectorV2Request {}
16
+ export interface RegisterConnectorV2CommandOutput
17
+ extends RegisterConnectorV2Response,
18
+ __MetadataBearer {}
19
+ declare const RegisterConnectorV2Command_base: {
20
+ new (
21
+ input: RegisterConnectorV2CommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ RegisterConnectorV2CommandInput,
24
+ RegisterConnectorV2CommandOutput,
25
+ SecurityHubClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: RegisterConnectorV2CommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ RegisterConnectorV2CommandInput,
33
+ RegisterConnectorV2CommandOutput,
34
+ SecurityHubClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class RegisterConnectorV2Command extends RegisterConnectorV2Command_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: RegisterConnectorV2Request;
44
+ output: RegisterConnectorV2Response;
45
+ };
46
+ sdk: {
47
+ input: RegisterConnectorV2CommandInput;
48
+ output: RegisterConnectorV2CommandOutput;
49
+ };
50
+ };
51
+ }