aws-sdk-inspector2 1.97.0 → 1.99.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 332e17192574cc781311832b2ab54765c7a374fde8cba7699630f8378b271389
4
- data.tar.gz: 975f61cd6fde9e958f2e4d8f361f2b1f33076a8c489056a70c7109f38a911670
3
+ metadata.gz: 3635880fbc761a62d80f0e0483e17bf5975853b1c8331e4c364c7ac5aebbd127
4
+ data.tar.gz: af5ea4964de280b9f327438193d79147c8c1b9593a4d00ad984dcb6cfddcf338
5
5
  SHA512:
6
- metadata.gz: 00cc0c9d0857d49389c4a66f9a4dc146bfb608b1c2a98c7bcb41513c73dfee1965877c74964b0d28880f9fc6ae4ccc3f18a998a725c10a0ca120d74b7293b245
7
- data.tar.gz: f726568df87d83f5a59e881c6200023d748d1cf5788101f953ad319a8c0dae2dae90c794b8ae7192a5c57d7daf1382fef553c1a2f99da0107f50159495e074b7
6
+ metadata.gz: 5a01067b1edc83375deabaff356c87cf7e8cd9493b27811ba1eff32bc168ea72f33bd4bdc2f0dcd3459804149d548aaaaddb1bcff398fb555434973c134916f9
7
+ data.tar.gz: 72088c88596d964be47885908aaefe564967863660db304db4c0bb5eb3f18fe6263cae4ea6affab01868c5d38be1083e7e3dfbf6013d75b4a3053d64faf90a31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2026-11-19)
5
+ ------------------
6
+
7
+ * Feature - Amazon Inspector Code Security now supports GitHub Enterprise Server integrations. For GitHub Enterprise Server and GitLab Self-Managed, you can connect over a private network by adding a VPC configuration when you create an integration.
8
+
9
+ 1.98.0 (2026-11-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.97.0 (2026-11-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.99.0
@@ -1146,11 +1146,30 @@ module Aws::Inspector2
1146
1146
  #
1147
1147
  # resp = client.create_code_security_integration({
1148
1148
  # name: "IntegrationName", # required
1149
- # type: "GITLAB_SELF_MANAGED", # required, accepts GITLAB_SELF_MANAGED, GITHUB
1149
+ # type: "GITLAB_SELF_MANAGED", # required, accepts GITLAB_SELF_MANAGED, GITHUB, GITHUB_ENTERPRISE_SERVER
1150
1150
  # details: {
1151
1151
  # gitlab_self_managed: {
1152
1152
  # instance_url: "InstanceUrl", # required
1153
1153
  # access_token: "GitLabAccessToken", # required
1154
+ # vpc_configuration: {
1155
+ # vpc_id: "VpcId", # required
1156
+ # vpc_endpoint_id: "VpcEndpointId", # required
1157
+ # code_connections_host_arn: "CodeConnectionsHostArn",
1158
+ # subnet_ids: ["SubnetId"],
1159
+ # security_groups: ["SecurityGroupId"],
1160
+ # tls_certificate: "TlsCertificate",
1161
+ # },
1162
+ # },
1163
+ # github_enterprise: {
1164
+ # instance_url: "InstanceUrl", # required
1165
+ # vpc_configuration: {
1166
+ # vpc_id: "VpcId", # required
1167
+ # vpc_endpoint_id: "VpcEndpointId", # required
1168
+ # code_connections_host_arn: "CodeConnectionsHostArn",
1169
+ # subnet_ids: ["SubnetId"],
1170
+ # security_groups: ["SecurityGroupId"],
1171
+ # tls_certificate: "TlsCertificate",
1172
+ # },
1154
1173
  # },
1155
1174
  # },
1156
1175
  # tags: {
@@ -1161,7 +1180,7 @@ module Aws::Inspector2
1161
1180
  # @example Response structure
1162
1181
  #
1163
1182
  # resp.integration_arn #=> String
1164
- # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING"
1183
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING", "ESTABLISHING_CONNECTION_IN_PROGRESS", "ESTABLISHING_CONNECTION_COMPLETED", "ESTABLISHING_CONNECTION_FAILED", "PENDING_MANIFEST_CODE", "DELETE_IN_PROGRESS", "DELETE_FAILED"
1165
1184
  # resp.authorization_url #=> String
1166
1185
  #
1167
1186
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCodeSecurityIntegration AWS API Documentation
@@ -3176,6 +3195,8 @@ module Aws::Inspector2
3176
3195
  # * {Types::GetCodeSecurityIntegrationResponse#created_on #created_on} => Time
3177
3196
  # * {Types::GetCodeSecurityIntegrationResponse#last_update_on #last_update_on} => Time
3178
3197
  # * {Types::GetCodeSecurityIntegrationResponse#authorization_url #authorization_url} => String
3198
+ # * {Types::GetCodeSecurityIntegrationResponse#vpc_configuration #vpc_configuration} => Types::CodeSecurityIntegrationVpcConfiguration
3199
+ # * {Types::GetCodeSecurityIntegrationResponse#instance_url #instance_url} => String
3179
3200
  # * {Types::GetCodeSecurityIntegrationResponse#tags #tags} => Hash<String,String>
3180
3201
  #
3181
3202
  # @example Request syntax with placeholder values
@@ -3191,12 +3212,21 @@ module Aws::Inspector2
3191
3212
  #
3192
3213
  # resp.integration_arn #=> String
3193
3214
  # resp.name #=> String
3194
- # resp.type #=> String, one of "GITLAB_SELF_MANAGED", "GITHUB"
3195
- # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING"
3215
+ # resp.type #=> String, one of "GITLAB_SELF_MANAGED", "GITHUB", "GITHUB_ENTERPRISE_SERVER"
3216
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING", "ESTABLISHING_CONNECTION_IN_PROGRESS", "ESTABLISHING_CONNECTION_COMPLETED", "ESTABLISHING_CONNECTION_FAILED", "PENDING_MANIFEST_CODE", "DELETE_IN_PROGRESS", "DELETE_FAILED"
3196
3217
  # resp.status_reason #=> String
3197
3218
  # resp.created_on #=> Time
3198
3219
  # resp.last_update_on #=> Time
3199
3220
  # resp.authorization_url #=> String
3221
+ # resp.vpc_configuration.vpc_id #=> String
3222
+ # resp.vpc_configuration.vpc_endpoint_id #=> String
3223
+ # resp.vpc_configuration.code_connections_host_arn #=> String
3224
+ # resp.vpc_configuration.subnet_ids #=> Array
3225
+ # resp.vpc_configuration.subnet_ids[0] #=> String
3226
+ # resp.vpc_configuration.security_groups #=> Array
3227
+ # resp.vpc_configuration.security_groups[0] #=> String
3228
+ # resp.vpc_configuration.tls_certificate #=> String
3229
+ # resp.instance_url #=> String
3200
3230
  # resp.tags #=> Hash
3201
3231
  # resp.tags["MapKey"] #=> String
3202
3232
  #
@@ -4538,8 +4568,8 @@ module Aws::Inspector2
4538
4568
  # resp.integrations #=> Array
4539
4569
  # resp.integrations[0].integration_arn #=> String
4540
4570
  # resp.integrations[0].name #=> String
4541
- # resp.integrations[0].type #=> String, one of "GITLAB_SELF_MANAGED", "GITHUB"
4542
- # resp.integrations[0].status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING"
4571
+ # resp.integrations[0].type #=> String, one of "GITLAB_SELF_MANAGED", "GITHUB", "GITHUB_ENTERPRISE_SERVER"
4572
+ # resp.integrations[0].status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING", "ESTABLISHING_CONNECTION_IN_PROGRESS", "ESTABLISHING_CONNECTION_COMPLETED", "ESTABLISHING_CONNECTION_FAILED", "PENDING_MANIFEST_CODE", "DELETE_IN_PROGRESS", "DELETE_FAILED"
4543
4573
  # resp.integrations[0].status_reason #=> String
4544
4574
  # resp.integrations[0].created_on #=> Time
4545
4575
  # resp.integrations[0].last_update_on #=> Time
@@ -8049,10 +8079,22 @@ module Aws::Inspector2
8049
8079
  # details: { # required
8050
8080
  # gitlab_self_managed: {
8051
8081
  # auth_code: "GitLabAuthCode", # required
8082
+ # state_token: "PkceState",
8052
8083
  # },
8053
8084
  # github: {
8054
8085
  # code: "GitHubAuthCode", # required
8055
8086
  # installation_id: "GitHubInstallationId", # required
8087
+ # state_token: "PkceState",
8088
+ # },
8089
+ # github_enterprise_server: {
8090
+ # app_installation: {
8091
+ # code: "GitHubAuthCode", # required
8092
+ # installation_id: "GitHubInstallationId", # required
8093
+ # state_token: "PkceState",
8094
+ # },
8095
+ # app_registration: {
8096
+ # manifest_code: "GitHubEnterpriseServerManifestCode", # required
8097
+ # },
8056
8098
  # },
8057
8099
  # },
8058
8100
  # })
@@ -8060,7 +8102,7 @@ module Aws::Inspector2
8060
8102
  # @example Response structure
8061
8103
  #
8062
8104
  # resp.integration_arn #=> String
8063
- # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING"
8105
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "ACTIVE", "INACTIVE", "DISABLING", "ESTABLISHING_CONNECTION_IN_PROGRESS", "ESTABLISHING_CONNECTION_COMPLETED", "ESTABLISHING_CONNECTION_FAILED", "PENDING_MANIFEST_CODE", "DELETE_IN_PROGRESS", "DELETE_FAILED"
8064
8106
  #
8065
8107
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCodeSecurityIntegration AWS API Documentation
8066
8108
  #
@@ -8999,7 +9041,7 @@ module Aws::Inspector2
8999
9041
  tracer: tracer
9000
9042
  )
9001
9043
  context[:gem_name] = 'aws-sdk-inspector2'
9002
- context[:gem_version] = '1.97.0'
9044
+ context[:gem_version] = '1.99.0'
9003
9045
  Seahorse::Client::Request.new(handlers, context)
9004
9046
  end
9005
9047
 
@@ -193,6 +193,7 @@ module Aws::Inspector2
193
193
  ClusterInformationClusterDetailsList = Shapes::ListShape.new(name: 'ClusterInformationClusterDetailsList')
194
194
  ClusterInformationList = Shapes::ListShape.new(name: 'ClusterInformationList')
195
195
  ClusterMetadata = Shapes::UnionShape.new(name: 'ClusterMetadata')
196
+ CodeConnectionsHostArn = Shapes::StringShape.new(name: 'CodeConnectionsHostArn')
196
197
  CodeFilePath = Shapes::StructureShape.new(name: 'CodeFilePath')
197
198
  CodeLine = Shapes::StructureShape.new(name: 'CodeLine')
198
199
  CodeLineContentString = Shapes::StringShape.new(name: 'CodeLineContentString')
@@ -213,6 +214,7 @@ module Aws::Inspector2
213
214
  CodeSecurityClientToken = Shapes::StringShape.new(name: 'CodeSecurityClientToken')
214
215
  CodeSecurityIntegrationArn = Shapes::StringShape.new(name: 'CodeSecurityIntegrationArn')
215
216
  CodeSecurityIntegrationSummary = Shapes::StructureShape.new(name: 'CodeSecurityIntegrationSummary')
217
+ CodeSecurityIntegrationVpcConfiguration = Shapes::StructureShape.new(name: 'CodeSecurityIntegrationVpcConfiguration')
216
218
  CodeSecurityResource = Shapes::UnionShape.new(name: 'CodeSecurityResource')
217
219
  CodeSecurityScanConfiguration = Shapes::StructureShape.new(name: 'CodeSecurityScanConfiguration')
218
220
  CodeSecurityScanConfigurationAssociationSummaries = Shapes::ListShape.new(name: 'CodeSecurityScanConfigurationAssociationSummaries')
@@ -299,6 +301,7 @@ module Aws::Inspector2
299
301
  CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
300
302
  CreateFindingsReportRequest = Shapes::StructureShape.new(name: 'CreateFindingsReportRequest')
301
303
  CreateFindingsReportResponse = Shapes::StructureShape.new(name: 'CreateFindingsReportResponse')
304
+ CreateGitHubEnterpriseIntegrationDetail = Shapes::StructureShape.new(name: 'CreateGitHubEnterpriseIntegrationDetail')
302
305
  CreateGitLabSelfManagedIntegrationDetail = Shapes::StructureShape.new(name: 'CreateGitLabSelfManagedIntegrationDetail')
303
306
  CreateIntegrationDetail = Shapes::UnionShape.new(name: 'CreateIntegrationDetail')
304
307
  CreateSbomExportRequest = Shapes::StructureShape.new(name: 'CreateSbomExportRequest')
@@ -482,6 +485,8 @@ module Aws::Inspector2
482
485
  GetSbomExportRequest = Shapes::StructureShape.new(name: 'GetSbomExportRequest')
483
486
  GetSbomExportResponse = Shapes::StructureShape.new(name: 'GetSbomExportResponse')
484
487
  GitHubAuthCode = Shapes::StringShape.new(name: 'GitHubAuthCode')
488
+ GitHubEnterpriseServerAppRegistrationDetail = Shapes::StructureShape.new(name: 'GitHubEnterpriseServerAppRegistrationDetail')
489
+ GitHubEnterpriseServerManifestCode = Shapes::StringShape.new(name: 'GitHubEnterpriseServerManifestCode')
485
490
  GitHubInstallationId = Shapes::StringShape.new(name: 'GitHubInstallationId')
486
491
  GitLabAccessToken = Shapes::StringShape.new(name: 'GitLabAccessToken')
487
492
  GitLabAuthCode = Shapes::StringShape.new(name: 'GitLabAuthCode')
@@ -636,6 +641,7 @@ module Aws::Inspector2
636
641
  PeriodicScanFrequency = Shapes::StringShape.new(name: 'PeriodicScanFrequency')
637
642
  Permission = Shapes::StructureShape.new(name: 'Permission')
638
643
  Permissions = Shapes::ListShape.new(name: 'Permissions')
644
+ PkceState = Shapes::StringShape.new(name: 'PkceState')
639
645
  Platform = Shapes::StringShape.new(name: 'Platform')
640
646
  PlatformFilterList = Shapes::ListShape.new(name: 'PlatformFilterList')
641
647
  PlatformVersion = Shapes::StringShape.new(name: 'PlatformVersion')
@@ -804,6 +810,7 @@ module Aws::Inspector2
804
810
  TitleAggregationResponse = Shapes::StructureShape.new(name: 'TitleAggregationResponse')
805
811
  TitleFilterList = Shapes::ListShape.new(name: 'TitleFilterList')
806
812
  TitleSortBy = Shapes::StringShape.new(name: 'TitleSortBy')
813
+ TlsCertificate = Shapes::StringShape.new(name: 'TlsCertificate')
807
814
  Tool = Shapes::StringShape.new(name: 'Tool')
808
815
  Tools = Shapes::ListShape.new(name: 'Tools')
809
816
  Ttp = Shapes::StringShape.new(name: 'Ttp')
@@ -831,6 +838,8 @@ module Aws::Inspector2
831
838
  UpdateEncryptionKeyResponse = Shapes::StructureShape.new(name: 'UpdateEncryptionKeyResponse')
832
839
  UpdateFilterRequest = Shapes::StructureShape.new(name: 'UpdateFilterRequest')
833
840
  UpdateFilterResponse = Shapes::StructureShape.new(name: 'UpdateFilterResponse')
841
+ UpdateGitHubEnterpriseServerAppInstallationDetail = Shapes::StructureShape.new(name: 'UpdateGitHubEnterpriseServerAppInstallationDetail')
842
+ UpdateGitHubEnterpriseServerIntegrationDetail = Shapes::UnionShape.new(name: 'UpdateGitHubEnterpriseServerIntegrationDetail')
834
843
  UpdateGitHubIntegrationDetail = Shapes::StructureShape.new(name: 'UpdateGitHubIntegrationDetail')
835
844
  UpdateGitLabSelfManagedIntegrationDetail = Shapes::StructureShape.new(name: 'UpdateGitLabSelfManagedIntegrationDetail')
836
845
  UpdateIntegrationDetails = Shapes::UnionShape.new(name: 'UpdateIntegrationDetails')
@@ -865,6 +874,7 @@ module Aws::Inspector2
865
874
  VmInstanceMetadataVmImageReferenceString = Shapes::StringShape.new(name: 'VmInstanceMetadataVmImageReferenceString')
866
875
  VmInstanceSortBy = Shapes::StringShape.new(name: 'VmInstanceSortBy')
867
876
  VmPlatform = Shapes::StringShape.new(name: 'VmPlatform')
877
+ VpcEndpointId = Shapes::StringShape.new(name: 'VpcEndpointId')
868
878
  VpcId = Shapes::StringShape.new(name: 'VpcId')
869
879
  VulnId = Shapes::StringShape.new(name: 'VulnId')
870
880
  VulnIdList = Shapes::ListShape.new(name: 'VulnIdList')
@@ -1490,6 +1500,14 @@ module Aws::Inspector2
1490
1500
  CodeSecurityIntegrationSummary.add_member(:last_update_on, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateOn"))
1491
1501
  CodeSecurityIntegrationSummary.struct_class = Types::CodeSecurityIntegrationSummary
1492
1502
 
1503
+ CodeSecurityIntegrationVpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
1504
+ CodeSecurityIntegrationVpcConfiguration.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location_name: "vpcEndpointId"))
1505
+ CodeSecurityIntegrationVpcConfiguration.add_member(:code_connections_host_arn, Shapes::ShapeRef.new(shape: CodeConnectionsHostArn, location_name: "codeConnectionsHostArn"))
1506
+ CodeSecurityIntegrationVpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
1507
+ CodeSecurityIntegrationVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroups"))
1508
+ CodeSecurityIntegrationVpcConfiguration.add_member(:tls_certificate, Shapes::ShapeRef.new(shape: TlsCertificate, location_name: "tlsCertificate"))
1509
+ CodeSecurityIntegrationVpcConfiguration.struct_class = Types::CodeSecurityIntegrationVpcConfiguration
1510
+
1493
1511
  CodeSecurityResource.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "projectId"))
