aws-sdk-inspector2 1.95.0 → 1.97.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.
@@ -59,7 +59,10 @@ module Aws::Inspector2
59
59
  # @return [String]
60
60
  #
61
61
  # @!attribute [rw] resource_type
62
- # The type of resource.
62
+ # The type of resource. For Google Cloud Platform (GCP) resources, the
63
+ # resource type is `compute.googleapis.com/Instance`,
64
+ # `cloudfunctions.googleapis.com/Function`, or
65
+ # `artifactregistry.googleapis.com/DockerImage`.
63
66
  # @return [String]
64
67
  #
65
68
  # @!attribute [rw] sort_order
@@ -422,6 +425,8 @@ module Aws::Inspector2
422
425
  # * `AWS` – Findings from Amazon Web Services resources.
423
426
  #
424
427
  # * `AZURE` – Findings from Microsoft Azure resources.
428
+ #
429
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
425
430
  # @return [String]
426
431
  #
427
432
  # @!attribute [rw] cloud_partition
@@ -444,6 +449,9 @@ module Aws::Inspector2
444
449
  # * An Amazon Web Services Region, such as `us-east-1`.
445
450
  #
446
451
  # * An Azure region, such as `eastus`.
452
+ #
453
+ # * A Google Cloud Platform (GCP) location, such as the region
454
+ # `us-central1` or the zone `us-central1-a`.
447
455
  # @return [String]
448
456
  #
449
457
  # @!attribute [rw] cloud_org_id
@@ -2924,6 +2932,16 @@ module Aws::Inspector2
2924
2932
  # connected resources.
2925
2933
  # @return [Boolean]
2926
2934
  #
2935
+ # @!attribute [rw] gcp_regions
2936
+ # The Google Cloud Platform (GCP) locations configured for the
2937
+ # connector.
2938
+ # @return [Array<String>]
2939
+ #
2940
+ # @!attribute [rw] gcp_scope_configuration
2941
+ # The Google Cloud Platform (GCP) scope configuration for the
2942
+ # connector.
2943
+ # @return [Types::GcpScopeConfiguration]
2944
+ #
2927
2945
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Connector AWS API Documentation
2928
2946
  #
2929
2947
  class Connector < Struct.new(
@@ -2940,7 +2958,9 @@ module Aws::Inspector2
2940
2958
  :aws_config_connector_arn,
2941
2959
  :scope_configuration,
2942
2960
  :tags,
2943
- :auto_install_vm_scanner)
2961
+ :auto_install_vm_scanner,
2962
+ :gcp_regions,
2963
+ :gcp_scope_configuration)
2944
2964
  SENSITIVE = []
2945
2965
  include Aws::Structure
2946
2966
  end
@@ -3149,6 +3169,8 @@ module Aws::Inspector2
3149
3169
  # * `AWS` – Findings from Amazon Web Services resources.
3150
3170
  #
3151
3171
  # * `AZURE` – Findings from Microsoft Azure resources.
3172
+ #
3173
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
3152
3174
  # @return [Array<Types::StringFilter>]
3153
3175
  #
3154
3176
  # @!attribute [rw] cloud_partitions
@@ -3170,6 +3192,9 @@ module Aws::Inspector2
3170
3192
  # * An Amazon Web Services Region, such as `us-east-1`.
3171
3193
  #
3172
3194
  # * An Azure region, such as `eastus`.
3195
+ #
3196
+ # * A Google Cloud Platform (GCP) location, such as the region
3197
+ # `us-central1` or the zone `us-central1-a`.
3173
3198
  # @return [Array<Types::StringFilter>]
3174
3199
  #
3175
3200
  # @!attribute [rw] cloud_org_ids
@@ -3232,6 +3257,8 @@ module Aws::Inspector2
3232
3257
  # * `AWS` – Findings from Amazon Web Services resources.
3233
3258
  #
3234
3259
  # * `AZURE` – Findings from Microsoft Azure resources.
3260
+ #
3261
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
3235
3262
  # @return [String]
3236
3263
  #
3237
3264
  # @!attribute [rw] cloud_account_id
@@ -3258,6 +3285,9 @@ module Aws::Inspector2
3258
3285
  # * An Amazon Web Services Region, such as `us-east-1`.
3259
3286
  #
3260
3287
  # * An Azure region, such as `eastus`.
3288
+ #
3289
+ # * A Google Cloud Platform (GCP) location, such as the region
3290
+ # `us-central1` or the zone `us-central1-a`.
3261
3291
  # @return [String]
3262
3292
  #
3263
3293
  # @!attribute [rw] cloud_org_id
@@ -3482,10 +3512,23 @@ module Aws::Inspector2
3482
3512
  # @return [Array<Types::CoverageStringFilter>]
3483
3513
  #
3484
3514
  # @!attribute [rw] resource_type
