aws-sdk-securityagent 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +95 -9
- data/lib/aws-sdk-securityagent/client_api.rb +78 -0
- data/lib/aws-sdk-securityagent/types.rb +254 -5
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +41 -4
- data/sig/types.rbs +77 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59805d9b7f6aad7b60dfd98d4e7a115a5a9e2a01df878aaa9ab255bfb8f23625
|
|
4
|
+
data.tar.gz: 8d3c15cf8892f19b36cf18f7472d6f10761f689141af5880a7fea249709f5d62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7b8f009d8873c93bc7ccbf0564d388569bbbae7556670ff1a301b671c55f7a4d2fde04cd5fb072b7b4870cb664657cf5f656b4f9bc633172b444ad0af32c1c8
|
|
7
|
+
data.tar.gz: b96c6c9443aa0d1410c56823bd42c2eb45a5ef87358a3980fa2efe546f2106ad49e5d20ab324f3d92b9fb6993b40d72afa440be15c7437cff73862e8f076b8e4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.19.0
|
|
@@ -2227,7 +2227,7 @@ module Aws::SecurityAgent
|
|
|
2227
2227
|
# for code review and remediation.
|
|
2228
2228
|
#
|
|
2229
2229
|
# @option params [required, String] :provider
|
|
2230
|
-
# The integration provider.
|
|
2230
|
+
# The integration provider.
|
|
2231
2231
|
#
|
|
2232
2232
|
# @option params [required, Types::ProviderInput] :input
|
|
2233
2233
|
# The provider-specific input required to create the integration.
|
|
@@ -2254,7 +2254,7 @@ module Aws::SecurityAgent
|
|
|
2254
2254
|
# @example Request syntax with placeholder values
|
|
2255
2255
|
#
|
|
2256
2256
|
# resp = client.create_integration({
|
|
2257
|
-
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
2257
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
2258
2258
|
# input: { # required
|
|
2259
2259
|
# github: {
|
|
2260
2260
|
# code: "AuthCode", # required
|
|
@@ -2281,6 +2281,16 @@ module Aws::SecurityAgent
|
|
|
2281
2281
|
# state: "CsrfState", # required
|
|
2282
2282
|
# site_url: "ConfluenceSiteUrl", # required
|
|
2283
2283
|
# },
|
|
2284
|
+
# azure_dev_ops: {
|
|
2285
|
+
# code: "AuthCode", # required
|
|
2286
|
+
# state: "CsrfState", # required
|
|
2287
|
+
# organization_name: "String", # required
|
|
2288
|
+
# },
|
|
2289
|
+
# bitbucket_data_center: {
|
|
2290
|
+
# target_url: "TargetUrl", # required
|
|
2291
|
+
# code: "AuthCode", # required
|
|
2292
|
+
# state: "CsrfState", # required
|
|
2293
|
+
# },
|
|
2284
2294
|
# },
|
|
2285
2295
|
# integration_display_name: "String", # required
|
|
2286
2296
|
# kms_key_id: "KmsKeyId",
|
|
@@ -3475,6 +3485,7 @@ module Aws::SecurityAgent
|
|
|
3475
3485
|
# * {Types::GetIntegrationOutput#display_name #display_name} => String
|
|
3476
3486
|
# * {Types::GetIntegrationOutput#kms_key_id #kms_key_id} => String
|
|
3477
3487
|
# * {Types::GetIntegrationOutput#target_url #target_url} => String
|
|
3488
|
+
# * {Types::GetIntegrationOutput#webhook_url #webhook_url} => String
|
|
3478
3489
|
# * {Types::GetIntegrationOutput#private_connection_name #private_connection_name} => String
|
|
3479
3490
|
#
|
|
3480
3491
|
# @example Request syntax with placeholder values
|
|
@@ -3487,11 +3498,12 @@ module Aws::SecurityAgent
|
|
|
3487
3498
|
#
|
|
3488
3499
|
# resp.integration_id #=> String
|
|
3489
3500
|
# resp.installation_id #=> String
|
|
3490
|
-
# resp.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE"
|
|
3501
|
+
# resp.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE", "AZURE_DEVOPS"
|
|
3491
3502
|
# resp.provider_type #=> String, one of "SOURCE_CODE", "DOCUMENTATION"
|
|
3492
3503
|
# resp.display_name #=> String
|
|
3493
3504
|
# resp.kms_key_id #=> String
|
|
3494
3505
|
# resp.target_url #=> String
|
|
3506
|
+
# resp.webhook_url #=> String
|
|
3495
3507
|
# resp.private_connection_name #=> String
|
|
3496
3508
|
#
|
|
3497
3509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetIntegration AWS API Documentation
|
|
@@ -3601,8 +3613,22 @@ module Aws::SecurityAgent
|
|
|
3601
3613
|
# authorization.
|
|
3602
3614
|
#
|
|
3603
3615
|
# @option params [required, String] :provider
|
|
3604
|
-
# The provider to initiate registration with.
|
|
3605
|
-
#
|
|
3616
|
+
# The provider to initiate registration with.
|
|
3617
|
+
#
|
|
3618
|
+
# @option params [String] :target_url
|
|
3619
|
+
# The HTTPS URL of a self-managed provider instance. Omit for SaaS
|
|
3620
|
+
# providers.
|
|
3621
|
+
#
|
|
3622
|
+
# @option params [String] :organization_name
|
|
3623
|
+
# The name of the organization to connect.
|
|
3624
|
+
#
|
|
3625
|
+
# @option params [String] :client_id
|
|
3626
|
+
# The client ID of the OAuth application registered on your self-managed
|
|
3627
|
+
# provider instance.
|
|
3628
|
+
#
|
|
3629
|
+
# @option params [String] :client_secret
|
|
3630
|
+
# The client secret of the OAuth application registered on your
|
|
3631
|
+
# self-managed provider instance.
|
|
3606
3632
|
#
|
|
3607
3633
|
# @return [Types::InitiateProviderRegistrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3608
3634
|
#
|
|
@@ -3612,7 +3638,11 @@ module Aws::SecurityAgent
|
|
|
3612
3638
|
# @example Request syntax with placeholder values
|
|
3613
3639
|
#
|
|
3614
3640
|
# resp = client.initiate_provider_registration({
|
|
3615
|
-
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
3641
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
3642
|
+
# target_url: "TargetUrl",
|
|
3643
|
+
# organization_name: "String",
|
|
3644
|
+
# client_id: "ClientId",
|
|
3645
|
+
# client_secret: "ClientSecret",
|
|
3616
3646
|
# })
|
|
3617
3647
|
#
|
|
3618
3648
|
# @example Response structure
|
|
@@ -4194,6 +4224,12 @@ module Aws::SecurityAgent
|
|
|
4194
4224
|
# resp.integrated_resource_summaries[0].resource.confluence_document.page_id #=> String
|
|
4195
4225
|
# resp.integrated_resource_summaries[0].resource.confluence_document.title #=> String
|
|
4196
4226
|
# resp.integrated_resource_summaries[0].resource.confluence_document.space_title #=> String
|
|
4227
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.name #=> String
|
|
4228
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.provider_resource_id #=> String
|
|
4229
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.organization #=> String
|
|
4230
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project #=> String
|
|
4231
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project_id #=> String
|
|
4232
|
+
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.access_type #=> String, one of "PRIVATE", "PUBLIC"
|
|
4197
4233
|
# resp.integrated_resource_summaries[0].capabilities.github.leave_comments #=> Boolean
|
|
4198
4234
|
# resp.integrated_resource_summaries[0].capabilities.github.remediate_code #=> Boolean
|
|
4199
4235
|
# resp.integrated_resource_summaries[0].capabilities.gitlab.leave_comments #=> Boolean
|
|
@@ -4203,6 +4239,8 @@ module Aws::SecurityAgent
|
|
|
4203
4239
|
# resp.integrated_resource_summaries[0].capabilities.confluence.fetch_document #=> Boolean
|
|
4204
4240
|
# resp.integrated_resource_summaries[0].capabilities.confluence.create_document #=> Boolean
|
|
4205
4241
|
# resp.integrated_resource_summaries[0].capabilities.confluence.update_document #=> Boolean
|
|
4242
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.leave_comments #=> Boolean
|
|
4243
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.remediate_code #=> Boolean
|
|
4206
4244
|
# resp.next_token #=> String
|
|
4207
4245
|
#
|
|
4208
4246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegratedResources AWS API Documentation
|
|
@@ -4240,7 +4278,7 @@ module Aws::SecurityAgent
|
|
|
4240
4278
|
#
|
|
4241
4279
|
# resp = client.list_integrations({
|
|
4242
4280
|
# filter: {
|
|
4243
|
-
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
4281
|
+
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
4244
4282
|
# provider_type: "SOURCE_CODE", # accepts SOURCE_CODE, DOCUMENTATION
|
|
4245
4283
|
# },
|
|
4246
4284
|
# next_token: "NextToken",
|
|
@@ -4252,10 +4290,11 @@ module Aws::SecurityAgent
|
|
|
4252
4290
|
# resp.integration_summaries #=> Array
|
|
4253
4291
|
# resp.integration_summaries[0].integration_id #=> String
|
|
4254
4292
|
# resp.integration_summaries[0].installation_id #=> String
|
|
4255
|
-
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE"
|
|
4293
|
+
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE", "AZURE_DEVOPS"
|
|
4256
4294
|
# resp.integration_summaries[0].provider_type #=> String, one of "SOURCE_CODE", "DOCUMENTATION"
|
|
4257
4295
|
# resp.integration_summaries[0].display_name #=> String
|
|
4258
4296
|
# resp.integration_summaries[0].target_url #=> String
|
|
4297
|
+
# resp.integration_summaries[0].webhook_url #=> String
|
|
4259
4298
|
# resp.integration_summaries[0].private_connection_name #=> String
|
|
4260
4299
|
# resp.next_token #=> String
|
|
4261
4300
|
#
|
|
@@ -5724,6 +5763,11 @@ module Aws::SecurityAgent
|
|
|
5724
5763
|
# title: "String",
|
|
5725
5764
|
# space_title: "String",
|
|
5726
5765
|
# },
|
|
5766
|
+
# azure_dev_ops_repository: {
|
|
5767
|
+
# name: "ProviderResourceName", # required
|
|
5768
|
+
# organization: "AzureDevOpsOrganization", # required
|
|
5769
|
+
# project: "String",
|
|
5770
|
+
# },
|
|
5727
5771
|
# },
|
|
5728
5772
|
# capabilities: {
|
|
5729
5773
|
# github: {
|
|
@@ -5743,6 +5787,10 @@ module Aws::SecurityAgent
|
|
|
5743
5787
|
# create_document: false,
|
|
5744
5788
|
# update_document: false,
|
|
5745
5789
|
# },
|
|
5790
|
+
# azure_dev_ops: {
|
|
5791
|
+
# leave_comments: false,
|
|
5792
|
+
# remediate_code: false,
|
|
5793
|
+
# },
|
|
5746
5794
|
# },
|
|
5747
5795
|
# },
|
|
5748
5796
|
# ],
|
|
@@ -5757,6 +5805,44 @@ module Aws::SecurityAgent
|
|
|
5757
5805
|
req.send_request(options)
|
|
5758
5806
|
end
|
|
5759
5807
|
|
|
5808
|
+
# Creates an integration's webhook, or rotates the HMAC signing secret
|
|
5809
|
+
# of an existing one. The secret is returned only once, in this
|
|
5810
|
+
# response, and cannot be retrieved again.
|
|
5811
|
+
#
|
|
5812
|
+
# @option params [required, String] :integration_id
|
|
5813
|
+
# The ID of the integration whose webhook you want to create or rotate.
|
|
5814
|
+
#
|
|
5815
|
+
# @option params [required, String] :webhook_action
|
|
5816
|
+
# The action to perform on the integration's webhook.
|
|
5817
|
+
#
|
|
5818
|
+
# @return [Types::UpdateIntegrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5819
|
+
#
|
|
5820
|
+
# * {Types::UpdateIntegrationOutput#integration_id #integration_id} => String
|
|
5821
|
+
# * {Types::UpdateIntegrationOutput#webhook_url #webhook_url} => String
|
|
5822
|
+
# * {Types::UpdateIntegrationOutput#secret #secret} => String
|
|
5823
|
+
#
|
|
5824
|
+
# @example Request syntax with placeholder values
|
|
5825
|
+
#
|
|
5826
|
+
# resp = client.update_integration({
|
|
5827
|
+
# integration_id: "IntegrationId", # required
|
|
5828
|
+
# webhook_action: "CREATE_IF_ABSENT", # required, accepts CREATE_IF_ABSENT, ROTATE
|
|
5829
|
+
# })
|
|
5830
|
+
#
|
|
5831
|
+
# @example Response structure
|
|
5832
|
+
#
|
|
5833
|
+
# resp.integration_id #=> String
|
|
5834
|
+
# resp.webhook_url #=> String
|
|
5835
|
+
# resp.secret #=> String
|
|
5836
|
+
#
|
|
5837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegration AWS API Documentation
|
|
5838
|
+
#
|
|
5839
|
+
# @overload update_integration(params = {})
|
|
5840
|
+
# @param [Hash] params ({})
|
|
5841
|
+
def update_integration(params = {}, options = {})
|
|
5842
|
+
req = build_request(:update_integration, params)
|
|
5843
|
+
req.send_request(options)
|
|
5844
|
+
end
|
|
5845
|
+
|
|
5760
5846
|
# Updates an existing pentest configuration.
|
|
5761
5847
|
#
|
|
5762
5848
|
# @option params [required, String] :pentest_id
|
|
@@ -6534,7 +6620,7 @@ module Aws::SecurityAgent
|
|
|
6534
6620
|
tracer: tracer
|
|
6535
6621
|
)
|
|
6536
6622
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6537
|
-
context[:gem_version] = '1.
|
|
6623
|
+
context[:gem_version] = '1.19.0'
|
|
6538
6624
|
Seahorse::Client::Request.new(handlers, context)
|
|
6539
6625
|
end
|
|
6540
6626
|
|
|
@@ -47,6 +47,11 @@ module Aws::SecurityAgent
|
|
|
47
47
|
AuthCode = Shapes::StringShape.new(name: 'AuthCode')
|
|
48
48
|
Authentication = Shapes::StructureShape.new(name: 'Authentication')
|
|
49
49
|
AuthenticationProviderType = Shapes::StringShape.new(name: 'AuthenticationProviderType')
|
|
50
|
+
AzureDevOpsIntegrationInput = Shapes::StructureShape.new(name: 'AzureDevOpsIntegrationInput')
|
|
51
|
+
AzureDevOpsOrganization = Shapes::StringShape.new(name: 'AzureDevOpsOrganization')
|
|
52
|
+
AzureDevOpsRepositoryMetadata = Shapes::StructureShape.new(name: 'AzureDevOpsRepositoryMetadata')
|
|
53
|
+
AzureDevOpsRepositoryResource = Shapes::StructureShape.new(name: 'AzureDevOpsRepositoryResource')
|
|
54
|
+
AzureDevOpsResourceCapabilities = Shapes::StructureShape.new(name: 'AzureDevOpsResourceCapabilities')
|
|
50
55
|
BatchCreateSecurityRequirementResult = Shapes::StructureShape.new(name: 'BatchCreateSecurityRequirementResult')
|
|
51
56
|
BatchCreateSecurityRequirementResultList = Shapes::ListShape.new(name: 'BatchCreateSecurityRequirementResultList')
|
|
52
57
|
BatchCreateSecurityRequirementsInput = Shapes::StructureShape.new(name: 'BatchCreateSecurityRequirementsInput')
|
|
@@ -95,6 +100,7 @@ module Aws::SecurityAgent
|
|
|
95
100
|
BatchSecurityRequirementErrors = Shapes::ListShape.new(name: 'BatchSecurityRequirementErrors')
|
|
96
101
|
BatchUpdateSecurityRequirementsInput = Shapes::StructureShape.new(name: 'BatchUpdateSecurityRequirementsInput')
|
|
97
102
|
BatchUpdateSecurityRequirementsOutput = Shapes::StructureShape.new(name: 'BatchUpdateSecurityRequirementsOutput')
|
|
103
|
+
BitbucketDataCenterIntegrationInput = Shapes::StructureShape.new(name: 'BitbucketDataCenterIntegrationInput')
|
|
98
104
|
BitbucketInstallationId = Shapes::StringShape.new(name: 'BitbucketInstallationId')
|
|
99
105
|
BitbucketIntegrationInput = Shapes::StructureShape.new(name: 'BitbucketIntegrationInput')
|
|
100
106
|
BitbucketRepositoryMetadata = Shapes::StructureShape.new(name: 'BitbucketRepositoryMetadata')
|
|
@@ -110,6 +116,8 @@ module Aws::SecurityAgent
|
|
|
110
116
|
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
|
111
117
|
CiCdConfiguration = Shapes::StructureShape.new(name: 'CiCdConfiguration')
|
|
112
118
|
CleanUpStrategy = Shapes::StringShape.new(name: 'CleanUpStrategy')
|
|
119
|
+
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
120
|
+
ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
|
|
113
121
|
CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
|
|
114
122
|
CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
|
|
115
123
|
CodeLocationList = Shapes::ListShape.new(name: 'CodeLocationList')
|
|
@@ -506,6 +514,8 @@ module Aws::SecurityAgent
|
|
|
506
514
|
UpdateFindingOutput = Shapes::StructureShape.new(name: 'UpdateFindingOutput')
|
|
507
515
|
UpdateIntegratedResourcesInput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesInput')
|
|
508
516
|
UpdateIntegratedResourcesOutput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesOutput')
|
|
517
|
+
UpdateIntegrationInput = Shapes::StructureShape.new(name: 'UpdateIntegrationInput')
|
|
518
|
+
UpdateIntegrationOutput = Shapes::StructureShape.new(name: 'UpdateIntegrationOutput')
|
|
509
519
|
UpdatePentestInput = Shapes::StructureShape.new(name: 'UpdatePentestInput')
|
|
510
520
|
UpdatePentestOutput = Shapes::StructureShape.new(name: 'UpdatePentestOutput')
|
|
511
521
|
UpdatePrivateConnectionCertificateInput = Shapes::StructureShape.new(name: 'UpdatePrivateConnectionCertificateInput')
|
|
@@ -538,6 +548,8 @@ module Aws::SecurityAgent
|
|
|
538
548
|
VpcArn = Shapes::StringShape.new(name: 'VpcArn')
|
|
539
549
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
|
540
550
|
VpcConfigs = Shapes::ListShape.new(name: 'VpcConfigs')
|
|
551
|
+
WebhookAction = Shapes::StringShape.new(name: 'WebhookAction')
|
|
552
|
+
WebhookSecret = Shapes::StringShape.new(name: 'WebhookSecret')
|
|
541
553
|
|
|
542
554
|
AWSResources.add_member(:vpcs, Shapes::ShapeRef.new(shape: VpcConfigs, location_name: "vpcs"))
|
|
543
555
|
AWSResources.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupArns, location_name: "logGroups"))
|
|
@@ -641,6 +653,28 @@ module Aws::SecurityAgent
|
|
|
641
653
|
Authentication.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
642
654
|
Authentication.struct_class = Types::Authentication
|
|
643
655
|
|
|
656
|
+
AzureDevOpsIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
657
|
+
AzureDevOpsIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
658
|
+
AzureDevOpsIntegrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "organizationName"))
|
|
659
|
+
AzureDevOpsIntegrationInput.struct_class = Types::AzureDevOpsIntegrationInput
|
|
660
|
+
|
|
661
|
+
AzureDevOpsRepositoryMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
662
|
+
AzureDevOpsRepositoryMetadata.add_member(:provider_resource_id, Shapes::ShapeRef.new(shape: ProviderResourceId, required: true, location_name: "providerResourceId"))
|
|
663
|
+
AzureDevOpsRepositoryMetadata.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
664
|
+
AzureDevOpsRepositoryMetadata.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
665
|
+
AzureDevOpsRepositoryMetadata.add_member(:project_id, Shapes::ShapeRef.new(shape: String, location_name: "projectId"))
|
|
666
|
+
AzureDevOpsRepositoryMetadata.add_member(:access_type, Shapes::ShapeRef.new(shape: AccessType, location_name: "accessType"))
|
|
667
|
+
AzureDevOpsRepositoryMetadata.struct_class = Types::AzureDevOpsRepositoryMetadata
|
|
668
|
+
|
|
669
|
+
AzureDevOpsRepositoryResource.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
670
|
+
AzureDevOpsRepositoryResource.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
671
|
+
AzureDevOpsRepositoryResource.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
672
|
+
AzureDevOpsRepositoryResource.struct_class = Types::AzureDevOpsRepositoryResource
|
|
673
|
+
|
|
674
|
+
AzureDevOpsResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
675
|
+
AzureDevOpsResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
676
|
+
AzureDevOpsResourceCapabilities.struct_class = Types::AzureDevOpsResourceCapabilities
|
|
677
|
+
|
|
644
678
|
BatchCreateSecurityRequirementResult.add_member(:pack_id, Shapes::ShapeRef.new(shape: SecurityRequirementPackId, required: true, location_name: "packId"))
|
|
645
679
|
BatchCreateSecurityRequirementResult.add_member(:name, Shapes::ShapeRef.new(shape: SecurityRequirementName, required: true, location_name: "name"))
|
|
646
680
|
BatchCreateSecurityRequirementResult.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
@@ -837,6 +871,11 @@ module Aws::SecurityAgent
|
|
|
837
871
|
BatchUpdateSecurityRequirementsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchSecurityRequirementErrors, required: true, location_name: "errors"))
|
|
838
872
|
BatchUpdateSecurityRequirementsOutput.struct_class = Types::BatchUpdateSecurityRequirementsOutput
|
|
839
873
|
|
|
874
|
+
BitbucketDataCenterIntegrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, required: true, location_name: "targetUrl"))
|
|
875
|
+
BitbucketDataCenterIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
876
|
+
BitbucketDataCenterIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
877
|
+
BitbucketDataCenterIntegrationInput.struct_class = Types::BitbucketDataCenterIntegrationInput
|
|
878
|
+
|
|
840
879
|
BitbucketIntegrationInput.add_member(:installation_id, Shapes::ShapeRef.new(shape: BitbucketInstallationId, required: true, location_name: "installationId"))
|
|
841
880
|
BitbucketIntegrationInput.add_member(:workspace, Shapes::ShapeRef.new(shape: BitbucketWorkspace, required: true, location_name: "workspace"))
|
|
842
881
|
BitbucketIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
@@ -1474,6 +1513,7 @@ module Aws::SecurityAgent
|
|
|
1474
1513
|
GetIntegrationOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
|
1475
1514
|
GetIntegrationOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1476
1515
|
GetIntegrationOutput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1516
|
+
GetIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1477
1517
|
GetIntegrationOutput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1478
1518
|
GetIntegrationOutput.struct_class = Types::GetIntegrationOutput
|
|
1479
1519
|
|
|
@@ -1558,6 +1598,10 @@ module Aws::SecurityAgent
|
|
|
1558
1598
|
ImportSource.struct_class = Types::ImportSource
|
|
1559
1599
|
|
|
1560
1600
|
InitiateProviderRegistrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
|
|
1601
|
+
InitiateProviderRegistrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1602
|
+
InitiateProviderRegistrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, location_name: "organizationName"))
|
|
1603
|
+
InitiateProviderRegistrationInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
|
|
1604
|
+
InitiateProviderRegistrationInput.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecret, location_name: "clientSecret"))
|
|
1561
1605
|
InitiateProviderRegistrationInput.struct_class = Types::InitiateProviderRegistrationInput
|
|
1562
1606
|
|
|
1563
1607
|
InitiateProviderRegistrationOutput.add_member(:redirect_to, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "redirectTo"))
|
|
@@ -1579,11 +1623,13 @@ module Aws::SecurityAgent
|
|
|
1579
1623
|
IntegratedResource.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryResource, location_name: "gitlabRepository"))
|
|
1580
1624
|
IntegratedResource.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryResource, location_name: "bitbucketRepository"))
|
|
1581
1625
|
IntegratedResource.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentResource, location_name: "confluenceDocument"))
|
|
1626
|
+
IntegratedResource.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryResource, location_name: "azureDevOpsRepository"))
|
|
1582
1627
|
IntegratedResource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1583
1628
|
IntegratedResource.add_member_subclass(:github_repository, Types::IntegratedResource::GithubRepository)
|
|
1584
1629
|
IntegratedResource.add_member_subclass(:gitlab_repository, Types::IntegratedResource::GitlabRepository)
|
|
1585
1630
|
IntegratedResource.add_member_subclass(:bitbucket_repository, Types::IntegratedResource::BitbucketRepository)
|
|
1586
1631
|
IntegratedResource.add_member_subclass(:confluence_document, Types::IntegratedResource::ConfluenceDocument)
|
|
1632
|
+
IntegratedResource.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResource::AzureDevOpsRepository)
|
|
1587
1633
|
IntegratedResource.add_member_subclass(:unknown, Types::IntegratedResource::Unknown)
|
|
1588
1634
|
IntegratedResource.struct_class = Types::IntegratedResource
|
|
1589
1635
|
|
|
@@ -1597,11 +1643,13 @@ module Aws::SecurityAgent
|
|
|
1597
1643
|
IntegratedResourceMetadata.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryMetadata, location_name: "gitlabRepository"))
|
|
1598
1644
|
IntegratedResourceMetadata.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryMetadata, location_name: "bitbucketRepository"))
|
|
1599
1645
|
IntegratedResourceMetadata.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentMetadata, location_name: "confluenceDocument"))
|
|
1646
|
+
IntegratedResourceMetadata.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryMetadata, location_name: "azureDevOpsRepository"))
|
|
1600
1647
|
IntegratedResourceMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1601
1648
|
IntegratedResourceMetadata.add_member_subclass(:github_repository, Types::IntegratedResourceMetadata::GithubRepository)
|
|
1602
1649
|
IntegratedResourceMetadata.add_member_subclass(:gitlab_repository, Types::IntegratedResourceMetadata::GitlabRepository)
|
|
1603
1650
|
IntegratedResourceMetadata.add_member_subclass(:bitbucket_repository, Types::IntegratedResourceMetadata::BitbucketRepository)
|
|
1604
1651
|
IntegratedResourceMetadata.add_member_subclass(:confluence_document, Types::IntegratedResourceMetadata::ConfluenceDocument)
|
|
1652
|
+
IntegratedResourceMetadata.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResourceMetadata::AzureDevOpsRepository)
|
|
1605
1653
|
IntegratedResourceMetadata.add_member_subclass(:unknown, Types::IntegratedResourceMetadata::Unknown)
|
|
1606
1654
|
IntegratedResourceMetadata.struct_class = Types::IntegratedResourceMetadata
|
|
1607
1655
|
|
|
@@ -1626,6 +1674,7 @@ module Aws::SecurityAgent
|
|
|
1626
1674
|
IntegrationSummary.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, required: true, location_name: "providerType"))
|
|
1627
1675
|
IntegrationSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "displayName"))
|
|
1628
1676
|
IntegrationSummary.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1677
|
+
IntegrationSummary.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1629
1678
|
IntegrationSummary.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1630
1679
|
IntegrationSummary.struct_class = Types::IntegrationSummary
|
|
1631
1680
|
|
|
@@ -2037,11 +2086,15 @@ module Aws::SecurityAgent
|
|
|
2037
2086
|
ProviderInput.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabIntegrationInput, location_name: "gitlab"))
|
|
2038
2087
|
ProviderInput.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketIntegrationInput, location_name: "bitbucket"))
|
|
2039
2088
|
ProviderInput.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceIntegrationInput, location_name: "confluence"))
|
|
2089
|
+
ProviderInput.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsIntegrationInput, location_name: "azureDevOps"))
|
|
2090
|
+
ProviderInput.add_member(:bitbucket_data_center, Shapes::ShapeRef.new(shape: BitbucketDataCenterIntegrationInput, location_name: "bitbucketDataCenter"))
|
|
2040
2091
|
ProviderInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2041
2092
|
ProviderInput.add_member_subclass(:github, Types::ProviderInput::Github)
|
|
2042
2093
|
ProviderInput.add_member_subclass(:gitlab, Types::ProviderInput::Gitlab)
|
|
2043
2094
|
ProviderInput.add_member_subclass(:bitbucket, Types::ProviderInput::Bitbucket)
|
|
2044
2095
|
ProviderInput.add_member_subclass(:confluence, Types::ProviderInput::Confluence)
|
|
2096
|
+
ProviderInput.add_member_subclass(:azure_dev_ops, Types::ProviderInput::AzureDevOps)
|
|
2097
|
+
ProviderInput.add_member_subclass(:bitbucket_data_center, Types::ProviderInput::BitbucketDataCenter)
|
|
2045
2098
|
ProviderInput.add_member_subclass(:unknown, Types::ProviderInput::Unknown)
|
|
2046
2099
|
ProviderInput.struct_class = Types::ProviderInput
|
|
2047
2100
|
|
|
@@ -2049,11 +2102,13 @@ module Aws::SecurityAgent
|
|
|
2049
2102
|
ProviderResourceCapabilities.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabResourceCapabilities, location_name: "gitlab"))
|
|
2050
2103
|
ProviderResourceCapabilities.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketResourceCapabilities, location_name: "bitbucket"))
|
|
2051
2104
|
ProviderResourceCapabilities.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceResourceCapabilities, location_name: "confluence"))
|
|
2105
|
+
ProviderResourceCapabilities.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsResourceCapabilities, location_name: "azureDevOps"))
|
|
2052
2106
|
ProviderResourceCapabilities.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2053
2107
|
ProviderResourceCapabilities.add_member_subclass(:github, Types::ProviderResourceCapabilities::Github)
|
|
2054
2108
|
ProviderResourceCapabilities.add_member_subclass(:gitlab, Types::ProviderResourceCapabilities::Gitlab)
|
|
2055
2109
|
ProviderResourceCapabilities.add_member_subclass(:bitbucket, Types::ProviderResourceCapabilities::Bitbucket)
|
|
2056
2110
|
ProviderResourceCapabilities.add_member_subclass(:confluence, Types::ProviderResourceCapabilities::Confluence)
|
|
2111
|
+
ProviderResourceCapabilities.add_member_subclass(:azure_dev_ops, Types::ProviderResourceCapabilities::AzureDevOps)
|
|
2057
2112
|
ProviderResourceCapabilities.add_member_subclass(:unknown, Types::ProviderResourceCapabilities::Unknown)
|
|
2058
2113
|
ProviderResourceCapabilities.struct_class = Types::ProviderResourceCapabilities
|
|
2059
2114
|
|
|
@@ -2538,6 +2593,15 @@ module Aws::SecurityAgent
|
|
|
2538
2593
|
|
|
2539
2594
|
UpdateIntegratedResourcesOutput.struct_class = Types::UpdateIntegratedResourcesOutput
|
|
2540
2595
|
|
|
2596
|
+
UpdateIntegrationInput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2597
|
+
UpdateIntegrationInput.add_member(:webhook_action, Shapes::ShapeRef.new(shape: WebhookAction, required: true, location_name: "webhookAction"))
|
|
2598
|
+
UpdateIntegrationInput.struct_class = Types::UpdateIntegrationInput
|
|
2599
|
+
|
|
2600
|
+
UpdateIntegrationOutput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2601
|
+
UpdateIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
2602
|
+
UpdateIntegrationOutput.add_member(:secret, Shapes::ShapeRef.new(shape: WebhookSecret, location_name: "secret"))
|
|
2603
|
+
UpdateIntegrationOutput.struct_class = Types::UpdateIntegrationOutput
|
|
2604
|
+
|
|
2541
2605
|
UpdatePentestInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2542
2606
|
UpdatePentestInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
2543
2607
|
UpdatePentestInput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -3727,6 +3791,20 @@ module Aws::SecurityAgent
|
|
|
3727
3791
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3728
3792
|
end)
|
|
3729
3793
|
|
|
3794
|
+
api.add_operation(:update_integration, Seahorse::Model::Operation.new.tap do |o|
|
|
3795
|
+
o.name = "UpdateIntegration"
|
|
3796
|
+
o.http_method = "POST"
|
|
3797
|
+
o.http_request_uri = "/UpdateIntegration"
|
|
3798
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationInput)
|
|
3799
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIntegrationOutput)
|
|
3800
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3801
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3802
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3803
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3804
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3805
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3806
|
+
end)
|
|
3807
|
+
|
|
3730
3808
|
api.add_operation(:update_pentest, Seahorse::Model::Operation.new.tap do |o|
|
|
3731
3809
|
o.name = "UpdatePentest"
|
|
3732
3810
|
o.http_method = "POST"
|
|
@@ -435,6 +435,116 @@ module Aws::SecurityAgent
|
|
|
435
435
|
include Aws::Structure
|
|
436
436
|
end
|
|
437
437
|
|
|
438
|
+
# Connection details for an Azure DevOps integration.
|
|
439
|
+
#
|
|
440
|
+
# @!attribute [rw] code
|
|
441
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
442
|
+
# the connection is authorized.
|
|
443
|
+
# @return [String]
|
|
444
|
+
#
|
|
445
|
+
# @!attribute [rw] state
|
|
446
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
447
|
+
# echoed back on the authorization redirect.
|
|
448
|
+
# @return [String]
|
|
449
|
+
#
|
|
450
|
+
# @!attribute [rw] organization_name
|
|
451
|
+
# The name of the Azure DevOps organization to connect, for example
|
|
452
|
+
# `my-org`.
|
|
453
|
+
# @return [String]
|
|
454
|
+
#
|
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsIntegrationInput AWS API Documentation
|
|
456
|
+
#
|
|
457
|
+
class AzureDevOpsIntegrationInput < Struct.new(
|
|
458
|
+
:code,
|
|
459
|
+
:state,
|
|
460
|
+
:organization_name)
|
|
461
|
+
SENSITIVE = []
|
|
462
|
+
include Aws::Structure
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Metadata for an integrated Azure DevOps repository.
|
|
466
|
+
#
|
|
467
|
+
# @!attribute [rw] name
|
|
468
|
+
# Name of the resource e.g. repository name, etc.
|
|
469
|
+
# @return [String]
|
|
470
|
+
#
|
|
471
|
+
# @!attribute [rw] provider_resource_id
|
|
472
|
+
# Provider Id of the resource e.g. GitHub repository id, etc.
|
|
473
|
+
# @return [String]
|
|
474
|
+
#
|
|
475
|
+
# @!attribute [rw] organization
|
|
476
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
477
|
+
# @return [String]
|
|
478
|
+
#
|
|
479
|
+
# @!attribute [rw] project
|
|
480
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
481
|
+
# @return [String]
|
|
482
|
+
#
|
|
483
|
+
# @!attribute [rw] project_id
|
|
484
|
+
# The GUID of the Azure DevOps project that contains the repository.
|
|
485
|
+
# @return [String]
|
|
486
|
+
#
|
|
487
|
+
# @!attribute [rw] access_type
|
|
488
|
+
# Defines the visibility level of provider resources. PRIVATE
|
|
489
|
+
# indicates restricted access, while PUBLIC indicates open access.
|
|
490
|
+
# @return [String]
|
|
491
|
+
#
|
|
492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryMetadata AWS API Documentation
|
|
493
|
+
#
|
|
494
|
+
class AzureDevOpsRepositoryMetadata < Struct.new(
|
|
495
|
+
:name,
|
|
496
|
+
:provider_resource_id,
|
|
497
|
+
:organization,
|
|
498
|
+
:project,
|
|
499
|
+
:project_id,
|
|
500
|
+
:access_type)
|
|
501
|
+
SENSITIVE = []
|
|
502
|
+
include Aws::Structure
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# An Azure DevOps repository integrated as a resource.
|
|
506
|
+
#
|
|
507
|
+
# @!attribute [rw] name
|
|
508
|
+
# Name of the resource e.g. repository name, etc.
|
|
509
|
+
# @return [String]
|
|
510
|
+
#
|
|
511
|
+
# @!attribute [rw] organization
|
|
512
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
513
|
+
# @return [String]
|
|
514
|
+
#
|
|
515
|
+
# @!attribute [rw] project
|
|
516
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
517
|
+
# @return [String]
|
|
518
|
+
#
|
|
519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryResource AWS API Documentation
|
|
520
|
+
#
|
|
521
|
+
class AzureDevOpsRepositoryResource < Struct.new(
|
|
522
|
+
:name,
|
|
523
|
+
:organization,
|
|
524
|
+
:project)
|
|
525
|
+
SENSITIVE = []
|
|
526
|
+
include Aws::Structure
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# Capabilities for an integrated Azure DevOps repository.
|
|
530
|
+
#
|
|
531
|
+
# @!attribute [rw] leave_comments
|
|
532
|
+
# Whether to post code review comments on pull requests.
|
|
533
|
+
# @return [Boolean]
|
|
534
|
+
#
|
|
535
|
+
# @!attribute [rw] remediate_code
|
|
536
|
+
# Whether to create pull requests with automated fixes.
|
|
537
|
+
# @return [Boolean]
|
|
538
|
+
#
|
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsResourceCapabilities AWS API Documentation
|
|
540
|
+
#
|
|
541
|
+
class AzureDevOpsResourceCapabilities < Struct.new(
|
|
542
|
+
:leave_comments,
|
|
543
|
+
:remediate_code)
|
|
544
|
+
SENSITIVE = []
|
|
545
|
+
include Aws::Structure
|
|
546
|
+
end
|
|
547
|
+
|
|
438
548
|
# Contains information about a successfully created security
|
|
439
549
|
# requirement.
|
|
440
550
|
#
|
|
@@ -1355,6 +1465,34 @@ module Aws::SecurityAgent
|
|
|
1355
1465
|
include Aws::Structure
|
|
1356
1466
|
end
|
|
1357
1467
|
|
|
1468
|
+
# Connection details for a self-managed Bitbucket Data Center
|
|
1469
|
+
# integration.
|
|
1470
|
+
#
|
|
1471
|
+
# @!attribute [rw] target_url
|
|
1472
|
+
# The HTTPS URL of your Bitbucket Data Center instance, for example
|
|
1473
|
+
# `https://bitbucket.example.com`.
|
|
1474
|
+
# @return [String]
|
|
1475
|
+
#
|
|
1476
|
+
# @!attribute [rw] code
|
|
1477
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
1478
|
+
# the connection is authorized.
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
#
|
|
1481
|
+
# @!attribute [rw] state
|
|
1482
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
1483
|
+
# echoed back on the authorization redirect.
|
|
1484
|
+
# @return [String]
|
|
1485
|
+
#
|
|
1486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BitbucketDataCenterIntegrationInput AWS API Documentation
|
|
1487
|
+
#
|
|
1488
|
+
class BitbucketDataCenterIntegrationInput < Struct.new(
|
|
1489
|
+
:target_url,
|
|
1490
|
+
:code,
|
|
1491
|
+
:state)
|
|
1492
|
+
SENSITIVE = []
|
|
1493
|
+
include Aws::Structure
|
|
1494
|
+
end
|
|
1495
|
+
|
|
1358
1496
|
# The configuration for creating a Bitbucket integration.
|
|
1359
1497
|
#
|
|
1360
1498
|
# @!attribute [rw] installation_id
|
|
@@ -2465,7 +2603,7 @@ module Aws::SecurityAgent
|
|
|
2465
2603
|
end
|
|
2466
2604
|
|
|
2467
2605
|
# @!attribute [rw] provider
|
|
2468
|
-
# The integration provider.
|
|
2606
|
+
# The integration provider.
|
|
2469
2607
|
# @return [String]
|
|
2470
2608
|
#
|
|
2471
2609
|
# @!attribute [rw] input
|
|
@@ -4237,6 +4375,11 @@ module Aws::SecurityAgent
|
|
|
4237
4375
|
# absent for SaaS integrations.
|
|
4238
4376
|
# @return [String]
|
|
4239
4377
|
#
|
|
4378
|
+
# @!attribute [rw] webhook_url
|
|
4379
|
+
# The payload URL of the integration's webhook, once it has been
|
|
4380
|
+
# created. The signing secret is never returned on a read.
|
|
4381
|
+
# @return [String]
|
|
4382
|
+
#
|
|
4240
4383
|
# @!attribute [rw] private_connection_name
|
|
4241
4384
|
# The name of the private connection used to reach the integration's
|
|
4242
4385
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4252,6 +4395,7 @@ module Aws::SecurityAgent
|
|
|
4252
4395
|
:display_name,
|
|
4253
4396
|
:kms_key_id,
|
|
4254
4397
|
:target_url,
|
|
4398
|
+
:webhook_url,
|
|
4255
4399
|
:private_connection_name)
|
|
4256
4400
|
SENSITIVE = []
|
|
4257
4401
|
include Aws::Structure
|
|
@@ -4639,15 +4783,37 @@ module Aws::SecurityAgent
|
|
|
4639
4783
|
end
|
|
4640
4784
|
|
|
4641
4785
|
# @!attribute [rw] provider
|
|
4642
|
-
# The provider to initiate registration with.
|
|
4643
|
-
#
|
|
4786
|
+
# The provider to initiate registration with.
|
|
4787
|
+
# @return [String]
|
|
4788
|
+
#
|
|
4789
|
+
# @!attribute [rw] target_url
|
|
4790
|
+
# The HTTPS URL of a self-managed provider instance. Omit for SaaS
|
|
4791
|
+
# providers.
|
|
4792
|
+
# @return [String]
|
|
4793
|
+
#
|
|
4794
|
+
# @!attribute [rw] organization_name
|
|
4795
|
+
# The name of the organization to connect.
|
|
4796
|
+
# @return [String]
|
|
4797
|
+
#
|
|
4798
|
+
# @!attribute [rw] client_id
|
|
4799
|
+
# The client ID of the OAuth application registered on your
|
|
4800
|
+
# self-managed provider instance.
|
|
4801
|
+
# @return [String]
|
|
4802
|
+
#
|
|
4803
|
+
# @!attribute [rw] client_secret
|
|
4804
|
+
# The client secret of the OAuth application registered on your
|
|
4805
|
+
# self-managed provider instance.
|
|
4644
4806
|
# @return [String]
|
|
4645
4807
|
#
|
|
4646
4808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InitiateProviderRegistrationInput AWS API Documentation
|
|
4647
4809
|
#
|
|
4648
4810
|
class InitiateProviderRegistrationInput < Struct.new(
|
|
4649
|
-
:provider
|
|
4650
|
-
|
|
4811
|
+
:provider,
|
|
4812
|
+
:target_url,
|
|
4813
|
+
:organization_name,
|
|
4814
|
+
:client_id,
|
|
4815
|
+
:client_secret)
|
|
4816
|
+
SENSITIVE = [:client_secret]
|
|
4651
4817
|
include Aws::Structure
|
|
4652
4818
|
end
|
|
4653
4819
|
|
|
@@ -4737,6 +4903,10 @@ module Aws::SecurityAgent
|
|
|
4737
4903
|
# A Confluence document (page) integrated as a resource.
|
|
4738
4904
|
# @return [Types::ConfluenceDocumentResource]
|
|
4739
4905
|
#
|
|
4906
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
4907
|
+
# The Azure DevOps repository resource information.
|
|
4908
|
+
# @return [Types::AzureDevOpsRepositoryResource]
|
|
4909
|
+
#
|
|
4740
4910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResource AWS API Documentation
|
|
4741
4911
|
#
|
|
4742
4912
|
class IntegratedResource < Struct.new(
|
|
@@ -4744,6 +4914,7 @@ module Aws::SecurityAgent
|
|
|
4744
4914
|
:gitlab_repository,
|
|
4745
4915
|
:bitbucket_repository,
|
|
4746
4916
|
:confluence_document,
|
|
4917
|
+
:azure_dev_ops_repository,
|
|
4747
4918
|
:unknown)
|
|
4748
4919
|
SENSITIVE = []
|
|
4749
4920
|
include Aws::Structure
|
|
@@ -4753,6 +4924,7 @@ module Aws::SecurityAgent
|
|
|
4753
4924
|
class GitlabRepository < IntegratedResource; end
|
|
4754
4925
|
class BitbucketRepository < IntegratedResource; end
|
|
4755
4926
|
class ConfluenceDocument < IntegratedResource; end
|
|
4927
|
+
class AzureDevOpsRepository < IntegratedResource; end
|
|
4756
4928
|
class Unknown < IntegratedResource; end
|
|
4757
4929
|
end
|
|
4758
4930
|
|
|
@@ -4797,6 +4969,10 @@ module Aws::SecurityAgent
|
|
|
4797
4969
|
# Metadata for an integrated Confluence document.
|
|
4798
4970
|
# @return [Types::ConfluenceDocumentMetadata]
|
|
4799
4971
|
#
|
|
4972
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
4973
|
+
# The Azure DevOps repository metadata.
|
|
4974
|
+
# @return [Types::AzureDevOpsRepositoryMetadata]
|
|
4975
|
+
#
|
|
4800
4976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceMetadata AWS API Documentation
|
|
4801
4977
|
#
|
|
4802
4978
|
class IntegratedResourceMetadata < Struct.new(
|
|
@@ -4804,6 +4980,7 @@ module Aws::SecurityAgent
|
|
|
4804
4980
|
:gitlab_repository,
|
|
4805
4981
|
:bitbucket_repository,
|
|
4806
4982
|
:confluence_document,
|
|
4983
|
+
:azure_dev_ops_repository,
|
|
4807
4984
|
:unknown)
|
|
4808
4985
|
SENSITIVE = []
|
|
4809
4986
|
include Aws::Structure
|
|
@@ -4813,6 +4990,7 @@ module Aws::SecurityAgent
|
|
|
4813
4990
|
class GitlabRepository < IntegratedResourceMetadata; end
|
|
4814
4991
|
class BitbucketRepository < IntegratedResourceMetadata; end
|
|
4815
4992
|
class ConfluenceDocument < IntegratedResourceMetadata; end
|
|
4993
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata; end
|
|
4816
4994
|
class Unknown < IntegratedResourceMetadata; end
|
|
4817
4995
|
end
|
|
4818
4996
|
|
|
@@ -4897,6 +5075,11 @@ module Aws::SecurityAgent
|
|
|
4897
5075
|
# absent for SaaS integrations.
|
|
4898
5076
|
# @return [String]
|
|
4899
5077
|
#
|
|
5078
|
+
# @!attribute [rw] webhook_url
|
|
5079
|
+
# The payload URL of the integration's webhook, once it has been
|
|
5080
|
+
# created. The signing secret is never returned on a read.
|
|
5081
|
+
# @return [String]
|
|
5082
|
+
#
|
|
4900
5083
|
# @!attribute [rw] private_connection_name
|
|
4901
5084
|
# The name of the private connection used to reach the integration's
|
|
4902
5085
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4911,6 +5094,7 @@ module Aws::SecurityAgent
|
|
|
4911
5094
|
:provider_type,
|
|
4912
5095
|
:display_name,
|
|
4913
5096
|
:target_url,
|
|
5097
|
+
:webhook_url,
|
|
4914
5098
|
:private_connection_name)
|
|
4915
5099
|
SENSITIVE = []
|
|
4916
5100
|
include Aws::Structure
|
|
@@ -6842,6 +7026,15 @@ module Aws::SecurityAgent
|
|
|
6842
7026
|
# The configuration for a Confluence integration.
|
|
6843
7027
|
# @return [Types::ConfluenceIntegrationInput]
|
|
6844
7028
|
#
|
|
7029
|
+
# @!attribute [rw] azure_dev_ops
|
|
7030
|
+
# The Azure DevOps-specific input for creating an integration.
|
|
7031
|
+
# @return [Types::AzureDevOpsIntegrationInput]
|
|
7032
|
+
#
|
|
7033
|
+
# @!attribute [rw] bitbucket_data_center
|
|
7034
|
+
# The Bitbucket Data Center-specific input for creating an
|
|
7035
|
+
# integration.
|
|
7036
|
+
# @return [Types::BitbucketDataCenterIntegrationInput]
|
|
7037
|
+
#
|
|
6845
7038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderInput AWS API Documentation
|
|
6846
7039
|
#
|
|
6847
7040
|
class ProviderInput < Struct.new(
|
|
@@ -6849,6 +7042,8 @@ module Aws::SecurityAgent
|
|
|
6849
7042
|
:gitlab,
|
|
6850
7043
|
:bitbucket,
|
|
6851
7044
|
:confluence,
|
|
7045
|
+
:azure_dev_ops,
|
|
7046
|
+
:bitbucket_data_center,
|
|
6852
7047
|
:unknown)
|
|
6853
7048
|
SENSITIVE = []
|
|
6854
7049
|
include Aws::Structure
|
|
@@ -6858,6 +7053,8 @@ module Aws::SecurityAgent
|
|
|
6858
7053
|
class Gitlab < ProviderInput; end
|
|
6859
7054
|
class Bitbucket < ProviderInput; end
|
|
6860
7055
|
class Confluence < ProviderInput; end
|
|
7056
|
+
class AzureDevOps < ProviderInput; end
|
|
7057
|
+
class BitbucketDataCenter < ProviderInput; end
|
|
6861
7058
|
class Unknown < ProviderInput; end
|
|
6862
7059
|
end
|
|
6863
7060
|
|
|
@@ -6885,6 +7082,10 @@ module Aws::SecurityAgent
|
|
|
6885
7082
|
# Capabilities for an integrated Confluence space.
|
|
6886
7083
|
# @return [Types::ConfluenceResourceCapabilities]
|
|
6887
7084
|
#
|
|
7085
|
+
# @!attribute [rw] azure_dev_ops
|
|
7086
|
+
# The Azure DevOps-specific resource capabilities.
|
|
7087
|
+
# @return [Types::AzureDevOpsResourceCapabilities]
|
|
7088
|
+
#
|
|
6888
7089
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderResourceCapabilities AWS API Documentation
|
|
6889
7090
|
#
|
|
6890
7091
|
class ProviderResourceCapabilities < Struct.new(
|
|
@@ -6892,6 +7093,7 @@ module Aws::SecurityAgent
|
|
|
6892
7093
|
:gitlab,
|
|
6893
7094
|
:bitbucket,
|
|
6894
7095
|
:confluence,
|
|
7096
|
+
:azure_dev_ops,
|
|
6895
7097
|
:unknown)
|
|
6896
7098
|
SENSITIVE = []
|
|
6897
7099
|
include Aws::Structure
|
|
@@ -6901,6 +7103,7 @@ module Aws::SecurityAgent
|
|
|
6901
7103
|
class Gitlab < ProviderResourceCapabilities; end
|
|
6902
7104
|
class Bitbucket < ProviderResourceCapabilities; end
|
|
6903
7105
|
class Confluence < ProviderResourceCapabilities; end
|
|
7106
|
+
class AzureDevOps < ProviderResourceCapabilities; end
|
|
6904
7107
|
class Unknown < ProviderResourceCapabilities; end
|
|
6905
7108
|
end
|
|
6906
7109
|
|
|
@@ -8888,6 +9091,52 @@ module Aws::SecurityAgent
|
|
|
8888
9091
|
#
|
|
8889
9092
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure; end
|
|
8890
9093
|
|
|
9094
|
+
# Input for creating or rotating an integration's webhook.
|
|
9095
|
+
#
|
|
9096
|
+
# @!attribute [rw] integration_id
|
|
9097
|
+
# The ID of the integration whose webhook you want to create or
|
|
9098
|
+
# rotate.
|
|
9099
|
+
# @return [String]
|
|
9100
|
+
#
|
|
9101
|
+
# @!attribute [rw] webhook_action
|
|
9102
|
+
# The action to perform on the integration's webhook.
|
|
9103
|
+
# @return [String]
|
|
9104
|
+
#
|
|
9105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationInput AWS API Documentation
|
|
9106
|
+
#
|
|
9107
|
+
class UpdateIntegrationInput < Struct.new(
|
|
9108
|
+
:integration_id,
|
|
9109
|
+
:webhook_action)
|
|
9110
|
+
SENSITIVE = []
|
|
9111
|
+
include Aws::Structure
|
|
9112
|
+
end
|
|
9113
|
+
|
|
9114
|
+
# Output for the UpdateIntegration operation.
|
|
9115
|
+
#
|
|
9116
|
+
# @!attribute [rw] integration_id
|
|
9117
|
+
# The ID of the integration.
|
|
9118
|
+
# @return [String]
|
|
9119
|
+
#
|
|
9120
|
+
# @!attribute [rw] webhook_url
|
|
9121
|
+
# The payload URL to configure on your provider instance. Returned
|
|
9122
|
+
# when a webhook is created; unchanged by a rotate.
|
|
9123
|
+
# @return [String]
|
|
9124
|
+
#
|
|
9125
|
+
# @!attribute [rw] secret
|
|
9126
|
+
# The HMAC signing secret for the webhook. Returned only once, in this
|
|
9127
|
+
# response; it is never returned again.
|
|
9128
|
+
# @return [String]
|
|
9129
|
+
#
|
|
9130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationOutput AWS API Documentation
|
|
9131
|
+
#
|
|
9132
|
+
class UpdateIntegrationOutput < Struct.new(
|
|
9133
|
+
:integration_id,
|
|
9134
|
+
:webhook_url,
|
|
9135
|
+
:secret)
|
|
9136
|
+
SENSITIVE = [:secret]
|
|
9137
|
+
include Aws::Structure
|
|
9138
|
+
end
|
|
9139
|
+
|
|
8891
9140
|
# Input for updating an existing pentest.
|
|
8892
9141
|
#
|
|
8893
9142
|
# @!attribute [rw] pentest_id
|
data/sig/client.rbs
CHANGED
|
@@ -441,7 +441,7 @@ module Aws
|
|
|
441
441
|
end
|
|
442
442
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
|
|
443
443
|
def create_integration: (
|
|
444
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"),
|
|
444
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
445
445
|
input: {
|
|
446
446
|
github: {
|
|
447
447
|
code: ::String,
|
|
@@ -467,6 +467,16 @@ module Aws
|
|
|
467
467
|
code: ::String,
|
|
468
468
|
state: ::String,
|
|
469
469
|
site_url: ::String
|
|
470
|
+
}?,
|
|
471
|
+
azure_dev_ops: {
|
|
472
|
+
code: ::String,
|
|
473
|
+
state: ::String,
|
|
474
|
+
organization_name: ::String
|
|
475
|
+
}?,
|
|
476
|
+
bitbucket_data_center: {
|
|
477
|
+
target_url: ::String,
|
|
478
|
+
code: ::String,
|
|
479
|
+
state: ::String
|
|
470
480
|
}?
|
|
471
481
|
},
|
|
472
482
|
integration_display_name: ::String,
|
|
@@ -844,11 +854,12 @@ module Aws
|
|
|
844
854
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
845
855
|
def integration_id: () -> ::String
|
|
846
856
|
def installation_id: () -> ::String
|
|
847
|
-
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
857
|
+
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
848
858
|
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
|
|
849
859
|
def display_name: () -> ::String
|
|
850
860
|
def kms_key_id: () -> ::String
|
|
851
861
|
def target_url: () -> ::String
|
|
862
|
+
def webhook_url: () -> ::String
|
|
852
863
|
def private_connection_name: () -> ::String
|
|
853
864
|
end
|
|
854
865
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_integration-instance_method
|
|
@@ -903,7 +914,11 @@ module Aws
|
|
|
903
914
|
end
|
|
904
915
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
|
|
905
916
|
def initiate_provider_registration: (
|
|
906
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
917
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
918
|
+
?target_url: ::String,
|
|
919
|
+
?organization_name: ::String,
|
|
920
|
+
?client_id: ::String,
|
|
921
|
+
?client_secret: ::String
|
|
907
922
|
) -> _InitiateProviderRegistrationResponseSuccess
|
|
908
923
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
|
|
909
924
|
|
|
@@ -1060,7 +1075,7 @@ module Aws
|
|
|
1060
1075
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
|
|
1061
1076
|
def list_integrations: (
|
|
1062
1077
|
?filter: {
|
|
1063
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")?,
|
|
1078
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")?,
|
|
1064
1079
|
provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
|
|
1065
1080
|
},
|
|
1066
1081
|
?next_token: ::String,
|
|
@@ -1496,6 +1511,11 @@ module Aws
|
|
|
1496
1511
|
page_id: ::String,
|
|
1497
1512
|
title: ::String?,
|
|
1498
1513
|
space_title: ::String?
|
|
1514
|
+
}?,
|
|
1515
|
+
azure_dev_ops_repository: {
|
|
1516
|
+
name: ::String,
|
|
1517
|
+
organization: ::String,
|
|
1518
|
+
project: ::String?
|
|
1499
1519
|
}?
|
|
1500
1520
|
},
|
|
1501
1521
|
capabilities: {
|
|
@@ -1515,6 +1535,10 @@ module Aws
|
|
|
1515
1535
|
fetch_document: bool?,
|
|
1516
1536
|
create_document: bool?,
|
|
1517
1537
|
update_document: bool?
|
|
1538
|
+
}?,
|
|
1539
|
+
azure_dev_ops: {
|
|
1540
|
+
leave_comments: bool?,
|
|
1541
|
+
remediate_code: bool?
|
|
1518
1542
|
}?
|
|
1519
1543
|
}?
|
|
1520
1544
|
}
|
|
@@ -1522,6 +1546,19 @@ module Aws
|
|
|
1522
1546
|
) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1523
1547
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1524
1548
|
|
|
1549
|
+
interface _UpdateIntegrationResponseSuccess
|
|
1550
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntegrationOutput]
|
|
1551
|
+
def integration_id: () -> ::String
|
|
1552
|
+
def webhook_url: () -> ::String
|
|
1553
|
+
def secret: () -> ::String
|
|
1554
|
+
end
|
|
1555
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_integration-instance_method
|
|
1556
|
+
def update_integration: (
|
|
1557
|
+
integration_id: ::String,
|
|
1558
|
+
webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
1559
|
+
) -> _UpdateIntegrationResponseSuccess
|
|
1560
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegrationResponseSuccess
|
|
1561
|
+
|
|
1525
1562
|
interface _UpdatePentestResponseSuccess
|
|
1526
1563
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePentestOutput]
|
|
1527
1564
|
def pentest_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -120,6 +120,36 @@ module Aws::SecurityAgent
|
|
|
120
120
|
SENSITIVE: []
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
+
class AzureDevOpsIntegrationInput
|
|
124
|
+
attr_accessor code: ::String
|
|
125
|
+
attr_accessor state: ::String
|
|
126
|
+
attr_accessor organization_name: ::String
|
|
127
|
+
SENSITIVE: []
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
class AzureDevOpsRepositoryMetadata
|
|
131
|
+
attr_accessor name: ::String
|
|
132
|
+
attr_accessor provider_resource_id: ::String
|
|
133
|
+
attr_accessor organization: ::String
|
|
134
|
+
attr_accessor project: ::String
|
|
135
|
+
attr_accessor project_id: ::String
|
|
136
|
+
attr_accessor access_type: ("PRIVATE" | "PUBLIC")
|
|
137
|
+
SENSITIVE: []
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
class AzureDevOpsRepositoryResource
|
|
141
|
+
attr_accessor name: ::String
|
|
142
|
+
attr_accessor organization: ::String
|
|
143
|
+
attr_accessor project: ::String
|
|
144
|
+
SENSITIVE: []
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class AzureDevOpsResourceCapabilities
|
|
148
|
+
attr_accessor leave_comments: bool
|
|
149
|
+
attr_accessor remediate_code: bool
|
|
150
|
+
SENSITIVE: []
|
|
151
|
+
end
|
|
152
|
+
|
|
123
153
|
class BatchCreateSecurityRequirementResult
|
|
124
154
|
attr_accessor pack_id: ::String
|
|
125
155
|
attr_accessor name: ::String
|
|
@@ -400,6 +430,13 @@ module Aws::SecurityAgent
|
|
|
400
430
|
SENSITIVE: []
|
|
401
431
|
end
|
|
402
432
|
|
|
433
|
+
class BitbucketDataCenterIntegrationInput
|
|
434
|
+
attr_accessor target_url: ::String
|
|
435
|
+
attr_accessor code: ::String
|
|
436
|
+
attr_accessor state: ::String
|
|
437
|
+
SENSITIVE: []
|
|
438
|
+
end
|
|
439
|
+
|
|
403
440
|
class BitbucketIntegrationInput
|
|
404
441
|
attr_accessor installation_id: ::String
|
|
405
442
|
attr_accessor workspace: ::String
|
|
@@ -685,7 +722,7 @@ module Aws::SecurityAgent
|
|
|
685
722
|
end
|
|
686
723
|
|
|
687
724
|
class CreateIntegrationInput
|
|
688
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
725
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
689
726
|
attr_accessor input: Types::ProviderInput
|
|
690
727
|
attr_accessor integration_display_name: ::String
|
|
691
728
|
attr_accessor kms_key_id: ::String
|
|
@@ -1148,11 +1185,12 @@ module Aws::SecurityAgent
|
|
|
1148
1185
|
class GetIntegrationOutput
|
|
1149
1186
|
attr_accessor integration_id: ::String
|
|
1150
1187
|
attr_accessor installation_id: ::String
|
|
1151
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1188
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1152
1189
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1153
1190
|
attr_accessor display_name: ::String
|
|
1154
1191
|
attr_accessor kms_key_id: ::String
|
|
1155
1192
|
attr_accessor target_url: ::String
|
|
1193
|
+
attr_accessor webhook_url: ::String
|
|
1156
1194
|
attr_accessor private_connection_name: ::String
|
|
1157
1195
|
SENSITIVE: []
|
|
1158
1196
|
end
|
|
@@ -1269,8 +1307,12 @@ module Aws::SecurityAgent
|
|
|
1269
1307
|
end
|
|
1270
1308
|
|
|
1271
1309
|
class InitiateProviderRegistrationInput
|
|
1272
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1273
|
-
|
|
1310
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1311
|
+
attr_accessor target_url: ::String
|
|
1312
|
+
attr_accessor organization_name: ::String
|
|
1313
|
+
attr_accessor client_id: ::String
|
|
1314
|
+
attr_accessor client_secret: ::String
|
|
1315
|
+
SENSITIVE: [:client_secret]
|
|
1274
1316
|
end
|
|
1275
1317
|
|
|
1276
1318
|
class InitiateProviderRegistrationOutput
|
|
@@ -1297,6 +1339,7 @@ module Aws::SecurityAgent
|
|
|
1297
1339
|
attr_accessor gitlab_repository: Types::GitLabRepositoryResource
|
|
1298
1340
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryResource
|
|
1299
1341
|
attr_accessor confluence_document: Types::ConfluenceDocumentResource
|
|
1342
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryResource
|
|
1300
1343
|
attr_accessor unknown: untyped
|
|
1301
1344
|
SENSITIVE: []
|
|
1302
1345
|
|
|
@@ -1308,6 +1351,8 @@ module Aws::SecurityAgent
|
|
|
1308
1351
|
end
|
|
1309
1352
|
class ConfluenceDocument < IntegratedResource
|
|
1310
1353
|
end
|
|
1354
|
+
class AzureDevOpsRepository < IntegratedResource
|
|
1355
|
+
end
|
|
1311
1356
|
class Unknown < IntegratedResource
|
|
1312
1357
|
end
|
|
1313
1358
|
end
|
|
@@ -1323,6 +1368,7 @@ module Aws::SecurityAgent
|
|
|
1323
1368
|
attr_accessor gitlab_repository: Types::GitLabRepositoryMetadata
|
|
1324
1369
|
attr_accessor bitbucket_repository: Types::BitbucketRepositoryMetadata
|
|
1325
1370
|
attr_accessor confluence_document: Types::ConfluenceDocumentMetadata
|
|
1371
|
+
attr_accessor azure_dev_ops_repository: Types::AzureDevOpsRepositoryMetadata
|
|
1326
1372
|
attr_accessor unknown: untyped
|
|
1327
1373
|
SENSITIVE: []
|
|
1328
1374
|
|
|
@@ -1334,6 +1380,8 @@ module Aws::SecurityAgent
|
|
|
1334
1380
|
end
|
|
1335
1381
|
class ConfluenceDocument < IntegratedResourceMetadata
|
|
1336
1382
|
end
|
|
1383
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata
|
|
1384
|
+
end
|
|
1337
1385
|
class Unknown < IntegratedResourceMetadata
|
|
1338
1386
|
end
|
|
1339
1387
|
end
|
|
@@ -1346,7 +1394,7 @@ module Aws::SecurityAgent
|
|
|
1346
1394
|
end
|
|
1347
1395
|
|
|
1348
1396
|
class IntegrationFilter
|
|
1349
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1397
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1350
1398
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1351
1399
|
attr_accessor unknown: untyped
|
|
1352
1400
|
SENSITIVE: []
|
|
@@ -1362,10 +1410,11 @@ module Aws::SecurityAgent
|
|
|
1362
1410
|
class IntegrationSummary
|
|
1363
1411
|
attr_accessor integration_id: ::String
|
|
1364
1412
|
attr_accessor installation_id: ::String
|
|
1365
|
-
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
1413
|
+
attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
1366
1414
|
attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
|
|
1367
1415
|
attr_accessor display_name: ::String
|
|
1368
1416
|
attr_accessor target_url: ::String
|
|
1417
|
+
attr_accessor webhook_url: ::String
|
|
1369
1418
|
attr_accessor private_connection_name: ::String
|
|
1370
1419
|
SENSITIVE: []
|
|
1371
1420
|
end
|
|
@@ -1883,6 +1932,8 @@ module Aws::SecurityAgent
|
|
|
1883
1932
|
attr_accessor gitlab: Types::GitLabIntegrationInput
|
|
1884
1933
|
attr_accessor bitbucket: Types::BitbucketIntegrationInput
|
|
1885
1934
|
attr_accessor confluence: Types::ConfluenceIntegrationInput
|
|
1935
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsIntegrationInput
|
|
1936
|
+
attr_accessor bitbucket_data_center: Types::BitbucketDataCenterIntegrationInput
|
|
1886
1937
|
attr_accessor unknown: untyped
|
|
1887
1938
|
SENSITIVE: []
|
|
1888
1939
|
|
|
@@ -1894,6 +1945,10 @@ module Aws::SecurityAgent
|
|
|
1894
1945
|
end
|
|
1895
1946
|
class Confluence < ProviderInput
|
|
1896
1947
|
end
|
|
1948
|
+
class AzureDevOps < ProviderInput
|
|
1949
|
+
end
|
|
1950
|
+
class BitbucketDataCenter < ProviderInput
|
|
1951
|
+
end
|
|
1897
1952
|
class Unknown < ProviderInput
|
|
1898
1953
|
end
|
|
1899
1954
|
end
|
|
@@ -1903,6 +1958,7 @@ module Aws::SecurityAgent
|
|
|
1903
1958
|
attr_accessor gitlab: Types::GitLabResourceCapabilities
|
|
1904
1959
|
attr_accessor bitbucket: Types::BitbucketResourceCapabilities
|
|
1905
1960
|
attr_accessor confluence: Types::ConfluenceResourceCapabilities
|
|
1961
|
+
attr_accessor azure_dev_ops: Types::AzureDevOpsResourceCapabilities
|
|
1906
1962
|
attr_accessor unknown: untyped
|
|
1907
1963
|
SENSITIVE: []
|
|
1908
1964
|
|
|
@@ -1914,6 +1970,8 @@ module Aws::SecurityAgent
|
|
|
1914
1970
|
end
|
|
1915
1971
|
class Confluence < ProviderResourceCapabilities
|
|
1916
1972
|
end
|
|
1973
|
+
class AzureDevOps < ProviderResourceCapabilities
|
|
1974
|
+
end
|
|
1917
1975
|
class Unknown < ProviderResourceCapabilities
|
|
1918
1976
|
end
|
|
1919
1977
|
end
|
|
@@ -2424,6 +2482,19 @@ module Aws::SecurityAgent
|
|
|
2424
2482
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure
|
|
2425
2483
|
end
|
|
2426
2484
|
|
|
2485
|
+
class UpdateIntegrationInput
|
|
2486
|
+
attr_accessor integration_id: ::String
|
|
2487
|
+
attr_accessor webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
2488
|
+
SENSITIVE: []
|
|
2489
|
+
end
|
|
2490
|
+
|
|
2491
|
+
class UpdateIntegrationOutput
|
|
2492
|
+
attr_accessor integration_id: ::String
|
|
2493
|
+
attr_accessor webhook_url: ::String
|
|
2494
|
+
attr_accessor secret: ::String
|
|
2495
|
+
SENSITIVE: [:secret]
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2427
2498
|
class UpdatePentestInput
|
|
2428
2499
|
attr_accessor pentest_id: ::String
|
|
2429
2500
|
attr_accessor agent_space_id: ::String
|