1494
1512
  CodeSecurityResource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1495
1513
  CodeSecurityResource.add_member_subclass(:project_id, Types::CodeSecurityResource::ProjectId)
@@ -1819,13 +1837,20 @@ module Aws::Inspector2
1819
1837
  CreateFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
1820
1838
  CreateFindingsReportResponse.struct_class = Types::CreateFindingsReportResponse
1821
1839
 
1840
+ CreateGitHubEnterpriseIntegrationDetail.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, required: true, location_name: "instanceUrl"))
1841
+ CreateGitHubEnterpriseIntegrationDetail.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: CodeSecurityIntegrationVpcConfiguration, location_name: "vpcConfiguration"))
1842
+ CreateGitHubEnterpriseIntegrationDetail.struct_class = Types::CreateGitHubEnterpriseIntegrationDetail
1843
+
1822
1844
  CreateGitLabSelfManagedIntegrationDetail.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, required: true, location_name: "instanceUrl"))
1823
1845
  CreateGitLabSelfManagedIntegrationDetail.add_member(:access_token, Shapes::ShapeRef.new(shape: GitLabAccessToken, required: true, location_name: "accessToken"))
1846
+ CreateGitLabSelfManagedIntegrationDetail.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: CodeSecurityIntegrationVpcConfiguration, location_name: "vpcConfiguration"))
1824
1847
  CreateGitLabSelfManagedIntegrationDetail.struct_class = Types::CreateGitLabSelfManagedIntegrationDetail
