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.
@@ -55,7 +55,7 @@ module Aws::Inspector2
55
55
  autoload :EndpointProvider, 'aws-sdk-inspector2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-inspector2/endpoints'
57
57
 
58
- GEM_VERSION = '1.96.0'
58
+ GEM_VERSION = '1.98.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -277,7 +277,7 @@ module Aws
277
277
  def create_connector: (
278
278
  ?client_token: ::String,
279
279
  name: ::String,
280
- provider: ("AZURE"),
280
+ provider: ("AZURE" | "GCP"),
281
281
  ?description: ::String,
282
282
  provider_detail: {
283
283
  azure: {
@@ -285,6 +285,12 @@ module Aws
285
285
  scope_configuration: Params::azure_scope_configuration_input,
286
286
  azure_regions: Array[::String],
287
287
  auto_install_vm_scanner: bool?
288
+ }?,
289
+ gcp: {
290
+ aws_config_connector_arn: ::String,
291
+ scope_configuration: Params::gcp_scope_configuration_input,
292
+ gcp_regions: Array[::String],
293
+ auto_install_vm_scanner: bool?
288
294
  }?
289
295
  },
290
296
  ?tags: Hash[::String, ::String]
@@ -747,7 +753,7 @@ module Aws
747
753
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_encryption_key-instance_method
748
754
  def get_encryption_key: (
749
755
  scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
750
- resource_type: ("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")
756
+ resource_type: ("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")
751
757
  ) -> _GetEncryptionKeyResponseSuccess
752
758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEncryptionKeyResponseSuccess
753
759
 
@@ -1148,7 +1154,7 @@ module Aws
1148
1154
  provider: Array[
1149
1155
  {
1150
1156
  comparison: ("EQUALS"),
1151
- value: ("AZURE")
1157
+ value: ("AZURE" | "GCP")
1152
1158
  }
1153
1159
  ]?
1154
1160
  }
@@ -1228,7 +1234,7 @@ module Aws
1228
1234
  ?aggregation_request: {
1229
1235
  account_aggregation: {
1230
1236
  finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1231
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")?,
1237
+ resource_type: ("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")?,
1232
1238
  sort_order: ("ASC" | "DESC")?,
1233
1239
  sort_by: ("CRITICAL" | "HIGH" | "ALL")?
1234
1240
  }?,
@@ -1320,7 +1326,7 @@ module Aws
1320
1326
  }?,
1321
1327
  finding_type_aggregation: {
1322
1328
  finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1323
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")?,
1329
+ resource_type: ("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")?,
1324
1330
  sort_order: ("ASC" | "DESC")?,
1325
1331
  sort_by: ("CRITICAL" | "HIGH" | "ALL")?
1326
1332
  }?,
@@ -1409,7 +1415,7 @@ module Aws
1409
1415
  value: ::String
1410
1416
  }
1411
1417
  ]?,
1412
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")?,
1418
+ resource_type: ("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")?,
1413
1419
  finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1414
1420
  sort_order: ("ASC" | "DESC")?,
1415
1421
  sort_by: ("CRITICAL" | "HIGH" | "ALL")?
@@ -1764,7 +1770,7 @@ module Aws
1764
1770
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#reset_encryption_key-instance_method
1765
1771
  def reset_encryption_key: (
1766
1772
  scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
1767
- resource_type: ("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")
1773
+ resource_type: ("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")
1768
1774
  ) -> _ResetEncryptionKeyResponseSuccess
1769
1775
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEncryptionKeyResponseSuccess
1770
1776
 
@@ -1997,6 +2003,11 @@ module Aws
1997
2003
  azure_regions: Array[::String]?,
1998
2004
  scope_configuration: Params::azure_scope_configuration_input?,
1999
2005
  auto_install_vm_scanner: bool?
2006
+ }?,
2007
+ gcp: {
2008
+ gcp_regions: Array[::String]?,
2009
+ scope_configuration: Params::gcp_scope_configuration_input?,
2010
+ auto_install_vm_scanner: bool?
2000
2011
  }?
2001
2012
  }
2002
2013
  ) -> _UpdateConnectorResponseSuccess
@@ -2038,7 +2049,7 @@ module Aws
2038
2049
  def update_encryption_key: (
2039
2050
  kms_key_id: ::String,
2040
2051
  scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
2041
- resource_type: ("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")
2052
+ resource_type: ("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")
2042
2053
  ) -> _UpdateEncryptionKeyResponseSuccess
2043
2054
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEncryptionKeyResponseSuccess
2044
2055
 
