aws-sdk-inspector2 1.96.0 → 1.98.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-inspector2/client.rb +89 -32
- data/lib/aws-sdk-inspector2/client_api.rb +51 -0
- data/lib/aws-sdk-inspector2/types.rb +478 -32
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +22 -11
- data/sig/params.rbs +18 -3
- data/sig/types.rbs +74 -23
- data/sig/waiters.rbs +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a6a5cb8c4fe39561b7db1ec80c8741eccb5dae0d6fc8018cba014ed2f853275
|
|
4
|
+
data.tar.gz: 71eeb23fdd94aeaaa64f784636126d7d4edcfe876a34d2ce98788b1e9b72e864
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 134bfe7baa38efb346c8c00434ebaff9ea1cdca006c9f4532ddaac60b0ab84c60c4d2e8faef27b3f8fbc6883d529550a26b541832664bc4ae94793e49ae766ec
|
|
7
|
+
data.tar.gz: 90d0ac07ac5ab92b6c60ea1a7ad15e1cc1fa52dfd9eb641ad686f9f53fbd17a7a4e57551e201e2e5316b4a40a9f2714f5effd9d2d2e7023c838b8dc84f388879
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.98.0 (2026-11-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.97.0 (2026-11-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release extends vulnerability management to Google Cloud Platform (GCP) Compute Engine virtual machine (VM) instances, container images in Google Artifact Registry (GAR), and Cloud Run functions.
|
|
13
|
+
|
|
4
14
|
1.96.0 (2026-11-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.98.0
|
|
@@ -854,7 +854,7 @@ module Aws::Inspector2
|
|
|
854
854
|
# resp.accounts[0].free_trial_info[0].start #=> Time
|
|
855
855
|
# resp.accounts[0].free_trial_info[0].end #=> Time
|
|
856
856
|
# resp.accounts[0].free_trial_info[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
|
857
|
-
# resp.accounts[0].free_trial_info[0].cloud_provider #=> String, one of "AWS", "AZURE", "NOT_APPLICABLE"
|
|
857
|
+
# resp.accounts[0].free_trial_info[0].cloud_provider #=> String, one of "AWS", "AZURE", "GCP", "NOT_APPLICABLE"
|
|
858
858
|
# resp.failed_accounts #=> Array
|
|
859
859
|
# resp.failed_accounts[0].account_id #=> String
|
|
860
860
|
# resp.failed_accounts[0].code #=> String, one of "ACCESS_DENIED", "INTERNAL_ERROR"
|
|
@@ -1308,28 +1308,47 @@ module Aws::Inspector2
|
|
|
1308
1308
|
# resp = client.create_connector({
|
|
1309
1309
|
# client_token: "String",
|
|
1310
1310
|
# name: "ConnectorName", # required
|
|
1311
|
-
# provider: "AZURE", # required, accepts AZURE
|
|
1311
|
+
# provider: "AZURE", # required, accepts AZURE, GCP
|
|
1312
1312
|
# description: "ConnectorDescription",
|
|
1313
1313
|
# provider_detail: { # required
|
|
1314
1314
|
# azure: {
|
|
1315
1315
|
# aws_config_connector_arn: "AwsConfigConnectorArn", # required
|
|
1316
1316
|
# scope_configuration: { # required
|
|
1317
1317
|
# vm_scanning: {
|
|
1318
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
1318
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1319
1319
|
# scope_values: ["ScopeValue"],
|
|
1320
1320
|
# },
|
|
1321
1321
|
# container_image_scanning: {
|
|
1322
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
1322
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1323
1323
|
# scope_values: ["ScopeValue"],
|
|
1324
1324
|
# },
|
|
1325
1325
|
# serverless_scanning: {
|
|
1326
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
1326
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1327
1327
|
# scope_values: ["ScopeValue"],
|
|
1328
1328
|
# },
|
|
1329
1329
|
# },
|
|
1330
1330
|
# azure_regions: ["AzureRegion"], # required
|
|
1331
1331
|
# auto_install_vm_scanner: false,
|
|
1332
1332
|
# },
|
|
1333
|
+
# gcp: {
|
|
1334
|
+
# aws_config_connector_arn: "AwsConfigConnectorArn", # required
|
|
1335
|
+
# scope_configuration: { # required
|
|
1336
|
+
# vm_scanning: {
|
|
1337
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1338
|
+
# scope_values: ["GcpScopeValue"],
|
|
1339
|
+
# },
|
|
1340
|
+
# container_image_scanning: {
|
|
1341
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1342
|
+
# scope_values: ["GcpScopeValue"],
|
|
1343
|
+
# },
|
|
1344
|
+
# serverless_scanning: {
|
|
1345
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
1346
|
+
# scope_values: ["GcpScopeValue"],
|
|
1347
|
+
# },
|
|
1348
|
+
# },
|
|
1349
|
+
# gcp_regions: ["GcpRegion"], # required
|
|
1350
|
+
# auto_install_vm_scanner: false,
|
|
1351
|
+
# },
|
|
1333
1352
|
# },
|
|
1334
1353
|
# tags: {
|
|
1335
1354
|
# "ConnectorTagKey" => "ConnectorTagValue",
|
|
@@ -3407,7 +3426,7 @@ module Aws::Inspector2
|
|
|
3407
3426
|
#
|
|
3408
3427
|
# resp = client.get_encryption_key({
|
|
3409
3428
|
# scan_type: "NETWORK", # required, accepts NETWORK, PACKAGE, CODE
|
|
3410
|
-
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE
|
|
3429
|
+
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
3411
3430
|
# })
|
|
3412
3431
|
#
|
|
3413
3432
|
# @example Response structure
|
|
@@ -4819,7 +4838,7 @@ module Aws::Inspector2
|
|
|
4819
4838
|
# provider: [
|
|
4820
4839
|
# {
|
|
4821
4840
|
# comparison: "EQUALS", # required, accepts EQUALS
|
|
4822
|
-
# value: "AZURE", # required, accepts AZURE
|
|
4841
|
+
# value: "AZURE", # required, accepts AZURE, GCP
|
|
4823
4842
|
# },
|
|
4824
4843
|
# ],
|
|
4825
4844
|
# },
|
|
@@ -4831,7 +4850,7 @@ module Aws::Inspector2
|
|
|
4831
4850
|
# resp.items[0].connector_arn #=> String
|
|
4832
4851
|
# resp.items[0].name #=> String
|
|
4833
4852
|
# resp.items[0].description #=> String
|
|
4834
|
-
# resp.items[0].provider #=> String, one of "AZURE"
|
|
4853
|
+
# resp.items[0].provider #=> String, one of "AZURE", "GCP"
|
|
4835
4854
|
# resp.items[0].enablement_status #=> String, one of "ENABLED", "PENDING_ENABLEMENT", "FAILED_TO_ENABLE", "PENDING_UPDATE", "FAILED_TO_UPDATE", "PENDING_DELETION", "DELETED", "FAILED_TO_DELETE"
|
|
4836
4855
|
# resp.items[0].enablement_status_reason #=> String
|
|
4837
4856
|
# resp.items[0].health.connector_status #=> String, one of "CONNECTED", "DEGRADED", "FAILED_TO_CONNECT", "PENDING_AUTHORIZATION", "PENDING_CONFIGURATION", "UNKNOWN"
|
|
@@ -4842,17 +4861,17 @@ module Aws::Inspector2
|
|
|
4842
4861
|
# resp.items[0].azure_regions #=> Array
|
|
4843
4862
|
# resp.items[0].azure_regions[0] #=> String
|
|
4844
4863
|
# resp.items[0].aws_config_connector_arn #=> String
|
|
4845
|
-
# resp.items[0].scope_configuration.vm_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION"
|
|
4864
|
+
# resp.items[0].scope_configuration.vm_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4846
4865
|
# resp.items[0].scope_configuration.vm_scanning.scope_values #=> Array
|
|
4847
4866
|
# resp.items[0].scope_configuration.vm_scanning.scope_values[0] #=> String
|
|
4848
4867
|
# resp.items[0].scope_configuration.vm_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
4849
4868
|
# resp.items[0].scope_configuration.vm_scanning.state_reason #=> String
|
|
4850
|
-
# resp.items[0].scope_configuration.container_image_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION"
|
|
4869
|
+
# resp.items[0].scope_configuration.container_image_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4851
4870
|
# resp.items[0].scope_configuration.container_image_scanning.scope_values #=> Array
|
|
4852
4871
|
# resp.items[0].scope_configuration.container_image_scanning.scope_values[0] #=> String
|
|
4853
4872
|
# resp.items[0].scope_configuration.container_image_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
4854
4873
|
# resp.items[0].scope_configuration.container_image_scanning.state_reason #=> String
|
|
4855
|
-
# resp.items[0].scope_configuration.serverless_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION"
|
|
4874
|
+
# resp.items[0].scope_configuration.serverless_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4856
4875
|
# resp.items[0].scope_configuration.serverless_scanning.scope_values #=> Array
|
|
4857
4876
|
# resp.items[0].scope_configuration.serverless_scanning.scope_values[0] #=> String
|
|
4858
4877
|
# resp.items[0].scope_configuration.serverless_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
@@ -4860,6 +4879,23 @@ module Aws::Inspector2
|
|
|
4860
4879
|
# resp.items[0].tags #=> Hash
|
|
4861
4880
|
# resp.items[0].tags["ConnectorTagKey"] #=> String
|
|
4862
4881
|
# resp.items[0].auto_install_vm_scanner #=> Boolean
|
|
4882
|
+
# resp.items[0].gcp_regions #=> Array
|
|
4883
|
+
# resp.items[0].gcp_regions[0] #=> String
|
|
4884
|
+
# resp.items[0].gcp_scope_configuration.vm_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4885
|
+
# resp.items[0].gcp_scope_configuration.vm_scanning.scope_values #=> Array
|
|
4886
|
+
# resp.items[0].gcp_scope_configuration.vm_scanning.scope_values[0] #=> String
|
|
4887
|
+
# resp.items[0].gcp_scope_configuration.vm_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
4888
|
+
# resp.items[0].gcp_scope_configuration.vm_scanning.state_reason #=> String
|
|
4889
|
+
# resp.items[0].gcp_scope_configuration.container_image_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4890
|
+
# resp.items[0].gcp_scope_configuration.container_image_scanning.scope_values #=> Array
|
|
4891
|
+
# resp.items[0].gcp_scope_configuration.container_image_scanning.scope_values[0] #=> String
|
|
4892
|
+
# resp.items[0].gcp_scope_configuration.container_image_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
4893
|
+
# resp.items[0].gcp_scope_configuration.container_image_scanning.state_reason #=> String
|
|
4894
|
+
# resp.items[0].gcp_scope_configuration.serverless_scanning.scope_type #=> String, one of "TENANT", "SUBSCRIPTION", "ORGANIZATION", "PROJECT"
|
|
4895
|
+
# resp.items[0].gcp_scope_configuration.serverless_scanning.scope_values #=> Array
|
|
4896
|
+
# resp.items[0].gcp_scope_configuration.serverless_scanning.scope_values[0] #=> String
|
|
4897
|
+
# resp.items[0].gcp_scope_configuration.serverless_scanning.state #=> String, one of "ACTIVE", "PENDING", "ERROR", "DISABLED"
|
|
4898
|
+
# resp.items[0].gcp_scope_configuration.serverless_scanning.state_reason #=> String
|
|
4863
4899
|
# resp.next_token #=> String
|
|
4864
4900
|
#
|
|
4865
4901
|
#
|
|
@@ -5121,7 +5157,7 @@ module Aws::Inspector2
|
|
|
5121
5157
|
#
|
|
5122
5158
|
# resp.next_token #=> String
|
|
5123
5159
|
# resp.covered_resources #=> Array
|
|
5124
|
-
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION", "CODE_REPOSITORY", "Microsoft.Compute/virtualMachines", "Microsoft.ContainerRegistry/registry/containerImage", "Microsoft.ContainerRegistry/registry/containerRepository", "Microsoft.Web/sites", "Microsoft.ContainerRegistry/registries", "MACHINE_IMAGE"
|
|
5160
|
+
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION", "CODE_REPOSITORY", "Microsoft.Compute/virtualMachines", "Microsoft.ContainerRegistry/registry/containerImage", "Microsoft.ContainerRegistry/registry/containerRepository", "Microsoft.Web/sites", "Microsoft.ContainerRegistry/registries", "MACHINE_IMAGE", "cloudfunctions.googleapis.com/Function", "compute.googleapis.com/Instance", "artifactregistry.googleapis.com/Repository", "artifactregistry.googleapis.com/DockerImage"
|
|
5125
5161
|
# resp.covered_resources[0].resource_id #=> String
|
|
5126
5162
|
# resp.covered_resources[0].account_id #=> String
|
|
5127
5163
|
# resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE", "CODE"
|
|
@@ -5183,7 +5219,7 @@ module Aws::Inspector2
|
|
|
5183
5219
|
# resp.covered_resources[0].resource_metadata.machine_image.platform #=> String, one of "WINDOWS", "LINUX", "UNKNOWN"
|
|
5184
5220
|
# resp.covered_resources[0].last_scanned_at #=> Time
|
|
5185
5221
|
# resp.covered_resources[0].scan_mode #=> String, one of "EC2_SSM_AGENT_BASED", "EC2_AGENTLESS", "EC2_INSPECTOR_AGENT_BASED", "VM_INSPECTOR_AGENT_BASED"
|
|
5186
|
-
# resp.covered_resources[0].provider #=> String, one of "AWS", "AZURE"
|
|
5222
|
+
# resp.covered_resources[0].provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
5187
5223
|
# resp.covered_resources[0].provider_account_id #=> String
|
|
5188
5224
|
# resp.covered_resources[0].provider_org_id #=> String
|
|
5189
5225
|
# resp.covered_resources[0].provider_region #=> String
|
|
@@ -5205,7 +5241,10 @@ module Aws::Inspector2
|
|
|
5205
5241
|
# coverage data for your environment.
|
|
5206
5242
|
#
|
|
5207
5243
|
# @option params [String] :group_by
|
|
5208
|
-
# The value to group the results by.
|
|
5244
|
+
# The value to group the results by. For multi-cloud resources, use
|
|
5245
|
+
# `PROVIDER`, `PROVIDER_ACCOUNT_ID` (Azure subscription ID or Google
|
|
5246
|
+
# Cloud Platform (GCP) project ID), `PROVIDER_ORG_ID` (Azure tenant ID
|
|
5247
|
+
# or Google Cloud Platform (GCP) organization ID), or `PROVIDER_REGION`.
|
|
5209
5248
|
#
|
|
5210
5249
|
# @option params [String] :next_token
|
|
5211
5250
|
# A token to use for paginating results that are returned in the
|
|
@@ -5833,7 +5872,7 @@ module Aws::Inspector2
|
|
|
5833
5872
|
# aggregation_request: {
|
|
5834
5873
|
# account_aggregation: {
|
|
5835
5874
|
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY, CODE_VULNERABILITY
|
|
5836
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites
|
|
5875
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
5837
5876
|
# sort_order: "ASC", # accepts ASC, DESC
|
|
5838
5877
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
|
5839
5878
|
# },
|
|
@@ -5925,7 +5964,7 @@ module Aws::Inspector2
|
|
|
5925
5964
|
# },
|
|
5926
5965
|
# finding_type_aggregation: {
|
|
5927
5966
|
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY, CODE_VULNERABILITY
|
|
5928
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites
|
|
5967
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
5929
5968
|
# sort_order: "ASC", # accepts ASC, DESC
|
|
5930
5969
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
|
5931
5970
|
# },
|
|
@@ -6014,7 +6053,7 @@ module Aws::Inspector2
|
|
|
6014
6053
|
# value: "StringInput", # required
|
|
6015
6054
|
# },
|
|
6016
6055
|
# ],
|
|
6017
|
-
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites
|
|
6056
|
+
# resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
6018
6057
|
# finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY, CODE_VULNERABILITY
|
|
6019
6058
|
# sort_order: "ASC", # accepts ASC, DESC
|
|
6020
6059
|
# sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
|
|
@@ -6311,7 +6350,7 @@ module Aws::Inspector2
|
|
|
6311
6350
|
# resp.responses[0].account_aggregation.fix_available_count #=> Integer
|
|
6312
6351
|
# resp.responses[0].ami_aggregation.ami #=> String
|
|
6313
6352
|
# resp.responses[0].ami_aggregation.account_id #=> String
|
|
6314
|
-
# resp.responses[0].ami_aggregation.cloud_provider #=> String, one of "AWS", "AZURE"
|
|
6353
|
+
# resp.responses[0].ami_aggregation.cloud_provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
6315
6354
|
# resp.responses[0].ami_aggregation.cloud_partition #=> String
|
|
6316
6355
|
# resp.responses[0].ami_aggregation.cloud_region #=> String
|
|
6317
6356
|
# resp.responses[0].ami_aggregation.cloud_org_id #=> String
|
|
@@ -6397,7 +6436,7 @@ module Aws::Inspector2
|
|
|
6397
6436
|
# resp.responses[0].package_aggregation.severity_counts.untriaged #=> Integer
|
|
6398
6437
|
# resp.responses[0].repository_aggregation.repository #=> String
|
|
6399
6438
|
# resp.responses[0].repository_aggregation.account_id #=> String
|
|
6400
|
-
# resp.responses[0].repository_aggregation.cloud_provider #=> String, one of "AWS", "AZURE"
|
|
6439
|
+
# resp.responses[0].repository_aggregation.cloud_provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
6401
6440
|
# resp.responses[0].repository_aggregation.cloud_partition #=> String
|
|
6402
6441
|
# resp.responses[0].repository_aggregation.cloud_region #=> String
|
|
6403
6442
|
# resp.responses[0].repository_aggregation.cloud_org_id #=> String
|
|
@@ -6459,7 +6498,7 @@ module Aws::Inspector2
|
|
|
6459
6498
|
# resp.responses[0].code_repository_aggregation.account_id #=> String
|
|
6460
6499
|
# resp.responses[0].code_repository_aggregation.resource_id #=> String
|
|
6461
6500
|
# resp.responses[0].vm_instance_aggregation.resource_id #=> String
|
|
6462
|
-
# resp.responses[0].vm_instance_aggregation.cloud_provider #=> String, one of "AWS", "AZURE"
|
|
6501
|
+
# resp.responses[0].vm_instance_aggregation.cloud_provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
6463
6502
|
# resp.responses[0].vm_instance_aggregation.cloud_account_id #=> String
|
|
6464
6503
|
# resp.responses[0].vm_instance_aggregation.cloud_partition #=> String
|
|
6465
6504
|
# resp.responses[0].vm_instance_aggregation.cloud_region #=> String
|
|
@@ -6480,7 +6519,7 @@ module Aws::Inspector2
|
|
|
6480
6519
|
# resp.responses[0].vm_instance_aggregation.exploit_available_active_findings_count #=> Integer
|
|
6481
6520
|
# resp.responses[0].vm_instance_aggregation.fix_available_active_findings_count #=> Integer
|
|
6482
6521
|
# resp.responses[0].container_image_aggregation.resource_id #=> String
|
|
6483
|
-
# resp.responses[0].container_image_aggregation.cloud_provider #=> String, one of "AWS", "AZURE"
|
|
6522
|
+
# resp.responses[0].container_image_aggregation.cloud_provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
6484
6523
|
# resp.responses[0].container_image_aggregation.cloud_account_id #=> String
|
|
6485
6524
|
# resp.responses[0].container_image_aggregation.cloud_partition #=> String
|
|
6486
6525
|
# resp.responses[0].container_image_aggregation.cloud_region #=> String
|
|
@@ -6504,7 +6543,7 @@ module Aws::Inspector2
|
|
|
6504
6543
|
# resp.responses[0].container_image_aggregation.exploit_available_active_findings_count #=> Integer
|
|
6505
6544
|
# resp.responses[0].container_image_aggregation.fix_available_active_findings_count #=> Integer
|
|
6506
6545
|
# resp.responses[0].serverless_function_aggregation.resource_id #=> String
|
|
6507
|
-
# resp.responses[0].serverless_function_aggregation.cloud_provider #=> String, one of "AWS", "AZURE"
|
|
6546
|
+
# resp.responses[0].serverless_function_aggregation.cloud_provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
6508
6547
|
# resp.responses[0].serverless_function_aggregation.cloud_account_id #=> String
|
|
6509
6548
|
# resp.responses[0].serverless_function_aggregation.cloud_partition #=> String
|
|
6510
6549
|
# resp.responses[0].serverless_function_aggregation.cloud_region #=> String
|
|
@@ -7039,7 +7078,7 @@ module Aws::Inspector2
|
|
|
7039
7078
|
# resp.findings[0].updated_at #=> Time
|
|
7040
7079
|
# resp.findings[0].status #=> String, one of "ACTIVE", "SUPPRESSED", "CLOSED"
|
|
7041
7080
|
# resp.findings[0].resources #=> Array
|
|
7042
|
-
# resp.findings[0].resources[0].type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION", "CODE_REPOSITORY", "Microsoft.Compute/virtualMachines", "Microsoft.ContainerRegistry/registry/containerImage", "Microsoft.Web/sites", "MACHINE_IMAGE"
|
|
7081
|
+
# resp.findings[0].resources[0].type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY", "AWS_LAMBDA_FUNCTION", "CODE_REPOSITORY", "Microsoft.Compute/virtualMachines", "Microsoft.ContainerRegistry/registry/containerImage", "Microsoft.Web/sites", "MACHINE_IMAGE", "cloudfunctions.googleapis.com/Function", "compute.googleapis.com/Instance", "artifactregistry.googleapis.com/DockerImage"
|
|
7043
7082
|
# resp.findings[0].resources[0].id #=> String
|
|
7044
7083
|
# resp.findings[0].resources[0].partition #=> String
|
|
7045
7084
|
# resp.findings[0].resources[0].region #=> String
|
|
@@ -7141,7 +7180,7 @@ module Aws::Inspector2
|
|
|
7141
7180
|
# resp.findings[0].resources[0].details.serverless_function.architectures[0] #=> String, one of "X86_64", "ARM64"
|
|
7142
7181
|
# resp.findings[0].resources[0].details.serverless_function.layers #=> Array
|
|
7143
7182
|
# resp.findings[0].resources[0].details.serverless_function.layers[0] #=> String
|
|
7144
|
-
# resp.findings[0].resources[0].provider #=> String, one of "AWS", "AZURE"
|
|
7183
|
+
# resp.findings[0].resources[0].provider #=> String, one of "AWS", "AZURE", "GCP"
|
|
7145
7184
|
# resp.findings[0].resources[0].provider_account_id #=> String
|
|
7146
7185
|
# resp.findings[0].resources[0].provider_org_id #=> String
|
|
7147
7186
|
# resp.findings[0].inspector_score #=> Float
|
|
@@ -7391,11 +7430,11 @@ module Aws::Inspector2
|
|
|
7391
7430
|
# resp.totals #=> Array
|
|
7392
7431
|
# resp.totals[0].account_id #=> String
|
|
7393
7432
|
# resp.totals[0].usage #=> Array
|
|
7394
|
-
# resp.totals[0].usage[0].type #=> String, one of "EC2_INSTANCE_HOURS", "ECR_INITIAL_SCAN", "ECR_RESCAN", "LAMBDA_FUNCTION_HOURS", "LAMBDA_FUNCTION_CODE_HOURS", "CODE_REPOSITORY_SAST", "CODE_REPOSITORY_IAC", "CODE_REPOSITORY_SCA", "EC2_AGENTLESS_INSTANCE_HOURS", "AZURE_CONTAINER_IMAGE_INITIAL_SCAN", "AZURE_CONTAINER_IMAGE_RESCAN", "AZURE_VM_AGENT_BASED_INSTANCE_HOURS", "AZURE_SERVERLESS_FUNCTION_HOURS", "EC2_AMI_HOURS"
|
|
7433
|
+
# resp.totals[0].usage[0].type #=> String, one of "EC2_INSTANCE_HOURS", "ECR_INITIAL_SCAN", "ECR_RESCAN", "LAMBDA_FUNCTION_HOURS", "LAMBDA_FUNCTION_CODE_HOURS", "CODE_REPOSITORY_SAST", "CODE_REPOSITORY_IAC", "CODE_REPOSITORY_SCA", "EC2_AGENTLESS_INSTANCE_HOURS", "AZURE_CONTAINER_IMAGE_INITIAL_SCAN", "AZURE_CONTAINER_IMAGE_RESCAN", "AZURE_VM_AGENT_BASED_INSTANCE_HOURS", "AZURE_SERVERLESS_FUNCTION_HOURS", "EC2_AMI_HOURS", "EC2_AMI_ONE_SHOT_SCAN", "GCP_VM_AGENT_BASED_INSTANCE_HOURS", "GCP_CLOUD_RUN_HOURS", "GCP_CONTAINER_IMAGE_INITIAL_SCAN", "GCP_CONTAINER_IMAGE_RESCAN"
|
|
7395
7434
|
# resp.totals[0].usage[0].total #=> Float
|
|
7396
7435
|
# resp.totals[0].usage[0].estimated_monthly_cost #=> Float
|
|
7397
7436
|
# resp.totals[0].usage[0].currency #=> String, one of "USD"
|
|
7398
|
-
# resp.totals[0].usage[0].cloud_provider #=> String, one of "AWS", "AZURE", "NOT_APPLICABLE"
|
|
7437
|
+
# resp.totals[0].usage[0].cloud_provider #=> String, one of "AWS", "AZURE", "GCP", "NOT_APPLICABLE"
|
|
7399
7438
|
#
|
|
7400
7439
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals AWS API Documentation
|
|
7401
7440
|
#
|
|
@@ -7421,7 +7460,7 @@ module Aws::Inspector2
|
|
|
7421
7460
|
#
|
|
7422
7461
|
# resp = client.reset_encryption_key({
|
|
7423
7462
|
# scan_type: "NETWORK", # required, accepts NETWORK, PACKAGE, CODE
|
|
7424
|
-
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE
|
|
7463
|
+
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
7425
7464
|
# })
|
|
7426
7465
|
#
|
|
7427
7466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey AWS API Documentation
|
|
@@ -8202,20 +8241,38 @@ module Aws::Inspector2
|
|
|
8202
8241
|
# azure_regions: ["AzureRegion"],
|
|
8203
8242
|
# scope_configuration: {
|
|
8204
8243
|
# vm_scanning: {
|
|
8205
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
8244
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8206
8245
|
# scope_values: ["ScopeValue"],
|
|
8207
8246
|
# },
|
|
8208
8247
|
# container_image_scanning: {
|
|
8209
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
8248
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8210
8249
|
# scope_values: ["ScopeValue"],
|
|
8211
8250
|
# },
|
|
8212
8251
|
# serverless_scanning: {
|
|
8213
|
-
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION
|
|
8252
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8214
8253
|
# scope_values: ["ScopeValue"],
|
|
8215
8254
|
# },
|
|
8216
8255
|
# },
|
|
8217
8256
|
# auto_install_vm_scanner: false,
|
|
8218
8257
|
# },
|
|
8258
|
+
# gcp: {
|
|
8259
|
+
# gcp_regions: ["GcpRegion"],
|
|
8260
|
+
# scope_configuration: {
|
|
8261
|
+
# vm_scanning: {
|
|
8262
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8263
|
+
# scope_values: ["GcpScopeValue"],
|
|
8264
|
+
# },
|
|
8265
|
+
# container_image_scanning: {
|
|
8266
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8267
|
+
# scope_values: ["GcpScopeValue"],
|
|
8268
|
+
# },
|
|
8269
|
+
# serverless_scanning: {
|
|
8270
|
+
# scope_type: "TENANT", # required, accepts TENANT, SUBSCRIPTION, ORGANIZATION, PROJECT
|
|
8271
|
+
# scope_values: ["GcpScopeValue"],
|
|
8272
|
+
# },
|
|
8273
|
+
# },
|
|
8274
|
+
# auto_install_vm_scanner: false,
|
|
8275
|
+
# },
|
|
8219
8276
|
# },
|
|
8220
8277
|
# })
|
|
8221
8278
|
#
|
|
@@ -8350,7 +8407,7 @@ module Aws::Inspector2
|
|
|
8350
8407
|
# resp = client.update_encryption_key({
|
|
8351
8408
|
# kms_key_id: "KmsKeyArn", # required
|
|
8352
8409
|
# scan_type: "NETWORK", # required, accepts NETWORK, PACKAGE, CODE
|
|
8353
|
-
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE
|
|
8410
|
+
# resource_type: "AWS_EC2_INSTANCE", # required, accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY, AWS_LAMBDA_FUNCTION, CODE_REPOSITORY, Microsoft.Compute/virtualMachines, Microsoft.ContainerRegistry/registry/containerImage, Microsoft.Web/sites, MACHINE_IMAGE, cloudfunctions.googleapis.com/Function, compute.googleapis.com/Instance, artifactregistry.googleapis.com/DockerImage
|
|
8354
8411
|
# })
|
|
8355
8412
|
#
|
|
8356
8413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey AWS API Documentation
|
|
@@ -8942,7 +8999,7 @@ module Aws::Inspector2
|
|
|
8942
8999
|
tracer: tracer
|
|
8943
9000
|
)
|
|
8944
9001
|
context[:gem_name] = 'aws-sdk-inspector2'
|
|
8945
|
-
context[:gem_version] = '1.
|
|
9002
|
+
context[:gem_version] = '1.98.0'
|
|
8946
9003
|
Seahorse::Client::Request.new(handlers, context)
|
|
8947
9004
|
end
|
|
8948
9005
|
|
|
@@ -440,6 +440,16 @@ module Aws::Inspector2
|
|
|
440
440
|
FreeTrialType = Shapes::StringShape.new(name: 'FreeTrialType')
|
|
441
441
|
FrequencyExpression = Shapes::StringShape.new(name: 'FrequencyExpression')
|
|
442
442
|
FunctionName = Shapes::StringShape.new(name: 'FunctionName')
|
|
443
|
+
GcpCapabilityScope = Shapes::StructureShape.new(name: 'GcpCapabilityScope')
|
|
444
|
+
GcpCapabilityScopeInput = Shapes::StructureShape.new(name: 'GcpCapabilityScopeInput')
|
|
445
|
+
GcpProviderDetailCreate = Shapes::StructureShape.new(name: 'GcpProviderDetailCreate')
|
|
446
|
+
GcpProviderDetailUpdate = Shapes::StructureShape.new(name: 'GcpProviderDetailUpdate')
|
|
447
|
+
GcpRegion = Shapes::StringShape.new(name: 'GcpRegion')
|
|
448
|
+
GcpRegionList = Shapes::ListShape.new(name: 'GcpRegionList')
|
|
449
|
+
GcpScopeConfiguration = Shapes::StructureShape.new(name: 'GcpScopeConfiguration')
|
|
450
|
+
GcpScopeConfigurationInput = Shapes::StructureShape.new(name: 'GcpScopeConfigurationInput')
|
|
451
|
+
GcpScopeValue = Shapes::StringShape.new(name: 'GcpScopeValue')
|
|
452
|
+
GcpScopeValueList = Shapes::ListShape.new(name: 'GcpScopeValueList')
|
|
443
453
|
GetCisScanReportRequest = Shapes::StructureShape.new(name: 'GetCisScanReportRequest')
|
|
444
454
|
GetCisScanReportResponse = Shapes::StructureShape.new(name: 'GetCisScanReportResponse')
|
|
445
455
|
GetCisScanResultDetailsMaxResults = Shapes::IntegerShape.new(name: 'GetCisScanResultDetailsMaxResults')
|
|
@@ -1558,6 +1568,8 @@ module Aws::Inspector2
|
|
|
1558
1568
|
Connector.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: AzureScopeConfiguration, location_name: "scopeConfiguration"))
|
|
1559
1569
|
Connector.add_member(:tags, Shapes::ShapeRef.new(shape: ConnectorTagMap, location_name: "tags"))
|
|
1560
1570
|
Connector.add_member(:auto_install_vm_scanner, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoInstallVMScanner"))
|
|
1571
|
+
Connector.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, location_name: "gcpRegions"))
|
|
1572
|
+
Connector.add_member(:gcp_scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfiguration, location_name: "gcpScopeConfiguration"))
|
|
1561
1573
|
Connector.struct_class = Types::Connector
|
|
1562
1574
|
|
|
1563
1575
|
ConnectorArnFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: ConnectorArnComparison, required: true, location_name: "comparison"))
|
|
@@ -2252,6 +2264,41 @@ module Aws::Inspector2
|
|
|
2252
2264
|
|
|
2253
2265
|
FreeTrialInfoList.member = Shapes::ShapeRef.new(shape: FreeTrialInfo)
|
|
2254
2266
|
|
|
2267
|
+
GcpCapabilityScope.add_member(:scope_type, Shapes::ShapeRef.new(shape: ScopeType, required: true, location_name: "scopeType"))
|
|
2268
|
+
GcpCapabilityScope.add_member(:scope_values, Shapes::ShapeRef.new(shape: GcpScopeValueList, location_name: "scopeValues"))
|
|
2269
|
+
GcpCapabilityScope.add_member(:state, Shapes::ShapeRef.new(shape: ScopeState, location_name: "state"))
|
|
2270
|
+
GcpCapabilityScope.add_member(:state_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateReason"))
|
|
2271
|
+
GcpCapabilityScope.struct_class = Types::GcpCapabilityScope
|
|
2272
|
+
|
|
2273
|
+
GcpCapabilityScopeInput.add_member(:scope_type, Shapes::ShapeRef.new(shape: ScopeType, required: true, location_name: "scopeType"))
|
|
2274
|
+
GcpCapabilityScopeInput.add_member(:scope_values, Shapes::ShapeRef.new(shape: GcpScopeValueList, location_name: "scopeValues"))
|
|
2275
|
+
GcpCapabilityScopeInput.struct_class = Types::GcpCapabilityScopeInput
|
|
2276
|
+
|
|
2277
|
+
GcpProviderDetailCreate.add_member(:aws_config_connector_arn, Shapes::ShapeRef.new(shape: AwsConfigConnectorArn, required: true, location_name: "awsConfigConnectorArn"))
|
|
2278
|
+
GcpProviderDetailCreate.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfigurationInput, required: true, location_name: "scopeConfiguration"))
|
|
2279
|
+
GcpProviderDetailCreate.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, required: true, location_name: "gcpRegions"))
|
|
2280
|
+
GcpProviderDetailCreate.add_member(:auto_install_vm_scanner, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoInstallVMScanner"))
|
|
2281
|
+
GcpProviderDetailCreate.struct_class = Types::GcpProviderDetailCreate
|
|
2282
|
+
|
|
2283
|
+
GcpProviderDetailUpdate.add_member(:gcp_regions, Shapes::ShapeRef.new(shape: GcpRegionList, location_name: "gcpRegions"))
|
|
2284
|
+
GcpProviderDetailUpdate.add_member(:scope_configuration, Shapes::ShapeRef.new(shape: GcpScopeConfigurationInput, location_name: "scopeConfiguration"))
|
|
2285
|
+
GcpProviderDetailUpdate.add_member(:auto_install_vm_scanner, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoInstallVMScanner"))
|
|
2286
|
+
GcpProviderDetailUpdate.struct_class = Types::GcpProviderDetailUpdate
|
|
2287
|
+
|
|
2288
|
+
GcpRegionList.member = Shapes::ShapeRef.new(shape: GcpRegion)
|
|
2289
|
+
|
|
2290
|
+
GcpScopeConfiguration.add_member(:vm_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScope, location_name: "vmScanning"))
|
|
2291
|
+
GcpScopeConfiguration.add_member(:container_image_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScope, location_name: "containerImageScanning"))
|
|
2292
|
+
GcpScopeConfiguration.add_member(:serverless_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScope, location_name: "serverlessScanning"))
|
|
2293
|
+
GcpScopeConfiguration.struct_class = Types::GcpScopeConfiguration
|
|
2294
|
+
|
|
2295
|
+
GcpScopeConfigurationInput.add_member(:vm_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScopeInput, location_name: "vmScanning"))
|
|
2296
|
+
GcpScopeConfigurationInput.add_member(:container_image_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScopeInput, location_name: "containerImageScanning"))
|
|
2297
|
+
GcpScopeConfigurationInput.add_member(:serverless_scanning, Shapes::ShapeRef.new(shape: GcpCapabilityScopeInput, location_name: "serverlessScanning"))
|
|
2298
|
+
GcpScopeConfigurationInput.struct_class = Types::GcpScopeConfigurationInput
|
|
2299
|
+
|
|
2300
|
+
GcpScopeValueList.member = Shapes::ShapeRef.new(shape: GcpScopeValue)
|
|
2301
|
+
|
|
2255
2302
|
GetCisScanReportRequest.add_member(:scan_arn, Shapes::ShapeRef.new(shape: CisScanArn, required: true, location_name: "scanArn"))
|
|
2256
2303
|
GetCisScanReportRequest.add_member(:target_accounts, Shapes::ShapeRef.new(shape: ReportTargetAccounts, location_name: "targetAccounts"))
|
|
2257
2304
|
GetCisScanReportRequest.add_member(:report_format, Shapes::ShapeRef.new(shape: CisReportFormat, location_name: "reportFormat"))
|
|
@@ -2858,14 +2905,18 @@ module Aws::Inspector2
|
|
|
2858
2905
|
ProjectPeriodicScanConfigurationList.member = Shapes::ShapeRef.new(shape: ProjectPeriodicScanConfiguration)
|
|
2859
2906
|
|
|
2860
2907
|
ProviderDetailCreate.add_member(:azure, Shapes::ShapeRef.new(shape: AzureProviderDetailCreate, location_name: "azure"))
|
|
2908
|
+
ProviderDetailCreate.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpProviderDetailCreate, location_name: "gcp"))
|
|
2861
2909
|
ProviderDetailCreate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2862
2910
|
ProviderDetailCreate.add_member_subclass(:azure, Types::ProviderDetailCreate::Azure)
|
|
2911
|
+
ProviderDetailCreate.add_member_subclass(:gcp, Types::ProviderDetailCreate::Gcp)
|
|
2863
2912
|
ProviderDetailCreate.add_member_subclass(:unknown, Types::ProviderDetailCreate::Unknown)
|
|
2864
2913
|
ProviderDetailCreate.struct_class = Types::ProviderDetailCreate
|
|
2865
2914
|
|
|
2866
2915
|
ProviderDetailUpdate.add_member(:azure, Shapes::ShapeRef.new(shape: AzureProviderDetailUpdate, location_name: "azure"))
|
|
2916
|
+
ProviderDetailUpdate.add_member(:gcp, Shapes::ShapeRef.new(shape: GcpProviderDetailUpdate, location_name: "gcp"))
|
|
2867
2917
|
ProviderDetailUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2868
2918
|
ProviderDetailUpdate.add_member_subclass(:azure, Types::ProviderDetailUpdate::Azure)
|
|
2919
|
+
ProviderDetailUpdate.add_member_subclass(:gcp, Types::ProviderDetailUpdate::Gcp)
|
|
2869
2920
|
ProviderDetailUpdate.add_member_subclass(:unknown, Types::ProviderDetailUpdate::Unknown)
|
|
2870
2921
|
ProviderDetailUpdate.struct_class = Types::ProviderDetailUpdate
|
|
2871
2922
|
|