1825
1848
 
1826
1849
  CreateIntegrationDetail.add_member(:gitlab_self_managed, Shapes::ShapeRef.new(shape: CreateGitLabSelfManagedIntegrationDetail, location_name: "gitlabSelfManaged"))
1850
+ CreateIntegrationDetail.add_member(:github_enterprise, Shapes::ShapeRef.new(shape: CreateGitHubEnterpriseIntegrationDetail, location_name: "githubEnterprise"))
1827
1851
  CreateIntegrationDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1828
1852
  CreateIntegrationDetail.add_member_subclass(:gitlab_self_managed, Types::CreateIntegrationDetail::GitlabSelfManaged)
1853
+ CreateIntegrationDetail.add_member_subclass(:github_enterprise, Types::CreateIntegrationDetail::GithubEnterprise)
1829
1854
  CreateIntegrationDetail.add_member_subclass(:unknown, Types::CreateIntegrationDetail::Unknown)
1830
1855
  CreateIntegrationDetail.struct_class = Types::CreateIntegrationDetail
1831
1856
 
@@ -2343,6 +2368,8 @@ module Aws::Inspector2
2343
2368
  GetCodeSecurityIntegrationResponse.add_member(:created_on, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdOn"))
2344
2369
  GetCodeSecurityIntegrationResponse.add_member(:last_update_on, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateOn"))
2345
2370
  GetCodeSecurityIntegrationResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape: AuthorizationUrl, location_name: "authorizationUrl"))
