@aws-sdk/client-securityhub 3.1169.0 → 3.1171.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.
- package/dist-cjs/index.js +64 -21
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +48 -20
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -1
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +2 -1
- package/dist-types/commands/CreateConnectorCommand.d.ts +12 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +12 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +42 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +12 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +12 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +2 -2
- package/dist-types/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
- package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -1
- package/dist-types/commands/GetResourcesV2Command.d.ts +1 -1
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +14 -2
- package/dist-types/commands/ListConnectorsV2Command.d.ts +14 -2
- package/dist-types/commands/ListExposuresByRemediationV2Command.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +66 -6
- package/dist-types/commands/UpdateConnectorCommand.d.ts +11 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +11 -0
- package/dist-types/models/enums.d.ts +19 -0
- package/dist-types/models/models_2.d.ts +161 -153
- package/dist-types/models/models_3.d.ts +159 -4
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_2.d.ts +76 -23
- package/dist-types/ts3.4/models/models_3.d.ts +36 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AssociationStatus, AssociationType, AutoEnableStandards, BatchUpdateFindingsV2UnprocessedFindingErrorCode, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorAuthStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CriticalitySourceType, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, ExposureImpact, ExposureSeverity, FeatureName, FeatureStatus, FindingHistoryUpdateSourceType, FindingsExportFormat, FindingsTrendsStringField, GranularityField, HealthIssueCode, IntegrationType, IntegrationV2Type, OcsfBooleanField, OcsfDateField, OcsfIpField, OcsfMapField, OcsfNumberField, OcsfStringField, OrganizationConfigurationConfigurationType, OrganizationConfigurationStatus, ParameterValueType, Partition, RecordState, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, RuleStatus, ScopeType, SecurityControlsProvider, SecurityHubFeature, SeverityLabel, SeverityRating, SortOrder, StandardsControlsUpdatable, StandardsProvider, StandardsStatus, StatusReasonCode, TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, TicketCreationMode, UnprocessedErrorCode, UpdateStatus, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, WorkflowState, WorkflowStatus } from "./enums";
|
|
2
|
+
import type { AssociationStatus, AssociationType, AutoEnableStandards, BatchUpdateFindingsV2UnprocessedFindingErrorCode, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorAuthStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CriticalitySourceType, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, ExposureImpact, ExposureSeverity, FeatureName, FeatureStatus, FindingHistoryUpdateSourceType, FindingsExportFormat, FindingsTrendsStringField, GcpScopeType, GranularityField, HealthIssueCode, IntegrationType, IntegrationV2Type, OcsfBooleanField, OcsfDateField, OcsfIpField, OcsfMapField, OcsfNumberField, OcsfStringField, OrganizationConfigurationConfigurationType, OrganizationConfigurationStatus, ParameterValueType, Partition, RecordState, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, RuleStatus, ScopeType, SecurityControlsProvider, SecurityHubFeature, SeverityLabel, SeverityRating, SortOrder, StandardsControlsUpdatable, StandardsProvider, StandardsStatus, StatusReasonCode, TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, TicketCreationMode, UnprocessedErrorCode, UpdateStatus, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, WorkflowState, WorkflowStatus } from "./enums";
|
|
3
3
|
import type { AccountDetails, Action, ActionTarget, Adjustment, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, 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 type { 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, AwsOrganizationScope, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccessPointDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, AwsSnsTopicDetails, AwsSqsQueueDetails, AwsSsmPatchComplianceDetails, AwsStepFunctionStateMachineDetails, AwsWafRateBasedRuleDetails, AwsWafRegionalRateBasedRuleDetails, AwsWafRegionalRuleDetails, AwsWafRegionalRuleGroupDetails, AwsWafRegionalWebAclDetails, AwsWafRulePredicateListDetails, Compliance, DataClassificationDetails, Detection, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, Remediation } from "./models_1";
|
|
5
5
|
/**
|
|
@@ -1406,6 +1406,11 @@ export interface ResourceDetails {
|
|
|
1406
1406
|
* @public
|
|
1407
1407
|
*/
|
|
1408
1408
|
AzureResource?: __DocumentType | undefined;
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>Details about a GCP resource that is related to a finding.</p>
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
GcpResource?: __DocumentType | undefined;
|
|
1409
1414
|
}
|
|
1410
1415
|
/**
|
|
1411
1416
|
* <p>Information about the account that owns a resource, for example, an Azure Subscription or Amazon Web Services Account.</p>
|
|
@@ -3334,7 +3339,7 @@ export interface StandardsSubscription {
|
|
|
3334
3339
|
*/
|
|
3335
3340
|
StandardsStatusReason?: StandardsStatusReason | undefined;
|
|
3336
3341
|
/**
|
|
3337
|
-
* <p>The cloud provider whose resources the standard evaluates. For example, <code>AWS</code> or <code>
|
|
3342
|
+
* <p>The cloud provider whose resources the standard evaluates. For example, <code>AWS</code>, <code>Azure</code>, or <code>GCP</code>.</p>
|
|
3338
3343
|
* @public
|
|
3339
3344
|
*/
|
|
3340
3345
|
Provider?: StandardsProvider | undefined;
|
|
@@ -3948,7 +3953,7 @@ export interface SecurityControl {
|
|
|
3948
3953
|
*/
|
|
3949
3954
|
LastUpdateReason?: string | undefined;
|
|
3950
3955
|
/**
|
|
3951
|
-
* <p>The cloud provider whose resources the security control evaluates. For example, <code>AWS</code> or <code>
|
|
3956
|
+
* <p>The cloud provider whose resources the security control evaluates. For example, <code>AWS</code>, <code>Azure</code>, or <code>GCP</code>.</p>
|
|
3952
3957
|
* @public
|
|
3953
3958
|
*/
|
|
3954
3959
|
Provider?: SecurityControlsProvider | undefined;
|
|
@@ -5311,6 +5316,43 @@ export interface ConfigurationPolicySummary {
|
|
|
5311
5316
|
*/
|
|
5312
5317
|
ServiceEnabled?: boolean | undefined;
|
|
5313
5318
|
}
|
|
5319
|
+
/**
|
|
5320
|
+
* <p>The scope configuration for a GCP connector, defining the organization or project scope.</p>
|
|
5321
|
+
* @public
|
|
5322
|
+
*/
|
|
5323
|
+
export interface GcpScopeConfiguration {
|
|
5324
|
+
/**
|
|
5325
|
+
* <p>The type of scope. Valid values are <code>ORGANIZATION</code> and <code>PROJECT</code>.</p>
|
|
5326
|
+
* @public
|
|
5327
|
+
*/
|
|
5328
|
+
ScopeType: GcpScopeType | undefined;
|
|
5329
|
+
/**
|
|
5330
|
+
* <p>The list of scope values. Use an organization ID when the scope type is <code>ORGANIZATION</code>, or project IDs when the scope type is <code>PROJECT</code>.</p>
|
|
5331
|
+
* @public
|
|
5332
|
+
*/
|
|
5333
|
+
ScopeValues?: string[] | undefined;
|
|
5334
|
+
}
|
|
5335
|
+
/**
|
|
5336
|
+
* <p>The detailed GCP configuration for a connector.</p>
|
|
5337
|
+
* @public
|
|
5338
|
+
*/
|
|
5339
|
+
export interface GcpDetail {
|
|
5340
|
+
/**
|
|
5341
|
+
* <p>The ARN of the multi-cloud configuration connector used to establish the connection to GCP.</p>
|
|
5342
|
+
* @public
|
|
5343
|
+
*/
|
|
5344
|
+
AWSConfigConnectorArn: string | undefined;
|
|
5345
|
+
/**
|
|
5346
|
+
* <p>The scope configuration that defines which GCP resources are monitored.</p>
|
|
5347
|
+
* @public
|
|
5348
|
+
*/
|
|
5349
|
+
ScopeConfiguration: GcpScopeConfiguration | undefined;
|
|
5350
|
+
/**
|
|
5351
|
+
* <p>The list of GCP regions being monitored.</p>
|
|
5352
|
+
* @public
|
|
5353
|
+
*/
|
|
5354
|
+
GCPRegions: string[] | undefined;
|
|
5355
|
+
}
|
|
5314
5356
|
/**
|
|
5315
5357
|
* <p>Information about the configuration and status of a Jira Cloud integration.</p>
|
|
5316
5358
|
* @public
|
|
@@ -5367,7 +5409,7 @@ export interface ServiceNowDetail {
|
|
|
5367
5409
|
* <p>The third-party provider detail for a service configuration.</p>
|
|
5368
5410
|
* @public
|
|
5369
5411
|
*/
|
|
5370
|
-
export type ProviderDetail = ProviderDetail.AzureMember | ProviderDetail.JiraCloudMember | ProviderDetail.ServiceNowMember | ProviderDetail.$UnknownMember;
|
|
5412
|
+
export type ProviderDetail = ProviderDetail.AzureMember | ProviderDetail.GCPMember | ProviderDetail.JiraCloudMember | ProviderDetail.ServiceNowMember | ProviderDetail.$UnknownMember;
|
|
5371
5413
|
/**
|
|
5372
5414
|
* @public
|
|
5373
5415
|
*/
|
|
@@ -5380,6 +5422,7 @@ export declare namespace ProviderDetail {
|
|
|
5380
5422
|
JiraCloud: JiraCloudDetail;
|
|
5381
5423
|
ServiceNow?: never;
|
|
5382
5424
|
Azure?: never;
|
|
5425
|
+
GCP?: never;
|
|
5383
5426
|
$unknown?: never;
|
|
5384
5427
|
}
|
|
5385
5428
|
/**
|
|
@@ -5390,6 +5433,7 @@ export declare namespace ProviderDetail {
|
|
|
5390
5433
|
JiraCloud?: never;
|
|
5391
5434
|
ServiceNow: ServiceNowDetail;
|
|
5392
5435
|
Azure?: never;
|
|
5436
|
+
GCP?: never;
|
|
5393
5437
|
$unknown?: never;
|
|
5394
5438
|
}
|
|
5395
5439
|
/**
|
|
@@ -5400,6 +5444,18 @@ export declare namespace ProviderDetail {
|
|
|
5400
5444
|
JiraCloud?: never;
|
|
5401
5445
|
ServiceNow?: never;
|
|
5402
5446
|
Azure: AzureDetail;
|
|
5447
|
+
GCP?: never;
|
|
5448
|
+
$unknown?: never;
|
|
5449
|
+
}
|
|
5450
|
+
/**
|
|
5451
|
+
* <p>Details about a Google Cloud Platform (GCP) CSPM integration.</p>
|
|
5452
|
+
* @public
|
|
5453
|
+
*/
|
|
5454
|
+
interface GCPMember {
|
|
5455
|
+
JiraCloud?: never;
|
|
5456
|
+
ServiceNow?: never;
|
|
5457
|
+
Azure?: never;
|
|
5458
|
+
GCP: GcpDetail;
|
|
5403
5459
|
$unknown?: never;
|
|
5404
5460
|
}
|
|
5405
5461
|
/**
|
|
@@ -5409,6 +5465,7 @@ export declare namespace ProviderDetail {
|
|
|
5409
5465
|
JiraCloud?: never;
|
|
5410
5466
|
ServiceNow?: never;
|
|
5411
5467
|
Azure?: never;
|
|
5468
|
+
GCP?: never;
|
|
5412
5469
|
$unknown: [string, any];
|
|
5413
5470
|
}
|
|
5414
5471
|
/**
|
|
@@ -5419,6 +5476,7 @@ export declare namespace ProviderDetail {
|
|
|
5419
5476
|
JiraCloud: (value: JiraCloudDetail) => T;
|
|
5420
5477
|
ServiceNow: (value: ServiceNowDetail) => T;
|
|
5421
5478
|
Azure: (value: AzureDetail) => T;
|
|
5479
|
+
GCP: (value: GcpDetail) => T;
|
|
5422
5480
|
_: (name: string, value: any) => T;
|
|
5423
5481
|
}
|
|
5424
5482
|
}
|
|
@@ -5961,10 +6019,31 @@ export interface CreateConfigurationPolicyResponse {
|
|
|
5961
6019
|
ConfigurationPolicy?: Policy | undefined;
|
|
5962
6020
|
}
|
|
5963
6021
|
/**
|
|
5964
|
-
* <p>The
|
|
6022
|
+
* <p>The configuration for connecting to a GCP environment.</p>
|
|
5965
6023
|
* @public
|
|
5966
6024
|
*/
|
|
5967
|
-
export
|
|
6025
|
+
export interface GcpProviderConfiguration {
|
|
6026
|
+
/**
|
|
6027
|
+
* <p>The ARN of the multi-cloud configuration connector used to establish the connection to GCP.</p>
|
|
6028
|
+
* @public
|
|
6029
|
+
*/
|
|
6030
|
+
AWSConfigConnectorArn: string | undefined;
|
|
6031
|
+
/**
|
|
6032
|
+
* <p>The scope configuration that defines which GCP resources are monitored.</p>
|
|
6033
|
+
* @public
|
|
6034
|
+
*/
|
|
6035
|
+
ScopeConfiguration: GcpScopeConfiguration | undefined;
|
|
6036
|
+
/**
|
|
6037
|
+
* <p>The list of GCP regions to monitor.</p>
|
|
6038
|
+
* @public
|
|
6039
|
+
*/
|
|
6040
|
+
GCPRegions: string[] | undefined;
|
|
6041
|
+
}
|
|
6042
|
+
/**
|
|
6043
|
+
* <p>The cloud provider configuration for creating a connector. This is a union type that currently supports Azure and GCP.</p>
|
|
6044
|
+
* @public
|
|
6045
|
+
*/
|
|
6046
|
+
export type CspmProviderConfiguration = CspmProviderConfiguration.AzureMember | CspmProviderConfiguration.GCPMember | CspmProviderConfiguration.$UnknownMember;
|
|
5968
6047
|
/**
|
|
5969
6048
|
* @public
|
|
5970
6049
|
*/
|
|
@@ -5975,6 +6054,16 @@ export declare namespace CspmProviderConfiguration {
|
|
|
5975
6054
|
*/
|
|
5976
6055
|
interface AzureMember {
|
|
5977
6056
|
Azure: AzureProviderConfiguration;
|
|
6057
|
+
GCP?: never;
|
|
6058
|
+
$unknown?: never;
|
|
6059
|
+
}
|
|
6060
|
+
/**
|
|
6061
|
+
* <p>The GCP provider configuration.</p>
|
|
6062
|
+
* @public
|
|
6063
|
+
*/
|
|
6064
|
+
interface GCPMember {
|
|
6065
|
+
Azure?: never;
|
|
6066
|
+
GCP: GcpProviderConfiguration;
|
|
5978
6067
|
$unknown?: never;
|
|
5979
6068
|
}
|
|
5980
6069
|
/**
|
|
@@ -5982,6 +6071,7 @@ export declare namespace CspmProviderConfiguration {
|
|
|
5982
6071
|
*/
|
|
5983
6072
|
interface $UnknownMember {
|
|
5984
6073
|
Azure?: never;
|
|
6074
|
+
GCP?: never;
|
|
5985
6075
|
$unknown: [string, any];
|
|
5986
6076
|
}
|
|
5987
6077
|
/**
|
|
@@ -5990,6 +6080,7 @@ export declare namespace CspmProviderConfiguration {
|
|
|
5990
6080
|
*/
|
|
5991
6081
|
interface Visitor<T> {
|
|
5992
6082
|
Azure: (value: AzureProviderConfiguration) => T;
|
|
6083
|
+
GCP: (value: GcpProviderConfiguration) => T;
|
|
5993
6084
|
_: (name: string, value: any) => T;
|
|
5994
6085
|
}
|
|
5995
6086
|
}
|
|
@@ -6079,7 +6170,7 @@ export interface ServiceNowProviderConfiguration {
|
|
|
6079
6170
|
* <p>The initial configuration settings required to establish an integration between Security Hub and third-party provider.</p>
|
|
6080
6171
|
* @public
|
|
6081
6172
|
*/
|
|
6082
|
-
export type ProviderConfiguration = ProviderConfiguration.AzureMember | ProviderConfiguration.JiraCloudMember | ProviderConfiguration.ServiceNowMember | ProviderConfiguration.$UnknownMember;
|
|
6173
|
+
export type ProviderConfiguration = ProviderConfiguration.AzureMember | ProviderConfiguration.GCPMember | ProviderConfiguration.JiraCloudMember | ProviderConfiguration.ServiceNowMember | ProviderConfiguration.$UnknownMember;
|
|
6083
6174
|
/**
|
|
6084
6175
|
* @public
|
|
6085
6176
|
*/
|
|
@@ -6092,6 +6183,7 @@ export declare namespace ProviderConfiguration {
|
|
|
6092
6183
|
JiraCloud: JiraCloudProviderConfiguration;
|
|
6093
6184
|
ServiceNow?: never;
|
|
6094
6185
|
Azure?: never;
|
|
6186
|
+
GCP?: never;
|
|
6095
6187
|
$unknown?: never;
|
|
6096
6188
|
}
|
|
6097
6189
|
/**
|
|
@@ -6102,6 +6194,7 @@ export declare namespace ProviderConfiguration {
|
|
|
6102
6194
|
JiraCloud?: never;
|
|
6103
6195
|
ServiceNow: ServiceNowProviderConfiguration;
|
|
6104
6196
|
Azure?: never;
|
|
6197
|
+
GCP?: never;
|
|
6105
6198
|
$unknown?: never;
|
|
6106
6199
|
}
|
|
6107
6200
|
/**
|
|
@@ -6112,6 +6205,18 @@ export declare namespace ProviderConfiguration {
|
|
|
6112
6205
|
JiraCloud?: never;
|
|
6113
6206
|
ServiceNow?: never;
|
|
6114
6207
|
Azure: AzureProviderConfiguration;
|
|
6208
|
+
GCP?: never;
|
|
6209
|
+
$unknown?: never;
|
|
6210
|
+
}
|
|
6211
|
+
/**
|
|
6212
|
+
* <p>The configuration settings required to establish a CSPM integration with Google Cloud Platform (GCP).</p>
|
|
6213
|
+
* @public
|
|
6214
|
+
*/
|
|
6215
|
+
interface GCPMember {
|
|
6216
|
+
JiraCloud?: never;
|
|
6217
|
+
ServiceNow?: never;
|
|
6218
|
+
Azure?: never;
|
|
6219
|
+
GCP: GcpProviderConfiguration;
|
|
6115
6220
|
$unknown?: never;
|
|
6116
6221
|
}
|
|
6117
6222
|
/**
|
|
@@ -6121,6 +6226,7 @@ export declare namespace ProviderConfiguration {
|
|
|
6121
6226
|
JiraCloud?: never;
|
|
6122
6227
|
ServiceNow?: never;
|
|
6123
6228
|
Azure?: never;
|
|
6229
|
+
GCP?: never;
|
|
6124
6230
|
$unknown: [string, any];
|
|
6125
6231
|
}
|
|
6126
6232
|
/**
|
|
@@ -6131,6 +6237,7 @@ export declare namespace ProviderConfiguration {
|
|
|
6131
6237
|
JiraCloud: (value: JiraCloudProviderConfiguration) => T;
|
|
6132
6238
|
ServiceNow: (value: ServiceNowProviderConfiguration) => T;
|
|
6133
6239
|
Azure: (value: AzureProviderConfiguration) => T;
|
|
6240
|
+
GCP: (value: GcpProviderConfiguration) => T;
|
|
6134
6241
|
_: (name: string, value: any) => T;
|
|
6135
6242
|
}
|
|
6136
6243
|
}
|
|
@@ -6396,10 +6503,10 @@ export interface CriticalitySource {
|
|
|
6396
6503
|
Reason: string | undefined;
|
|
6397
6504
|
}
|
|
6398
6505
|
/**
|
|
6399
|
-
* <p>The detailed cloud provider configuration for a connector. This is a union type that currently supports Azure.</p>
|
|
6506
|
+
* <p>The detailed cloud provider configuration for a connector. This is a union type that currently supports Azure and GCP.</p>
|
|
6400
6507
|
* @public
|
|
6401
6508
|
*/
|
|
6402
|
-
export type CspmProviderDetail = CspmProviderDetail.AzureMember | CspmProviderDetail.$UnknownMember;
|
|
6509
|
+
export type CspmProviderDetail = CspmProviderDetail.AzureMember | CspmProviderDetail.GCPMember | CspmProviderDetail.$UnknownMember;
|
|
6403
6510
|
/**
|
|
6404
6511
|
* @public
|
|
6405
6512
|
*/
|
|
@@ -6410,6 +6517,16 @@ export declare namespace CspmProviderDetail {
|
|
|
6410
6517
|
*/
|
|
6411
6518
|
interface AzureMember {
|
|
6412
6519
|
Azure: AzureDetail;
|
|
6520
|
+
GCP?: never;
|
|
6521
|
+
$unknown?: never;
|
|
6522
|
+
}
|
|
6523
|
+
/**
|
|
6524
|
+
* <p>The GCP provider detail.</p>
|
|
6525
|
+
* @public
|
|
6526
|
+
*/
|
|
6527
|
+
interface GCPMember {
|
|
6528
|
+
Azure?: never;
|
|
6529
|
+
GCP: GcpDetail;
|
|
6413
6530
|
$unknown?: never;
|
|
6414
6531
|
}
|
|
6415
6532
|
/**
|
|
@@ -6417,6 +6534,7 @@ export declare namespace CspmProviderDetail {
|
|
|
6417
6534
|
*/
|
|
6418
6535
|
interface $UnknownMember {
|
|
6419
6536
|
Azure?: never;
|
|
6537
|
+
GCP?: never;
|
|
6420
6538
|
$unknown: [string, any];
|
|
6421
6539
|
}
|
|
6422
6540
|
/**
|
|
@@ -6425,6 +6543,7 @@ export declare namespace CspmProviderDetail {
|
|
|
6425
6543
|
*/
|
|
6426
6544
|
interface Visitor<T> {
|
|
6427
6545
|
Azure: (value: AzureDetail) => T;
|
|
6546
|
+
GCP: (value: GcpDetail) => T;
|
|
6428
6547
|
_: (name: string, value: any) => T;
|
|
6429
6548
|
}
|
|
6430
6549
|
}
|
|
@@ -6538,10 +6657,26 @@ export interface CspmHealthCheck {
|
|
|
6538
6657
|
Issues?: HealthIssue[] | undefined;
|
|
6539
6658
|
}
|
|
6540
6659
|
/**
|
|
6541
|
-
* <p>The
|
|
6660
|
+
* <p>The configuration for updating a GCP connector's scope and regions.</p>
|
|
6661
|
+
* @public
|
|
6662
|
+
*/
|
|
6663
|
+
export interface GcpUpdateConfiguration {
|
|
6664
|
+
/**
|
|
6665
|
+
* <p>The updated scope configuration.</p>
|
|
6666
|
+
* @public
|
|
6667
|
+
*/
|
|
6668
|
+
ScopeConfiguration: GcpScopeConfiguration | undefined;
|
|
6669
|
+
/**
|
|
6670
|
+
* <p>The updated list of GCP regions to monitor.</p>
|
|
6671
|
+
* @public
|
|
6672
|
+
*/
|
|
6673
|
+
GCPRegions: string[] | undefined;
|
|
6674
|
+
}
|
|
6675
|
+
/**
|
|
6676
|
+
* <p>The cloud provider configuration for updating a connector. This is a union type that currently supports Azure and GCP.</p>
|
|
6542
6677
|
* @public
|
|
6543
6678
|
*/
|
|
6544
|
-
export type CspmProviderUpdateConfiguration = CspmProviderUpdateConfiguration.AzureMember | CspmProviderUpdateConfiguration.$UnknownMember;
|
|
6679
|
+
export type CspmProviderUpdateConfiguration = CspmProviderUpdateConfiguration.AzureMember | CspmProviderUpdateConfiguration.GCPMember | CspmProviderUpdateConfiguration.$UnknownMember;
|
|
6545
6680
|
/**
|
|
6546
6681
|
* @public
|
|
6547
6682
|
*/
|
|
@@ -6552,6 +6687,16 @@ export declare namespace CspmProviderUpdateConfiguration {
|
|
|
6552
6687
|
*/
|
|
6553
6688
|
interface AzureMember {
|
|
6554
6689
|
Azure: AzureUpdateConfiguration;
|
|
6690
|
+
GCP?: never;
|
|
6691
|
+
$unknown?: never;
|
|
6692
|
+
}
|
|
6693
|
+
/**
|
|
6694
|
+
* <p>The GCP update configuration.</p>
|
|
6695
|
+
* @public
|
|
6696
|
+
*/
|
|
6697
|
+
interface GCPMember {
|
|
6698
|
+
Azure?: never;
|
|
6699
|
+
GCP: GcpUpdateConfiguration;
|
|
6555
6700
|
$unknown?: never;
|
|
6556
6701
|
}
|
|
6557
6702
|
/**
|
|
@@ -6559,6 +6704,7 @@ export declare namespace CspmProviderUpdateConfiguration {
|
|
|
6559
6704
|
*/
|
|
6560
6705
|
interface $UnknownMember {
|
|
6561
6706
|
Azure?: never;
|
|
6707
|
+
GCP?: never;
|
|
6562
6708
|
$unknown: [string, any];
|
|
6563
6709
|
}
|
|
6564
6710
|
/**
|
|
@@ -6567,6 +6713,7 @@ export declare namespace CspmProviderUpdateConfiguration {
|
|
|
6567
6713
|
*/
|
|
6568
6714
|
interface Visitor<T> {
|
|
6569
6715
|
Azure: (value: AzureUpdateConfiguration) => T;
|
|
6716
|
+
GCP: (value: GcpUpdateConfiguration) => T;
|
|
6570
6717
|
_: (name: string, value: any) => T;
|
|
6571
6718
|
}
|
|
6572
6719
|
}
|
|
@@ -7209,7 +7356,7 @@ export interface DescribeStandardsRequest {
|
|
|
7209
7356
|
*/
|
|
7210
7357
|
MaxResults?: number | undefined;
|
|
7211
7358
|
/**
|
|
7212
|
-
* <p>A list of cloud providers to filter the standards by. For example, specify <code>Azure</code> to return only standards that evaluate Azure resources.</p>
|
|
7359
|
+
* <p>A list of cloud providers to filter the standards by. For example, specify <code>Azure</code> to return only standards that evaluate Azure resources, or <code>GCP</code> to return only standards that evaluate GCP resources.</p>
|
|
7213
7360
|
* @public
|
|
7214
7361
|
*/
|
|
7215
7362
|
Providers?: StandardsProvider[] | undefined;
|
|
@@ -7264,7 +7411,7 @@ export interface Standard {
|
|
|
7264
7411
|
*/
|
|
7265
7412
|
EnabledByDefault?: boolean | undefined;
|
|
7266
7413
|
/**
|
|
7267
|
-
* <p>The cloud provider whose resources the standard evaluates. For example, <code>AWS</code> or <code>
|
|
7414
|
+
* <p>The cloud provider whose resources the standard evaluates. For example, <code>AWS</code>, <code>Azure</code>, or <code>GCP</code>.</p>
|
|
7268
7415
|
* @public
|
|
7269
7416
|
*/
|
|
7270
7417
|
Provider?: StandardsProvider | undefined;
|
|
@@ -8520,7 +8667,7 @@ export interface GetEnabledStandardsRequest {
|
|
|
8520
8667
|
*/
|
|
8521
8668
|
MaxResults?: number | undefined;
|
|
8522
8669
|
/**
|
|
8523
|
-
* <p>A list of cloud providers to filter the enabled standards by. For example, specify <code>Azure</code> to return only enabled standards that evaluate Azure resources.</p>
|
|
8670
|
+
* <p>A list of cloud providers to filter the enabled standards by. For example, specify <code>Azure</code> to return only enabled standards that evaluate Azure resources, or <code>GCP</code> to return only enabled standards that evaluate GCP resources.</p>
|
|
8524
8671
|
* @public
|
|
8525
8672
|
*/
|
|
8526
8673
|
Providers?: StandardsProvider[] | undefined;
|
|
@@ -9052,142 +9199,3 @@ export interface GetMembersRequest {
|
|
|
9052
9199
|
*/
|
|
9053
9200
|
AccountIds: string[] | undefined;
|
|
9054
9201
|
}
|
|
9055
|
-
/**
|
|
9056
|
-
* <p>The details about a member account.</p>
|
|
9057
|
-
* @public
|
|
9058
|
-
*/
|
|
9059
|
-
export interface Member {
|
|
9060
|
-
/**
|
|
9061
|
-
* <p>The Amazon Web Services account ID of the member account.</p>
|
|
9062
|
-
* @public
|
|
9063
|
-
*/
|
|
9064
|
-
AccountId?: string | undefined;
|
|
9065
|
-
/**
|
|
9066
|
-
* <p>The email address of the member account.</p>
|
|
9067
|
-
* @public
|
|
9068
|
-
*/
|
|
9069
|
-
Email?: string | undefined;
|
|
9070
|
-
/**
|
|
9071
|
-
* <p>This is replaced by <code>AdministratorID</code>.</p>
|
|
9072
|
-
* <p>The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.</p>
|
|
9073
|
-
*
|
|
9074
|
-
* @deprecated This field is deprecated, use AdministratorId instead.
|
|
9075
|
-
* @public
|
|
9076
|
-
*/
|
|
9077
|
-
MasterId?: string | undefined;
|
|
9078
|
-
/**
|
|
9079
|
-
* <p>The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.</p>
|
|
9080
|
-
* @public
|
|
9081
|
-
*/
|
|
9082
|
-
AdministratorId?: string | undefined;
|
|
9083
|
-
/**
|
|
9084
|
-
* <p>The status of the relationship between the member account and its administrator account.
|
|
9085
|
-
* </p>
|
|
9086
|
-
* <p>The status can have one of the following values:</p>
|
|
9087
|
-
* <ul>
|
|
9088
|
-
* <li>
|
|
9089
|
-
* <p>
|
|
9090
|
-
* <code>Created</code> - Indicates that the administrator account added the member account,
|
|
9091
|
-
* but has not yet invited the member account.</p>
|
|
9092
|
-
* </li>
|
|
9093
|
-
* <li>
|
|
9094
|
-
* <p>
|
|
9095
|
-
* <code>Invited</code> - Indicates that the administrator account invited the member
|
|
9096
|
-
* account. The member account has not yet responded to the invitation.</p>
|
|
9097
|
-
* </li>
|
|
9098
|
-
* <li>
|
|
9099
|
-
* <p>
|
|
9100
|
-
* <code>Enabled</code> - Indicates that the member account is currently active. For
|
|
9101
|
-
* manually invited member accounts, indicates that the member account accepted the
|
|
9102
|
-
* invitation.</p>
|
|
9103
|
-
* </li>
|
|
9104
|
-
* <li>
|
|
9105
|
-
* <p>
|
|
9106
|
-
* <code>Removed</code> - Indicates that the administrator account disassociated the member
|
|
9107
|
-
* account.</p>
|
|
9108
|
-
* </li>
|
|
9109
|
-
* <li>
|
|
9110
|
-
* <p>
|
|
9111
|
-
* <code>Resigned</code> - Indicates that the member account disassociated themselves
|
|
9112
|
-
* from the administrator account.</p>
|
|
9113
|
-
* </li>
|
|
9114
|
-
* <li>
|
|
9115
|
-
* <p>
|
|
9116
|
-
* <code>Deleted</code> - Indicates that the administrator account deleted the member
|
|
9117
|
-
* account.</p>
|
|
9118
|
-
* </li>
|
|
9119
|
-
* <li>
|
|
9120
|
-
* <p>
|
|
9121
|
-
* <code>AccountSuspended</code> - Indicates that an organization account was suspended from Amazon Web Services at the same time that the administrator account tried to enable the organization account as a member account.</p>
|
|
9122
|
-
* </li>
|
|
9123
|
-
* </ul>
|
|
9124
|
-
* @public
|
|
9125
|
-
*/
|
|
9126
|
-
MemberStatus?: string | undefined;
|
|
9127
|
-
/**
|
|
9128
|
-
* <p>A timestamp for the date and time when the invitation was sent to the member
|
|
9129
|
-
* account.</p>
|
|
9130
|
-
* @public
|
|
9131
|
-
*/
|
|
9132
|
-
InvitedAt?: Date | undefined;
|
|
9133
|
-
/**
|
|
9134
|
-
* <p>The timestamp for the date and time when the member account was updated.</p>
|
|
9135
|
-
* @public
|
|
9136
|
-
*/
|
|
9137
|
-
UpdatedAt?: Date | undefined;
|
|
9138
|
-
}
|
|
9139
|
-
/**
|
|
9140
|
-
* @public
|
|
9141
|
-
*/
|
|
9142
|
-
export interface GetMembersResponse {
|
|
9143
|
-
/**
|
|
9144
|
-
* <p>The list of details about the Security Hub CSPM member accounts.</p>
|
|
9145
|
-
* @public
|
|
9146
|
-
*/
|
|
9147
|
-
Members?: Member[] | undefined;
|
|
9148
|
-
/**
|
|
9149
|
-
* <p>The list of Amazon Web Services accounts that could not be processed. For each account, the list
|
|
9150
|
-
* includes the account ID and the email address.</p>
|
|
9151
|
-
* @public
|
|
9152
|
-
*/
|
|
9153
|
-
UnprocessedAccounts?: Result[] | undefined;
|
|
9154
|
-
}
|
|
9155
|
-
/**
|
|
9156
|
-
* @public
|
|
9157
|
-
*/
|
|
9158
|
-
export interface GetRecommendedPolicyV2Request {
|
|
9159
|
-
/**
|
|
9160
|
-
* <p>The unique identifier (ID) of Security Hub OCSF findings found under the <code>metadata.uid</code> field of the finding.</p>
|
|
9161
|
-
* @public
|
|
9162
|
-
*/
|
|
9163
|
-
MetadataUid: string | undefined;
|
|
9164
|
-
/**
|
|
9165
|
-
* <p>The token used to paginate the <code>RecommendationSteps</code> list returned.
|
|
9166
|
-
* On your first call to <code>GetRecommendedPolicyV2</code>, omit this parameter or set it
|
|
9167
|
-
* to <code>NULL</code>. For subsequent calls, use the <code>NextToken</code> value returned in
|
|
9168
|
-
* the previous response to retrieve the next page of results.</p>
|
|
9169
|
-
* @public
|
|
9170
|
-
*/
|
|
9171
|
-
NextToken?: string | undefined;
|
|
9172
|
-
/**
|
|
9173
|
-
* <p>The maximum number of recommendation steps to return.</p>
|
|
9174
|
-
* @public
|
|
9175
|
-
*/
|
|
9176
|
-
MaxResults?: number | undefined;
|
|
9177
|
-
}
|
|
9178
|
-
/**
|
|
9179
|
-
* <p>Contains information about the reason that the retrieval of a recommended policy for a finding failed.</p>
|
|
9180
|
-
* @public
|
|
9181
|
-
*/
|
|
9182
|
-
export interface RecommendationError {
|
|
9183
|
-
/**
|
|
9184
|
-
* <p>The error code for a failed retrieval of a recommended policy for a finding.</p>
|
|
9185
|
-
* @public
|
|
9186
|
-
*/
|
|
9187
|
-
Code?: string | undefined;
|
|
9188
|
-
/**
|
|
9189
|
-
* <p>The error message for a failed retrieval of a recommended policy for a finding.</p>
|
|
9190
|
-
* @public
|
|
9191
|
-
*/
|
|
9192
|
-
Message?: string | undefined;
|
|
9193
|
-
}
|