3485
- # An array of Amazon Web Services resource types to return coverage
3486
- # statistics for. The values can be `AWS_EC2_INSTANCE`,
3487
- # `AWS_LAMBDA_FUNCTION`, `AWS_ECR_CONTAINER_IMAGE`,
3488
- # `AWS_ECR_REPOSITORY` or `AWS_ACCOUNT`.
3515
+ # An array of resource types to return coverage statistics for. Valid
3516
+ # values:
3517
+ #
3518
+ # * Amazon Web Services – `AWS_EC2_INSTANCE`, `AWS_LAMBDA_FUNCTION`,
3519
+ # `AWS_ECR_CONTAINER_IMAGE`, `AWS_ECR_REPOSITORY`, `MACHINE_IMAGE`,
3520
+ # `CODE_REPOSITORY`, or `AWS_ACCOUNT`.
3521
+ #
3522
+ # * Microsoft Azure – `Microsoft.Compute/virtualMachines`,
3523
+ # `Microsoft.ContainerRegistry/registries`,
3524
+ # `Microsoft.ContainerRegistry/registry/containerRepository`,
3525
+ # `Microsoft.ContainerRegistry/registry/containerImage`, or
3526
+ # `Microsoft.Web/sites`.
3527
+ #
3528
+ # * Google Cloud Platform (GCP) – `compute.googleapis.com/Instance`,
3529
+ # `cloudfunctions.googleapis.com/Function`,
3530
+ # `artifactregistry.googleapis.com/Repository`, or
3531
+ # `artifactregistry.googleapis.com/DockerImage`.
3489
3532
  # @return [Array<Types::CoverageStringFilter>]
3490
3533
  #
3491
3534
  # @!attribute [rw] scan_type
@@ -3568,15 +3611,36 @@ module Aws::Inspector2
3568
3611
  # @return [Array<Types::CoverageStringFilter>]
3569
3612
  #
3570
3613
  # @!attribute [rw] cloud_provider
3571
- # The cloud provider to filter coverage results by.
3614
+ # The cloud provider to filter coverage results by. Valid values:
3615
+ #
3616
+ # * `AWS` – Amazon Web Services resources.
3617
+ #
3618
+ # * `AZURE` – Microsoft Azure resources.
3619
+ #
3620
+ # * `GCP` – Google Cloud Platform (GCP) resources.
3572
3621
  # @return [Array<Types::CoverageStringFilter>]
3573
3622
  #
3574
3623
  # @!attribute [rw] cloud_provider_account_id
3575
- # The cloud provider account ID to filter coverage results by.
3624
+ # The cloud provider account ID to filter coverage results by. The
3625
+ # value format depends on the cloud provider:
3626
+ #
3627
+ # * An Amazon Web Services account ID.
3628
+ #
3629
+ # * An Azure subscription ID.
3630
+ #
3631
+ # * A Google Cloud Platform (GCP) project ID, such as `my-project`.
3576
3632
  # @return [Array<Types::CoverageStringFilter>]
3577
3633
  #
3578
3634
  # @!attribute [rw] cloud_provider_region
3579
- # The cloud provider region to filter coverage results by.
3635
+ # The cloud provider region to filter coverage results by. The value
3636
+ # format depends on the cloud provider:
3637
+ #
3638
+ # * An Amazon Web Services Region, such as `us-east-1`.
3639
+ #
3640
+ # * An Azure region, such as `eastus`.
3641
+ #
3642
+ # * A Google Cloud Platform (GCP) location, such as the region
3643
+ # `us-central1` or the zone `us-central1-a`.
3580
3644
  # @return [Array<Types::CoverageStringFilter>]
3581
3645
  #
3582
3646
  # @!attribute [rw] cloud_vm_instance_tags
@@ -3609,6 +3673,13 @@ module Aws::Inspector2
3609
3673
  #
3610
3674
  # @!attribute [rw] cloud_provider_org_id
3611
3675
  # The cloud provider organization ID to filter coverage results by.
3676
+ # The value format depends on the cloud provider:
3677
+ #
3678
+ # * An Amazon Web Services Organizations organization ID.
3679
+ #
3680
+ # * An Azure tenant ID.
3681
+ #
3682
+ # * A numeric Google Cloud Platform (GCP) organization ID.
3612
3683
  # @return [Array<Types::CoverageStringFilter>]
3613
3684
  #
3614
3685
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CoverageFilterCriteria AWS API Documentation
@@ -3717,7 +3788,22 @@ module Aws::Inspector2
3717
3788
  # Inspector.
3718
3789
  #
3719
3790
  # @!attribute [rw] resource_type
3720
- # The type of the covered resource.
3791
+ # The type of the covered resource. Valid values:
3792
+ #
3793
+ # * Amazon Web Services – `AWS_EC2_INSTANCE`, `AWS_LAMBDA_FUNCTION`,
3794
+ # `AWS_ECR_CONTAINER_IMAGE`, `AWS_ECR_REPOSITORY`, `MACHINE_IMAGE`,
3795
+ # `CODE_REPOSITORY`, or `AWS_ACCOUNT`.
3796
+ #
3797
+ # * Microsoft Azure – `Microsoft.Compute/virtualMachines`,
3798
+ # `Microsoft.ContainerRegistry/registries`,
3799
+ # `Microsoft.ContainerRegistry/registry/containerRepository`,
3800
+ # `Microsoft.ContainerRegistry/registry/containerImage`, or
3801
+ # `Microsoft.Web/sites`.
3802
+ #
3803
+ # * Google Cloud Platform (GCP) – `compute.googleapis.com/Instance`,
3804
+ # `cloudfunctions.googleapis.com/Function`,
3805
+ # `artifactregistry.googleapis.com/Repository`, or
3806
+ # `artifactregistry.googleapis.com/DockerImage`.
3721
3807
  # @return [String]
3722
3808
  #
3723
3809
  # @!attribute [rw] resource_id
@@ -3749,19 +3835,47 @@ module Aws::Inspector2
3749
3835
  # @return [String]