2371
+ GetCodeSecurityIntegrationResponse.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: CodeSecurityIntegrationVpcConfiguration, location_name: "vpcConfiguration"))
2372
+ GetCodeSecurityIntegrationResponse.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, location_name: "instanceUrl"))
2346
2373
  GetCodeSecurityIntegrationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
2347
2374
  GetCodeSecurityIntegrationResponse.struct_class = Types::GetCodeSecurityIntegrationResponse
2348
2375
 
@@ -2444,6 +2471,9 @@ module Aws::Inspector2
2444
2471
  GetSbomExportResponse.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ResourceFilterCriteria, location_name: "filterCriteria"))
2445
2472
  GetSbomExportResponse.struct_class = Types::GetSbomExportResponse
2446
2473
 
2474
+ GitHubEnterpriseServerAppRegistrationDetail.add_member(:manifest_code, Shapes::ShapeRef.new(shape: GitHubEnterpriseServerManifestCode, required: true, location_name: "manifestCode"))
2475
+ GitHubEnterpriseServerAppRegistrationDetail.struct_class = Types::GitHubEnterpriseServerAppRegistrationDetail
2476
+
2447
2477
  Image.add_member(:repository_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "repositoryName"))
2448
2478
  Image.add_member(:registry, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "registry"))
2449
2479
  Image.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagList, location_name: "imageTags"))
