aws-sdk-inspector2 1.98.0 → 1.100.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.
@@ -2564,6 +2564,49 @@ module Aws::Inspector2
2564
2564
  include Aws::Structure
2565
2565
  end
2566
2566
 
2567
+ # The VPC configuration that Amazon Inspector uses to connect to a
2568
+ # source code repository provider that is hosted in a private network.
2569
+ #
2570
+ # @!attribute [rw] vpc_id
2571
+ # The ID of the VPC that Amazon Inspector connects through to reach
2572
+ # the repository provider.
2573
+ # @return [String]
2574
+ #
2575
+ # @!attribute [rw] vpc_endpoint_id
2576
+ # The ID of the VPC endpoint used for the connection.
2577
+ # @return [String]
2578
+ #
2579
+ # @!attribute [rw] code_connections_host_arn
2580
+ # The Amazon Resource Name (ARN) of the AWS CodeConnections host used
2581
+ # for the connection.
2582
+ # @return [String]
2583
+ #
2584
+ # @!attribute [rw] subnet_ids
2585
+ # The IDs of the subnets used for the connection.
2586
+ # @return [Array<String>]
2587
+ #
2588
+ # @!attribute [rw] security_groups
2589
+ # The IDs of the security groups used for the connection.
2590
+ # @return [Array<String>]
2591
+ #
2592
+ # @!attribute [rw] tls_certificate
2593
+ # The TLS certificate used to establish a trusted connection to the
2594
+ # repository provider.
2595
+ # @return [String]
2596
+ #
2597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityIntegrationVpcConfiguration AWS API Documentation
2598
+ #
2599
+ class CodeSecurityIntegrationVpcConfiguration < Struct.new(
2600
+ :vpc_id,
2601
+ :vpc_endpoint_id,
2602
+ :code_connections_host_arn,
2603
+ :subnet_ids,
2604
+ :security_groups,
2605
+ :tls_certificate)
2606
+ SENSITIVE = [:tls_certificate]
2607
+ include Aws::Structure
2608
+ end
2609
+
2567
2610
  # Identifies a specific resource in a code repository that will be
2568
2611
  # scanned.
2569
2612
  #
@@ -4209,6 +4252,28 @@ module Aws::Inspector2
4209
4252
  include Aws::Structure
4210
4253
  end
4211
4254
 
4255
+ # Contains the details required to create an integration with a GitHub
4256
+ # Enterprise Server instance.
4257
+ #
4258
+ # @!attribute [rw] instance_url
4259
+ # The URL of the GitHub Enterprise Server instance.
4260
+ # @return [String]
4261
+ #
4262
+ # @!attribute [rw] vpc_configuration
4263
+ # The VPC configuration used to connect to the GitHub Enterprise
4264
+ # Server instance in a private network. For publicly accessible
4265
+ # instances, omit this field.
4266
+ # @return [Types::CodeSecurityIntegrationVpcConfiguration]
4267
+ #
4268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateGitHubEnterpriseIntegrationDetail AWS API Documentation
4269
+ #
4270
+ class CreateGitHubEnterpriseIntegrationDetail < Struct.new(
4271
+ :instance_url,
4272
+ :vpc_configuration)
4273
+ SENSITIVE = [:instance_url]
4274
+ include Aws::Structure
4275
+ end
4276
+
4212
4277
  # Contains details required to create an integration with a self-managed
4213
4278
  # GitLab instance.
4214
4279
  #
@@ -4221,11 +4286,18 @@ module Aws::Inspector2
4221
4286
  # GitLab instance.
4222
4287
  # @return [String]
4223
4288
  #
4289
+ # @!attribute [rw] vpc_configuration
4290
+ # The VPC configuration used to connect to the self-managed GitLab
4291
+ # instance in a private network. For publicly accessible instances,
4292
+ # omit this field.
4293
+ # @return [Types::CodeSecurityIntegrationVpcConfiguration]
4294
+ #
4224
4295
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateGitLabSelfManagedIntegrationDetail AWS API Documentation
4225
4296
  #
