@aws-sdk/client-securityhub 3.1170.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +64 -21
  2. package/dist-es/models/enums.js +11 -0
  3. package/dist-es/schemas/schemas_0.js +48 -20
  4. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
  5. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
  6. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -1
  7. package/dist-types/commands/BatchImportFindingsCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateConnectorCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateConnectorV2Command.d.ts +12 -0
  10. package/dist-types/commands/DescribeStandardsCommand.d.ts +42 -2
  11. package/dist-types/commands/GetConnectorCommand.d.ts +12 -0
  12. package/dist-types/commands/GetConnectorV2Command.d.ts +12 -0
  13. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +2 -2
  14. package/dist-types/commands/GetFindingsCommand.d.ts +2 -1
  15. package/dist-types/commands/GetMembersCommand.d.ts +2 -1
  16. package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
  17. package/dist-types/commands/GetRemediationsV2Command.d.ts +1 -1
  18. package/dist-types/commands/GetResourcesV2Command.d.ts +1 -1
  19. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  20. package/dist-types/commands/ListConnectorsCommand.d.ts +14 -2
  21. package/dist-types/commands/ListConnectorsV2Command.d.ts +14 -2
  22. package/dist-types/commands/ListExposuresByRemediationV2Command.d.ts +1 -1
  23. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +66 -6
  24. package/dist-types/commands/UpdateConnectorCommand.d.ts +11 -0
  25. package/dist-types/commands/UpdateConnectorV2Command.d.ts +11 -0
  26. package/dist-types/models/enums.d.ts +19 -0
  27. package/dist-types/models/models_2.d.ts +161 -153
  28. package/dist-types/models/models_3.d.ts +159 -4
  29. package/dist-types/schemas/schemas_0.d.ts +4 -0
  30. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -1
  31. package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +1 -2
  32. package/dist-types/ts3.4/models/enums.d.ts +12 -0
  33. package/dist-types/ts3.4/models/models_2.d.ts +76 -23
  34. package/dist-types/ts3.4/models/models_3.d.ts +36 -2
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  36. package/package.json +1 -1
@@ -2,7 +2,146 @@ import type { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, FindingsExportFormat, FindingsSelectableField, FreeTrialStatusValue, GranularityField, GroupByField, GuidanceFormat, RecommendationStatus, RecommendationType, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus, RemediationStringField, ResourceCategory, ResourceCriticality, ResourceGroupByField, ResourcesTrendsStringField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SoftwareGroupByField, SoftwareStringField, SortOrder, TargetType } from "./enums";
3
3
  import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate, StringFilter } from "./models_0";
4
4
  import type { AwsOrganizationScope } from "./models_1";
5
- import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CriticalitySource, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExportDestination, ExportScopes, ExportSummary, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GroupByResult, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, RecommendationError, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, Result, SortCriterion, Target } from "./models_2";
5
+ import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CriticalitySource, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExportDestination, ExportScopes, ExportSummary, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GcpUpdateConfiguration, GroupByResult, Invitation, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, Result, SortCriterion, Target } from "./models_2";
6
+ /**
7
+ * <p>The details about a member account.</p>
8
+ * @public
9
+ */
10
+ export interface Member {
11
+ /**
12
+ * <p>The Amazon Web Services account ID of the member account.</p>
13
+ * @public
14
+ */
15
+ AccountId?: string | undefined;
16
+ /**
17
+ * <p>The email address of the member account.</p>
18
+ * @public
19
+ */
20
+ Email?: string | undefined;
21
+ /**
22
+ * <p>This is replaced by <code>AdministratorID</code>.</p>
23
+ * <p>The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.</p>
24
+ *
25
+ * @deprecated This field is deprecated, use AdministratorId instead.
26
+ * @public
27
+ */
28
+ MasterId?: string | undefined;
29
+ /**
30
+ * <p>The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.</p>
31
+ * @public
32
+ */
33
+ AdministratorId?: string | undefined;
34
+ /**
35
+ * <p>The status of the relationship between the member account and its administrator account.
36
+ * </p>
37
+ * <p>The status can have one of the following values:</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <code>Created</code> - Indicates that the administrator account added the member account,
42
+ * but has not yet invited the member account.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>Invited</code> - Indicates that the administrator account invited the member
47
+ * account. The member account has not yet responded to the invitation.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>Enabled</code> - Indicates that the member account is currently active. For
52
+ * manually invited member accounts, indicates that the member account accepted the
53
+ * invitation.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>Removed</code> - Indicates that the administrator account disassociated the member
58
+ * account.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>
62
+ * <code>Resigned</code> - Indicates that the member account disassociated themselves
63
+ * from the administrator account.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>Deleted</code> - Indicates that the administrator account deleted the member
68
+ * account.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <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>
73
+ * </li>
74
+ * </ul>
75
+ * @public
76
+ */
77
+ MemberStatus?: string | undefined;
78
+ /**
79
+ * <p>A timestamp for the date and time when the invitation was sent to the member
80
+ * account.</p>
81
+ * @public
82
+ */
83
+ InvitedAt?: Date | undefined;
84
+ /**
85
+ * <p>The timestamp for the date and time when the member account was updated.</p>
86
+ * @public
87
+ */
88
+ UpdatedAt?: Date | undefined;
89
+ }
90
+ /**
91
+ * @public
92
+ */
93
+ export interface GetMembersResponse {
94
+ /**
95
+ * <p>The list of details about the Security Hub CSPM member accounts.</p>
96
+ * @public
97
+ */
98
+ Members?: Member[] | undefined;
99
+ /**
100
+ * <p>The list of Amazon Web Services accounts that could not be processed. For each account, the list
101
+ * includes the account ID and the email address.</p>
102
+ * @public
103
+ */
104
+ UnprocessedAccounts?: Result[] | undefined;
105
+ }
106
+ /**
107
+ * @public
108
+ */
109
+ export interface GetRecommendedPolicyV2Request {
110
+ /**
111
+ * <p>The unique identifier (ID) of Security Hub OCSF findings found under the <code>metadata.uid</code> field of the finding.</p>
112
+ * @public
113
+ */
114
+ MetadataUid: string | undefined;
115
+ /**
116
+ * <p>The token used to paginate the <code>RecommendationSteps</code> list returned.
117
+ * On your first call to <code>GetRecommendedPolicyV2</code>, omit this parameter or set it
118
+ * to <code>NULL</code>. For subsequent calls, use the <code>NextToken</code> value returned in
119
+ * the previous response to retrieve the next page of results.</p>
120
+ * @public
121
+ */
122
+ NextToken?: string | undefined;
123
+ /**
124
+ * <p>The maximum number of recommendation steps to return.</p>
125
+ * @public
126
+ */
127
+ MaxResults?: number | undefined;
128
+ }
129
+ /**
130
+ * <p>Contains information about the reason that the retrieval of a recommended policy for a finding failed.</p>
131
+ * @public
132
+ */
133
+ export interface RecommendationError {
134
+ /**
135
+ * <p>The error code for a failed retrieval of a recommended policy for a finding.</p>
136
+ * @public
137
+ */
138
+ Code?: string | undefined;
139
+ /**
140
+ * <p>The error message for a failed retrieval of a recommended policy for a finding.</p>
141
+ * @public
142
+ */
143
+ Message?: string | undefined;
144
+ }
6
145
  /**
7
146
  * <p>Contains information about the action to take for a policy in an unused permissions finding.</p>
8
147
  * @public
@@ -1177,7 +1316,7 @@ export interface SecurityControlDefinition {
1177
1316
  */
1178
1317
  ParameterDefinitions?: Record<string, ParameterDefinition> | undefined;
1179
1318
  /**
1180
- * <p>The cloud provider whose resources the security control evaluates. For example, <code>AWS</code> or <code>Azure</code>.</p>
1319
+ * <p>The cloud provider whose resources the security control evaluates. For example, <code>AWS</code>, <code>Azure</code>, or <code>GCP</code>.</p>
1181
1320
  * @public
1182
1321
  */
1183
1322
  Provider?: SecurityControlsProvider | undefined;
@@ -2043,7 +2182,7 @@ export interface ListSecurityControlDefinitionsRequest {
2043
2182
  */
2044
2183
  MaxResults?: number | undefined;
2045
2184
  /**
2046
- * <p>A list of cloud providers to filter the security control definitions by. For example, specify <code>Azure</code> to return only controls that evaluate Azure resources.</p>
2185
+ * <p>A list of cloud providers to filter the security control definitions by. For example, specify <code>Azure</code> to return only controls that evaluate Azure resources, or <code>GCP</code> to return only controls that evaluate GCP resources.</p>
2047
2186
  * @public
2048
2187
  */
2049
2188
  Providers?: SecurityControlsProvider[] | undefined;
@@ -2217,7 +2356,7 @@ export interface ServiceNowUpdateConfiguration {
2217
2356
  * <p>The parameters required to update the configuration of an integration provider.</p>
2218
2357
  * @public
2219
2358
  */
2220
- export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.AzureMember | ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.ServiceNowMember | ProviderUpdateConfiguration.$UnknownMember;
2359
+ export type ProviderUpdateConfiguration = ProviderUpdateConfiguration.AzureMember | ProviderUpdateConfiguration.GCPMember | ProviderUpdateConfiguration.JiraCloudMember | ProviderUpdateConfiguration.ServiceNowMember | ProviderUpdateConfiguration.$UnknownMember;
2221
2360
  /**
2222
2361
  * @public
2223
2362
  */
@@ -2230,6 +2369,7 @@ export declare namespace ProviderUpdateConfiguration {
2230
2369
  JiraCloud: JiraCloudUpdateConfiguration;
2231
2370
  ServiceNow?: never;
2232
2371
  Azure?: never;
2372
+ GCP?: never;
2233
2373
  $unknown?: never;
2234
2374
  }
2235
2375
  /**
@@ -2240,6 +2380,7 @@ export declare namespace ProviderUpdateConfiguration {
2240
2380
  JiraCloud?: never;
2241
2381
  ServiceNow: ServiceNowUpdateConfiguration;
2242
2382
  Azure?: never;
2383
+ GCP?: never;
2243
2384
  $unknown?: never;
2244
2385
  }
2245
2386
  /**
@@ -2250,6 +2391,18 @@ export declare namespace ProviderUpdateConfiguration {
2250
2391
  JiraCloud?: never;
2251
2392
  ServiceNow?: never;
2252
2393
  Azure: AzureUpdateConfiguration;
2394
+ GCP?: never;
2395
+ $unknown?: never;
2396
+ }
2397
+ /**
2398
+ * <p>The parameters required to update the configuration for a Google Cloud Platform (GCP) CSPM integration.</p>
2399
+ * @public
2400
+ */
2401
+ interface GCPMember {
2402
+ JiraCloud?: never;
2403
+ ServiceNow?: never;
2404
+ Azure?: never;
2405
+ GCP: GcpUpdateConfiguration;
2253
2406
  $unknown?: never;
2254
2407
  }
2255
2408
  /**
@@ -2259,6 +2412,7 @@ export declare namespace ProviderUpdateConfiguration {
2259
2412
  JiraCloud?: never;
2260
2413
  ServiceNow?: never;
2261
2414
  Azure?: never;
2415
+ GCP?: never;
2262
2416
  $unknown: [string, any];
2263
2417
  }
2264
2418
  /**
@@ -2269,6 +2423,7 @@ export declare namespace ProviderUpdateConfiguration {
2269
2423
  JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
2270
2424
  ServiceNow: (value: ServiceNowUpdateConfiguration) => T;
2271
2425
  Azure: (value: AzureUpdateConfiguration) => T;
2426
+ GCP: (value: GcpUpdateConfiguration) => T;
2272
2427
  _: (name: string, value: any) => T;
2273
2428
  }
2274
2429
  }
@@ -728,6 +728,10 @@ export declare var FirewallPolicyStatefulRuleGroupReferencesDetails$: StaticStru
728
728
  export declare var FirewallPolicyStatelessCustomActionsDetails$: StaticStructureSchema;
729
729
  export declare var FirewallPolicyStatelessRuleGroupReferencesDetails$: StaticStructureSchema;
730
730
  export declare var FreeTrialStatus$: StaticStructureSchema;
731
+ export declare var GcpDetail$: StaticStructureSchema;
732
+ export declare var GcpProviderConfiguration$: StaticStructureSchema;
733
+ export declare var GcpScopeConfiguration$: StaticStructureSchema;
734
+ export declare var GcpUpdateConfiguration$: StaticStructureSchema;
731
735
  export declare var GenerateRecommendedPolicyV2Request$: StaticStructureSchema;
732
736
  export declare var GenerateRecommendedPolicyV2Response$: StaticStructureSchema;
733
737
  export declare var GeneratorDetails$: StaticStructureSchema;
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetMembersRequest, GetMembersResponse } from "../models/models_2";
2
+ import { GetMembersRequest } from "../models/models_2";
3
+ import { GetMembersResponse } from "../models/models_3";
3
4
  export { __MetadataBearer };
4
5
  export interface GetMembersCommandInput extends GetMembersRequest {}
5
6
  export interface GetMembersCommandOutput extends GetMembersResponse, __MetadataBearer {}
@@ -1,6 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetRecommendedPolicyV2Request } from "../models/models_2";
3
- import { GetRecommendedPolicyV2Response } from "../models/models_3";
2
+ import { GetRecommendedPolicyV2Request, GetRecommendedPolicyV2Response } from "../models/models_3";
4
3
  export { __MetadataBearer };
5
4
  export interface GetRecommendedPolicyV2CommandInput extends GetRecommendedPolicyV2Request {}
6
5
  export interface GetRecommendedPolicyV2CommandOutput
@@ -196,6 +196,7 @@ export type Partition = (typeof Partition)[keyof typeof Partition];
196
196
  export declare const CloudProviderName: {
197
197
  readonly AWS: "AWS";
198
198
  readonly AZURE: "Azure";
199
+ readonly GCP: "GCP";
199
200
  };
200
201
  export type CloudProviderName = (typeof CloudProviderName)[keyof typeof CloudProviderName];
201
202
  export declare const ThreatIntelIndicatorCategory: {
@@ -252,6 +253,7 @@ export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
252
253
  export declare const StandardsProvider: {
253
254
  readonly AWS: "AWS";
254
255
  readonly Azure: "Azure";
256
+ readonly GCP: "GCP";
255
257
  };
256
258
  export type StandardsProvider = (typeof StandardsProvider)[keyof typeof StandardsProvider];
257
259
  export declare const StandardsControlsUpdatable: {
@@ -289,6 +291,7 @@ export type ParameterValueType = (typeof ParameterValueType)[keyof typeof Parame
289
291
  export declare const SecurityControlsProvider: {
290
292
  readonly AWS: "AWS";
291
293
  readonly Azure: "Azure";
294
+ readonly GCP: "GCP";
292
295
  };
293
296
  export type SecurityControlsProvider =
294
297
  (typeof SecurityControlsProvider)[keyof typeof SecurityControlsProvider];
@@ -466,6 +469,7 @@ export declare const ConnectorAuthStatus: {
466
469
  export type ConnectorAuthStatus = (typeof ConnectorAuthStatus)[keyof typeof ConnectorAuthStatus];
467
470
  export declare const ConnectorProviderName: {
468
471
  readonly AZURE: "AZURE";
472
+ readonly GCP: "GCP";
469
473
  readonly JIRA_CLOUD: "JIRA_CLOUD";
470
474
  readonly SERVICENOW: "SERVICENOW";
471
475
  };
@@ -490,6 +494,11 @@ export declare const EnablementStatus: {
490
494
  readonly PENDING_UPDATE: "PENDING_UPDATE";
491
495
  };
492
496
  export type EnablementStatus = (typeof EnablementStatus)[keyof typeof EnablementStatus];
497
+ export declare const GcpScopeType: {
498
+ readonly ORGANIZATION: "ORGANIZATION";
499
+ readonly PROJECT: "PROJECT";
500
+ };
501
+ export type GcpScopeType = (typeof GcpScopeType)[keyof typeof GcpScopeType];
493
502
  export declare const ControlFindingGenerator: {
494
503
  readonly SECURITY_CONTROL: "SECURITY_CONTROL";
495
504
  readonly STANDARD_CONTROL: "STANDARD_CONTROL";
@@ -569,6 +578,8 @@ export declare const TicketCreationMode: {
569
578
  export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof TicketCreationMode];
570
579
  export declare const CriticalitySourceType: {
571
580
  readonly AUTOMATION_RULE: "AutomationRule";
581
+ readonly CLOUDWATCH_TELEMETRY_INFERENCE: "CloudWatchTelemetryInference";
582
+ readonly INSTALLED_SOFTWARE_AND_PACKAGE_INFERENCE: "InstalledSoftwareAndPackageInference";
572
583
  readonly RESOURCE_NAME: "ResourceName";
573
584
  readonly TAG_INFERENCE: "TagInference";
574
585
  };
@@ -576,6 +587,7 @@ export type CriticalitySourceType =
576
587
  (typeof CriticalitySourceType)[keyof typeof CriticalitySourceType];
577
588
  export declare const CspmConnectorProviderName: {
578
589
  readonly AZURE: "AZURE";
590
+ readonly GCP: "GCP";
579
591
  };
580
592
  export type CspmConnectorProviderName =
581
593
  (typeof CspmConnectorProviderName)[keyof typeof CspmConnectorProviderName];
@@ -26,6 +26,7 @@ import {
26
26
  FindingHistoryUpdateSourceType,
27
27
  FindingsExportFormat,
28
28
  FindingsTrendsStringField,
29
+ GcpScopeType,
29
30
  GranularityField,
30
31
  HealthIssueCode,
31
32
  IntegrationType,
@@ -435,6 +436,7 @@ export interface ResourceDetails {
435
436
  AwsEc2ClientVpnEndpoint?: AwsEc2ClientVpnEndpointDetails | undefined;
436
437
  CodeRepository?: CodeRepositoryDetails | undefined;
437
438
  AzureResource?: __DocumentType | undefined;
439
+ GcpResource?: __DocumentType | undefined;
438
440
  }
439
441
  export interface ResourceOwnerAccount {
440
442
  Id?: string | undefined;
@@ -1310,6 +1312,15 @@ export interface ConfigurationPolicySummary {
1310
1312
  UpdatedAt?: Date | undefined;
1311
1313
  ServiceEnabled?: boolean | undefined;
1312
1314
  }
1315
+ export interface GcpScopeConfiguration {
1316
+ ScopeType: GcpScopeType | undefined;
1317
+ ScopeValues?: string[] | undefined;
1318
+ }
1319
+ export interface GcpDetail {
1320
+ AWSConfigConnectorArn: string | undefined;
1321
+ ScopeConfiguration: GcpScopeConfiguration | undefined;
1322
+ GCPRegions: string[] | undefined;
1323
+ }
1313
1324
  export interface JiraCloudDetail {
1314
1325
  CloudId?: string | undefined;
1315
1326
  ProjectKey?: string | undefined;
@@ -1324,6 +1335,7 @@ export interface ServiceNowDetail {
1324
1335
  }
1325
1336
  export type ProviderDetail =
1326
1337
  | ProviderDetail.AzureMember
1338
+ | ProviderDetail.GCPMember
1327
1339
  | ProviderDetail.JiraCloudMember
1328
1340
  | ProviderDetail.ServiceNowMember
1329
1341
  | ProviderDetail.$UnknownMember;
@@ -1332,30 +1344,42 @@ export declare namespace ProviderDetail {
1332
1344
  JiraCloud: JiraCloudDetail;
1333
1345
  ServiceNow?: never;
1334
1346
  Azure?: never;
1347
+ GCP?: never;
1335
1348
  $unknown?: never;
1336
1349
  }
1337
1350
  interface ServiceNowMember {
1338
1351
  JiraCloud?: never;
1339
1352
  ServiceNow: ServiceNowDetail;
1340
1353
  Azure?: never;
1354
+ GCP?: never;
1341
1355
  $unknown?: never;
1342
1356
  }
1343
1357
  interface AzureMember {
1344
1358
  JiraCloud?: never;
1345
1359
  ServiceNow?: never;
1346
1360
  Azure: AzureDetail;
1361
+ GCP?: never;
1362
+ $unknown?: never;
1363
+ }
1364
+ interface GCPMember {
1365
+ JiraCloud?: never;
1366
+ ServiceNow?: never;
1367
+ Azure?: never;
1368
+ GCP: GcpDetail;
1347
1369
  $unknown?: never;
1348
1370
  }
1349
1371
  interface $UnknownMember {
1350
1372
  JiraCloud?: never;
1351
1373
  ServiceNow?: never;
1352
1374
  Azure?: never;
1375
+ GCP?: never;
1353
1376
  $unknown: [string, any];
1354
1377
  }
1355
1378
  interface Visitor<T> {
1356
1379
  JiraCloud: (value: JiraCloudDetail) => T;
1357
1380
  ServiceNow: (value: ServiceNowDetail) => T;
1358
1381
  Azure: (value: AzureDetail) => T;
1382
+ GCP: (value: GcpDetail) => T;
1359
1383
  _: (name: string, value: any) => T;
1360
1384
  }
1361
1385
  }
@@ -1471,20 +1495,34 @@ export interface CreateConfigurationPolicyResponse {
1471
1495
  CreatedAt?: Date | undefined;
1472
1496
  ConfigurationPolicy?: Policy | undefined;
1473
1497
  }
1498
+ export interface GcpProviderConfiguration {
1499
+ AWSConfigConnectorArn: string | undefined;
1500
+ ScopeConfiguration: GcpScopeConfiguration | undefined;
1501
+ GCPRegions: string[] | undefined;
1502
+ }
1474
1503
  export type CspmProviderConfiguration =
1475
1504
  | CspmProviderConfiguration.AzureMember
1505
+ | CspmProviderConfiguration.GCPMember
1476
1506
  | CspmProviderConfiguration.$UnknownMember;
1477
1507
  export declare namespace CspmProviderConfiguration {
1478
1508
  interface AzureMember {
1479
1509
  Azure: AzureProviderConfiguration;
1510
+ GCP?: never;
1511
+ $unknown?: never;
1512
+ }
1513
+ interface GCPMember {
1514
+ Azure?: never;
1515
+ GCP: GcpProviderConfiguration;
1480
1516
  $unknown?: never;
1481
1517
  }
1482
1518
  interface $UnknownMember {
1483
1519
  Azure?: never;
1520
+ GCP?: never;
1484
1521
  $unknown: [string, any];
1485
1522
  }
1486
1523
  interface Visitor<T> {
1487
1524
  Azure: (value: AzureProviderConfiguration) => T;
1525
+ GCP: (value: GcpProviderConfiguration) => T;
1488
1526
  _: (name: string, value: any) => T;
1489
1527
  }
1490
1528
  }
@@ -1510,6 +1548,7 @@ export interface ServiceNowProviderConfiguration {
1510
1548
  }
1511
1549
  export type ProviderConfiguration =
1512
1550
  | ProviderConfiguration.AzureMember
1551
+ | ProviderConfiguration.GCPMember
1513
1552
  | ProviderConfiguration.JiraCloudMember
1514
1553
  | ProviderConfiguration.ServiceNowMember
1515
1554
  | ProviderConfiguration.$UnknownMember;
@@ -1518,30 +1557,42 @@ export declare namespace ProviderConfiguration {
1518
1557
  JiraCloud: JiraCloudProviderConfiguration;
1519
1558
  ServiceNow?: never;
1520
1559
  Azure?: never;
1560
+ GCP?: never;
1521
1561
  $unknown?: never;
1522
1562
  }
1523
1563
  interface ServiceNowMember {
1524
1564
  JiraCloud?: never;
1525
1565
  ServiceNow: ServiceNowProviderConfiguration;
1526
1566
  Azure?: never;
1567
+ GCP?: never;
1527
1568
  $unknown?: never;
1528
1569
  }
1529
1570
  interface AzureMember {
1530
1571
  JiraCloud?: never;
1531
1572
  ServiceNow?: never;
1532
1573
  Azure: AzureProviderConfiguration;
1574
+ GCP?: never;
1575
+ $unknown?: never;
1576
+ }
1577
+ interface GCPMember {
1578
+ JiraCloud?: never;
1579
+ ServiceNow?: never;
1580
+ Azure?: never;
1581
+ GCP: GcpProviderConfiguration;
1533
1582
  $unknown?: never;
1534
1583
  }
1535
1584
  interface $UnknownMember {
1536
1585
  JiraCloud?: never;
1537
1586
  ServiceNow?: never;
1538
1587
  Azure?: never;
1588
+ GCP?: never;
1539
1589
  $unknown: [string, any];
1540
1590
  }
1541
1591
  interface Visitor<T> {
1542
1592
  JiraCloud: (value: JiraCloudProviderConfiguration) => T;
1543
1593
  ServiceNow: (value: ServiceNowProviderConfiguration) => T;
1544
1594
  Azure: (value: AzureProviderConfiguration) => T;
1595
+ GCP: (value: GcpProviderConfiguration) => T;
1545
1596
  _: (name: string, value: any) => T;
1546
1597
  }
1547
1598
  }
@@ -1602,18 +1653,29 @@ export interface CriticalitySource {
1602
1653
  Source: CriticalitySourceType | undefined;
1603
1654
  Reason: string | undefined;
1604
1655
  }
1605
- export type CspmProviderDetail = CspmProviderDetail.AzureMember | CspmProviderDetail.$UnknownMember;
1656
+ export type CspmProviderDetail =
1657
+ | CspmProviderDetail.AzureMember
1658
+ | CspmProviderDetail.GCPMember
1659
+ | CspmProviderDetail.$UnknownMember;
1606
1660
  export declare namespace CspmProviderDetail {
1607
1661
  interface AzureMember {
1608
1662
  Azure: AzureDetail;
1663
+ GCP?: never;
1664
+ $unknown?: never;
1665
+ }
1666
+ interface GCPMember {
1667
+ Azure?: never;
1668
+ GCP: GcpDetail;
1609
1669
  $unknown?: never;
1610
1670
  }
1611
1671
  interface $UnknownMember {
1612
1672
  Azure?: never;
1673
+ GCP?: never;
1613
1674
  $unknown: [string, any];
1614
1675
  }
1615
1676
  interface Visitor<T> {
1616
1677
  Azure: (value: AzureDetail) => T;
1678
+ GCP: (value: GcpDetail) => T;
1617
1679
  _: (name: string, value: any) => T;
1618
1680
  }
1619
1681
  }
@@ -1642,20 +1704,33 @@ export interface CspmHealthCheck {
1642
1704
  LastCheckedAt: Date | undefined;
1643
1705
  Issues?: HealthIssue[] | undefined;
1644
1706
  }
1707
+ export interface GcpUpdateConfiguration {
1708
+ ScopeConfiguration: GcpScopeConfiguration | undefined;
1709
+ GCPRegions: string[] | undefined;
1710
+ }
1645
1711
  export type CspmProviderUpdateConfiguration =
1646
1712
  | CspmProviderUpdateConfiguration.AzureMember
1713
+ | CspmProviderUpdateConfiguration.GCPMember
1647
1714
  | CspmProviderUpdateConfiguration.$UnknownMember;
1648
1715
  export declare namespace CspmProviderUpdateConfiguration {
1649
1716
  interface AzureMember {
1650
1717
  Azure: AzureUpdateConfiguration;
1718
+ GCP?: never;
1719
+ $unknown?: never;
1720
+ }
1721
+ interface GCPMember {
1722
+ Azure?: never;
1723
+ GCP: GcpUpdateConfiguration;
1651
1724
  $unknown?: never;
1652
1725
  }
1653
1726
  interface $UnknownMember {
1654
1727
  Azure?: never;
1728
+ GCP?: never;
1655
1729
  $unknown: [string, any];
1656
1730
  }
1657
1731
  interface Visitor<T> {
1658
1732
  Azure: (value: AzureUpdateConfiguration) => T;
1733
+ GCP: (value: GcpUpdateConfiguration) => T;
1659
1734
  _: (name: string, value: any) => T;
1660
1735
  }
1661
1736
  }
@@ -2194,25 +2269,3 @@ export interface GetMasterAccountResponse {
2194
2269
  export interface GetMembersRequest {
2195
2270
  AccountIds: string[] | undefined;
2196
2271
  }
2197
- export interface Member {
2198
- AccountId?: string | undefined;
2199
- Email?: string | undefined;
2200
- MasterId?: string | undefined;
2201
- AdministratorId?: string | undefined;
2202
- MemberStatus?: string | undefined;
2203
- InvitedAt?: Date | undefined;
2204
- UpdatedAt?: Date | undefined;
2205
- }
2206
- export interface GetMembersResponse {
2207
- Members?: Member[] | undefined;
2208
- UnprocessedAccounts?: Result[] | undefined;
2209
- }
2210
- export interface GetRecommendedPolicyV2Request {
2211
- MetadataUid: string | undefined;
2212
- NextToken?: string | undefined;
2213
- MaxResults?: number | undefined;
2214
- }
2215
- export interface RecommendationError {
2216
- Code?: string | undefined;
2217
- Message?: string | undefined;
2218
- }
@@ -76,9 +76,9 @@ import {
76
76
  FindingAggregator,
77
77
  FindingScopes,
78
78
  FindingsTrendsStringFilter,
79
+ GcpUpdateConfiguration,
79
80
  GroupByResult,
80
81
  Invitation,
81
- Member,
82
82
  OcsfBooleanFilter,
83
83
  OcsfDateFilter,
84
84
  OcsfIpFilter,
@@ -88,7 +88,6 @@ import {
88
88
  OrganizationConfiguration,
89
89
  ParameterConfiguration,
90
90
  Policy,
91
- RecommendationError,
92
91
  ResourcesDateFilter,
93
92
  ResourcesMapFilter,
94
93
  ResourcesNumberFilter,
@@ -97,6 +96,28 @@ import {
97
96
  SortCriterion,
98
97
  Target,
99
98
  } from "./models_2";
99
+ export interface Member {
100
+ AccountId?: string | undefined;
101
+ Email?: string | undefined;
102
+ MasterId?: string | undefined;
103
+ AdministratorId?: string | undefined;
104
+ MemberStatus?: string | undefined;
105
+ InvitedAt?: Date | undefined;
106
+ UpdatedAt?: Date | undefined;
107
+ }
108
+ export interface GetMembersResponse {
109
+ Members?: Member[] | undefined;
110
+ UnprocessedAccounts?: Result[] | undefined;
111
+ }
112
+ export interface GetRecommendedPolicyV2Request {
113
+ MetadataUid: string | undefined;
114
+ NextToken?: string | undefined;
115
+ MaxResults?: number | undefined;
116
+ }
117
+ export interface RecommendationError {
118
+ Code?: string | undefined;
119
+ Message?: string | undefined;
120
+ }
100
121
  export interface UnusedPermissionsRecommendationStep {
101
122
  RecommendedAction?: string | undefined;
102
123
  ExistingPolicy?: string | undefined;
@@ -578,6 +599,7 @@ export interface ServiceNowUpdateConfiguration {
578
599
  }
579
600
  export type ProviderUpdateConfiguration =
580
601
  | ProviderUpdateConfiguration.AzureMember
602
+ | ProviderUpdateConfiguration.GCPMember
581
603
  | ProviderUpdateConfiguration.JiraCloudMember
582
604
  | ProviderUpdateConfiguration.ServiceNowMember
583
605
  | ProviderUpdateConfiguration.$UnknownMember;
@@ -586,30 +608,42 @@ export declare namespace ProviderUpdateConfiguration {
586
608
  JiraCloud: JiraCloudUpdateConfiguration;
587
609
  ServiceNow?: never;
588
610
  Azure?: never;
611
+ GCP?: never;
589
612
  $unknown?: never;
590
613
  }
591
614
  interface ServiceNowMember {
592
615
  JiraCloud?: never;
593
616
  ServiceNow: ServiceNowUpdateConfiguration;
594
617
  Azure?: never;
618
+ GCP?: never;
595
619
  $unknown?: never;
596
620
  }
597
621
  interface AzureMember {
598
622
  JiraCloud?: never;
599
623
  ServiceNow?: never;
600
624
  Azure: AzureUpdateConfiguration;
625
+ GCP?: never;
626
+ $unknown?: never;
627
+ }
628
+ interface GCPMember {
629
+ JiraCloud?: never;
630
+ ServiceNow?: never;
631
+ Azure?: never;
632
+ GCP: GcpUpdateConfiguration;
601
633
  $unknown?: never;
602
634
  }
603
635
  interface $UnknownMember {
604
636
  JiraCloud?: never;
605
637
  ServiceNow?: never;
606
638
  Azure?: never;
639
+ GCP?: never;
607
640
  $unknown: [string, any];
608
641
  }
609
642
  interface Visitor<T> {
610
643
  JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
611
644
  ServiceNow: (value: ServiceNowUpdateConfiguration) => T;
612
645
  Azure: (value: AzureUpdateConfiguration) => T;
646
+ GCP: (value: GcpUpdateConfiguration) => T;
613
647
  _: (name: string, value: any) => T;
614
648
  }
615
649
  }
@@ -728,6 +728,10 @@ export declare var FirewallPolicyStatefulRuleGroupReferencesDetails$: StaticStru
728
728
  export declare var FirewallPolicyStatelessCustomActionsDetails$: StaticStructureSchema;
729
729
  export declare var FirewallPolicyStatelessRuleGroupReferencesDetails$: StaticStructureSchema;
730
730
  export declare var FreeTrialStatus$: StaticStructureSchema;
731
+ export declare var GcpDetail$: StaticStructureSchema;
732
+ export declare var GcpProviderConfiguration$: StaticStructureSchema;
733
+ export declare var GcpScopeConfiguration$: StaticStructureSchema;
734
+ export declare var GcpUpdateConfiguration$: StaticStructureSchema;
731
735
  export declare var GenerateRecommendedPolicyV2Request$: StaticStructureSchema;
732
736
  export declare var GenerateRecommendedPolicyV2Response$: StaticStructureSchema;
733
737
  export declare var GeneratorDetails$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
- "version": "3.1170.0",
3
+ "version": "3.1171.0",
4
4
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityhub",
6
6
  "license": "Apache-2.0",