3750
3836
  #
3751
3837
  # @!attribute [rw] provider
3752
- # The cloud provider of the covered resource.
3838
+ # The cloud provider of the covered resource. Valid values:
3839
+ #
3840
+ # * `AWS` – Amazon Web Services resources.
3841
+ #
3842
+ # * `AZURE` – Microsoft Azure resources.
3843
+ #
3844
+ # * `GCP` – Google Cloud Platform (GCP) resources.
3753
3845
  # @return [String]
3754
3846
  #
3755
3847
  # @!attribute [rw] provider_account_id
3756
- # The cloud provider account ID of the covered resource.
3848
+ # The cloud provider account ID of the covered resource. The value
3849
+ # format depends on the cloud provider:
3850
+ #
3851
+ # * An Amazon Web Services account ID.
3852
+ #
3853
+ # * An Azure subscription ID.
3854
+ #
3855
+ # * A Google Cloud Platform (GCP) project ID, such as `my-project`.
3757
3856
  # @return [String]
3758
3857
  #
3759
3858
  # @!attribute [rw] provider_org_id
3760
- # The cloud provider organization ID of the covered resource.
3859
+ # The cloud provider organization ID of the covered resource. The
3860
+ # value format depends on the cloud provider:
3861
+ #
3862
+ # * An Amazon Web Services Organizations organization ID.
3863
+ #
3864
+ # * An Azure tenant ID.
3865
+ #
3866
+ # * A numeric Google Cloud Platform (GCP) organization ID.
3761
3867
  # @return [String]
3762
3868
  #
3763
3869
  # @!attribute [rw] provider_region
3764
- # The cloud provider region of the covered resource.
3870
+ # The cloud provider region of the covered resource. The value format
3871
+ # depends on the cloud provider:
3872
+ #
3873
+ # * An Amazon Web Services Region, such as `us-east-1`.
3874
+ #
3875
+ # * An Azure region, such as `eastus`.
3876
+ #
3877
+ # * A Google Cloud Platform (GCP) location, such as the region
3878
+ # `us-central1` or the zone `us-central1-a`.
3765
3879
  # @return [String]
3766
3880
  #
3767
3881
  # @!attribute [rw] provider_partition
@@ -5365,7 +5479,11 @@ module Aws::Inspector2
5365
5479
  # @return [Array<Types::NumberFilter>]
5366
5480
  #
5367
5481
  # @!attribute [rw] resource_type
5368
- # Details on the resource types used to filter findings.
5482
+ # Details on the resource types used to filter findings. For Google
5483
+ # Cloud Platform (GCP) resources, the resource type is
5484
+ # `compute.googleapis.com/Instance`,
5485
+ # `cloudfunctions.googleapis.com/Function`, or
5486
+ # `artifactregistry.googleapis.com/DockerImage`.
5369
5487
  # @return [Array<Types::StringFilter>]
5370
5488
  #
5371
5489
  # @!attribute [rw] resource_id
@@ -5955,7 +6073,10 @@ module Aws::Inspector2
5955
6073
  # @return [String]
5956
6074
  #
5957
6075
  # @!attribute [rw] resource_type
5958
- # The resource type to aggregate.
6076
+ # The resource type to aggregate. For Google Cloud Platform (GCP)
6077
+ # resources, the resource type is `compute.googleapis.com/Instance`,
6078
+ # `cloudfunctions.googleapis.com/Function`, or
6079
+ # `artifactregistry.googleapis.com/DockerImage`.
5959
6080
  # @return [String]
5960
6081
  #
5961
6082
  # @!attribute [rw] sort_order
@@ -6003,6 +6124,8 @@ module Aws::Inspector2
6003
6124
  # * `AWS` – Findings from Amazon Web Services resources.
6004
6125
  #
6005
6126
  # * `AZURE` – Findings from Microsoft Azure resources.
6127
+ #
6128
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
6006
6129
  # @return [String]
6007
6130
  #
6008
6131
  # @!attribute [rw] cloud_account_id
@@ -6020,6 +6143,9 @@ module Aws::Inspector2
6020
6143
  # * An Amazon Web Services Region, such as `us-east-1`.
6021
6144
  #
6022
6145
  # * An Azure region, such as `eastus`.
6146
+ #
6147
+ # * A Google Cloud Platform (GCP) location, such as the region
6148
+ # `us-central1` or the zone `us-central1-a`.
6023
6149
  # @return [String]
6024
6150
  #
6025
6151
  # @!attribute [rw] cloud_partition
@@ -6094,7 +6220,14 @@ module Aws::Inspector2
6094
6220
  # @return [String]
6095
6221
  #
6096
6222
  # @!attribute [rw] cloud_provider
6097
- # The cloud provider associated with the free trial information.
6223
+ # The cloud provider associated with the free trial information. Valid
6224
+ # values:
6225
+ #
6226
+ # * `AWS` – Amazon Web Services resources.
6227
+ #
6228
+ # * `AZURE` – Microsoft Azure resources.
6229
+ #
6230
+ # * `GCP` – Google Cloud Platform (GCP) resources.
6098
6231
  # @return [String]
6099
6232
  #
6100
6233
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FreeTrialInfo AWS API Documentation
@@ -6135,6 +6268,181 @@ module Aws::Inspector2
6135
6268
  include Aws::Structure
6136
6269
  end
6137
6270
 