4226
4297
  class CreateGitLabSelfManagedIntegrationDetail < Struct.new(
4227
4298
  :instance_url,
4228
- :access_token)
4299
+ :access_token,
4300
+ :vpc_configuration)
4229
4301
  SENSITIVE = [:instance_url, :access_token]
4230
4302
  include Aws::Structure
4231
4303
  end
@@ -4240,16 +4312,23 @@ module Aws::Inspector2
4240
4312
  # GitLab instance.
4241
4313
  # @return [Types::CreateGitLabSelfManagedIntegrationDetail]
4242
4314
  #
4315
+ # @!attribute [rw] github_enterprise
4316
+ # Details specific to creating an integration with a GitHub Enterprise
4317
+ # Server instance.
4318
+ # @return [Types::CreateGitHubEnterpriseIntegrationDetail]
4319
+ #
4243
4320
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateIntegrationDetail AWS API Documentation
4244
4321
  #
4245
4322
  class CreateIntegrationDetail < Struct.new(
4246
4323
  :gitlab_self_managed,
4324
+ :github_enterprise,
4247
4325
  :unknown)
4248
4326
  SENSITIVE = []
4249
4327
  include Aws::Structure
4250
4328
  include Aws::Structure::Union
4251
4329
 
4252
4330
  class GitlabSelfManaged < CreateIntegrationDetail; end
4331
+ class GithubEnterprise < CreateIntegrationDetail; end
4253
4332
  class Unknown < CreateIntegrationDetail; end
4254
4333
  end
4255
4334
 
@@ -6645,6 +6724,16 @@ module Aws::Inspector2
6645
6724
  # fix a connection issue. Otherwise, it is null.
6646
6725
  # @return [String]
6647
6726
  #
6727
+ # @!attribute [rw] vpc_configuration
6728
+ # The VPC configuration associated with the integration, if it
6729
+ # connects to a repository provider in a private network.
6730
+ # @return [Types::CodeSecurityIntegrationVpcConfiguration]
6731
+ #
6732
+ # @!attribute [rw] instance_url
6733
+ # The URL of the self-managed GitLab or GitHub Enterprise Server
6734
+ # instance associated with the integration.
6735
+ # @return [String]
6736
+ #
6648
6737
  # @!attribute [rw] tags
6649
6738
  # The tags associated with the code security integration.
6650
6739
  # @return [Hash<String,String>]
@@ -6660,8 +6749,10 @@ module Aws::Inspector2
6660
6749
  :created_on,
6661
6750
  :last_update_on,
6662
6751
  :authorization_url,
6752
+ :vpc_configuration,
6753
+ :instance_url,
6663
6754
  :tags)
6664
- SENSITIVE = [:authorization_url]
6755
+ SENSITIVE = [:authorization_url, :instance_url]
6665
6756
  include Aws::Structure
6666
6757
  end
6667
6758
 
@@ -7116,6 +7207,22 @@ module Aws::Inspector2
7116
7207
  include Aws::Structure
7117
7208
  end
7118
7209
 
7210
+ # Contains the details required to register the GitHub App on the GitHub
7211
+ # Enterprise Server instance.
7212
+ #
7213
+ # @!attribute [rw] manifest_code
7214
+ # The manifest code used to register the GitHub App on the GitHub
7215
+ # Enterprise Server instance.
7216
+ # @return [String]
7217
+ #
7218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GitHubEnterpriseServerAppRegistrationDetail AWS API Documentation
7219
+ #
7220
+ class GitHubEnterpriseServerAppRegistrationDetail < Struct.new(
7221
+ :manifest_code)
7222
+ SENSITIVE = [:manifest_code]
7223
+ include Aws::Structure
7224
+ end
7225
+
7119
7226
  # Contains details about a container image involved in a finding.
7120
7227
  #
7121
7228
  # @!attribute [rw] repository_name
@@ -8699,50 +8806,56 @@ module Aws::Inspector2
8699
8806
  include Aws::Structure
8700
8807
  end
8701
8808
 
8702
- # Details about a machine image resource scanned directly by Inspector.
8809
+ # Contains details about an Amazon Machine Image (AMI) that Amazon
8810
+ # Inspector scanned directly.
8703
8811
  #
8704
8812
  # @!attribute [rw] machine_image_id