@@ -2115,7 +2126,7 @@ module Aws
2115
2126
  provider: Array[
2116
2127
  {
2117
2128
  comparison: ("EQUALS"),
2118
- value: ("AZURE")
2129
+ value: ("AZURE" | "GCP")
2119
2130
  }
2120
2131
  ]?
2121
2132
  }
@@ -2152,7 +2163,7 @@ module Aws
2152
2163
  provider: Array[
2153
2164
  {
2154
2165
  comparison: ("EQUALS"),
2155
- value: ("AZURE")
2166
+ value: ("AZURE" | "GCP")
2156
2167
  }
2157
2168
  ]?
2158
2169
  }
@@ -2189,7 +2200,7 @@ module Aws
2189
2200
  provider: Array[
2190
2201
  {
2191
2202
  comparison: ("EQUALS"),
2192
- value: ("AZURE")
2203
+ value: ("AZURE" | "GCP")
2193
2204
  }
2194
2205
  ]?
2195
2206
  }
data/sig/params.rbs CHANGED
@@ -46,15 +46,30 @@ module Aws
46
46
 
47
47
  type azure_scope_configuration_input = {
48
48
  vm_scanning: {
49
- scope_type: ("TENANT" | "SUBSCRIPTION"),
49
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
50
50
  scope_values: Array[::String]?
51
51
  }?,
52
52
  container_image_scanning: {
53
- scope_type: ("TENANT" | "SUBSCRIPTION"),
53
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
54
54
  scope_values: Array[::String]?
55
55
  }?,
56
56
  serverless_scanning: {
57
- scope_type: ("TENANT" | "SUBSCRIPTION"),
57
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
58
+ scope_values: Array[::String]?
59
+ }?
60
+ }
61
+
62
+ type gcp_scope_configuration_input = {
63
+ vm_scanning: {
64
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
65
+ scope_values: Array[::String]?
66
+ }?,
67
+ container_image_scanning: {
68
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
69
+ scope_values: Array[::String]?
70
+ }?,
71
+ serverless_scanning: {
72
+ scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT"),
58
73
  scope_values: Array[::String]?
59
74
  }?
60
75
  }
data/sig/types.rbs CHANGED
@@ -22,7 +22,7 @@ module Aws::Inspector2
22
22
 
23
23
  class AccountAggregation
24
24
  attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
25
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
25
+ attr_accessor resource_type: ("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")
26
26
  attr_accessor sort_order: ("ASC" | "DESC")
27
27
  attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
28
28
  SENSITIVE: []
@@ -160,7 +160,7 @@ module Aws::Inspector2
160
160
  class AmiAggregationResponse
161
161
  attr_accessor ami: ::String
162
162
  attr_accessor account_id: ::String
163
- attr_accessor cloud_provider: ("AWS" | "AZURE")
163
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP")
164
164
  attr_accessor cloud_partition: ::String
165
165
  attr_accessor cloud_region: ::String
166
166
  attr_accessor cloud_org_id: ::String
@@ -824,7 +824,7 @@ module Aws::Inspector2
824
824
  attr_accessor connector_arn: ::String
825
825
  attr_accessor name: ::String
826
826
  attr_accessor description: ::String
827
- attr_accessor provider: ("AZURE")
827
+ attr_accessor provider: ("AZURE" | "GCP")
828
828
  attr_accessor enablement_status: ("ENABLED" | "PENDING_ENABLEMENT" | "FAILED_TO_ENABLE" | "PENDING_UPDATE" | "FAILED_TO_UPDATE" | "PENDING_DELETION" | "DELETED" | "FAILED_TO_DELETE")
829
829
  attr_accessor enablement_status_reason: ::String
830
830
  attr_accessor health: Types::ConnectorHealth
@@ -835,6 +835,8 @@ module Aws::Inspector2
835
835
  attr_accessor scope_configuration: Types::AzureScopeConfiguration
836
836
  attr_accessor tags: ::Hash[::String, ::String]
837
837
  attr_accessor auto_install_vm_scanner: bool
838
+ attr_accessor gcp_regions: ::Array[::String]
839
+ attr_accessor gcp_scope_configuration: Types::GcpScopeConfiguration
838
840
  SENSITIVE: []
839
841
  end
840
842
 
@@ -905,7 +907,7 @@ module Aws::Inspector2
905
907
 
906
908
  class ContainerImageAggregationResponse
907
909
  attr_accessor resource_id: ::String
