aws-sdk-securityagent 1.19.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +81 -1
- data/lib/aws-sdk-securityagent/client_api.rb +31 -0
- data/lib/aws-sdk-securityagent/types.rb +79 -0
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/params.rbs +11 -0
- data/sig/types.rbs +17 -0
- 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,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.19.0 (2026-09-29)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.20.0
|
|
@@ -4230,15 +4230,47 @@ module Aws::SecurityAgent
|
|
|
4230
4230
|
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project #=> String
|
|
4231
4231
|
# resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project_id #=> String
|
|
4232
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"
|
|
4233
4241
|
# resp.integrated_resource_summaries[0].capabilities.github.leave_comments #=> Boolean
|
|
4234
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"
|
|
4235
4251
|
# resp.integrated_resource_summaries[0].capabilities.gitlab.leave_comments #=> Boolean
|
|
4236
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"
|
|
4237
4261
|
# resp.integrated_resource_summaries[0].capabilities.bitbucket.leave_comments #=> Boolean
|
|
4238
4262
|
# resp.integrated_resource_summaries[0].capabilities.bitbucket.remediate_code #=> Boolean
|
|
4239
4263
|
# resp.integrated_resource_summaries[0].capabilities.confluence.fetch_document #=> Boolean
|
|
4240
4264
|
# resp.integrated_resource_summaries[0].capabilities.confluence.create_document #=> Boolean
|
|
4241
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"
|
|
4242
4274
|
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.leave_comments #=> Boolean
|
|
4243
4275
|
# resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.remediate_code #=> Boolean
|
|
4244
4276
|
# resp.next_token #=> String
|
|
@@ -5771,14 +5803,50 @@ module Aws::SecurityAgent
|
|
|
5771
5803
|
# },
|
|
5772
5804
|
# capabilities: {
|
|
5773
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
|
+
# ],
|
|
5774
5818
|
# leave_comments: false,
|
|
5775
5819
|
# remediate_code: false,
|
|
5776
5820
|
# },
|
|
5777
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
|
+
# ],
|
|
5778
5834
|
# leave_comments: false,
|
|
5779
5835
|
# remediate_code: false,
|
|
5780
5836
|
# },
|
|
5781
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
|
+
# ],
|
|
5782
5850
|
# leave_comments: false,
|
|
5783
5851
|
# remediate_code: false,
|
|
5784
5852
|
# },
|
|
@@ -5788,6 +5856,18 @@ module Aws::SecurityAgent
|
|
|
5788
5856
|
# update_document: false,
|
|
5789
5857
|
# },
|
|
5790
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
|
+
# ],
|
|
5791
5871
|
# leave_comments: false,
|
|
5792
5872
|
# remediate_code: false,
|
|
5793
5873
|
# },
|
|
@@ -6620,7 +6700,7 @@ module Aws::SecurityAgent
|
|
|
6620
6700
|
tracer: tracer
|
|
6621
6701
|
)
|
|
6622
6702
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6623
|
-
context[:gem_version] = '1.
|
|
6703
|
+
context[:gem_version] = '1.20.0'
|
|
6624
6704
|
Seahorse::Client::Request.new(handlers, context)
|
|
6625
6705
|
end
|
|
6626
6706
|
|
|
@@ -500,6 +500,16 @@ module Aws::SecurityAgent
|
|
|
500
500
|
ThreatSummary = Shapes::StructureShape.new(name: 'ThreatSummary')
|
|
501
501
|
ThreatSummaryList = Shapes::ListShape.new(name: 'ThreatSummaryList')
|
|
502
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')
|
|
503
513
|
TrustedCaCertificate = Shapes::StructureShape.new(name: 'TrustedCaCertificate')
|
|
504
514
|
TrustedCaCertificateList = Shapes::ListShape.new(name: 'TrustedCaCertificateList')
|
|
505
515
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
|
@@ -671,6 +681,7 @@ module Aws::SecurityAgent
|
|
|
671
681
|
AzureDevOpsRepositoryResource.add_member(:project, Shapes::ShapeRef.new(shape: String, location_name: "project"))
|
|
672
682
|
AzureDevOpsRepositoryResource.struct_class = Types::AzureDevOpsRepositoryResource
|
|
673
683
|
|
|
684
|
+
AzureDevOpsResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
674
685
|
AzureDevOpsResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
675
686
|
AzureDevOpsResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
676
687
|
AzureDevOpsResourceCapabilities.struct_class = Types::AzureDevOpsResourceCapabilities
|
|
@@ -892,6 +903,7 @@ module Aws::SecurityAgent
|
|
|
892
903
|
BitbucketRepositoryResource.add_member(:workspace, Shapes::ShapeRef.new(shape: BitbucketWorkspace, required: true, location_name: "workspace"))
|
|
893
904
|
BitbucketRepositoryResource.struct_class = Types::BitbucketRepositoryResource
|
|
894
905
|
|
|
906
|
+
BitbucketResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
895
907
|
BitbucketResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
896
908
|
BitbucketResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
897
909
|
BitbucketResourceCapabilities.struct_class = Types::BitbucketResourceCapabilities
|
|
@@ -1549,6 +1561,7 @@ module Aws::SecurityAgent
|
|
|
1549
1561
|
GitHubRepositoryResource.add_member(:owner, Shapes::ShapeRef.new(shape: GitHubOwner, required: true, location_name: "owner"))
|
|
1550
1562
|
GitHubRepositoryResource.struct_class = Types::GitHubRepositoryResource
|
|
1551
1563
|
|
|
1564
|
+
GitHubResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
1552
1565
|
GitHubResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
1553
1566
|
GitHubResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
1554
1567
|
GitHubResourceCapabilities.struct_class = Types::GitHubResourceCapabilities
|
|
@@ -1569,6 +1582,7 @@ module Aws::SecurityAgent
|
|
|
1569
1582
|
GitLabRepositoryResource.add_member(:namespace, Shapes::ShapeRef.new(shape: GitLabNamespace, required: true, location_name: "namespace"))
|
|
1570
1583
|
GitLabRepositoryResource.struct_class = Types::GitLabRepositoryResource
|
|
1571
1584
|
|
|
1585
|
+
GitLabResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
|
|
1572
1586
|
GitLabResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
|
|
1573
1587
|
GitLabResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
|
|
1574
1588
|
GitLabResourceCapabilities.struct_class = Types::GitLabResourceCapabilities
|
|
@@ -2506,6 +2520,23 @@ module Aws::SecurityAgent
|
|
|
2506
2520
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
|
2507
2521
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
2508
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
|
+
|
|
2509
2540
|
TrustedCaCertificate.add_member(:source, Shapes::ShapeRef.new(shape: CaCertificateSource, required: true, location_name: "source"))
|
|
2510
2541
|
TrustedCaCertificate.struct_class = Types::TrustedCaCertificate
|
|
2511
2542
|
|
|
@@ -528,6 +528,13 @@ module Aws::SecurityAgent
|
|
|
528
528
|
|
|
529
529
|
# Capabilities for an integrated Azure DevOps repository.
|
|
530
530
|
#
|
|
531
|
+
# @!attribute [rw] trigger_filter_groups
|
|
532
|
+
# The filter groups that control which pull request events start an
|
|
533
|
+
# automatic code review when `leaveComments` is enabled. A review
|
|
534
|
+
# starts when any group matches. If you omit this, a review starts on
|
|
535
|
+
# `PULL_REQUEST_READY_FOR_REVIEW` events.
|
|
536
|
+
# @return [Array<Types::TriggerFilterGroup>]
|
|
537
|
+
#
|
|
531
538
|
# @!attribute [rw] leave_comments
|
|
532
539
|
# Whether to post code review comments on pull requests.
|
|
533
540
|
# @return [Boolean]
|
|
@@ -539,6 +546,7 @@ module Aws::SecurityAgent
|
|
|
539
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsResourceCapabilities AWS API Documentation
|
|
540
547
|
#
|
|
541
548
|
class AzureDevOpsResourceCapabilities < Struct.new(
|
|
549
|
+
:trigger_filter_groups,
|
|
542
550
|
:leave_comments,
|
|
543
551
|
:remediate_code)
|
|
544
552
|
SENSITIVE = []
|
|
@@ -1575,6 +1583,13 @@ module Aws::SecurityAgent
|
|
|
1575
1583
|
|
|
1576
1584
|
# Capabilities for an integrated Bitbucket repository.
|
|
1577
1585
|
#
|
|
1586
|
+
# @!attribute [rw] trigger_filter_groups
|
|
1587
|
+
# The filter groups that control which pull request events start an
|
|
1588
|
+
# automatic code review when `leaveComments` is enabled. A review
|
|
1589
|
+
# starts when any group matches. If you omit this, a review starts on
|
|
1590
|
+
# `PULL_REQUEST_READY_FOR_REVIEW` events.
|
|
1591
|
+
# @return [Array<Types::TriggerFilterGroup>]
|
|
1592
|
+
#
|
|
1578
1593
|
# @!attribute [rw] leave_comments
|
|
1579
1594
|
# Whether to post code review comments on pull requests.
|
|
1580
1595
|
# @return [Boolean]
|
|
@@ -1586,6 +1601,7 @@ module Aws::SecurityAgent
|
|
|
1586
1601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BitbucketResourceCapabilities AWS API Documentation
|
|
1587
1602
|
#
|
|
1588
1603
|
class BitbucketResourceCapabilities < Struct.new(
|
|
1604
|
+
:trigger_filter_groups,
|
|
1589
1605
|
:leave_comments,
|
|
1590
1606
|
:remediate_code)
|
|
1591
1607
|
SENSITIVE = []
|
|
@@ -4564,6 +4580,13 @@ module Aws::SecurityAgent
|
|
|
4564
4580
|
|
|
4565
4581
|
# The capabilities enabled for a GitHub resource integration.
|
|
4566
4582
|
#
|
|
4583
|
+
# @!attribute [rw] trigger_filter_groups
|
|
4584
|
+
# The filter groups that control which pull request events start an
|
|
4585
|
+
# automatic code review when `leaveComments` is enabled. A review
|
|
4586
|
+
# starts when any group matches. If you omit this, a review starts on
|
|
4587
|
+
# `PULL_REQUEST_READY_FOR_REVIEW` events.
|
|
4588
|
+
# @return [Array<Types::TriggerFilterGroup>]
|
|
4589
|
+
#
|
|
4567
4590
|
# @!attribute [rw] leave_comments
|
|
4568
4591
|
# Indicates whether the integration can leave comments on pull
|
|
4569
4592
|
# requests.
|
|
@@ -4577,6 +4600,7 @@ module Aws::SecurityAgent
|
|
|
4577
4600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubResourceCapabilities AWS API Documentation
|
|
4578
4601
|
#
|
|
4579
4602
|
class GitHubResourceCapabilities < Struct.new(
|
|
4603
|
+
:trigger_filter_groups,
|
|
4580
4604
|
:leave_comments,
|
|
4581
4605
|
:remediate_code)
|
|
4582
4606
|
SENSITIVE = []
|
|
@@ -4666,6 +4690,13 @@ module Aws::SecurityAgent
|
|
|
4666
4690
|
|
|
4667
4691
|
# Capabilities for an integrated GitLab repository.
|
|
4668
4692
|
#
|
|
4693
|
+
# @!attribute [rw] trigger_filter_groups
|
|
4694
|
+
# The filter groups that control which merge request events start an
|
|
4695
|
+
# automatic code review when `leaveComments` is enabled. A review
|
|
4696
|
+
# starts when any group matches. If you omit this, a review starts on
|
|
4697
|
+
# `PULL_REQUEST_READY_FOR_REVIEW` events.
|
|
4698
|
+
# @return [Array<Types::TriggerFilterGroup>]
|
|
4699
|
+
#
|
|
4669
4700
|
# @!attribute [rw] leave_comments
|
|
4670
4701
|
# Whether to post code review comments on merge request discussions.
|
|
4671
4702
|
# @return [Boolean]
|
|
@@ -4677,6 +4708,7 @@ module Aws::SecurityAgent
|
|
|
4677
4708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitLabResourceCapabilities AWS API Documentation
|
|
4678
4709
|
#
|
|
4679
4710
|
class GitLabResourceCapabilities < Struct.new(
|
|
4711
|
+
:trigger_filter_groups,
|
|
4680
4712
|
:leave_comments,
|
|
4681
4713
|
:remediate_code)
|
|
4682
4714
|
SENSITIVE = []
|
|
@@ -8684,6 +8716,53 @@ module Aws::SecurityAgent
|
|
|
8684
8716
|
include Aws::Structure
|
|
8685
8717
|
end
|
|
8686
8718
|
|
|
8719
|
+
# A condition on a pull request value.
|
|
8720
|
+
#
|
|
8721
|
+
# @!attribute [rw] type
|
|
8722
|
+
# The pull request value to match.
|
|
8723
|
+
# @return [String]
|
|
8724
|
+
#
|
|
8725
|
+
# @!attribute [rw] patterns
|
|
8726
|
+
# The regular expressions to match against the value.
|
|
8727
|
+
# @return [Array<String>]
|
|
8728
|
+
#
|
|
8729
|
+
# @!attribute [rw] match_mode
|
|
8730
|
+
# Whether the value must match the patterns. The default is `INCLUDE`.
|
|
8731
|
+
# @return [String]
|
|
8732
|
+
#
|
|
8733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TriggerFilter AWS API Documentation
|
|
8734
|
+
#
|
|
8735
|
+
class TriggerFilter < Struct.new(
|
|
8736
|
+
:type,
|
|
8737
|
+
:patterns,
|
|
8738
|
+
:match_mode)
|
|
8739
|
+
SENSITIVE = []
|
|
8740
|
+
include Aws::Structure
|
|
8741
|
+
end
|
|
8742
|
+
|
|
8743
|
+
# A set of conditions that start an automatic code review when they all
|
|
8744
|
+
# pass. A filter group must include `events`, `filters`, or both.
|
|
8745
|
+
#
|
|
8746
|
+
# @!attribute [rw] events
|
|
8747
|
+
# Passes when the pull request event is one of the listed events. If
|
|
8748
|
+
# you omit this, the group matches `PULL_REQUEST_READY_FOR_REVIEW` and
|
|
8749
|
+
# `PULL_REQUEST_DRAFT` events only.
|
|
8750
|
+
# @return [Array<String>]
|
|
8751
|
+
#
|
|
8752
|
+
# @!attribute [rw] filters
|
|
8753
|
+
# Passes when every filter passes. If you omit this, the group matches
|
|
8754
|
+
# its events on any target branch and with any labels.
|
|
8755
|
+
# @return [Array<Types::TriggerFilter>]
|
|
8756
|
+
#
|
|
8757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TriggerFilterGroup AWS API Documentation
|
|
8758
|
+
#
|
|
8759
|
+
class TriggerFilterGroup < Struct.new(
|
|
8760
|
+
:events,
|
|
8761
|
+
:filters)
|
|
8762
|
+
SENSITIVE = []
|
|
8763
|
+
include Aws::Structure
|
|
8764
|
+
end
|
|
8765
|
+
|
|
8687
8766
|
# A trust anchor used when validating a target endpoint's TLS
|
|
8688
8767
|
# certificate.
|
|
8689
8768
|
#
|
data/sig/client.rbs
CHANGED
|
@@ -1520,14 +1520,23 @@ module Aws
|
|
|
1520
1520
|
},
|
|
1521
1521
|
capabilities: {
|
|
1522
1522
|
github: {
|
|
1523
|
+
trigger_filter_groups: Array[
|
|
1524
|
+
Params::trigger_filter_group
|
|
1525
|
+
]?,
|
|
1523
1526
|
leave_comments: bool?,
|
|
1524
1527
|
remediate_code: bool?
|
|
1525
1528
|
}?,
|
|
1526
1529
|
gitlab: {
|
|
1530
|
+
trigger_filter_groups: Array[
|
|
1531
|
+
Params::trigger_filter_group
|
|
1532
|
+
]?,
|
|
1527
1533
|
leave_comments: bool?,
|
|
1528
1534
|
remediate_code: bool?
|
|
1529
1535
|
}?,
|
|
1530
1536
|
bitbucket: {
|
|
1537
|
+
trigger_filter_groups: Array[
|
|
1538
|
+
Params::trigger_filter_group
|
|
1539
|
+
]?,
|
|
1531
1540
|
leave_comments: bool?,
|
|
1532
1541
|
remediate_code: bool?
|
|
1533
1542
|
}?,
|
|
@@ -1537,6 +1546,9 @@ module Aws
|
|
|
1537
1546
|
update_document: bool?
|
|
1538
1547
|
}?,
|
|
1539
1548
|
azure_dev_ops: {
|
|
1549
|
+
trigger_filter_groups: Array[
|
|
1550
|
+
Params::trigger_filter_group
|
|
1551
|
+
]?,
|
|
1540
1552
|
leave_comments: bool?,
|
|
1541
1553
|
remediate_code: bool?
|
|
1542
1554
|
}?
|
data/sig/params.rbs
CHANGED
|
@@ -106,6 +106,17 @@ module Aws
|
|
|
106
106
|
]?
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
type trigger_filter_group = {
|
|
110
|
+
events: Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT" | "PULL_REQUEST_LABEL_ADDED")]?,
|
|
111
|
+
filters: Array[
|
|
112
|
+
{
|
|
113
|
+
type: ("TARGET_BRANCH" | "LABEL"),
|
|
114
|
+
patterns: Array[::String],
|
|
115
|
+
match_mode: ("INCLUDE" | "EXCLUDE")?
|
|
116
|
+
}
|
|
117
|
+
]?
|
|
118
|
+
}
|
|
119
|
+
|
|
109
120
|
end
|
|
110
121
|
end
|
|
111
122
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -145,6 +145,7 @@ module Aws::SecurityAgent
|
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
class AzureDevOpsResourceCapabilities
|
|
148
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
148
149
|
attr_accessor leave_comments: bool
|
|
149
150
|
attr_accessor remediate_code: bool
|
|
150
151
|
SENSITIVE: []
|
|
@@ -460,6 +461,7 @@ module Aws::SecurityAgent
|
|
|
460
461
|
end
|
|
461
462
|
|
|
462
463
|
class BitbucketResourceCapabilities
|
|
464
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
463
465
|
attr_accessor leave_comments: bool
|
|
464
466
|
attr_accessor remediate_code: bool
|
|
465
467
|
SENSITIVE: []
|
|
@@ -1238,6 +1240,7 @@ module Aws::SecurityAgent
|
|
|
1238
1240
|
end
|
|
1239
1241
|
|
|
1240
1242
|
class GitHubResourceCapabilities
|
|
1243
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
1241
1244
|
attr_accessor leave_comments: bool
|
|
1242
1245
|
attr_accessor remediate_code: bool
|
|
1243
1246
|
SENSITIVE: []
|
|
@@ -1266,6 +1269,7 @@ module Aws::SecurityAgent
|
|
|
1266
1269
|
end
|
|
1267
1270
|
|
|
1268
1271
|
class GitLabResourceCapabilities
|
|
1272
|
+
attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
|
|
1269
1273
|
attr_accessor leave_comments: bool
|
|
1270
1274
|
attr_accessor remediate_code: bool
|
|
1271
1275
|
SENSITIVE: []
|
|
@@ -2374,6 +2378,19 @@ module Aws::SecurityAgent
|
|
|
2374
2378
|
SENSITIVE: []
|
|
2375
2379
|
end
|
|
2376
2380
|
|
|
2381
|
+
class TriggerFilter
|
|
2382
|
+
attr_accessor type: ("TARGET_BRANCH" | "LABEL")
|
|
2383
|
+
attr_accessor patterns: ::Array[::String]
|
|
2384
|
+
attr_accessor match_mode: ("INCLUDE" | "EXCLUDE")
|
|
2385
|
+
SENSITIVE: []
|
|
2386
|
+
end
|
|
2387
|
+
|
|
2388
|
+
class TriggerFilterGroup
|
|
2389
|
+
attr_accessor events: ::Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT" | "PULL_REQUEST_LABEL_ADDED")]
|
|
2390
|
+
attr_accessor filters: ::Array[Types::TriggerFilter]
|
|
2391
|
+
SENSITIVE: []
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2377
2394
|
class TrustedCaCertificate
|
|
2378
2395
|
attr_accessor source: Types::CaCertificateSource
|
|
2379
2396
|
SENSITIVE: []
|