8705
- # The machine image ID (e.g., ami-0abcdef1234567890)
8813
+ # The ID of the machine image, for example `ami-0abcdef1234567890`.
8706
8814
  # @return [String]
8707
8815
  #
8708
8816
  # @!attribute [rw] name
8709
- # Human-readable image name
8817
+ # The name of the machine image.
8710
8818
  # @return [String]
8711
8819
  #
8712
8820
  # @!attribute [rw] owner_account_id
8713
- # Account ID that owns the image
8821
+ # The ID of the account that owns the machine image.
8714
8822
  # @return [String]
8715
8823
  #
8716
8824
  # @!attribute [rw] platform
8717
- # OS platform (Linux/Windows)
8825
+ # The operating system platform of the machine image.
8718
8826
  # @return [String]
8719
8827
  #
8720
8828
  # @!attribute [rw] architecture
8721
- # CPU architecture (x86\_64/arm64)
8829
+ # The CPU architecture of the machine image, for example `x86_64` or
8830
+ # `arm64`.
8722
8831
  # @return [String]
8723
8832
  #
8724
8833
  # @!attribute [rw] creation_date
8725
- # When the image was created
8834
+ # The date and time that the machine image was created.
8726
8835
  # @return [Time]
8727
8836
  #
8728
8837
  # @!attribute [rw] state
8729
- # Image state (available/pending/deregistered)
8838
+ # The state of the machine image, for example `available`, `pending`,
8839
+ # or `deregistered`.
8730
8840
  # @return [String]
8731
8841
  #
8732
8842
  # @!attribute [rw] is_public
8733
- # Whether the image is publicly shared
8843
+ # Indicates whether the machine image is shared publicly.
8734
8844
  # @return [Boolean]
8735
8845
  #
8736
8846
  # @!attribute [rw] root_device_type
8737
- # Root device type (ebs/instance-store) — AWS-specific
8847
+ # The root device type of the machine image, either `ebs` or
8848
+ # `instance-store`.
8738
8849
  # @return [String]
8739
8850
  #
8740
8851
  # @!attribute [rw] virtualization_type
8741
- # Virtualization type (hvm/paravirtual) — AWS-specific
8852
+ # The virtualization type of the machine image, either `hvm` or
8853
+ # `paravirtual`.
8742
8854
  # @return [String]
8743
8855
  #
8744
8856
  # @!attribute [rw] source_resource_id
8745
- # Source resource the image was created from (nullable)
8857
+ # The ID of the Amazon EC2 instance that the machine image was created
8858
+ # from, if available.
8746
8859
  # @return [String]
8747
8860
  #
8748
8861
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/MachineImageDetails AWS API Documentation
@@ -9108,6 +9221,33 @@ module Aws::Inspector2
9108
9221
  # on.
9109
9222
  # @return [Types::StringFilter]
9110
9223
  #
9224
+ # @!attribute [rw] runtime_reachability
9225
+ # An object that contains details on the runtime reachability status
9226
+ # of the package to filter on. For more information, see
9227
+ # [Understanding runtime reachability][1] in the Amazon Inspector user
9228
+ # guide.
9229
+ #
9230
+ #
9231
+ #
9232
+ # [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
9233
+ # @return [Types::RuntimeReachabilityFilter]
9234
+ #
9235
+ # @!attribute [rw] runtime_reachability_reason
9236
+ # An object that contains details on the runtime reachability reason
9237
+ # of the package to filter on. For more information, see
9238
+ # [Understanding runtime reachability][1] in the Amazon Inspector user
9239
+ # guide.
9240
+ #
9241
+ #
9242
+ #
9243
+ # [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
9244
+ # @return [Types::RuntimeReachabilityReasonFilter]
9245
+ #
9246
+ # @!attribute [rw] purl_qualifier
9247
+ # An object that contains details on the package URL (purl) qualifier
9248
+ # to filter on.
9249
+ # @return [Types::PurlQualifierFilter]
9250
+ #
9111
9251
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PackageFilter AWS API Documentation
9112
9252
  #