908
- attr_accessor cloud_provider: ("AWS" | "AZURE")
910
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP")
909
911
  attr_accessor cloud_account_id: ::String
910
912
  attr_accessor cloud_partition: ::String
911
913
  attr_accessor cloud_region: ::String
@@ -1017,7 +1019,7 @@ module Aws::Inspector2
1017
1019
  end
1018
1020
 
1019
1021
  class CoveredResource
1020
- attr_accessor resource_type: ("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")
1022
+ attr_accessor resource_type: ("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")
1021
1023
  attr_accessor resource_id: ::String
1022
1024
  attr_accessor account_id: ::String
1023
1025
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
@@ -1025,7 +1027,7 @@ module Aws::Inspector2
1025
1027
  attr_accessor resource_metadata: Types::ResourceScanMetadata
1026
1028
  attr_accessor last_scanned_at: ::Time
1027
1029
  attr_accessor scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_AGENTLESS" | "EC2_INSPECTOR_AGENT_BASED" | "VM_INSPECTOR_AGENT_BASED")
1028
- attr_accessor provider: ("AWS" | "AZURE")
1030
+ attr_accessor provider: ("AWS" | "AZURE" | "GCP")
1029
1031
  attr_accessor provider_account_id: ::String
1030
1032
  attr_accessor provider_org_id: ::String
1031
1033
  attr_accessor provider_region: ::String
@@ -1085,7 +1087,7 @@ module Aws::Inspector2
1085
1087
  class CreateConnectorRequest
1086
1088
  attr_accessor client_token: ::String
1087
1089
  attr_accessor name: ::String
1088
- attr_accessor provider: ("AZURE")
1090
+ attr_accessor provider: ("AZURE" | "GCP")
1089
1091
  attr_accessor description: ::String
1090
1092
  attr_accessor provider_detail: Types::ProviderDetailCreate
1091
1093
  attr_accessor tags: ::Hash[::String, ::String]
@@ -1613,7 +1615,7 @@ module Aws::Inspector2
1613
1615
 
1614
1616
  class FindingTypeAggregation
1615
1617
  attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
1616
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
1618
+ attr_accessor resource_type: ("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")
1617
1619
  attr_accessor sort_order: ("ASC" | "DESC")
1618
1620
  attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1619
1621
  SENSITIVE: []
@@ -1643,7 +1645,7 @@ module Aws::Inspector2
1643
1645
  attr_accessor start: ::Time
1644
1646
  attr_accessor end: ::Time
1645
1647
  attr_accessor status: ("ACTIVE" | "INACTIVE")
1646
- attr_accessor cloud_provider: ("AWS" | "AZURE" | "NOT_APPLICABLE")
1648
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP" | "NOT_APPLICABLE")
1647
1649
  SENSITIVE: []
1648
1650
  end
1649
1651
 
@@ -1654,6 +1656,49 @@ module Aws::Inspector2
1654
1656
  SENSITIVE: []
1655
1657
  end
1656
1658
 
1659
+ class GcpCapabilityScope
1660
+ attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT")
1661
+ attr_accessor scope_values: ::Array[::String]
1662
+ attr_accessor state: ("ACTIVE" | "PENDING" | "ERROR" | "DISABLED")
1663
+ attr_accessor state_reason: ::String
1664
+ SENSITIVE: []
1665
+ end
1666
+
1667
+ class GcpCapabilityScopeInput
1668
+ attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT")
1669
+ attr_accessor scope_values: ::Array[::String]
1670
+ SENSITIVE: []
1671
+ end
1672
+
1673
+ class GcpProviderDetailCreate
1674
+ attr_accessor aws_config_connector_arn: ::String
1675
+ attr_accessor scope_configuration: Types::GcpScopeConfigurationInput
1676
+ attr_accessor gcp_regions: ::Array[::String]
1677
+ attr_accessor auto_install_vm_scanner: bool
1678
+ SENSITIVE: []
1679
+ end
1680
+
1681
+ class GcpProviderDetailUpdate
1682
+ attr_accessor gcp_regions: ::Array[::String]
1683
+ attr_accessor scope_configuration: Types::GcpScopeConfigurationInput
1684
+ attr_accessor auto_install_vm_scanner: bool
1685
+ SENSITIVE: []
1686
+ end
1687
+
1688
+ class GcpScopeConfiguration
1689
+ attr_accessor vm_scanning: Types::GcpCapabilityScope
1690
+ attr_accessor container_image_scanning: Types::GcpCapabilityScope
1691
+ attr_accessor serverless_scanning: Types::GcpCapabilityScope
1692
+ SENSITIVE: []
1693
+ end
1694
+
1695
+ class GcpScopeConfigurationInput
1696
+ attr_accessor vm_scanning: Types::GcpCapabilityScopeInput
1697
+ attr_accessor container_image_scanning: Types::GcpCapabilityScopeInput
1698
+ attr_accessor serverless_scanning: Types::GcpCapabilityScopeInput
1699
+ SENSITIVE: []
1700
+ end
1701
+
1657
1702
  class GetCisScanReportRequest