6271
+ # The scope of Google Cloud Platform (GCP) resources that Amazon
6272
+ # Inspector scans for a single scanning type, including the scope level,
6273
+ # the targeted resources, and the current state.
6274
+ #
6275
+ # @!attribute [rw] scope_type
6276
+ # The type of scope: `ORGANIZATION`, which scans all projects in the
6277
+ # GCP organization, or `PROJECT`, which scans only the specified GCP
6278
+ # projects.
6279
+ # @return [String]
6280
+ #
6281
+ # @!attribute [rw] scope_values
6282
+ # The GCP project IDs to scan when `scopeType` is `PROJECT`. Not used
6283
+ # when `scopeType` is `ORGANIZATION`. Amazon Inspector scans the
6284
+ # organization of the Amazon Web Services Config connector.
6285
+ # @return [Array<String>]
6286
+ #
6287
+ # @!attribute [rw] state
6288
+ # The current state of the scope configuration.
6289
+ # @return [String]
6290
+ #
6291
+ # @!attribute [rw] state_reason
6292
+ # The reason for the current state of the scope configuration.
6293
+ # @return [String]
6294
+ #
6295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpCapabilityScope AWS API Documentation
6296
+ #
6297
+ class GcpCapabilityScope < Struct.new(
6298
+ :scope_type,
6299
+ :scope_values,
6300
+ :state,
6301
+ :state_reason)
6302
+ SENSITIVE = []
6303
+ include Aws::Structure
6304
+ end
6305
+
6306
+ # The scope of Google Cloud Platform (GCP) resources to scan for a
6307
+ # single scanning type. Provide this as part of a
6308
+ # `GcpScopeConfigurationInput` when you create or update a connector.
6309
+ #
6310
+ # @!attribute [rw] scope_type
6311
+ # The type of scope: `ORGANIZATION`, which scans all projects in the
6312
+ # GCP organization, or `PROJECT`, which scans only the specified GCP
6313
+ # projects.
6314
+ # @return [String]
6315
+ #
6316
+ # @!attribute [rw] scope_values
6317
+ # The GCP project IDs to scan. Required when `scopeType` is `PROJECT`.
6318
+ # Don't specify scope values when `scopeType` is `ORGANIZATION`.
6319
+ # Amazon Inspector scans the organization of the Amazon Web Services
6320
+ # Config connector.
6321
+ # @return [Array<String>]
6322
+ #
6323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpCapabilityScopeInput AWS API Documentation
6324
+ #
6325
+ class GcpCapabilityScopeInput < Struct.new(
6326
+ :scope_type,
6327
+ :scope_values)
6328
+ SENSITIVE = []
6329
+ include Aws::Structure
6330
+ end
6331
+
6332
+ # The configuration details specific to Google Cloud Platform (GCP) for
6333
+ # creating a connector, including the Amazon Web Services Config
6334
+ # connector association, scan scope, and locations to scan.
6335
+ #
6336
+ # @!attribute [rw] aws_config_connector_arn
6337
+ # The ARN of the Amazon Web Services Config connector to associate
6338
+ # with this connector.
6339
+ # @return [String]
6340
+ #
6341
+ # @!attribute [rw] scope_configuration
6342
+ # The scope configuration that defines which GCP resources to scan.
6343
+ # @return [Types::GcpScopeConfigurationInput]
6344
+ #
6345
+ # @!attribute [rw] gcp_regions
6346
+ # The GCP locations to scan, such as regions, zones, multi-regions, or
6347
+ # dual-regions. Specify `ALL` to scan all locations.
6348
+ # @return [Array<String>]
6349
+ #
6350
+ # @!attribute [rw] auto_install_vm_scanner
6351
+ # Specifies whether to automatically install the VM scanner on
6352
+ # connected GCP resources. Defaults to `true`.
6353
+ # @return [Boolean]
6354
+ #
6355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpProviderDetailCreate AWS API Documentation
6356
+ #
6357
+ class GcpProviderDetailCreate < Struct.new(
6358
+ :aws_config_connector_arn,
6359
+ :scope_configuration,
6360
+ :gcp_regions,
6361
+ :auto_install_vm_scanner)
6362
+ SENSITIVE = []
6363
+ include Aws::Structure
6364
+ end
6365
+
6366
+ # The configuration details specific to Google Cloud Platform (GCP) for
6367
+ # updating a connector, including the scan scope and locations to scan.
6368
+ #
6369
+ # @!attribute [rw] gcp_regions
6370
+ # The updated GCP locations to scan, such as regions, zones,
6371
+ # multi-regions, or dual-regions. Specify `ALL` to scan all locations.
6372
+ # @return [Array<String>]
6373
+ #
6374
+ # @!attribute [rw] scope_configuration
6375
+ # The updated scope configuration that defines which GCP resources to
6376
+ # scan.
6377
+ # @return [Types::GcpScopeConfigurationInput]
6378
+ #
6379
+ # @!attribute [rw] auto_install_vm_scanner
6380
+ # Specifies whether to automatically install the VM scanner on
6381
+ # connected GCP resources.
6382
+ # @return [Boolean]
6383
+ #
6384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpProviderDetailUpdate AWS API Documentation
6385
+ #
6386
+ class GcpProviderDetailUpdate < Struct.new(
6387
+ :gcp_regions,
6388
+ :scope_configuration,
6389
+ :auto_install_vm_scanner)
6390
+ SENSITIVE = []
6391
+ include Aws::Structure
6392
+ end
6393
+
6394
+ # The scope of Google Cloud Platform (GCP) resources that Amazon
6395
+ # Inspector scans, defined separately for VM, container image, and
6396
+ # serverless scanning. Returned as part of a connector's configuration.
6397
+ #
6398
+ # @!attribute [rw] vm_scanning
6399
+ # The scope configuration for VM scanning.
6400
+ # @return [Types::GcpCapabilityScope]
6401
+ #
6402
+ # @!attribute [rw] container_image_scanning
6403
+ # The scope configuration for container image scanning.
6404
+ # @return [Types::GcpCapabilityScope]
6405
+ #
6406
+ # @!attribute [rw] serverless_scanning
6407
+ # The scope configuration for serverless scanning.
6408
+ # @return [Types::GcpCapabilityScope]
6409
+ #
6410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpScopeConfiguration AWS API Documentation
6411
+ #
6412
+ class GcpScopeConfiguration < Struct.new(
6413
+ :vm_scanning,
6414
+ :container_image_scanning,
6415
+ :serverless_scanning)
6416
+ SENSITIVE = []
6417
+ include Aws::Structure
6418
+ end
6419
+
6420
+ # The scope of Google Cloud Platform (GCP) resources to scan, defined
6421
+ # separately for VM, container image, and serverless scanning. Provide
6422
+ # this when you create or update a GCP connector.
6423
+ #
6424
+ # @!attribute [rw] vm_scanning
6425
+ # The scope configuration input for VM scanning.
6426
+ # @return [Types::GcpCapabilityScopeInput]
6427
+ #
6428
+ # @!attribute [rw] container_image_scanning
6429
+ # The scope configuration input for container image scanning.
6430
+ # @return [Types::GcpCapabilityScopeInput]
6431
+ #
6432
+ # @!attribute [rw] serverless_scanning
6433
+ # The scope configuration input for serverless scanning.
6434
+ # @return [Types::GcpCapabilityScopeInput]
6435
+ #
6436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GcpScopeConfigurationInput AWS API Documentation
6437
+ #
6438
+ class GcpScopeConfigurationInput < Struct.new(
6439
+ :vm_scanning,
6440
+ :container_image_scanning,
6441
+ :serverless_scanning)
6442
+ SENSITIVE = []
6443
+ include Aws::Structure
6444
+ end
6445
+
6138
6446
  # @!attribute [rw] scan_arn