@@ -3421,18 +3451,35 @@ module Aws::Inspector2
3421
3451
  UpdateFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: FilterArn, required: true, location_name: "arn"))
3422
3452
  UpdateFilterResponse.struct_class = Types::UpdateFilterResponse
3423
3453
 
3454
+ UpdateGitHubEnterpriseServerAppInstallationDetail.add_member(:code, Shapes::ShapeRef.new(shape: GitHubAuthCode, required: true, location_name: "code"))
3455
+ UpdateGitHubEnterpriseServerAppInstallationDetail.add_member(:installation_id, Shapes::ShapeRef.new(shape: GitHubInstallationId, required: true, location_name: "installationId"))
3456
+ UpdateGitHubEnterpriseServerAppInstallationDetail.add_member(:state_token, Shapes::ShapeRef.new(shape: PkceState, location_name: "stateToken"))
3457
+ UpdateGitHubEnterpriseServerAppInstallationDetail.struct_class = Types::UpdateGitHubEnterpriseServerAppInstallationDetail
3458
+
3459
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member(:app_installation, Shapes::ShapeRef.new(shape: UpdateGitHubEnterpriseServerAppInstallationDetail, location_name: "appInstallation"))
3460
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member(:app_registration, Shapes::ShapeRef.new(shape: GitHubEnterpriseServerAppRegistrationDetail, location_name: "appRegistration"))
3461
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3462
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member_subclass(:app_installation, Types::UpdateGitHubEnterpriseServerIntegrationDetail::AppInstallation)
3463
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member_subclass(:app_registration, Types::UpdateGitHubEnterpriseServerIntegrationDetail::AppRegistration)
3464
+ UpdateGitHubEnterpriseServerIntegrationDetail.add_member_subclass(:unknown, Types::UpdateGitHubEnterpriseServerIntegrationDetail::Unknown)
3465
+ UpdateGitHubEnterpriseServerIntegrationDetail.struct_class = Types::UpdateGitHubEnterpriseServerIntegrationDetail
3466
+
3424
3467
  UpdateGitHubIntegrationDetail.add_member(:code, Shapes::ShapeRef.new(shape: GitHubAuthCode, required: true, location_name: "code"))
3425
3468
  UpdateGitHubIntegrationDetail.add_member(:installation_id, Shapes::ShapeRef.new(shape: GitHubInstallationId, required: true, location_name: "installationId"))
3469
+ UpdateGitHubIntegrationDetail.add_member(:state_token, Shapes::ShapeRef.new(shape: PkceState, location_name: "stateToken"))
3426
3470
  UpdateGitHubIntegrationDetail.struct_class = Types::UpdateGitHubIntegrationDetail
3427
3471
 
3428
3472
  UpdateGitLabSelfManagedIntegrationDetail.add_member(:auth_code, Shapes::ShapeRef.new(shape: GitLabAuthCode, required: true, location_name: "authCode"))
3473
+ UpdateGitLabSelfManagedIntegrationDetail.add_member(:state_token, Shapes::ShapeRef.new(shape: PkceState, location_name: "stateToken"))
3429
3474
  UpdateGitLabSelfManagedIntegrationDetail.struct_class = Types::UpdateGitLabSelfManagedIntegrationDetail
3430
3475
 
3431
3476
  UpdateIntegrationDetails.add_member(:gitlab_self_managed, Shapes::ShapeRef.new(shape: UpdateGitLabSelfManagedIntegrationDetail, location_name: "gitlabSelfManaged"))
3432
3477
  UpdateIntegrationDetails.add_member(:github, Shapes::ShapeRef.new(shape: UpdateGitHubIntegrationDetail, location_name: "github"))
3478
+ UpdateIntegrationDetails.add_member(:github_enterprise_server, Shapes::ShapeRef.new(shape: UpdateGitHubEnterpriseServerIntegrationDetail, location_name: "githubEnterpriseServer"))
3433
3479
  UpdateIntegrationDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3434
3480
  UpdateIntegrationDetails.add_member_subclass(:gitlab_self_managed, Types::UpdateIntegrationDetails::GitlabSelfManaged)
3435
3481
  UpdateIntegrationDetails.add_member_subclass(:github, Types::UpdateIntegrationDetails::Github)
3482
+ UpdateIntegrationDetails.add_member_subclass(:github_enterprise_server, Types::UpdateIntegrationDetails::GithubEnterpriseServer)
3436
3483
  UpdateIntegrationDetails.add_member_subclass(:unknown, Types::UpdateIntegrationDetails::Unknown)
3437
3484
  UpdateIntegrationDetails.struct_class = Types::UpdateIntegrationDetails
3438
3485
 
@@ -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
@@ -9668,8 +9781,8 @@ module Aws::Inspector2
9668
9781
  # @return [Types::CodeRepositoryDetails]
9669
9782
  #
9670
9783
  # @!attribute [rw] machine_image
9671
- # Details about a machine image resource scanned directly by
9672
- # Inspector.
9784
+ # An object that contains details about the Amazon Machine Image (AMI)
9785
+ # involved in the finding.
9673
9786
  # @return [Types::MachineImageDetails]
9674
9787
  #
9675
9788
  # @!attribute [rw] vm
@@ -11750,6 +11863,63 @@ module Aws::Inspector2
11750
11863
  include Aws::Structure
11751
11864
  end
11752
11865
 
11866
+ # Contains the details required to complete the GitHub App installation
11867
+ # for a GitHub Enterprise Server integration.
11868
+ #
11869
+ # @!attribute [rw] code
11870
+ # The authorization code received from GitHub Enterprise Server.
11871
+ # @return [String]
11872
+ #
11873
+ # @!attribute [rw] installation_id
11874
+ # The installation ID of the GitHub App associated with the
11875
+ # integration.
11876
+ # @return [String]
11877
+ #
11878
+ # @!attribute [rw] state_token
11879
+ # The PKCE state token used to validate the authorization request.
11880
+ # @return [String]
11881
+ #
11882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubEnterpriseServerAppInstallationDetail AWS API Documentation
11883
+ #
11884
+ class UpdateGitHubEnterpriseServerAppInstallationDetail < Struct.new(
11885
+ :code,
11886
+ :installation_id,
11887
+ :state_token)
11888
+ SENSITIVE = [:code, :state_token]
11889
+ include Aws::Structure
11890
+ end
11891
+
11892
+ # Contains the details required to update an integration with a GitHub
11893
+ # Enterprise Server instance. Provide one of the following, depending on
11894
+ # the step of the setup flow.
11895
+ #
11896
+ # @note UpdateGitHubEnterpriseServerIntegrationDetail is a union - when making an API calls you must set exactly one of the members.
11897
+ #
11898
+ # @!attribute [rw] app_installation
11899
+ # Details for completing the GitHub App installation step of the
11900
+ # GitHub Enterprise Server integration.
11901
+ # @return [Types::UpdateGitHubEnterpriseServerAppInstallationDetail]
11902
+ #
11903
+ # @!attribute [rw] app_registration
11904
+ # Details for completing the GitHub App manifest registration step of
11905
+ # the GitHub Enterprise Server integration.
11906
+ # @return [Types::GitHubEnterpriseServerAppRegistrationDetail]
11907
+ #
11908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubEnterpriseServerIntegrationDetail AWS API Documentation
11909
+ #
11910
+ class UpdateGitHubEnterpriseServerIntegrationDetail < Struct.new(
11911
+ :app_installation,
11912
+ :app_registration,
11913
+ :unknown)
11914
+ SENSITIVE = []
11915
+ include Aws::Structure
11916
+ include Aws::Structure::Union
11917
+
11918
+ class AppInstallation < UpdateGitHubEnterpriseServerIntegrationDetail; end
11919
+ class AppRegistration < UpdateGitHubEnterpriseServerIntegrationDetail; end
11920
+ class Unknown < UpdateGitHubEnterpriseServerIntegrationDetail; end
11921
+ end
11922
+
11753
11923
  # Contains details required to update an integration with GitHub.
11754
11924
  #
11755
11925
  # @!attribute [rw] code
@@ -11762,12 +11932,17 @@ module Aws::Inspector2
11762
11932
  # integration.
11763
11933
  # @return [String]
11764
11934
  #
11935
+ # @!attribute [rw] state_token
11936
+ # The PKCE state token used to validate the authorization request.
11937
+ # @return [String]
11938
+ #
11765
11939
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubIntegrationDetail AWS API Documentation
11766
11940
  #
11767
11941
  class UpdateGitHubIntegrationDetail < Struct.new(
11768
11942
  :code,
11769
- :installation_id)
11770
- SENSITIVE = [:code]
11943
+ :installation_id,
11944
+ :state_token)
11945
+ SENSITIVE = [:code, :state_token]
11771
11946
  include Aws::Structure