9113
9253
  class PackageFilter < Struct.new(
@@ -9118,7 +9258,10 @@ module Aws::Inspector2
9118
9258
  :architecture,
9119
9259
  :source_layer_hash,
9120
9260
  :source_lambda_layer_arn,
9121
- :file_path)
9261
+ :file_path,
9262
+ :runtime_reachability,
9263
+ :runtime_reachability_reason,
9264
+ :purl_qualifier)
9122
9265
  SENSITIVE = []
9123
9266
  include Aws::Structure
9124
9267
  end
@@ -9410,6 +9553,31 @@ module Aws::Inspector2
9410
9553
  include Aws::Structure
9411
9554
  end
9412
9555
 
9556
+ # An object that describes the details of a package URL (purl) qualifier
9557
+ # filter.
9558
+ #
9559
+ # @!attribute [rw] comparison
9560
+ # The operator to use when comparing values in the filter.
9561
+ # @return [String]
9562
+ #
9563
+ # @!attribute [rw] key
9564
+ # The package URL (purl) qualifier key to filter on.
9565
+ # @return [String]
9566
+ #
9567
+ # @!attribute [rw] value
9568
+ # The package URL (purl) qualifier value to filter on.
9569
+ # @return [String]
9570
+ #
9571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PurlQualifierFilter AWS API Documentation
9572
+ #
9573
+ class PurlQualifierFilter < Struct.new(
9574
+ :comparison,
9575
+ :key,
9576
+ :value)
9577
+ SENSITIVE = []
9578
+ include Aws::Structure
9579
+ end
9580
+
9413
9581
  # Details about the recommended course of action to remediate the
9414
9582
  # finding.
9415
9583
  #
@@ -9668,8 +9836,8 @@ module Aws::Inspector2
9668
9836
  # @return [Types::CodeRepositoryDetails]
9669
9837
  #
9670
9838
  # @!attribute [rw] machine_image
9671
- # Details about a machine image resource scanned directly by
9672
- # Inspector.
9839
+ # An object that contains details about the Amazon Machine Image (AMI)
9840
+ # involved in the finding.
9673
9841
  # @return [Types::MachineImageDetails]
9674
9842
  #
9675
9843
  # @!attribute [rw] vm
@@ -10067,6 +10235,45 @@ module Aws::Inspector2
10067
10235
  include Aws::Structure
10068
10236
  end
10069
10237
 
10238
+ # An object that describes the details of a runtime reachability filter.
10239
+ #
10240
+ # @!attribute [rw] comparison
10241
+ # The operator to use when comparing values in the filter.
10242
+ # @return [String]
10243
+ #
10244
+ # @!attribute [rw] value
10245
+ # The runtime reachability status to filter on.
10246
+ # @return [String]
10247
+ #
10248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/RuntimeReachabilityFilter AWS API Documentation
10249
+ #
10250
+ class RuntimeReachabilityFilter < Struct.new(
10251
+ :comparison,
10252
+ :value)
10253
+ SENSITIVE = []
10254
+ include Aws::Structure
10255
+ end
10256
+
10257
+ # An object that describes the details of a runtime reachability reason
10258
+ # filter.
10259
+ #
10260
+ # @!attribute [rw] comparison
10261
+ # The operator to use when comparing values in the filter.
10262
+ # @return [String]
10263
+ #
10264
+ # @!attribute [rw] value
10265
+ # The runtime reachability reason to filter on.
10266
+ # @return [String]
10267
+ #
10268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/RuntimeReachabilityReasonFilter AWS API Documentation
10269
+ #
10270
+ class RuntimeReachabilityReasonFilter < Struct.new(
10271
+ :comparison,
10272
+ :value)
10273
+ SENSITIVE = []
10274
+ include Aws::Structure
10275
+ end
10276
+
10070
10277
  # The status of the scan.
10071
10278
  #
10072
10279
  # @!attribute [rw] status_code
@@ -11750,6 +11957,63 @@ module Aws::Inspector2
11750
11957
  include Aws::Structure
11751
11958
  end
11752
11959
 