6139
6447
  # The scan ARN.
6140
6448
  # @return [String]
@@ -6889,6 +7197,8 @@ module Aws::Inspector2
6889
7197
  # * `AWS` – Findings from Amazon Web Services resources.
6890
7198
  #
6891
7199
  # * `AZURE` – Findings from Microsoft Azure resources.
7200
+ #
7201
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
6892
7202
  # @return [Array<Types::StringFilter>]
6893
7203
  #
6894
7204
  # @!attribute [rw] cloud_account_ids
@@ -6906,6 +7216,9 @@ module Aws::Inspector2
6906
7216
  # * An Amazon Web Services Region, such as `us-east-1`.
6907
7217
  #
6908
7218
  # * An Azure region, such as `eastus`.
7219
+ #
7220
+ # * A Google Cloud Platform (GCP) location, such as the region
7221
+ # `us-central1` or the zone `us-central1-a`.
6909
7222
  # @return [Array<Types::StringFilter>]
6910
7223
  #
6911
7224
  # @!attribute [rw] cloud_partitions
@@ -6972,6 +7285,8 @@ module Aws::Inspector2
6972
7285
  # * `AWS` – Findings from Amazon Web Services resources.
6973
7286
  #
6974
7287
  # * `AZURE` – Findings from Microsoft Azure resources.
7288
+ #
7289
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
6975
7290
  # @return [String]
6976
7291
  #
6977
7292
  # @!attribute [rw] cloud_account_id
@@ -6989,6 +7304,9 @@ module Aws::Inspector2
6989
7304
  # * An Amazon Web Services Region, such as `us-east-1`.
6990
7305
  #
6991
7306
  # * An Azure region, such as `eastus`.
7307
+ #
7308
+ # * A Google Cloud Platform (GCP) location, such as the region
7309
+ # `us-central1` or the zone `us-central1-a`.
6992
7310
  # @return [String]
6993
7311
  #
6994
7312
  # @!attribute [rw] cloud_partition
@@ -7934,7 +8252,11 @@ module Aws::Inspector2
7934
8252
  # @return [Types::CoverageFilterCriteria]
7935
8253
  #
7936
8254
  # @!attribute [rw] group_by
7937
- # The value to group the results by.
8255
+ # The value to group the results by. For multi-cloud resources, use
8256
+ # `PROVIDER`, `PROVIDER_ACCOUNT_ID` (Azure subscription ID or Google
8257
+ # Cloud Platform (GCP) project ID), `PROVIDER_ORG_ID` (Azure tenant ID
8258
+ # or Google Cloud Platform (GCP) organization ID), or
8259
+ # `PROVIDER_REGION`.
7938
8260
  # @return [String]
7939
8261
  #
7940
8262
  # @!attribute [rw] next_token
@@ -9021,16 +9343,23 @@ module Aws::Inspector2
9021
9343
  # The Azure-specific details for creating a connector.
9022
9344
  # @return [Types::AzureProviderDetailCreate]
9023
9345
  #
