aws-sdk-securityagent 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +175 -9
- data/lib/aws-sdk-securityagent/client_api.rb +109 -0
- data/lib/aws-sdk-securityagent/types.rb +333 -5
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +53 -4
- data/sig/params.rbs +11 -0
- data/sig/types.rbs +94 -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: a133835c112f087e530c7dd8db32f4dc9be76ec6e8c4db018bdae2663b99df51
|
|
4
|
+
data.tar.gz: 45092897f8b4c79491d0fbc46e9e3ed5ee4b5a3faa557414b90c1ee0304dab71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5247f05823734f8ae9bef5301782ad7abf60599432e5d4ecabaf0ae4e8860e105cfaf6ec5b1df24dfdb27198bb3ab6d3fb5c0804687c63e07bfdf1d848ea3943
|
|
7
|
+
data.tar.gz: d37c01dea97ebdd3b9642f3cca1875c5f9335ecdae8252a975f9f434ea1d343fa432730218fa54a17223948863bc1e9cfdefe46f0f47da67304676aed93fa713
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.20.0 (2026-10-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds trigger filters that control which pull request events, target branches, and labels start an automatic code review.
|
|
8
|
+
|
|
9
|
+
1.19.0 (2026-09-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for Azure DevOps and Bitbucket Data Center integration providers.
|
|
13
|
+
|
|
4
14
|
1.18.0 (2026-09-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.20.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,15 +4224,55 @@ 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"
|
|
4233
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups #=> Array
|
|
4234
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].events #=> Array
|
|
4235
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT", "PULL_REQUEST_LABEL_ADDED"
|
|
4236
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters #=> Array
|
|
4237
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
|
|
4238
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].patterns #=> Array
|
|
4239
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].patterns[0] #=> String
|
|
4240
|
+
# resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
|
|
4197
4241
|
# resp.integrated_resource_summaries[0].capabilities.github.leave_comments #=> Boolean
|
|
4198
4242
|
# resp.integrated_resource_summaries[0].capabilities.github.remediate_code #=> Boolean
|
|
4243
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups #=> Array
|
|
4244
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].events #=> Array
|
|
4245
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT", "PULL_REQUEST_LABEL_ADDED"
|
|
4246
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters #=> Array
|
|
4247
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
|
|
4248
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].patterns #=> Array
|
|
4249
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].patterns[0] #=> String
|
|
4250
|
+
# resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
|
|
4199
4251
|
# resp.integrated_resource_summaries[0].capabilities.gitlab.leave_comments #=> Boolean
|
|
4200
4252
|
# resp.integrated_resource_summaries[0].capabilities.gitlab.remediate_code #=> Boolean
|
|
4253
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups #=> Array
|
|
4254
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].events #=> Array
|
|
4255
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT", "PULL_REQUEST_LABEL_ADDED"
|
|
4256
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters #=> Array
|
|
4257
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
|
|
4258
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].patterns #=> Array
|
|
4259
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].patterns[0] #=> String
|
|
4260
|
+
# resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
|
|
4201
4261
|
# resp.integrated_resource_summaries[0].capabilities.bitbucket.leave_comments #=> Boolean
|
|
4202
4262
|
# resp.integrated_resource_summaries[0].capabilities.bitbucket.remediate_code #=> Boolean
|
|
4203
4263
|
# resp.integrated_resource_summaries[0].capabilities.confluence.fetch_document #=> Boolean
|
|
4204
4264
|
# resp.integrated_resource_summaries[0].capabilities.confluence.create_document #=> Boolean
|
|
4205
4265
|
# resp.integrated_resource_summaries[0].capabilities.confluence.update_document #=> Boolean
|
|
4266
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups #=> Array
|
|
4267
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].events #=> Array
|
|
4268
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].events[0] #=> String, one of "PULL_REQUEST_READY_FOR_REVIEW", "PULL_REQUEST_DRAFT", "PULL_REQUEST_LABEL_ADDED"
|
|
4269
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters #=> Array
|
|
4270
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
|
|
4271
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].patterns #=> Array
|
|
4272
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].patterns[0] #=> String
|
|
4273
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
|
|
4274
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.leave_comments #=> Boolean
|
|
4275
|
+
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.remediate_code #=> Boolean
|
|
4206
4276
|
# resp.next_token #=> String
|
|
4207
4277
|
#
|
|
4208
4278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegratedResources AWS API Documentation
|
|
@@ -4240,7 +4310,7 @@ module Aws::SecurityAgent
|
|
|
4240
4310
|
#
|
|
4241
4311
|
# resp = client.list_integrations({
|
|
4242
4312
|
# filter: {
|
|
4243
|
-
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE
|
|
4313
|
+
# provider: "GITHUB", # accepts GITHUB, GITLAB, BITBUCKET, CONFLUENCE, AZURE_DEVOPS
|
|
4244
4314
|
# provider_type: "SOURCE_CODE", # accepts SOURCE_CODE, DOCUMENTATION
|
|
4245
4315
|
# },
|
|
4246
4316
|
# next_token: "NextToken",
|
|
@@ -4252,10 +4322,11 @@ module Aws::SecurityAgent
|
|
|
4252
4322
|
# resp.integration_summaries #=> Array
|
|
4253
4323
|
# resp.integration_summaries[0].integration_id #=> String
|
|
4254
4324
|
# resp.integration_summaries[0].installation_id #=> String
|
|
4255
|
-
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE"
|
|
4325
|
+
# resp.integration_summaries[0].provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "CONFLUENCE", "AZURE_DEVOPS"
|
|
4256
4326
|
# resp.integration_summaries[0].provider_type #=> String, one of "SOURCE_CODE", "DOCUMENTATION"
|
|
4257
4327
|
# resp.integration_summaries[0].display_name #=> String
|
|
4258
4328
|
# resp.integration_summaries[0].target_url #=> String
|
|
4329
|
+
# resp.integration_summaries[0].webhook_url #=> String
|
|
4259
4330
|
# resp.integration_summaries[0].private_connection_name #=> String
|
|
4260
4331
|
# resp.next_token #=> String
|
|
4261
4332
|
#
|
|
@@ -5724,17 +5795,58 @@ module Aws::SecurityAgent
|
|
|
5724
5795
|
# title: "String",
|
|
5725
5796
|
# space_title: "String",
|
|
5726
5797
|
# },
|
|
5798
|
+
# azure_dev_ops_repository: {
|
|
5799
|
+
# name: "ProviderResourceName", # required
|
|
5800
|
+
# organization: "AzureDevOpsOrganization", # required
|
|
5801
|
+
# project: "String",
|
|
5802
|
+
# },
|
|
5727
5803
|
# },
|
|
5728
5804
|
# capabilities: {
|
|
5729
5805
|
# github: {
|
|
5806
|
+
# trigger_filter_groups: [
|
|
5807
|
+
# {
|
|
5808
|
+
# events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
|
|
5809
|
+
# filters: [
|
|
5810
|
+
# {
|
|
5811
|
+
# type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
|
|
5812
|
+
# patterns: ["TriggerRegexPattern"], # required
|
|
5813
|
+
# match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
|
5814
|
+
# },
|
|
5815
|
+
# ],
|
|
5816
|
+
# },
|
|
5817
|
+
# ],
|
|
5730
5818
|
# leave_comments: false,
|
|
5731
5819
|
# remediate_code: false,
|
|
5732
5820
|
# },
|
|
5733
5821
|
# gitlab: {
|
|
5822
|
+
# trigger_filter_groups: [
|
|
5823
|
+
# {
|
|
5824
|
+
# events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
|
|
5825
|
+
# filters: [
|
|
5826
|
+
# {
|
|
5827
|
+
# type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
|
|
5828
|
+
# patterns: ["TriggerRegexPattern"], # required
|
|
5829
|
+
# match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
|
5830
|
+
# },
|
|
5831
|
+
# ],
|
|
5832
|
+
# },
|
|
5833
|
+
# ],
|
|
5734
5834
|
# leave_comments: false,
|
|
5735
5835
|
# remediate_code: false,
|
|
5736
5836
|
# },
|
|
5737
5837
|
# bitbucket: {
|
|
5838
|
+
# trigger_filter_groups: [
|
|
5839
|
+
# {
|
|
5840
|
+
# events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
|
|
5841
|
+
# filters: [
|
|
5842
|
+
# {
|
|
5843
|
+
# type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
|
|
5844
|
+
# patterns: ["TriggerRegexPattern"], # required
|
|
5845
|
+
# match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
|
5846
|
+
# },
|
|
5847
|
+
# ],
|
|
5848
|
+
# },
|
|
5849
|
+
# ],
|
|
5738
5850
|
# leave_comments: false,
|
|
5739
5851
|
# remediate_code: false,
|
|
5740
5852
|
# },
|
|
@@ -5743,6 +5855,22 @@ module Aws::SecurityAgent
|
|
|
5743
5855
|
# create_document: false,
|
|
5744
5856
|
# update_document: false,
|
|
5745
5857
|
# },
|
|
5858
|
+
# azure_dev_ops: {
|
|
5859
|
+
# trigger_filter_groups: [
|
|
5860
|
+
# {
|
|
5861
|
+
# events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
|
|
5862
|
+
# filters: [
|
|
5863
|
+
# {
|
|
5864
|
+
# type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
|
|
5865
|
+
# patterns: ["TriggerRegexPattern"], # required
|
|
5866
|
+
# match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
|
|
5867
|
+
# },
|
|
5868
|
+
# ],
|
|
5869
|
+
# },
|
|
5870
|
+
# ],
|
|
5871
|
+
# leave_comments: false,
|
|
5872
|
+
# remediate_code: false,
|
|
5873
|
+
# },
|
|
5746
5874
|
# },
|
|
5747
5875
|
# },
|
|
5748
5876
|
# ],
|
|
@@ -5757,6 +5885,44 @@ module Aws::SecurityAgent
|
|
|
5757
5885
|
req.send_request(options)
|
|
5758
5886
|
end
|
|
5759
5887
|
|
|
5888
|
+
# Creates an integration's webhook, or rotates the HMAC signing secret
|
|
5889
|
+
# of an existing one. The secret is returned only once, in this
|
|
5890
|
+
# response, and cannot be retrieved again.
|
|
5891
|
+
#
|
|
5892
|
+
# @option params [required, String] :integration_id
|
|
5893
|
+
# The ID of the integration whose webhook you want to create or rotate.
|
|
5894
|
+
#
|
|
5895
|
+
# @option params [required, String] :webhook_action
|
|
5896
|
+
# The action to perform on the integration's webhook.
|
|
5897
|
+
#
|
|
5898
|
+
# @return [Types::UpdateIntegrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5899
|
+
#
|
|
5900
|
+
# * {Types::UpdateIntegrationOutput#integration_id #integration_id} => String
|
|
5901
|
+
# * {Types::UpdateIntegrationOutput#webhook_url #webhook_url} => String
|
|
5902
|
+
# * {Types::UpdateIntegrationOutput#secret #secret} => String
|
|
5903
|
+
#
|
|
5904
|
+
# @example Request syntax with placeholder values
|
|
5905
|
+
#
|
|
5906
|
+
# resp = client.update_integration({
|
|
5907
|
+
# integration_id: "IntegrationId", # required
|
|
5908
|
+
# webhook_action: "CREATE_IF_ABSENT", # required, accepts CREATE_IF_ABSENT, ROTATE
|
|
5909
|
+
# })
|
|
5910
|
+
#
|
|
5911
|
+
# @example Response structure
|
|
5912
|
+
#
|
|
5913
|
+
# resp.integration_id #=> String
|
|
5914
|
+
# resp.webhook_url #=> String
|
|
5915
|
+
# resp.secret #=> String
|
|
5916
|
+
#
|
|
5917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegration AWS API Documentation
|
|
5918
|
+
#
|
|
5919
|
+
# @overload update_integration(params = {})
|
|
5920
|
+
# @param [Hash] params ({})
|
|
5921
|
+
def update_integration(params = {}, options = {})
|
|
5922
|
+
req = build_request(:update_integration, params)
|
|
5923
|
+
req.send_request(options)
|
|
5924
|
+
end
|
|
5925
|
+
|
|
5760
5926
|
# Updates an existing pentest configuration.
|
|
5761
5927
|
#
|
|
5762
5928
|
# @option params [required, String] :pentest_id
|
|
@@ -6534,7 +6700,7 @@ module Aws::SecurityAgent
|
|
|
6534
6700
|
tracer: tracer
|
|
6535
6701
|
)
|
|
6536
6702
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6537
|
-
context[:gem_version] = '1.
|
|
6703
|
+
context[:gem_version] = '1.20.0'
|
|
6538
6704
|
Seahorse::Client::Request.new(handlers, context)
|
|
6539
6705
|
end
|
|
6540
6706
|
|
|
@@ -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')
|
|
@@ -492,6 +500,16 @@ module Aws::SecurityAgent
|
|
|
492
500
|
ThreatSummary = Shapes::StructureShape.new(name: 'ThreatSummary')
|
|
493
501
|
ThreatSummaryList = Shapes::ListShape.new(name: 'ThreatSummaryList')
|
|
494
502
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
503
|
+
TriggerEvent = Shapes::StringShape.new(name: 'TriggerEvent')
|
|
504
|
+
TriggerEventList = Shapes::ListShape.new(name: 'TriggerEventList')
|
|
505
|
+
TriggerFilter = Shapes::StructureShape.new(name: 'TriggerFilter')
|
|
506
|
+
TriggerFilterGroup = Shapes::StructureShape.new(name: 'TriggerFilterGroup')
|
|
507
|
+
TriggerFilterGroups = Shapes::ListShape.new(name: 'TriggerFilterGroups')
|
|
508
|
+
TriggerFilterList = Shapes::ListShape.new(name: 'TriggerFilterList')
|
|
509
|
+
TriggerFilterMatchMode = Shapes::StringShape.new(name: 'TriggerFilterMatchMode')
|
|
510
|
+
TriggerFilterType = Shapes::StringShape.new(name: 'TriggerFilterType')
|
|
511
|
+
TriggerRegexPattern = Shapes::StringShape.new(name: 'TriggerRegexPattern')
|
|
512
|
+
TriggerRegexPatternList = Shapes::ListShape.new(name: 'TriggerRegexPatternList')
|
|
495
513
|
TrustedCaCertificate = Shapes::StructureShape.new(name: 'TrustedCaCertificate')
|
|
496
514
|
TrustedCaCertificateList = Shapes::ListShape.new(name: 'TrustedCaCertificateList')
|
|
497
515
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
|
@@ -506,6 +524,8 @@ module Aws::SecurityAgent
|
|
|
506
524
|
UpdateFindingOutput = Shapes::StructureShape.new(name: 'UpdateFindingOutput')
|
|
507
525
|
UpdateIntegratedResourcesInput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesInput')
|
|
508
526
|
UpdateIntegratedResourcesOutput = Shapes::StructureShape.new(name: 'UpdateIntegratedResourcesOutput')
|
|
527
|
+
UpdateIntegrationInput = Shapes::StructureShape.new(name: 'UpdateIntegrationInput')
|
|
528
|
+
UpdateIntegrationOutput = Shapes::StructureShape.new(name: 'UpdateIntegrationOutput')
|
|
509
529
|
UpdatePentestInput = Shapes::StructureShape.new(name: 'UpdatePentestInput')
|
|
510
530
|
UpdatePentestOutput = Shapes::StructureShape.new(name: 'UpdatePentestOutput')
|
|
511
531
|
UpdatePrivateConnectionCertificateInput = Shapes::StructureShape.new(name: 'UpdatePrivateConnectionCertificateInput')
|
|
@@ -538,6 +558,8 @@ module Aws::SecurityAgent
|
|
|
538
558
|
VpcArn = Shapes::StringShape.new(name: 'VpcArn')
|
|
539
559
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
|
540
560
|
VpcConfigs = Shapes::ListShape.new(name: 'VpcConfigs')
|
|
561
|
+
WebhookAction = Shapes::StringShape.new(name: 'WebhookAction')
|
|
562
|
+
WebhookSecret = Shapes::StringShape.new(name: 'WebhookSecret')
|
|
541
563
|
|
|
542
564
|
AWSResources.add_member(:vpcs, Shapes::ShapeRef.new(shape: VpcConfigs, location_name: "vpcs"))
|
|
543
565
|
AWSResources.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroupArns, location_name: "logGroups"))
|
|
@@ -641,6 +663,29 @@ module Aws::SecurityAgent
|
|
|
641
663
|
Authentication.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
642
664
|
Authentication.struct_class = Types::Authentication
|
|
643
665
|
|
|
666
|
+
AzureDevOpsIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
667
|
+
AzureDevOpsIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
668
|
+
AzureDevOpsIntegrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "organizationName"))
|
|
669
|
+
AzureDevOpsIntegrationInput.struct_class = Types::AzureDevOpsIntegrationInput
|
|
670
|
+
|
|
671
|
+
AzureDevOpsRepositoryMetadata.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
672
|
+
AzureDevOpsRepositoryMetadata.add_member(:provider_resource_id, Shapes::ShapeRef.new(shape: ProviderResourceId, required: true, location_name: "providerResourceId"))
|
|
673
|
+
AzureDevOpsRepositoryMetadata.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
674
|
+
AzureDevOpsRepositoryMetadata.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
675
|
+
AzureDevOpsRepositoryMetadata.add_member(:project_id, Shapes::ShapeRef.new(shape: String, location_name: "projectId"))
|
|
676
|
+
AzureDevOpsRepositoryMetadata.add_member(:access_type, Shapes::ShapeRef.new(shape: AccessType, location_name: "accessType"))
|
|
677
|
+
AzureDevOpsRepositoryMetadata.struct_class = Types::AzureDevOpsRepositoryMetadata
|
|
678
|
+
|
|
679
|
+
AzureDevOpsRepositoryResource.add_member(:name, Shapes::ShapeRef.new(shape: ProviderResourceName, required: true, location_name: "name"))
|
|
680
|
+
AzureDevOpsRepositoryResource.add_member(:organization, Shapes::ShapeRef.new(shape: AzureDevOpsOrganization, required: true, location_name: "organization"))
|
|
681
|
+
AzureDevOpsRepositoryResource.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
682
|
+
AzureDevOpsRepositoryResource.struct_class = Types::AzureDevOpsRepositoryResource
|
|
683
|
+
|
|
684
|
+
AzureDevOpsResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
685
|
+
AzureDevOpsResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
686
|
+
AzureDevOpsResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
687
|
+
AzureDevOpsResourceCapabilities.struct_class = Types::AzureDevOpsResourceCapabilities
|
|
688
|
+
|
|
644
689
|
BatchCreateSecurityRequirementResult.add_member(:pack_id, Shapes::ShapeRef.new(shape: SecurityRequirementPackId, required: true, location_name: "packId"))
|
|
645
690
|
BatchCreateSecurityRequirementResult.add_member(:name, Shapes::ShapeRef.new(shape: SecurityRequirementName, required: true, location_name: "name"))
|
|
646
691
|
BatchCreateSecurityRequirementResult.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "description"))
|
|
@@ -837,6 +882,11 @@ module Aws::SecurityAgent
|
|
|
837
882
|
BatchUpdateSecurityRequirementsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchSecurityRequirementErrors, required: true, location_name: "errors"))
|
|
838
883
|
BatchUpdateSecurityRequirementsOutput.struct_class = Types::BatchUpdateSecurityRequirementsOutput
|
|
839
884
|
|
|
885
|
+
BitbucketDataCenterIntegrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, required: true, location_name: "targetUrl"))
|
|
886
|
+
BitbucketDataCenterIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
887
|
+
BitbucketDataCenterIntegrationInput.add_member(:state, Shapes::ShapeRef.new(shape: CsrfState, required: true, location_name: "state"))
|
|
888
|
+
BitbucketDataCenterIntegrationInput.struct_class = Types::BitbucketDataCenterIntegrationInput
|
|
889
|
+
|
|
840
890
|
BitbucketIntegrationInput.add_member(:installation_id, Shapes::ShapeRef.new(shape: BitbucketInstallationId, required: true, location_name: "installationId"))
|
|
841
891
|
BitbucketIntegrationInput.add_member(:workspace, Shapes::ShapeRef.new(shape: BitbucketWorkspace, required: true, location_name: "workspace"))
|
|
842
892
|
BitbucketIntegrationInput.add_member(:code, Shapes::ShapeRef.new(shape: AuthCode, required: true, location_name: "code"))
|
|
@@ -853,6 +903,7 @@ module Aws::SecurityAgent
|
|
|
853
903
|
BitbucketRepositoryResource.add_member(:workspace, Shapes::ShapeRef.new(shape: BitbucketWorkspace, required: true, location_name: "workspace"))
|
|
854
904
|
BitbucketRepositoryResource.struct_class = Types::BitbucketRepositoryResource
|
|
855
905
|
|
|
906
|
+
BitbucketResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
856
907
|
BitbucketResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
857
908
|
BitbucketResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
858
909
|
BitbucketResourceCapabilities.struct_class = Types::BitbucketResourceCapabilities
|
|
@@ -1474,6 +1525,7 @@ module Aws::SecurityAgent
|
|
|
1474
1525
|
GetIntegrationOutput.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "displayName"))
|
|
1475
1526
|
GetIntegrationOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
1476
1527
|
GetIntegrationOutput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1528
|
+
GetIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1477
1529
|
GetIntegrationOutput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1478
1530
|
GetIntegrationOutput.struct_class = Types::GetIntegrationOutput
|
|
1479
1531
|
|
|
@@ -1509,6 +1561,7 @@ module Aws::SecurityAgent
|
|
|
1509
1561
|
GitHubRepositoryResource.add_member(:owner, Shapes::ShapeRef.new(shape: GitHubOwner, required: true, location_name: "owner"))
|
|
1510
1562
|
GitHubRepositoryResource.struct_class = Types::GitHubRepositoryResource
|
|
1511
1563
|
|
|
1564
|
+
GitHubResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
1512
1565
|
GitHubResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
1513
1566
|
GitHubResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
1514
1567
|
GitHubResourceCapabilities.struct_class = Types::GitHubResourceCapabilities
|
|
@@ -1529,6 +1582,7 @@ module Aws::SecurityAgent
|
|
|
1529
1582
|
GitLabRepositoryResource.add_member(:namespace, Shapes::ShapeRef.new(shape: GitLabNamespace, required: true, location_name: "namespace"))
|
|
1530
1583
|
GitLabRepositoryResource.struct_class = Types::GitLabRepositoryResource
|
|
1531
1584
|
|
|
1585
|
+
GitLabResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
1532
1586
|
GitLabResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
1533
1587
|
GitLabResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
1534
1588
|
GitLabResourceCapabilities.struct_class = Types::GitLabResourceCapabilities
|
|
@@ -1558,6 +1612,10 @@ module Aws::SecurityAgent
|
|
|
1558
1612
|
ImportSource.struct_class = Types::ImportSource
|
|
1559
1613
|
|
|
1560
1614
|
InitiateProviderRegistrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
|
|
1615
|
+
InitiateProviderRegistrationInput.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1616
|
+
InitiateProviderRegistrationInput.add_member(:organization_name, Shapes::ShapeRef.new(shape: String, location_name: "organizationName"))
|
|
1617
|
+
InitiateProviderRegistrationInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
|
|
1618
|
+
InitiateProviderRegistrationInput.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecret, location_name: "clientSecret"))
|
|
1561
1619
|
InitiateProviderRegistrationInput.struct_class = Types::InitiateProviderRegistrationInput
|
|
1562
1620
|
|
|
1563
1621
|
InitiateProviderRegistrationOutput.add_member(:redirect_to, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "redirectTo"))
|
|
@@ -1579,11 +1637,13 @@ module Aws::SecurityAgent
|
|
|
1579
1637
|
IntegratedResource.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryResource, location_name: "gitlabRepository"))
|
|
1580
1638
|
IntegratedResource.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryResource, location_name: "bitbucketRepository"))
|
|
1581
1639
|
IntegratedResource.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentResource, location_name: "confluenceDocument"))
|
|
1640
|
+
IntegratedResource.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryResource, location_name: "azureDevOpsRepository"))
|
|
1582
1641
|
IntegratedResource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1583
1642
|
IntegratedResource.add_member_subclass(:github_repository, Types::IntegratedResource::GithubRepository)
|
|
1584
1643
|
IntegratedResource.add_member_subclass(:gitlab_repository, Types::IntegratedResource::GitlabRepository)
|
|
1585
1644
|
IntegratedResource.add_member_subclass(:bitbucket_repository, Types::IntegratedResource::BitbucketRepository)
|
|
1586
1645
|
IntegratedResource.add_member_subclass(:confluence_document, Types::IntegratedResource::ConfluenceDocument)
|
|
1646
|
+
IntegratedResource.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResource::AzureDevOpsRepository)
|
|
1587
1647
|
IntegratedResource.add_member_subclass(:unknown, Types::IntegratedResource::Unknown)
|
|
1588
1648
|
IntegratedResource.struct_class = Types::IntegratedResource
|
|
1589
1649
|
|
|
@@ -1597,11 +1657,13 @@ module Aws::SecurityAgent
|
|
|
1597
1657
|
IntegratedResourceMetadata.add_member(:gitlab_repository, Shapes::ShapeRef.new(shape: GitLabRepositoryMetadata, location_name: "gitlabRepository"))
|
|
1598
1658
|
IntegratedResourceMetadata.add_member(:bitbucket_repository, Shapes::ShapeRef.new(shape: BitbucketRepositoryMetadata, location_name: "bitbucketRepository"))
|
|
1599
1659
|
IntegratedResourceMetadata.add_member(:confluence_document, Shapes::ShapeRef.new(shape: ConfluenceDocumentMetadata, location_name: "confluenceDocument"))
|
|
1660
|
+
IntegratedResourceMetadata.add_member(:azure_dev_ops_repository, Shapes::ShapeRef.new(shape: AzureDevOpsRepositoryMetadata, location_name: "azureDevOpsRepository"))
|
|
1600
1661
|
IntegratedResourceMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1601
1662
|
IntegratedResourceMetadata.add_member_subclass(:github_repository, Types::IntegratedResourceMetadata::GithubRepository)
|
|
1602
1663
|
IntegratedResourceMetadata.add_member_subclass(:gitlab_repository, Types::IntegratedResourceMetadata::GitlabRepository)
|
|
1603
1664
|
IntegratedResourceMetadata.add_member_subclass(:bitbucket_repository, Types::IntegratedResourceMetadata::BitbucketRepository)
|
|
1604
1665
|
IntegratedResourceMetadata.add_member_subclass(:confluence_document, Types::IntegratedResourceMetadata::ConfluenceDocument)
|
|
1666
|
+
IntegratedResourceMetadata.add_member_subclass(:azure_dev_ops_repository, Types::IntegratedResourceMetadata::AzureDevOpsRepository)
|
|
1605
1667
|
IntegratedResourceMetadata.add_member_subclass(:unknown, Types::IntegratedResourceMetadata::Unknown)
|
|
1606
1668
|
IntegratedResourceMetadata.struct_class = Types::IntegratedResourceMetadata
|
|
1607
1669
|
|
|
@@ -1626,6 +1688,7 @@ module Aws::SecurityAgent
|
|
|
1626
1688
|
IntegrationSummary.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, required: true, location_name: "providerType"))
|
|
1627
1689
|
IntegrationSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "displayName"))
|
|
1628
1690
|
IntegrationSummary.add_member(:target_url, Shapes::ShapeRef.new(shape: TargetUrl, location_name: "targetUrl"))
|
|
1691
|
+
IntegrationSummary.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
1629
1692
|
IntegrationSummary.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, location_name: "privateConnectionName"))
|
|
1630
1693
|
IntegrationSummary.struct_class = Types::IntegrationSummary
|
|
1631
1694
|
|
|
@@ -2037,11 +2100,15 @@ module Aws::SecurityAgent
|
|
|
2037
2100
|
ProviderInput.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabIntegrationInput, location_name: "gitlab"))
|
|
2038
2101
|
ProviderInput.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketIntegrationInput, location_name: "bitbucket"))
|
|
2039
2102
|
ProviderInput.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceIntegrationInput, location_name: "confluence"))
|
|
2103
|
+
ProviderInput.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsIntegrationInput, location_name: "azureDevOps"))
|
|
2104
|
+
ProviderInput.add_member(:bitbucket_data_center, Shapes::ShapeRef.new(shape: BitbucketDataCenterIntegrationInput, location_name: "bitbucketDataCenter"))
|
|
2040
2105
|
ProviderInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2041
2106
|
ProviderInput.add_member_subclass(:github, Types::ProviderInput::Github)
|
|
2042
2107
|
ProviderInput.add_member_subclass(:gitlab, Types::ProviderInput::Gitlab)
|
|
2043
2108
|
ProviderInput.add_member_subclass(:bitbucket, Types::ProviderInput::Bitbucket)
|
|
2044
2109
|
ProviderInput.add_member_subclass(:confluence, Types::ProviderInput::Confluence)
|
|
2110
|
+
ProviderInput.add_member_subclass(:azure_dev_ops, Types::ProviderInput::AzureDevOps)
|
|
2111
|
+
ProviderInput.add_member_subclass(:bitbucket_data_center, Types::ProviderInput::BitbucketDataCenter)
|
|
2045
2112
|
ProviderInput.add_member_subclass(:unknown, Types::ProviderInput::Unknown)
|
|
2046
2113
|
ProviderInput.struct_class = Types::ProviderInput
|
|
2047
2114
|
|
|
@@ -2049,11 +2116,13 @@ module Aws::SecurityAgent
|
|
|
2049
2116
|
ProviderResourceCapabilities.add_member(:gitlab, Shapes::ShapeRef.new(shape: GitLabResourceCapabilities, location_name: "gitlab"))
|
|
2050
2117
|
ProviderResourceCapabilities.add_member(:bitbucket, Shapes::ShapeRef.new(shape: BitbucketResourceCapabilities, location_name: "bitbucket"))
|
|
2051
2118
|
ProviderResourceCapabilities.add_member(:confluence, Shapes::ShapeRef.new(shape: ConfluenceResourceCapabilities, location_name: "confluence"))
|
|
2119
|
+
ProviderResourceCapabilities.add_member(:azure_dev_ops, Shapes::ShapeRef.new(shape: AzureDevOpsResourceCapabilities, location_name: "azureDevOps"))
|
|
2052
2120
|
ProviderResourceCapabilities.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2053
2121
|
ProviderResourceCapabilities.add_member_subclass(:github, Types::ProviderResourceCapabilities::Github)
|
|
2054
2122
|
ProviderResourceCapabilities.add_member_subclass(:gitlab, Types::ProviderResourceCapabilities::Gitlab)
|
|
2055
2123
|
ProviderResourceCapabilities.add_member_subclass(:bitbucket, Types::ProviderResourceCapabilities::Bitbucket)
|
|
2056
2124
|
ProviderResourceCapabilities.add_member_subclass(:confluence, Types::ProviderResourceCapabilities::Confluence)
|
|
2125
|
+
ProviderResourceCapabilities.add_member_subclass(:azure_dev_ops, Types::ProviderResourceCapabilities::AzureDevOps)
|
|
2057
2126
|
ProviderResourceCapabilities.add_member_subclass(:unknown, Types::ProviderResourceCapabilities::Unknown)
|
|
2058
2127
|
ProviderResourceCapabilities.struct_class = Types::ProviderResourceCapabilities
|
|
2059
2128
|
|
|
@@ -2451,6 +2520,23 @@ module Aws::SecurityAgent
|
|
|
2451
2520
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
|
2452
2521
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
2453
2522
|
|
|
2523
|
+
TriggerEventList.member = Shapes::ShapeRef.new(shape: TriggerEvent)
|
|
2524
|
+
|
|
2525
|
+
TriggerFilter.add_member(:type, Shapes::ShapeRef.new(shape: TriggerFilterType, required: true, location_name: "type"))
|
|
2526
|
+
TriggerFilter.add_member(:patterns, Shapes::ShapeRef.new(shape: TriggerRegexPatternList, required: true, location_name: "patterns"))
|
|
2527
|
+
TriggerFilter.add_member(:match_mode, Shapes::ShapeRef.new(shape: TriggerFilterMatchMode, location_name: "matchMode"))
|
|
2528
|
+
TriggerFilter.struct_class = Types::TriggerFilter
|
|
2529
|
+
|
|
2530
|
+
TriggerFilterGroup.add_member(:events, Shapes::ShapeRef.new(shape: TriggerEventList, location_name: "events"))
|
|
2531
|
+
TriggerFilterGroup.add_member(:filters, Shapes::ShapeRef.new(shape: TriggerFilterList, location_name: "filters"))
|
|
2532
|
+
TriggerFilterGroup.struct_class = Types::TriggerFilterGroup
|
|
2533
|
+
|
|
2534
|
+
TriggerFilterGroups.member = Shapes::ShapeRef.new(shape: TriggerFilterGroup)
|
|
2535
|
+
|
|
2536
|
+
TriggerFilterList.member = Shapes::ShapeRef.new(shape: TriggerFilter)
|
|
2537
|
+
|
|
2538
|
+
TriggerRegexPatternList.member = Shapes::ShapeRef.new(shape: TriggerRegexPattern)
|
|
2539
|
+
|
|
2454
2540
|
TrustedCaCertificate.add_member(:source, Shapes::ShapeRef.new(shape: CaCertificateSource, required: true, location_name: "source"))
|
|
2455
2541
|
TrustedCaCertificate.struct_class = Types::TrustedCaCertificate
|
|
2456
2542
|
|
|
@@ -2538,6 +2624,15 @@ module Aws::SecurityAgent
|
|
|
2538
2624
|
|
|
2539
2625
|
UpdateIntegratedResourcesOutput.struct_class = Types::UpdateIntegratedResourcesOutput
|
|
2540
2626
|
|
|
2627
|
+
UpdateIntegrationInput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2628
|
+
UpdateIntegrationInput.add_member(:webhook_action, Shapes::ShapeRef.new(shape: WebhookAction, required: true, location_name: "webhookAction"))
|
|
2629
|
+
UpdateIntegrationInput.struct_class = Types::UpdateIntegrationInput
|
|
2630
|
+
|
|
2631
|
+
UpdateIntegrationOutput.add_member(:integration_id, Shapes::ShapeRef.new(shape: IntegrationId, required: true, location_name: "integrationId"))
|
|
2632
|
+
UpdateIntegrationOutput.add_member(:webhook_url, Shapes::ShapeRef.new(shape: String, location_name: "webhookUrl"))
|
|
2633
|
+
UpdateIntegrationOutput.add_member(:secret, Shapes::ShapeRef.new(shape: WebhookSecret, location_name: "secret"))
|
|
2634
|
+
UpdateIntegrationOutput.struct_class = Types::UpdateIntegrationOutput
|
|
2635
|
+
|
|
2541
2636
|
UpdatePentestInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2542
2637
|
UpdatePentestInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
2543
2638
|
UpdatePentestInput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -3727,6 +3822,20 @@ module Aws::SecurityAgent
|
|
|
3727
3822
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3728
3823
|
end)
|
|
3729
3824
|
|
|
3825
|
+
api.add_operation(:update_integration, Seahorse::Model::Operation.new.tap do |o|
|
|
3826
|
+
o.name = "UpdateIntegration"
|
|
3827
|
+
o.http_method = "POST"
|
|
3828
|
+
o.http_request_uri = "/UpdateIntegration"
|
|
3829
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationInput)
|
|
3830
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIntegrationOutput)
|
|
3831
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3832
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3833
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3834
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3835
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3836
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3837
|
+
end)
|
|
3838
|
+
|
|
3730
3839
|
api.add_operation(:update_pentest, Seahorse::Model::Operation.new.tap do |o|
|
|
3731
3840
|
o.name = "UpdatePentest"
|
|
3732
3841
|
o.http_method = "POST"
|