11960
+ # Contains the details required to complete the GitHub App installation
11961
+ # for a GitHub Enterprise Server integration.
11962
+ #
11963
+ # @!attribute [rw] code
11964
+ # The authorization code received from GitHub Enterprise Server.
11965
+ # @return [String]
11966
+ #
11967
+ # @!attribute [rw] installation_id
11968
+ # The installation ID of the GitHub App associated with the
11969
+ # integration.
11970
+ # @return [String]
11971
+ #
11972
+ # @!attribute [rw] state_token
11973
+ # The PKCE state token used to validate the authorization request.
11974
+ # @return [String]
11975
+ #
11976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubEnterpriseServerAppInstallationDetail AWS API Documentation
11977
+ #
11978
+ class UpdateGitHubEnterpriseServerAppInstallationDetail < Struct.new(
11979
+ :code,
11980
+ :installation_id,
11981
+ :state_token)
11982
+ SENSITIVE = [:code, :state_token]
11983
+ include Aws::Structure
11984
+ end
11985
+
11986
+ # Contains the details required to update an integration with a GitHub
11987
+ # Enterprise Server instance. Provide one of the following, depending on
11988
+ # the step of the setup flow.
11989
+ #
11990
+ # @note UpdateGitHubEnterpriseServerIntegrationDetail is a union - when making an API calls you must set exactly one of the members.
11991
+ #
11992
+ # @!attribute [rw] app_installation
11993
+ # Details for completing the GitHub App installation step of the
11994
+ # GitHub Enterprise Server integration.
11995
+ # @return [Types::UpdateGitHubEnterpriseServerAppInstallationDetail]
11996
+ #
11997
+ # @!attribute [rw] app_registration
11998
+ # Details for completing the GitHub App manifest registration step of
11999
+ # the GitHub Enterprise Server integration.
12000
+ # @return [Types::GitHubEnterpriseServerAppRegistrationDetail]
12001
+ #
12002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubEnterpriseServerIntegrationDetail AWS API Documentation
12003
+ #
12004
+ class UpdateGitHubEnterpriseServerIntegrationDetail < Struct.new(
12005
+ :app_installation,
12006
+ :app_registration,
12007
+ :unknown)
12008
+ SENSITIVE = []
12009
+ include Aws::Structure
12010
+ include Aws::Structure::Union
12011
+
12012
+ class AppInstallation < UpdateGitHubEnterpriseServerIntegrationDetail; end
12013
+ class AppRegistration < UpdateGitHubEnterpriseServerIntegrationDetail; end
12014
+ class Unknown < UpdateGitHubEnterpriseServerIntegrationDetail; end
12015
+ end
12016
+
11753
12017
  # Contains details required to update an integration with GitHub.
11754
12018
  #
11755
12019
  # @!attribute [rw] code
@@ -11762,12 +12026,17 @@ module Aws::Inspector2
11762
12026
  # integration.
11763
12027
  # @return [String]
11764
12028
  #
12029
+ # @!attribute [rw] state_token
12030
+ # The PKCE state token used to validate the authorization request.
12031
+ # @return [String]
12032
+ #
11765
12033
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubIntegrationDetail AWS API Documentation
11766
12034
  #
11767
12035
  class UpdateGitHubIntegrationDetail < Struct.new(
11768
12036
  :code,
11769
- :installation_id)
11770
- SENSITIVE = [:code]
12037
+ :installation_id,
12038
+ :state_token)
12039
+ SENSITIVE = [:code, :state_token]
11771
12040
  include Aws::Structure
11772
12041
  end
11773
12042
 
@@ -11779,11 +12048,16 @@ module Aws::Inspector2
11779
12048
  # instance to update the integration.
11780
12049
  # @return [String]
11781
12050
  #
12051
+ # @!attribute [rw] state_token
12052
+ # The PKCE state token used to validate the authorization request.
12053
+ # @return [String]
12054
+ #
11782
12055
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitLabSelfManagedIntegrationDetail AWS API Documentation
11783
12056
  #
11784
12057
  class UpdateGitLabSelfManagedIntegrationDetail < Struct.new(
11785
- :auth_code)
11786
- SENSITIVE = [:auth_code]
12058
+ :auth_code,
12059
+ :state_token)
12060
+ SENSITIVE = [:auth_code, :state_token]
11787
12061
  include Aws::Structure
11788
12062
  end