9346
+ # @!attribute [rw] gcp
9347
+ # The details specific to Google Cloud Platform (GCP) for creating a
9348
+ # connector.
9349
+ # @return [Types::GcpProviderDetailCreate]
9350
+ #
9024
9351
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ProviderDetailCreate AWS API Documentation
9025
9352
  #
9026
9353
  class ProviderDetailCreate < Struct.new(
9027
9354
  :azure,
9355
+ :gcp,
9028
9356
  :unknown)
9029
9357
  SENSITIVE = []
9030
9358
  include Aws::Structure
9031
9359
  include Aws::Structure::Union
9032
9360
 
9033
9361
  class Azure < ProviderDetailCreate; end
9362
+ class Gcp < ProviderDetailCreate; end
9034
9363
  class Unknown < ProviderDetailCreate; end
9035
9364
  end
9036
9365
 
@@ -9042,16 +9371,23 @@ module Aws::Inspector2
9042
9371
  # The Azure-specific details for updating a connector.
9043
9372
  # @return [Types::AzureProviderDetailUpdate]
9044
9373
  #
9374
+ # @!attribute [rw] gcp
9375
+ # The details specific to Google Cloud Platform (GCP) for updating a
9376
+ # connector.
9377
+ # @return [Types::GcpProviderDetailUpdate]
9378
+ #
9045
9379
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ProviderDetailUpdate AWS API Documentation
9046
9380
  #
9047
9381
  class ProviderDetailUpdate < Struct.new(
9048
9382
  :azure,
9383
+ :gcp,
9049
9384
  :unknown)
9050
9385
  SENSITIVE = []
9051
9386
  include Aws::Structure
9052
9387
  include Aws::Structure::Union
9053
9388
 
9054
9389
  class Azure < ProviderDetailUpdate; end
9390
+ class Gcp < ProviderDetailUpdate; end
9055
9391
  class Unknown < ProviderDetailUpdate; end
9056
9392
  end
9057
9393
 
@@ -9152,6 +9488,8 @@ module Aws::Inspector2
9152
9488
  # * `AWS` – Findings from Amazon Web Services resources.
9153
9489
  #
9154
9490
  # * `AZURE` – Findings from Microsoft Azure resources.
9491
+ #
9492
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
9155
9493
  # @return [String]
9156
9494
  #
9157
9495
  # @!attribute [rw] cloud_partition
@@ -9174,6 +9512,9 @@ module Aws::Inspector2
9174
9512
  # * An Amazon Web Services Region, such as `us-east-1`.
9175
9513
  #
9176
9514
  # * An Azure region, such as `eastus`.
9515
+ #
9516
+ # * A Google Cloud Platform (GCP) location, such as the region
9517
+ # `us-central1` or the zone `us-central1-a`.
9177
9518
  # @return [String]
9178
9519
  #
9179
9520
  # @!attribute [rw] cloud_org_id
@@ -9257,15 +9598,35 @@ module Aws::Inspector2
9257
9598
  # @return [Types::ResourceDetails]
9258
9599
  #
9259
9600
  # @!attribute [rw] provider
9260
- # The cloud provider of the resource.
9601
+ # The cloud provider of the resource. Valid values:
9602
+ #
9603
+ # * `AWS` – Amazon Web Services resources.
9604
+ #
9605
+ # * `AZURE` – Microsoft Azure resources.
9606
+ #
9607
+ # * `GCP` – Google Cloud Platform (GCP) resources.
9261
9608
  # @return [String]
9262
9609
  #
9263
9610
  # @!attribute [rw] provider_account_id
9264
- # The cloud provider account ID of the resource.
9611
+ # The cloud provider account ID of the resource. The value format
9612
+ # depends on the cloud provider:
9613
+ #
9614
+ # * An Amazon Web Services account ID.
9615
+ #
9616
+ # * An Azure subscription ID.
9617
+ #
9618
+ # * A Google Cloud Platform (GCP) project ID, such as `my-project`.
9265
9619
  # @return [String]
9266
9620
  #
9267
9621
  # @!attribute [rw] provider_org_id
9268
- # The cloud provider organization ID of the resource.
9622
+ # The cloud provider organization ID of the resource. The value format
9623
+ # depends on the cloud provider:
9624
+ #
9625
+ # * An Amazon Web Services Organizations organization ID.
9626
+ #
9627
+ # * An Azure tenant ID.
9628
+ #
9629
+ # * A numeric Google Cloud Platform (GCP) organization ID.
9269
9630
  # @return [String]
9270
9631
  #
9271
9632
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Resource AWS API Documentation
@@ -9353,7 +9714,19 @@ module Aws::Inspector2
9353
9714
  # @return [Array<Types::ResourceStringFilter>]
9354
9715
  #
9355
9716
  # @!attribute [rw] resource_type
9356
- # The resource types used as resource filter criteria.
9717
+ # The resource types used as resource filter criteria. Valid values:
9718
+ #
9719
+ # * Amazon Web Services – `AWS_EC2_INSTANCE`,
9720
+ # `AWS_ECR_CONTAINER_IMAGE`, `AWS_LAMBDA_FUNCTION`, or
9721
+ # `MACHINE_IMAGE`.
9722
+ #
9723
+ # * Microsoft Azure – `Microsoft.Compute/virtualMachines`,
9724
+ # `Microsoft.ContainerRegistry/registry/containerImage`, or
9725
+ # `Microsoft.Web/sites`.
9726
+ #
9727
+ # * Google Cloud Platform (GCP) – `compute.googleapis.com/Instance`,
9728
+ # `cloudfunctions.googleapis.com/Function`, or
9729
+ # `artifactregistry.googleapis.com/DockerImage`.
9357
9730
  # @return [Array<Types::ResourceStringFilter>]