1658
1703
  attr_accessor scan_arn: ::String
1659
1704
  attr_accessor target_accounts: ::Array[::String]
@@ -1785,7 +1830,7 @@ module Aws::Inspector2
1785
1830
 
1786
1831
  class GetEncryptionKeyRequest
1787
1832
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
1788
- attr_accessor resource_type: ("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")
1833
+ attr_accessor resource_type: ("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")
1789
1834
  SENSITIVE: []
1790
1835
  end
1791
1836
 
@@ -2424,29 +2469,35 @@ module Aws::Inspector2
2424
2469
 
2425
2470
  class ProviderDetailCreate
2426
2471
  attr_accessor azure: Types::AzureProviderDetailCreate
2472
+ attr_accessor gcp: Types::GcpProviderDetailCreate
2427
2473
  attr_accessor unknown: untyped
2428
2474
  SENSITIVE: []
2429
2475
 
2430
2476
  class Azure < ProviderDetailCreate
2431
2477
  end
2478
+ class Gcp < ProviderDetailCreate
2479
+ end
2432
2480
  class Unknown < ProviderDetailCreate
2433
2481
  end
2434
2482
  end
2435
2483
 
2436
2484
  class ProviderDetailUpdate
2437
2485
  attr_accessor azure: Types::AzureProviderDetailUpdate
2486
+ attr_accessor gcp: Types::GcpProviderDetailUpdate
2438
2487
  attr_accessor unknown: untyped
2439
2488
  SENSITIVE: []
2440
2489
 
2441
2490
  class Azure < ProviderDetailUpdate
2442
2491
  end
2492
+ class Gcp < ProviderDetailUpdate
2493
+ end
2443
2494
  class Unknown < ProviderDetailUpdate
2444
2495
  end
2445
2496
  end
2446
2497
 
2447
2498
  class ProviderFilter
2448
2499
  attr_accessor comparison: ("EQUALS")
2449
- attr_accessor value: ("AZURE")
2500
+ attr_accessor value: ("AZURE" | "GCP")
2450
2501
  SENSITIVE: []
2451
2502
  end
2452
2503
 
@@ -2471,7 +2522,7 @@ module Aws::Inspector2
2471
2522
  class RepositoryAggregationResponse
2472
2523
  attr_accessor repository: ::String
2473
2524
  attr_accessor account_id: ::String
2474
- attr_accessor cloud_provider: ("AWS" | "AZURE")
2525
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP")
2475
2526
  attr_accessor cloud_partition: ::String
2476
2527
  attr_accessor cloud_region: ::String
2477
2528
  attr_accessor cloud_org_id: ::String
@@ -2483,7 +2534,7 @@ module Aws::Inspector2
2483
2534
 
2484
2535
  class ResetEncryptionKeyRequest
2485
2536
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2486
- attr_accessor resource_type: ("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")
2537
+ attr_accessor resource_type: ("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")
2487
2538
  SENSITIVE: []
2488
2539
  end
2489
2540
 
@@ -2491,13 +2542,13 @@ module Aws::Inspector2
2491
2542
  end
2492
2543
 
2493
2544
  class Resource
2494
- attr_accessor type: ("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")
2545
+ attr_accessor type: ("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")
2495
2546
  attr_accessor id: ::String
2496
2547
  attr_accessor partition: ::String
2497
2548
  attr_accessor region: ::String
2498
2549
  attr_accessor tags: ::Hash[::String, ::String]
2499
2550
  attr_accessor details: Types::ResourceDetails
2500
- attr_accessor provider: ("AWS" | "AZURE")
2551
+ attr_accessor provider: ("AWS" | "AZURE" | "GCP")
2501
2552
  attr_accessor provider_account_id: ::String
2502
2553
  attr_accessor provider_org_id: ::String
2503
2554
  SENSITIVE: []
@@ -2618,7 +2669,7 @@ module Aws::Inspector2
2618
2669
  end
2619
2670
 
2620
2671
  class ScopeConfiguration