11789
12063
 
@@ -11801,11 +12075,17 @@ module Aws::Inspector2
11801
12075
  # Details specific to updating an integration with GitHub.
11802
12076
  # @return [Types::UpdateGitHubIntegrationDetail]
11803
12077
  #
12078
+ # @!attribute [rw] github_enterprise_server
12079
+ # Details specific to updating an integration with a GitHub Enterprise
12080
+ # Server instance.
12081
+ # @return [Types::UpdateGitHubEnterpriseServerIntegrationDetail]
12082
+ #
11804
12083
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateIntegrationDetails AWS API Documentation
11805
12084
  #
11806
12085
  class UpdateIntegrationDetails < Struct.new(
11807
12086
  :gitlab_self_managed,
11808
12087
  :github,
12088
+ :github_enterprise_server,
11809
12089
  :unknown)
11810
12090
  SENSITIVE = []
11811
12091
  include Aws::Structure
@@ -11813,6 +12093,7 @@ module Aws::Inspector2
11813
12093
 
11814
12094
  class GitlabSelfManaged < UpdateIntegrationDetails; end
11815
12095
  class Github < UpdateIntegrationDetails; end
12096
+ class GithubEnterpriseServer < UpdateIntegrationDetails; end
11816
12097
  class Unknown < UpdateIntegrationDetails; end
11817
12098
  end
11818
12099
 
@@ -12454,6 +12735,30 @@ module Aws::Inspector2
12454
12735
  # function affected by a finding.
12455
12736
  # @return [String]
12456
12737
  #
12738
+ # @!attribute [rw] runtime_reachability
12739
+ # The runtime reachability status of the vulnerable package. For more
12740
+ # information, see [Understanding runtime reachability][1] in the
12741
+ # Amazon Inspector user guide.
12742
+ #
12743
+ #
12744
+ #
12745
+ # [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
12746
+ # @return [String]
12747
+ #
12748
+ # @!attribute [rw] runtime_reachability_reason
12749
+ # The reason for the runtime reachability status of the vulnerable
12750
+ # package. For more information, see [Understanding runtime
12751
+ # reachability][1] in the Amazon Inspector user guide.
12752
+ #
12753
+ #
12754
+ #
12755
+ # [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html
12756
+ # @return [String]
12757
+ #
12758
+ # @!attribute [rw] purl
12759
+ # The package URL (purl) of the vulnerable package.
12760
+ # @return [String]
12761
+ #
12457
12762
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/VulnerablePackage AWS API Documentation
12458
12763
  #
12459
12764
  class VulnerablePackage < Struct.new(
@@ -12467,7 +12772,10 @@ module Aws::Inspector2
12467
12772
  :file_path,
12468
12773
  :fixed_in_version,
12469
12774
  :remediation,
12470
- :source_lambda_layer_arn)
12775
+ :source_lambda_layer_arn,
12776
+ :runtime_reachability,
12777
+ :runtime_reachability_reason,
12778
+ :purl)
12471
12779
  SENSITIVE = []
12472
12780
  include Aws::Structure
12473
12781
  end
@@ -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.98.0'
58
+ GEM_VERSION = '1.100.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -236,17 +236,22 @@ module Aws
236
236
  interface _CreateCodeSecurityIntegrationResponseSuccess
237
237
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeSecurityIntegrationResponse]
238
238
  def integration_arn: () -> ::String
239
- def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
239
+ def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
240
240
  def authorization_url: () -> ::String
241
241
  end
242
242
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_code_security_integration-instance_method
243
243
  def create_code_security_integration: (
244
244
  name: ::String,
245
- type: ("GITLAB_SELF_MANAGED" | "GITHUB"),
245
+ type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER"),
246
246
  ?details: {
247
247
  gitlab_self_managed: {
248
248
  instance_url: ::String,
249
- access_token: ::String
249
+ access_token: ::String,
250
+ vpc_configuration: Params::code_security_integration_vpc_configuration?
251
+ }?,
252
+ github_enterprise: {
253
+ instance_url: ::String,
254
+ vpc_configuration: Params::code_security_integration_vpc_configuration?
250
255
  }?
251
256
  },
252
257
  ?tags: Hash[::String, ::String]
@@ -661,12 +666,14 @@ module Aws
661
666
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeSecurityIntegrationResponse]
662
667
  def integration_arn: () -> ::String