9358
9731
  #
9359
9732
  # @!attribute [rw] ecr_repository_name
@@ -9379,20 +9752,47 @@ module Aws::Inspector2
9379
9752
  # @return [Array<Types::ResourceMapFilter>]
9380
9753
  #
9381
9754
  # @!attribute [rw] cloud_provider
9382
- # The cloud providers used as resource filter criteria.
9755
+ # The cloud providers used as resource filter criteria. Valid values:
9756
+ #
9757
+ # * `AWS` – Amazon Web Services resources.
9758
+ #
9759
+ # * `AZURE` – Microsoft Azure resources.
9760
+ #
9761
+ # * `GCP` – Google Cloud Platform (GCP) resources.
9383
9762
  # @return [Array<Types::ResourceStringFilter>]
9384
9763
  #
9385
9764
  # @!attribute [rw] cloud_provider_account_id
9386
- # The cloud provider account IDs used as resource filter criteria.
9765
+ # The cloud provider account IDs used as resource filter criteria. The
9766
+ # value format depends on the cloud provider:
9767
+ #
9768
+ # * An Amazon Web Services account ID.
9769
+ #
9770
+ # * An Azure subscription ID.
9771
+ #
9772
+ # * A Google Cloud Platform (GCP) project ID.
9387
9773
  # @return [Array<Types::ResourceStringFilter>]
9388
9774
  #
9389
9775
  # @!attribute [rw] cloud_provider_org_id
9390
9776
  # The cloud provider organization IDs used as resource filter
9391
- # criteria.
9777
+ # criteria. The value format depends on the cloud provider:
9778
+ #
9779
+ # * An Amazon Web Services Organizations organization ID.
9780
+ #
9781
+ # * An Azure tenant ID.
9782
+ #
9783
+ # * A Google Cloud Platform (GCP) organization ID.
9392
9784
  # @return [Array<Types::ResourceStringFilter>]
9393
9785
  #
9394
9786
  # @!attribute [rw] cloud_provider_region
9395
- # The cloud provider regions used as resource filter criteria.
9787
+ # The cloud provider regions used as resource filter criteria. The
9788
+ # value format depends on the cloud provider:
9789
+ #
9790
+ # * An Amazon Web Services Region, such as `us-east-1`.
9791
+ #
9792
+ # * An Azure region, such as `eastus`.
9793
+ #
9794
+ # * A Google Cloud Platform (GCP) location, such as the region
9795
+ # `us-central1` or the zone `us-central1-a`.
9396
9796
  # @return [Array<Types::ResourceStringFilter>]
9397
9797
  #
9398
9798
  # @!attribute [rw] cloud_vm_instance_tags
@@ -9895,9 +10295,9 @@ module Aws::Inspector2
9895
10295
  # update a connector.
9896
10296
  #
9897
10297
  # @!attribute [rw] scope_type
9898
- # The type of scope. Valid values are `TENANT`, which scans all
9899
- # resources in the Azure tenant, and `SUBSCRIPTION`, which scans only
9900
- # the resources in the specified Azure subscriptions.
10298
+ # The type of scope: `TENANT`, which scans all resources in the Azure
10299
+ # tenant, or `SUBSCRIPTION`, which scans only the resources in the
10300
+ # specified Azure subscriptions.
9901
10301
  # @return [String]
9902
10302
  #
9903
10303
  # @!attribute [rw] scope_values
@@ -10126,6 +10526,8 @@ module Aws::Inspector2
10126
10526
  # * `AWS` – Findings from Amazon Web Services resources.
10127
10527
  #
10128
10528
  # * `AZURE` – Findings from Microsoft Azure resources.
10529
+ #
10530
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
10129
10531
  # @return [Array<Types::StringFilter>]
10130
10532
  #
10131
10533
  # @!attribute [rw] cloud_partitions
@@ -10147,6 +10549,9 @@ module Aws::Inspector2
10147
10549
  # * An Amazon Web Services Region, such as `us-east-1`.
10148
10550
  #
10149
10551
  # * An Azure region, such as `eastus`.
10552
+ #
10553
+ # * A Google Cloud Platform (GCP) location, such as the region
10554
+ # `us-central1` or the zone `us-central1-a`.
10150
10555
  # @return [Array<Types::StringFilter>]
10151
10556
  #
10152
10557
  # @!attribute [rw] cloud_org_ids
@@ -10198,6 +10603,8 @@ module Aws::Inspector2
10198
10603
  # * `AWS` – Findings from Amazon Web Services resources.
10199
10604
  #
10200
10605
  # * `AZURE` – Findings from Microsoft Azure resources.
10606
+ #
10607
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
10201
10608
  # @return [String]
10202
10609
  #
10203
10610
  # @!attribute [rw] cloud_account_id
@@ -10224,6 +10631,9 @@ module Aws::Inspector2
10224
10631
  # * An Amazon Web Services Region, such as `us-east-1`.
10225
10632
  #
10226
10633
  # * An Azure region, such as `eastus`.
10634
+ #
10635
+ # * A Google Cloud Platform (GCP) location, such as the region
10636
+ # `us-central1` or the zone `us-central1-a`.
10227
10637
  # @return [String]
10228
10638
  #
10229
10639
  # @!attribute [rw] cloud_org_id
@@ -10849,7 +11259,10 @@ module Aws::Inspector2
10849
11259
  # @return [Array<Types::StringFilter>]
10850
11260
  #
10851
11261
  # @!attribute [rw] resource_type
10852
- # The resource type to aggregate on.
11262
+ # The resource type to aggregate on. For Google Cloud Platform (GCP)
11263
+ # resources, the resource type is `compute.googleapis.com/Instance`,
11264
+ # `cloudfunctions.googleapis.com/Function`, or
11265
+ # `artifactregistry.googleapis.com/DockerImage`.
10853
11266
  # @return [String]
10854
11267
  #
10855
11268
  # @!attribute [rw] finding_type
@@ -11450,7 +11863,23 @@ module Aws::Inspector2
11450
11863
  # operation.
11451
11864
  #
11452
11865
  # @!attribute [rw] type
11453
- # The type scan.
11866
+ # The type of scan. Valid values:
11867
+ #
11868
+ # * Amazon Web Services – `EC2_INSTANCE_HOURS`,
11869
+ # `EC2_AGENTLESS_INSTANCE_HOURS`, `EC2_AMI_HOURS`,
11870
+ # `EC2_AMI_ONE_SHOT_SCAN`, `ECR_INITIAL_SCAN`, `ECR_RESCAN`,
11871
+ # `LAMBDA_FUNCTION_HOURS`, `LAMBDA_FUNCTION_CODE_HOURS`,
11872
+ # `CODE_REPOSITORY_SAST`, `CODE_REPOSITORY_IAC`, or
11873
+ # `CODE_REPOSITORY_SCA`.
11874
+ #
11875
+ # * Microsoft Azure – `AZURE_VM_AGENT_BASED_INSTANCE_HOURS`,
11876
+ # `AZURE_CONTAINER_IMAGE_INITIAL_SCAN`,
11877
+ # `AZURE_CONTAINER_IMAGE_RESCAN`, or
11878
+ # `AZURE_SERVERLESS_FUNCTION_HOURS`.
11879
+ #
11880
+ # * Google Cloud Platform (GCP) – `GCP_VM_AGENT_BASED_INSTANCE_HOURS`,
11881
+ # `GCP_CONTAINER_IMAGE_INITIAL_SCAN`, `GCP_CONTAINER_IMAGE_RESCAN`,
11882
+ # or `GCP_CLOUD_RUN_HOURS` (Cloud Run functions).
11454
11883
  # @return [String]
11455
11884
  #
11456
11885
  # @!attribute [rw] total
@@ -11466,7 +11895,14 @@ module Aws::Inspector2
11466
11895
  # @return [String]
11467
11896
  #
11468
11897
  # @!attribute [rw] cloud_provider
11469
- # The cloud provider associated with the usage information.
11898
+ # The cloud provider associated with the usage information. Valid
11899
+ # values:
11900
+ #
11901
+ # * `AWS` – Amazon Web Services resources.
11902
+ #
11903
+ # * `AZURE` – Microsoft Azure resources.
11904
+ #
11905
+ # * `GCP` – Google Cloud Platform (GCP) resources.
11470
11906
  # @return [String]
11471
11907
  #
11472
11908
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Usage AWS API Documentation
@@ -11660,6 +12096,8 @@ module Aws::Inspector2
11660
12096
  # * `AWS` – Findings from Amazon Web Services resources.
11661
12097
  #
11662
12098
  # * `AZURE` – Findings from Microsoft Azure resources.
12099
+ #
12100
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
11663
12101
  # @return [Array<Types::StringFilter>]
11664
12102
  #
11665
12103
  # @!attribute [rw] cloud_partitions
@@ -11681,6 +12119,9 @@ module Aws::Inspector2
11681
12119
  # * An Amazon Web Services Region, such as `us-east-1`.
11682
12120
  #
11683
12121
  # * An Azure region, such as `eastus`.
12122
+ #
12123
+ # * A Google Cloud Platform (GCP) location, such as the region
12124
+ # `us-central1` or the zone `us-central1-a`.
11684
12125
  # @return [Array<Types::StringFilter>]
11685
12126
  #
11686
12127
  # @!attribute [rw] cloud_org_ids
@@ -11732,6 +12173,8 @@ module Aws::Inspector2
11732
12173
  # * `AWS` – Findings from Amazon Web Services resources.
11733
12174
  #
11734
12175
  # * `AZURE` – Findings from Microsoft Azure resources.
12176
+ #
12177
+ # * `GCP` – Findings from Google Cloud Platform (GCP) resources.
11735
12178
  # @return [String]
11736
12179
  #
11737
12180
  # @!attribute [rw] cloud_account_id
@@ -11758,6 +12201,9 @@ module Aws::Inspector2
11758
12201
  # * An Amazon Web Services Region, such as `us-east-1`.
11759
12202
  #
11760
12203
  # * An Azure region, such as `eastus`.
12204
+ #
12205
+ # * A Google Cloud Platform (GCP) location, such as the region
12206
+ # `us-central1` or the zone `us-central1-a`.
11761
12207
  # @return [String]
11762
12208
  #
11763
12209
  # @!attribute [rw] cloud_org_id