11772
11947
  end
11773
11948
 
@@ -11779,11 +11954,16 @@ module Aws::Inspector2
11779
11954
  # instance to update the integration.
11780
11955
  # @return [String]
11781
11956
  #
11957
+ # @!attribute [rw] state_token
11958
+ # The PKCE state token used to validate the authorization request.
11959
+ # @return [String]
11960
+ #
11782
11961
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitLabSelfManagedIntegrationDetail AWS API Documentation
11783
11962
  #
11784
11963
  class UpdateGitLabSelfManagedIntegrationDetail < Struct.new(
11785
- :auth_code)
11786
- SENSITIVE = [:auth_code]
11964
+ :auth_code,
11965
+ :state_token)
11966
+ SENSITIVE = [:auth_code, :state_token]
11787
11967
  include Aws::Structure
11788
11968
  end
11789
11969
 
@@ -11801,11 +11981,17 @@ module Aws::Inspector2
11801
11981
  # Details specific to updating an integration with GitHub.
11802
11982
  # @return [Types::UpdateGitHubIntegrationDetail]
11803
11983
  #
11984
+ # @!attribute [rw] github_enterprise_server
11985
+ # Details specific to updating an integration with a GitHub Enterprise
11986
+ # Server instance.
11987
+ # @return [Types::UpdateGitHubEnterpriseServerIntegrationDetail]
11988
+ #
11804
11989
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateIntegrationDetails AWS API Documentation
11805
11990
  #
11806
11991
  class UpdateIntegrationDetails < Struct.new(
11807
11992
  :gitlab_self_managed,
11808
11993
  :github,
11994
+ :github_enterprise_server,
11809
11995
  :unknown)
11810
11996
  SENSITIVE = []
11811
11997
  include Aws::Structure
@@ -11813,6 +11999,7 @@ module Aws::Inspector2
11813
11999
 
11814
12000
  class GitlabSelfManaged < UpdateIntegrationDetails; end
11815
12001
  class Github < UpdateIntegrationDetails; end
12002
+ class GithubEnterpriseServer < UpdateIntegrationDetails; end
11816
12003
  class Unknown < UpdateIntegrationDetails; end
11817
12004
  end
11818
12005
 
@@ -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.97.0'
58
+ GEM_VERSION = '1.99.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")?,
data/sig/types.rbs CHANGED
@@ -735,14 +735,24 @@ module Aws::Inspector2
735
735
  class CodeSecurityIntegrationSummary
736
736
  attr_accessor integration_arn: ::String
737
737
  attr_accessor name: ::String
738
- attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
739
- attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
738
+ attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
739
+ attr_accessor 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")
740
740
  attr_accessor status_reason: ::String
741
741
  attr_accessor created_on: ::Time
742
742
  attr_accessor last_update_on: ::Time
743
743
  SENSITIVE: []
744
744
  end
745
745
 
746
+ class CodeSecurityIntegrationVpcConfiguration
747
+ attr_accessor vpc_id: ::String
748
+ attr_accessor vpc_endpoint_id: ::String
749
+ attr_accessor code_connections_host_arn: ::String
750
+ attr_accessor subnet_ids: ::Array[::String]
751
+ attr_accessor security_groups: ::Array[::String]
752
+ attr_accessor tls_certificate: ::String
753
+ SENSITIVE: [:tls_certificate]
754
+ end
755
+
746
756
  class CodeSecurityResource
747
757
  attr_accessor project_id: ::String
748
758
  attr_accessor unknown: untyped
@@ -1057,7 +1067,7 @@ module Aws::Inspector2
1057
1067
 
1058
1068
  class CreateCodeSecurityIntegrationRequest
1059
1069
  attr_accessor name: ::String
1060
- attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
1070
+ attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
1061
1071
  attr_accessor details: Types::CreateIntegrationDetail
1062
1072
  attr_accessor tags: ::Hash[::String, ::String]
1063
1073
  SENSITIVE: []
@@ -1065,7 +1075,7 @@ module Aws::Inspector2
1065
1075
 
1066
1076
  class CreateCodeSecurityIntegrationResponse
1067
1077
  attr_accessor integration_arn: ::String
1068
- attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
1078
+ attr_accessor 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")
1069
1079
  attr_accessor authorization_url: ::String
1070
1080
  SENSITIVE: [:authorization_url]
1071
1081
  end
@@ -1126,19 +1136,29 @@ module Aws::Inspector2
1126
1136
  SENSITIVE: []
1127
1137
  end
1128
1138
 
1139
+ class CreateGitHubEnterpriseIntegrationDetail
1140
+ attr_accessor instance_url: ::String
1141
+ attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
1142
+ SENSITIVE: [:instance_url]
1143
+ end
1144
+
1129
1145
  class CreateGitLabSelfManagedIntegrationDetail
1130
1146
  attr_accessor instance_url: ::String
1131
1147
  attr_accessor access_token: ::String
1148
+ attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
1132
1149
  SENSITIVE: [:instance_url, :access_token]
1133
1150
  end
1134
1151
 
1135
1152
  class CreateIntegrationDetail
1136
1153
  attr_accessor gitlab_self_managed: Types::CreateGitLabSelfManagedIntegrationDetail
1154
+ attr_accessor github_enterprise: Types::CreateGitHubEnterpriseIntegrationDetail
1137
1155
  attr_accessor unknown: untyped
1138
1156
  SENSITIVE: []
1139
1157
 
1140
1158
  class GitlabSelfManaged < CreateIntegrationDetail
1141
1159
  end
1160
+ class GithubEnterprise < CreateIntegrationDetail
1161
+ end
1142
1162
  class Unknown < CreateIntegrationDetail
1143
1163
  end
1144
1164
  end
@@ -1752,14 +1772,16 @@ module Aws::Inspector2
1752
1772
  class GetCodeSecurityIntegrationResponse
1753
1773
  attr_accessor integration_arn: ::String
1754
1774
  attr_accessor name: ::String
1755
- attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
1756
- attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
1775
+ attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB" | "GITHUB_ENTERPRISE_SERVER")
1776
+ attr_accessor 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")
1757
1777
  attr_accessor status_reason: ::String
1758
1778
  attr_accessor created_on: ::Time
1759
1779
  attr_accessor last_update_on: ::Time
1760
1780
  attr_accessor authorization_url: ::String
1781
+ attr_accessor vpc_configuration: Types::CodeSecurityIntegrationVpcConfiguration
1782
+ attr_accessor instance_url: ::String
1761
1783
  attr_accessor tags: ::Hash[::String, ::String]
1762
- SENSITIVE: [:authorization_url]
1784
+ SENSITIVE: [:authorization_url, :instance_url]
1763
1785
  end
1764
1786
 
1765
1787
  class GetCodeSecurityScanConfigurationRequest
@@ -1898,6 +1920,11 @@ module Aws::Inspector2
1898
1920
  SENSITIVE: []
1899
1921
  end
1900
1922
 
1923
+ class GitHubEnterpriseServerAppRegistrationDetail
1924
+ attr_accessor manifest_code: ::String
1925
+ SENSITIVE: [:manifest_code]
1926
+ end
1927
+
1901
1928
  class Image
1902
1929
  attr_accessor repository_name: ::String
1903
1930
  attr_accessor registry: ::String
@@ -2994,7 +3021,7 @@ module Aws::Inspector2
2994
3021
 
2995
3022
  class UpdateCodeSecurityIntegrationResponse
2996
3023
  attr_accessor integration_arn: ::String
2997
- attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
3024
+ attr_accessor 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")
2998
3025
  SENSITIVE: []
2999
3026
  end
3000
3027
 
@@ -3088,20 +3115,44 @@ module Aws::Inspector2
3088
3115
  SENSITIVE: []
3089
3116
  end
3090
3117
 
3118
+ class UpdateGitHubEnterpriseServerAppInstallationDetail
3119
+ attr_accessor code: ::String
3120
+ attr_accessor installation_id: ::String
3121
+ attr_accessor state_token: ::String
3122
+ SENSITIVE: [:code, :state_token]
3123
+ end
3124
+
3125
+ class UpdateGitHubEnterpriseServerIntegrationDetail
3126
+ attr_accessor app_installation: Types::UpdateGitHubEnterpriseServerAppInstallationDetail
3127
+ attr_accessor app_registration: Types::GitHubEnterpriseServerAppRegistrationDetail
3128
+ attr_accessor unknown: untyped
3129
+ SENSITIVE: []
3130
+
3131
+ class AppInstallation < UpdateGitHubEnterpriseServerIntegrationDetail
3132
+ end
3133
+ class AppRegistration < UpdateGitHubEnterpriseServerIntegrationDetail
3134
+ end
3135
+ class Unknown < UpdateGitHubEnterpriseServerIntegrationDetail
3136
+ end
3137
+ end
3138
+
3091
3139
  class UpdateGitHubIntegrationDetail
3092
3140
  attr_accessor code: ::String
3093
3141
  attr_accessor installation_id: ::String
3094
- SENSITIVE: [:code]
3142
+ attr_accessor state_token: ::String
3143
+ SENSITIVE: [:code, :state_token]
3095
3144
  end
3096
3145
 
3097
3146
  class UpdateGitLabSelfManagedIntegrationDetail
3098
3147
  attr_accessor auth_code: ::String
3099
- SENSITIVE: [:auth_code]
3148
+ attr_accessor state_token: ::String
3149
+ SENSITIVE: [:auth_code, :state_token]
3100
3150
  end
3101
3151
 
3102
3152
  class UpdateIntegrationDetails
3103
3153
  attr_accessor gitlab_self_managed: Types::UpdateGitLabSelfManagedIntegrationDetail
3104
3154
  attr_accessor github: Types::UpdateGitHubIntegrationDetail
3155
+ attr_accessor github_enterprise_server: Types::UpdateGitHubEnterpriseServerIntegrationDetail
3105
3156
  attr_accessor unknown: untyped
3106
3157
  SENSITIVE: []
3107
3158
 
@@ -3109,6 +3160,8 @@ module Aws::Inspector2
3109
3160
  end
3110
3161
  class Github < UpdateIntegrationDetails
3111
3162
  end
3163
+ class GithubEnterpriseServer < UpdateIntegrationDetails
3164
+ end
3112
3165
  class Unknown < UpdateIntegrationDetails
3113
3166
  end
3114
3167
  end
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.97.0
4
+ version: 1.99.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