663
668
  def name: () -> ::String
664
- def type: () -> ("GITLAB_SELF_MANAGED" | "GITHUB")
665
- def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
669
+ def type: () -> ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
670
+ def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
666
671
  def status_reason: () -> ::String
667
672
  def created_on: () -> ::Time
668
673
  def last_update_on: () -> ::Time
669
674
  def authorization_url: () -> ::String
675
+ def vpc_configuration: () -> Types::CodeSecurityIntegrationVpcConfiguration
676
+ def instance_url: () -> ::String
670
677
  def tags: () -> ::Hash[::String, ::String]
671
678
  end
672
679
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_code_security_integration-instance_method
@@ -1924,18 +1931,30 @@ module Aws
1924
1931
  interface _UpdateCodeSecurityIntegrationResponseSuccess
1925
1932
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCodeSecurityIntegrationResponse]
1926
1933
  def integration_arn: () -> ::String
1927
- def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
1934
+ def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING" | "ESTABLISHING_CONNECTION_IN_PROGRESS" | "ESTABLISHING_CONNECTION_COMPLETED" | "ESTABLISHING_CONNECTION_FAILED" | "PENDING_MANIFEST_CODE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
1928
1935
  end
1929
1936
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_code_security_integration-instance_method
1930
1937
  def update_code_security_integration: (
1931
1938
  integration_arn: ::String,
1932
1939
  details: {
1933
1940
  gitlab_self_managed: {
1934
- auth_code: ::String
1941
+ auth_code: ::String,
1942
+ state_token: ::String?
1935
1943
  }?,
1936
1944
  github: {
1937
1945
  code: ::String,
1938
- installation_id: ::String
1946
+ installation_id: ::String,
1947
+ state_token: ::String?
1948
+ }?,
1949
+ github_enterprise_server: {
1950
+ app_installation: {
1951
+ code: ::String,
1952
+ installation_id: ::String,
1953
+ state_token: ::String?
1954
+ }?,
1955
+ app_registration: {
1956
+ manifest_code: ::String
1957
+ }?
1939
1958
  }?
1940
1959
  }
1941
1960
  ) -> _UpdateCodeSecurityIntegrationResponseSuccess
data/sig/params.rbs CHANGED
@@ -33,6 +33,15 @@ module Aws
33
33
  }?
34
34
  }
35
35
 
36
+ type code_security_integration_vpc_configuration = {
37
+ vpc_id: ::String,
38
+ vpc_endpoint_id: ::String,
39
+ code_connections_host_arn: ::String?,
40
+ subnet_ids: Array[::String]?,
41
+ security_groups: Array[::String]?,
42
+ tls_certificate: ::String?
43
+ }
44
+
36
45
  type code_security_scan_configuration = {
37
46
  periodic_scan_configuration: {
38
47
  frequency: ("WEEKLY" | "MONTHLY" | "NEVER")?,
@@ -521,6 +530,19 @@ module Aws
521
530
  file_path: {
522
531
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
523
532
  value: ::String
533
+ }?,
534
+ runtime_reachability: {
535
+ comparison: ("EQUALS" | "NOT_EQUALS"),
536
+ value: ("REACHABLE" | "NOT_REACHABLE" | "UNKNOWN")
537
+ }?,
538
+ runtime_reachability_reason: {
539
+ comparison: ("EQUALS" | "NOT_EQUALS"),
540
+ value: ("PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH" | "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH" | "PROCESS_OBSERVED_IN_EC2_RUNTIME" | "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME")
541
+ }?,
542
+ purl_qualifier: {
543
+ comparison: ("EQUALS"),
544
+ key: ("arch" | "collector" | "dev_dependency" | "distro" | "epoch" | "go_toolchain" | "hardened" | "private" | "rust_toolchain" | "scope" | "skip_chromium_download" | "source" | "stream" | "transitive_dependency" | "unresolved" | "vendor"),
545
+ value: ::String?
524
546
  }?
525
547
  }
526
548