2621
- attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION")
2672
+ attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT")
2622
2673
  attr_accessor scope_values: ::Array[::String]
2623
2674
  attr_accessor state: ("ACTIVE" | "PENDING" | "ERROR" | "DISABLED")
2624
2675
  attr_accessor state_reason: ::String
@@ -2626,7 +2677,7 @@ module Aws::Inspector2
2626
2677
  end
2627
2678
 
2628
2679
  class ScopeConfigurationInput
2629
- attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION")
2680
+ attr_accessor scope_type: ("TENANT" | "SUBSCRIPTION" | "ORGANIZATION" | "PROJECT")
2630
2681
  attr_accessor scope_values: ::Array[::String]
2631
2682
  SENSITIVE: []
2632
2683
  end
@@ -2705,7 +2756,7 @@ module Aws::Inspector2
2705
2756
 
2706
2757
  class ServerlessFunctionAggregationResponse
2707
2758
  attr_accessor resource_id: ::String
2708
- attr_accessor cloud_provider: ("AWS" | "AZURE")
2759
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP")
2709
2760
  attr_accessor cloud_account_id: ::String
2710
2761
  attr_accessor cloud_partition: ::String
2711
2762
  attr_accessor cloud_region: ::String
@@ -2891,7 +2942,7 @@ module Aws::Inspector2
2891
2942
  class TitleAggregation
2892
2943
  attr_accessor titles: ::Array[Types::StringFilter]
2893
2944
  attr_accessor vulnerability_ids: ::Array[Types::StringFilter]
2894
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY" | "Microsoft.Compute/virtualMachines" | "Microsoft.ContainerRegistry/registry/containerImage" | "Microsoft.Web/sites")
2945
+ attr_accessor resource_type: ("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")
2895
2946
  attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
2896
2947
  attr_accessor sort_order: ("ASC" | "DESC")
2897
2948
  attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
@@ -3015,7 +3066,7 @@ module Aws::Inspector2
3015
3066
  class UpdateEncryptionKeyRequest
3016
3067
  attr_accessor kms_key_id: ::String
3017
3068
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
3018
- attr_accessor resource_type: ("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")
3069
+ attr_accessor resource_type: ("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")
3019
3070
  SENSITIVE: []
3020
3071
  end
3021
3072
 
@@ -3081,11 +3132,11 @@ module Aws::Inspector2
3081
3132
  end
3082
3133
 
3083
3134
  class Usage
3084
- attr_accessor type: ("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")
3135
+ attr_accessor type: ("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")
3085
3136
  attr_accessor total: ::Float
3086
3137
  attr_accessor estimated_monthly_cost: ::Float
3087
3138
  attr_accessor currency: ("USD")
3088
- attr_accessor cloud_provider: ("AWS" | "AZURE" | "NOT_APPLICABLE")
3139
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP" | "NOT_APPLICABLE")
3089
3140
  SENSITIVE: []
3090
3141
  end
3091
3142
 
@@ -3148,7 +3199,7 @@ module Aws::Inspector2
3148
3199
 
3149
3200
  class VmInstanceAggregationResponse
3150
3201
  attr_accessor resource_id: ::String
3151
- attr_accessor cloud_provider: ("AWS" | "AZURE")
3202
+ attr_accessor cloud_provider: ("AWS" | "AZURE" | "GCP")
3152
3203
  attr_accessor cloud_account_id: ::String
3153
3204
  attr_accessor cloud_partition: ::String
3154
3205
  attr_accessor cloud_region: ::String
data/sig/waiters.rbs CHANGED
@@ -44,7 +44,7 @@ module Aws
44
44
  provider: Array[
45
45
  {
46
46
  comparison: ("EQUALS"),
47
- value: ("AZURE")
47
+ value: ("AZURE" | "GCP")
48
48
  }
49
49
  ]?
50
50
  }
@@ -87,7 +87,7 @@ module Aws
87
87
  provider: Array[
88
88
  {
89
89
  comparison: ("EQUALS"),
90
- value: ("AZURE")
90
+ value: ("AZURE" | "GCP")
91
91
  }
92
92
  ]?
93
93
  }
@@ -130,7 +130,7 @@ module Aws
130
130
  provider: Array[
131
131
  {
132
132
  comparison: ("EQUALS"),
133
- value: ("AZURE")
133
+ value: ("AZURE" | "GCP")
134
134
  }
135
135
  ]?
136
136
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.0
4
+ version: 1.98.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.269.0
21
+ version: 3.270.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.269.0
31
+ version: 3.270.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement