aws-sdk-securityhub 1.180.0 → 1.182.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +181 -24
- data/lib/aws-sdk-securityhub/client_api.rb +40 -0
- data/lib/aws-sdk-securityhub/types.rb +148 -10
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +26 -8
- data/sig/params.rbs +9 -0
- data/sig/types.rbs +59 -14
- metadata +3 -3
|
@@ -24115,7 +24115,7 @@ module Aws::SecurityHub
|
|
|
24115
24115
|
end
|
|
24116
24116
|
|
|
24117
24117
|
# The cloud provider configuration for creating a connector. This is a
|
|
24118
|
-
# union type that currently supports Azure.
|
|
24118
|
+
# union type that currently supports Azure and GCP.
|
|
24119
24119
|
#
|
|
24120
24120
|
# @note CspmProviderConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
24121
24121
|
#
|
|
@@ -24123,21 +24123,27 @@ module Aws::SecurityHub
|
|
|
24123
24123
|
# The Azure provider configuration.
|
|
24124
24124
|
# @return [Types::AzureProviderConfiguration]
|
|
24125
24125
|
#
|
|
24126
|
+
# @!attribute [rw] gcp
|
|
24127
|
+
# The GCP provider configuration.
|
|
24128
|
+
# @return [Types::GcpProviderConfiguration]
|
|
24129
|
+
#
|
|
24126
24130
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CspmProviderConfiguration AWS API Documentation
|
|
24127
24131
|
#
|
|
24128
24132
|
class CspmProviderConfiguration < Struct.new(
|
|
24129
24133
|
:azure,
|
|
24134
|
+
:gcp,
|
|
24130
24135
|
:unknown)
|
|
24131
24136
|
SENSITIVE = []
|
|
24132
24137
|
include Aws::Structure
|
|
24133
24138
|
include Aws::Structure::Union
|
|
24134
24139
|
|
|
24135
24140
|
class Azure < CspmProviderConfiguration; end
|
|
24141
|
+
class Gcp < CspmProviderConfiguration; end
|
|
24136
24142
|
class Unknown < CspmProviderConfiguration; end
|
|
24137
24143
|
end
|
|
24138
24144
|
|
|
24139
24145
|
# The detailed cloud provider configuration for a connector. This is a
|
|
24140
|
-
# union type that currently supports Azure.
|
|
24146
|
+
# union type that currently supports Azure and GCP.
|
|
24141
24147
|
#
|
|
24142
24148
|
# @note CspmProviderDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CspmProviderDetail corresponding to the set member.
|
|
24143
24149
|
#
|
|
@@ -24145,16 +24151,22 @@ module Aws::SecurityHub
|
|
|
24145
24151
|
# The Azure provider detail.
|
|
24146
24152
|
# @return [Types::AzureDetail]
|
|
24147
24153
|
#
|
|
24154
|
+
# @!attribute [rw] gcp
|
|
24155
|
+
# The GCP provider detail.
|
|
24156
|
+
# @return [Types::GcpDetail]
|
|
24157
|
+
#
|
|
24148
24158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CspmProviderDetail AWS API Documentation
|
|
24149
24159
|
#
|
|
24150
24160
|
class CspmProviderDetail < Struct.new(
|
|
24151
24161
|
:azure,
|
|
24162
|
+
:gcp,
|
|
24152
24163
|
:unknown)
|
|
24153
24164
|
SENSITIVE = []
|
|
24154
24165
|
include Aws::Structure
|
|
24155
24166
|
include Aws::Structure::Union
|
|
24156
24167
|
|
|
24157
24168
|
class Azure < CspmProviderDetail; end
|
|
24169
|
+
class Gcp < CspmProviderDetail; end
|
|
24158
24170
|
class Unknown < CspmProviderDetail; end
|
|
24159
24171
|
end
|
|
24160
24172
|
|
|
@@ -24183,7 +24195,7 @@ module Aws::SecurityHub
|
|
|
24183
24195
|
end
|
|
24184
24196
|
|
|
24185
24197
|
# The cloud provider configuration for updating a connector. This is a
|
|
24186
|
-
# union type that currently supports Azure.
|
|
24198
|
+
# union type that currently supports Azure and GCP.
|
|
24187
24199
|
#
|
|
24188
24200
|
# @note CspmProviderUpdateConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
24189
24201
|
#
|
|
@@ -24191,16 +24203,22 @@ module Aws::SecurityHub
|
|
|
24191
24203
|
# The Azure update configuration.
|
|
24192
24204
|
# @return [Types::AzureUpdateConfiguration]
|
|
24193
24205
|
#
|
|
24206
|
+
# @!attribute [rw] gcp
|
|
24207
|
+
# The GCP update configuration.
|
|
24208
|
+
# @return [Types::GcpUpdateConfiguration]
|
|
24209
|
+
#
|
|
24194
24210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CspmProviderUpdateConfiguration AWS API Documentation
|
|
24195
24211
|
#
|
|
24196
24212
|
class CspmProviderUpdateConfiguration < Struct.new(
|
|
24197
24213
|
:azure,
|
|
24214
|
+
:gcp,
|
|
24198
24215
|
:unknown)
|
|
24199
24216
|
SENSITIVE = []
|
|
24200
24217
|
include Aws::Structure
|
|
24201
24218
|
include Aws::Structure::Union
|
|
24202
24219
|
|
|
24203
24220
|
class Azure < CspmProviderUpdateConfiguration; end
|
|
24221
|
+
class Gcp < CspmProviderUpdateConfiguration; end
|
|
24204
24222
|
class Unknown < CspmProviderUpdateConfiguration; end
|
|
24205
24223
|
end
|
|
24206
24224
|
|
|
@@ -24974,6 +24992,7 @@ module Aws::SecurityHub
|
|
|
24974
24992
|
# @!attribute [rw] providers
|
|
24975
24993
|
# A list of cloud providers to filter the standards by. For example,
|
|
24976
24994
|
# specify `Azure` to return only standards that evaluate Azure
|
|
24995
|
+
# resources, or `GCP` to return only standards that evaluate GCP
|
|
24977
24996
|
# resources.
|
|
24978
24997
|
# @return [Array<String>]
|
|
24979
24998
|
#
|
|
@@ -26322,6 +26341,98 @@ module Aws::SecurityHub
|
|
|
26322
26341
|
include Aws::Structure
|
|
26323
26342
|
end
|
|
26324
26343
|
|
|
26344
|
+
# The detailed GCP configuration for a connector.
|
|
26345
|
+
#
|
|
26346
|
+
# @!attribute [rw] aws_config_connector_arn
|
|
26347
|
+
# The ARN of the multi-cloud configuration connector used to establish
|
|
26348
|
+
# the connection to GCP.
|
|
26349
|
+
# @return [String]
|
|
26350
|
+
#
|
|
26351
|
+
# @!attribute [rw] scope_configuration
|
|
26352
|
+
# The scope configuration that defines which GCP resources are
|
|
26353
|
+
# monitored.
|
|
26354
|
+
# @return [Types::GcpScopeConfiguration]
|
|
26355
|
+
#
|
|
26356
|
+
# @!attribute [rw] gcp_regions
|
|
26357
|
+
# The list of GCP regions being monitored.
|
|
26358
|
+
# @return [Array<String>]
|
|
26359
|
+
#
|
|
26360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GcpDetail AWS API Documentation
|
|
26361
|
+
#
|
|
26362
|
+
class GcpDetail < Struct.new(
|
|
26363
|
+
:aws_config_connector_arn,
|
|
26364
|
+
:scope_configuration,
|
|
26365
|
+
:gcp_regions)
|
|
26366
|
+
SENSITIVE = []
|
|
26367
|
+
include Aws::Structure
|
|
26368
|
+
end
|
|
26369
|
+
|
|
26370
|
+
# The configuration for connecting to a GCP environment.
|
|
26371
|
+
#
|
|
26372
|
+
# @!attribute [rw] aws_config_connector_arn
|
|
26373
|
+
# The ARN of the multi-cloud configuration connector used to establish
|
|
26374
|
+
# the connection to GCP.
|
|
26375
|
+
# @return [String]
|
|
26376
|
+
#
|
|
26377
|
+
# @!attribute [rw] scope_configuration
|
|
26378
|
+
# The scope configuration that defines which GCP resources are
|
|
26379
|
+
# monitored.
|
|
26380
|
+
# @return [Types::GcpScopeConfiguration]
|
|
26381
|
+
#
|
|
26382
|
+
# @!attribute [rw] gcp_regions
|
|
26383
|
+
# The list of GCP regions to monitor.
|
|
26384
|
+
# @return [Array<String>]
|
|
26385
|
+
#
|
|
26386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GcpProviderConfiguration AWS API Documentation
|
|
26387
|
+
#
|
|
26388
|
+
class GcpProviderConfiguration < Struct.new(
|
|
26389
|
+
:aws_config_connector_arn,
|
|
26390
|
+
:scope_configuration,
|
|
26391
|
+
:gcp_regions)
|
|
26392
|
+
SENSITIVE = []
|
|
26393
|
+
include Aws::Structure
|
|
26394
|
+
end
|
|
26395
|
+
|
|
26396
|
+
# The scope configuration for a GCP connector, defining the organization
|
|
26397
|
+
# or project scope.
|
|
26398
|
+
#
|
|
26399
|
+
# @!attribute [rw] scope_type
|
|
26400
|
+
# The type of scope. Valid values are `ORGANIZATION` and `PROJECT`.
|
|
26401
|
+
# @return [String]
|
|
26402
|
+
#
|
|
26403
|
+
# @!attribute [rw] scope_values
|
|
26404
|
+
# The list of scope values. Use an organization ID when the scope type
|
|
26405
|
+
# is `ORGANIZATION`, or project IDs when the scope type is `PROJECT`.
|
|
26406
|
+
# @return [Array<String>]
|
|
26407
|
+
#
|
|
26408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GcpScopeConfiguration AWS API Documentation
|
|
26409
|
+
#
|
|
26410
|
+
class GcpScopeConfiguration < Struct.new(
|
|
26411
|
+
:scope_type,
|
|
26412
|
+
:scope_values)
|
|
26413
|
+
SENSITIVE = []
|
|
26414
|
+
include Aws::Structure
|
|
26415
|
+
end
|
|
26416
|
+
|
|
26417
|
+
# The configuration for updating a GCP connector's scope and regions.
|
|
26418
|
+
#
|
|
26419
|
+
# @!attribute [rw] scope_configuration
|
|
26420
|
+
# The updated scope configuration.
|
|
26421
|
+
# @return [Types::GcpScopeConfiguration]
|
|
26422
|
+
#
|
|
26423
|
+
# @!attribute [rw] gcp_regions
|
|
26424
|
+
# The updated list of GCP regions to monitor.
|
|
26425
|
+
# @return [Array<String>]
|
|
26426
|
+
#
|
|
26427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GcpUpdateConfiguration AWS API Documentation
|
|
26428
|
+
#
|
|
26429
|
+
class GcpUpdateConfiguration < Struct.new(
|
|
26430
|
+
:scope_configuration,
|
|
26431
|
+
:gcp_regions)
|
|
26432
|
+
SENSITIVE = []
|
|
26433
|
+
include Aws::Structure
|
|
26434
|
+
end
|
|
26435
|
+
|
|
26325
26436
|
# @!attribute [rw] metadata_uid
|
|
26326
26437
|
# The unique identifier (ID) of Security Hub OCSF findings found under
|
|
26327
26438
|
# the `metadata.uid` field of the finding.
|
|
@@ -26826,7 +26937,8 @@ module Aws::SecurityHub
|
|
|
26826
26937
|
# @!attribute [rw] providers
|
|
26827
26938
|
# A list of cloud providers to filter the enabled standards by. For
|
|
26828
26939
|
# example, specify `Azure` to return only enabled standards that
|
|
26829
|
-
# evaluate Azure resources
|
|
26940
|
+
# evaluate Azure resources, or `GCP` to return only enabled standards
|
|
26941
|
+
# that evaluate GCP resources.
|
|
26830
26942
|
# @return [Array<String>]
|
|
26831
26943
|
#
|
|
26832
26944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandardsRequest AWS API Documentation
|
|
@@ -29459,7 +29571,8 @@ module Aws::SecurityHub
|
|
|
29459
29571
|
# @!attribute [rw] providers
|
|
29460
29572
|
# A list of cloud providers to filter the security control definitions
|
|
29461
29573
|
# by. For example, specify `Azure` to return only controls that
|
|
29462
|
-
# evaluate Azure resources
|
|
29574
|
+
# evaluate Azure resources, or `GCP` to return only controls that
|
|
29575
|
+
# evaluate GCP resources.
|
|
29463
29576
|
# @return [Array<String>]
|
|
29464
29577
|
#
|
|
29465
29578
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListSecurityControlDefinitionsRequest AWS API Documentation
|
|
@@ -31119,12 +31232,18 @@ module Aws::SecurityHub
|
|
|
31119
31232
|
# with Microsoft Azure.
|
|
31120
31233
|
# @return [Types::AzureProviderConfiguration]
|
|
31121
31234
|
#
|
|
31235
|
+
# @!attribute [rw] gcp
|
|
31236
|
+
# The configuration settings required to establish a CSPM integration
|
|
31237
|
+
# with Google Cloud Platform (GCP).
|
|
31238
|
+
# @return [Types::GcpProviderConfiguration]
|
|
31239
|
+
#
|
|
31122
31240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ProviderConfiguration AWS API Documentation
|
|
31123
31241
|
#
|
|
31124
31242
|
class ProviderConfiguration < Struct.new(
|
|
31125
31243
|
:jira_cloud,
|
|
31126
31244
|
:service_now,
|
|
31127
31245
|
:azure,
|
|
31246
|
+
:gcp,
|
|
31128
31247
|
:unknown)
|
|
31129
31248
|
SENSITIVE = []
|
|
31130
31249
|
include Aws::Structure
|
|
@@ -31133,6 +31252,7 @@ module Aws::SecurityHub
|
|
|
31133
31252
|
class JiraCloud < ProviderConfiguration; end
|
|
31134
31253
|
class ServiceNow < ProviderConfiguration; end
|
|
31135
31254
|
class Azure < ProviderConfiguration; end
|
|
31255
|
+
class Gcp < ProviderConfiguration; end
|
|
31136
31256
|
class Unknown < ProviderConfiguration; end
|
|
31137
31257
|
end
|
|
31138
31258
|
|
|
@@ -31152,12 +31272,17 @@ module Aws::SecurityHub
|
|
|
31152
31272
|
# Details about a Microsoft Azure CSPM integration.
|
|
31153
31273
|
# @return [Types::AzureDetail]
|
|
31154
31274
|
#
|
|
31275
|
+
# @!attribute [rw] gcp
|
|
31276
|
+
# Details about a Google Cloud Platform (GCP) CSPM integration.
|
|
31277
|
+
# @return [Types::GcpDetail]
|
|
31278
|
+
#
|
|
31155
31279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ProviderDetail AWS API Documentation
|
|
31156
31280
|
#
|
|
31157
31281
|
class ProviderDetail < Struct.new(
|
|
31158
31282
|
:jira_cloud,
|
|
31159
31283
|
:service_now,
|
|
31160
31284
|
:azure,
|
|
31285
|
+
:gcp,
|
|
31161
31286
|
:unknown)
|
|
31162
31287
|
SENSITIVE = []
|
|
31163
31288
|
include Aws::Structure
|
|
@@ -31166,6 +31291,7 @@ module Aws::SecurityHub
|
|
|
31166
31291
|
class JiraCloud < ProviderDetail; end
|
|
31167
31292
|
class ServiceNow < ProviderDetail; end
|
|
31168
31293
|
class Azure < ProviderDetail; end
|
|
31294
|
+
class Gcp < ProviderDetail; end
|
|
31169
31295
|
class Unknown < ProviderDetail; end
|
|
31170
31296
|
end
|
|
31171
31297
|
|
|
@@ -31213,12 +31339,18 @@ module Aws::SecurityHub
|
|
|
31213
31339
|
# Azure CSPM integration.
|
|
31214
31340
|
# @return [Types::AzureUpdateConfiguration]
|
|
31215
31341
|
#
|
|
31342
|
+
# @!attribute [rw] gcp
|
|
31343
|
+
# The parameters required to update the configuration for a Google
|
|
31344
|
+
# Cloud Platform (GCP) CSPM integration.
|
|
31345
|
+
# @return [Types::GcpUpdateConfiguration]
|
|
31346
|
+
#
|
|
31216
31347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ProviderUpdateConfiguration AWS API Documentation
|
|
31217
31348
|
#
|
|
31218
31349
|
class ProviderUpdateConfiguration < Struct.new(
|
|
31219
31350
|
:jira_cloud,
|
|
31220
31351
|
:service_now,
|
|
31221
31352
|
:azure,
|
|
31353
|
+
:gcp,
|
|
31222
31354
|
:unknown)
|
|
31223
31355
|
SENSITIVE = []
|
|
31224
31356
|
include Aws::Structure
|
|
@@ -31227,6 +31359,7 @@ module Aws::SecurityHub
|
|
|
31227
31359
|
class JiraCloud < ProviderUpdateConfiguration; end
|
|
31228
31360
|
class ServiceNow < ProviderUpdateConfiguration; end
|
|
31229
31361
|
class Azure < ProviderUpdateConfiguration; end
|
|
31362
|
+
class Gcp < ProviderUpdateConfiguration; end
|
|
31230
31363
|
class Unknown < ProviderUpdateConfiguration; end
|
|
31231
31364
|
end
|
|
31232
31365
|
|
|
@@ -32604,6 +32737,10 @@ module Aws::SecurityHub
|
|
|
32604
32737
|
# Details about an Azure resource that is related to a finding.
|
|
32605
32738
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
32606
32739
|
#
|
|
32740
|
+
# @!attribute [rw] gcp_resource
|
|
32741
|
+
# Details about a GCP resource that is related to a finding.
|
|
32742
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
32743
|
+
#
|
|
32607
32744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceDetails AWS API Documentation
|
|
32608
32745
|
#
|
|
32609
32746
|
class ResourceDetails < Struct.new(
|
|
@@ -32707,7 +32844,8 @@ module Aws::SecurityHub
|
|
|
32707
32844
|
:aws_s3_access_point,
|
|
32708
32845
|
:aws_ec2_client_vpn_endpoint,
|
|
32709
32846
|
:code_repository,
|
|
32710
|
-
:azure_resource
|
|
32847
|
+
:azure_resource,
|
|
32848
|
+
:gcp_resource)
|
|
32711
32849
|
SENSITIVE = []
|
|
32712
32850
|
include Aws::Structure
|
|
32713
32851
|
end
|
|
@@ -34080,7 +34218,7 @@ module Aws::SecurityHub
|
|
|
34080
34218
|
#
|
|
34081
34219
|
# @!attribute [rw] provider
|
|
34082
34220
|
# The cloud provider whose resources the security control evaluates.
|
|
34083
|
-
# For example, `AWS` or `
|
|
34221
|
+
# For example, `AWS`, `Azure`, or `GCP`.
|
|
34084
34222
|
# @return [String]
|
|
34085
34223
|
#
|
|
34086
34224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SecurityControl AWS API Documentation
|
|
@@ -34183,7 +34321,7 @@ module Aws::SecurityHub
|
|
|
34183
34321
|
#
|
|
34184
34322
|
# @!attribute [rw] provider
|
|
34185
34323
|
# The cloud provider whose resources the security control evaluates.
|
|
34186
|
-
# For example, `AWS` or `
|
|
34324
|
+
# For example, `AWS`, `Azure`, or `GCP`.
|
|
34187
34325
|
# @return [String]
|
|
34188
34326
|
#
|
|
34189
34327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SecurityControlDefinition AWS API Documentation
|
|
@@ -35133,7 +35271,7 @@ module Aws::SecurityHub
|
|
|
35133
35271
|
#
|
|
35134
35272
|
# @!attribute [rw] provider
|
|
35135
35273
|
# The cloud provider whose resources the standard evaluates. For
|
|
35136
|
-
# example, `AWS` or `
|
|
35274
|
+
# example, `AWS`, `Azure`, or `GCP`.
|
|
35137
35275
|
# @return [String]
|
|
35138
35276
|
#
|
|
35139
35277
|
# @!attribute [rw] standards_managed_by
|
|
@@ -35519,7 +35657,7 @@ module Aws::SecurityHub
|
|
|
35519
35657
|
#
|
|
35520
35658
|
# @!attribute [rw] provider
|
|
35521
35659
|
# The cloud provider whose resources the standard evaluates. For
|
|
35522
|
-
# example, `AWS` or `
|
|
35660
|
+
# example, `AWS`, `Azure`, or `GCP`.
|
|
35523
35661
|
# @return [String]
|
|
35524
35662
|
#
|
|
35525
35663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StandardsSubscription AWS API Documentation
|
data/lib/aws-sdk-securityhub.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -306,7 +306,7 @@ module Aws
|
|
|
306
306
|
id: ::String,
|
|
307
307
|
partition: ("aws" | "aws-cn" | "aws-us-gov" | "aws-us-iso" | "aws-us-iso-b" | "AzureCloud")?,
|
|
308
308
|
region: ::String?,
|
|
309
|
-
provider: ("Azure" | "AWS")?,
|
|
309
|
+
provider: ("Azure" | "AWS" | "GCP")?,
|
|
310
310
|
owner: {
|
|
311
311
|
account: {
|
|
312
312
|
id: ::String?
|
|
@@ -3734,6 +3734,8 @@ module Aws
|
|
|
3734
3734
|
code_security_integration_arn: ::String?
|
|
3735
3735
|
}?,
|
|
3736
3736
|
azure_resource: {
|
|
3737
|
+
}?,
|
|
3738
|
+
gcp_resource: {
|
|
3737
3739
|
}?
|
|
3738
3740
|
}?,
|
|
3739
3741
|
application_name: ::String?,
|
|
@@ -4219,7 +4221,8 @@ module Aws
|
|
|
4219
4221
|
name: ::String,
|
|
4220
4222
|
?description: ::String,
|
|
4221
4223
|
provider: {
|
|
4222
|
-
azure: Params::azure_provider_configuration
|
|
4224
|
+
azure: Params::azure_provider_configuration?,
|
|
4225
|
+
gcp: Params::gcp_provider_configuration?
|
|
4223
4226
|
},
|
|
4224
4227
|
?tags: Hash[::String, ::String],
|
|
4225
4228
|
?client_token: ::String
|
|
@@ -4246,7 +4249,8 @@ module Aws
|
|
|
4246
4249
|
instance_name: ::String,
|
|
4247
4250
|
secret_arn: ::String
|
|
4248
4251
|
}?,
|
|
4249
|
-
azure: Params::azure_provider_configuration
|
|
4252
|
+
azure: Params::azure_provider_configuration?,
|
|
4253
|
+
gcp: Params::gcp_provider_configuration?
|
|
4250
4254
|
},
|
|
4251
4255
|
?kms_key_arn: ::String,
|
|
4252
4256
|
?tags: Hash[::String, ::String],
|
|
@@ -4498,7 +4502,7 @@ module Aws
|
|
|
4498
4502
|
def describe_standards: (
|
|
4499
4503
|
?next_token: ::String,
|
|
4500
4504
|
?max_results: ::Integer,
|
|
4501
|
-
?providers: Array[("AWS" | "Azure")]
|
|
4505
|
+
?providers: Array[("AWS" | "Azure" | "GCP")]
|
|
4502
4506
|
) -> _DescribeStandardsResponseSuccess
|
|
4503
4507
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStandardsResponseSuccess
|
|
4504
4508
|
|
|
@@ -4771,7 +4775,7 @@ module Aws
|
|
|
4771
4775
|
?standards_subscription_arns: Array[::String],
|
|
4772
4776
|
?next_token: ::String,
|
|
4773
4777
|
?max_results: ::Integer,
|
|
4774
|
-
?providers: Array[("AWS" | "Azure")]
|
|
4778
|
+
?providers: Array[("AWS" | "Azure" | "GCP")]
|
|
4775
4779
|
) -> _GetEnabledStandardsResponseSuccess
|
|
4776
4780
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnabledStandardsResponseSuccess
|
|
4777
4781
|
|
|
@@ -5265,7 +5269,7 @@ module Aws
|
|
|
5265
5269
|
def list_connectors: (
|
|
5266
5270
|
?next_token: ::String,
|
|
5267
5271
|
?max_results: ::Integer,
|
|
5268
|
-
?provider_name: ("AZURE"),
|
|
5272
|
+
?provider_name: ("AZURE" | "GCP"),
|
|
5269
5273
|
?connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "UNKNOWN"),
|
|
5270
5274
|
?enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "PENDING_UPDATE" | "PENDING_DELETION")
|
|
5271
5275
|
) -> _ListConnectorsResponseSuccess
|
|
@@ -5280,7 +5284,7 @@ module Aws
|
|
|
5280
5284
|
def list_connectors_v2: (
|
|
5281
5285
|
?next_token: ::String,
|
|
5282
5286
|
?max_results: ::Integer,
|
|
5283
|
-
?provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE"),
|
|
5287
|
+
?provider_name: ("JIRA_CLOUD" | "SERVICENOW" | "AZURE" | "GCP"),
|
|
5284
5288
|
?connector_status: ("CONNECTED" | "DEGRADED" | "FAILED_TO_CONNECT" | "PENDING_AUTHORIZATION" | "PENDING_CONFIGURATION" | "UNKNOWN"),
|
|
5285
5289
|
?enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "FAILED_TO_DELETE")
|
|
5286
5290
|
) -> _ListConnectorsV2ResponseSuccess
|
|
@@ -5404,7 +5408,7 @@ module Aws
|
|
|
5404
5408
|
?standards_arn: ::String,
|
|
5405
5409
|
?next_token: ::String,
|
|
5406
5410
|
?max_results: ::Integer,
|
|
5407
|
-
?providers: Array[("AWS" | "Azure")]
|
|
5411
|
+
?providers: Array[("AWS" | "Azure" | "GCP")]
|
|
5408
5412
|
) -> _ListSecurityControlDefinitionsResponseSuccess
|
|
5409
5413
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityControlDefinitionsResponseSuccess
|
|
5410
5414
|
|
|
@@ -5610,6 +5614,13 @@ module Aws
|
|
|
5610
5614
|
scope_values: Array[::String]?
|
|
5611
5615
|
},
|
|
5612
5616
|
azure_regions: Array[::String]
|
|
5617
|
+
}?,
|
|
5618
|
+
gcp: {
|
|
5619
|
+
scope_configuration: {
|
|
5620
|
+
scope_type: ("PROJECT" | "ORGANIZATION"),
|
|
5621
|
+
scope_values: Array[::String]?
|
|
5622
|
+
},
|
|
5623
|
+
gcp_regions: Array[::String]
|
|
5613
5624
|
}?
|
|
5614
5625
|
}
|
|
5615
5626
|
) -> _UpdateConnectorResponseSuccess
|
|
@@ -5637,6 +5648,13 @@ module Aws
|
|
|
5637
5648
|
scope_values: Array[::String]?
|
|
5638
5649
|
},
|
|
5639
5650
|
azure_regions: Array[::String]
|
|
5651
|
+
}?,
|
|
5652
|
+
gcp: {
|
|
5653
|
+
scope_configuration: {
|
|
5654
|
+
scope_type: ("PROJECT" | "ORGANIZATION"),
|
|
5655
|
+
scope_values: Array[::String]?
|
|
5656
|
+
},
|
|
5657
|
+
gcp_regions: Array[::String]
|
|
5640
5658
|
}?
|
|
5641
5659
|
}
|
|
5642
5660
|
) -> _UpdateConnectorV2ResponseSuccess
|
data/sig/params.rbs
CHANGED
|
@@ -798,6 +798,15 @@ module Aws
|
|
|
798
798
|
azure_regions: Array[::String]
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
+
type gcp_provider_configuration = {
|
|
802
|
+
aws_config_connector_arn: ::String,
|
|
803
|
+
scope_configuration: {
|
|
804
|
+
scope_type: ("PROJECT" | "ORGANIZATION"),
|
|
805
|
+
scope_values: Array[::String]?
|
|
806
|
+
},
|
|
807
|
+
gcp_regions: Array[::String]
|
|
808
|
+
}
|
|
809
|
+
|
|
801
810
|
type aws_security_finding_filters = {
|
|
802
811
|
product_arn: Array[
|
|
803
812
|
{
|