aws-sdk-securityagent 1.19.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59805d9b7f6aad7b60dfd98d4e7a115a5a9e2a01df878aaa9ab255bfb8f23625
4
- data.tar.gz: 8d3c15cf8892f19b36cf18f7472d6f10761f689141af5880a7fea249709f5d62
3
+ metadata.gz: 3b4961111d82551f7a07cf21434d2e6e747974f181cf0c5d84240c705f3e41e9
4
+ data.tar.gz: ab5877ad5978bef03582386c3685f20848b2d41e8da97f048b0dd0f806bc3270
5
5
  SHA512:
6
- metadata.gz: f7b8f009d8873c93bc7ccbf0564d388569bbbae7556670ff1a301b671c55f7a4d2fde04cd5fb072b7b4870cb664657cf5f656b4f9bc633172b444ad0af32c1c8
7
- data.tar.gz: b96c6c9443aa0d1410c56823bd42c2eb45a5ef87358a3980fa2efe546f2106ad49e5d20ab324f3d92b9fb6993b40d72afa440be15c7437cff73862e8f076b8e4
6
+ metadata.gz: 281a1e05c82e9375c8b847162689f99989433c38e0ce744549b461b6153b0727a27e05f812e8f946eef073a148ac9bb78e62ad39d8de19daef1889374b127b8a
7
+ data.tar.gz: 0c63130b44be50507929b1faf23e5dece690273f5a63e2a9a325b7d2428fba1da74e213b4d8db707fadc6d3e6d31eb290ee2151a32133029cca183011c9c87ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2026-10-08)
5
+ ------------------
6
+
7
+ * Feature - Include model field for suggested remediation steps as part of findings
8
+
9
+ 1.20.0 (2026-10-02)
10
+ ------------------
11
+
12
+ * Feature - Adds trigger filters that control which pull request events, target branches, and labels start an automatic code review.
13
+
4
14
  1.19.0 (2026-09-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -1148,6 +1148,7 @@ module Aws::SecurityAgent
1148
1148
  # resp.findings[0].confidence #=> String, one of "FALSE_POSITIVE", "UNCONFIRMED", "LOW", "MEDIUM", "HIGH"
1149
1149
  # resp.findings[0].validation_status #=> String, one of "CONFIRMED", "NOT_REPRODUCED", "VALIDATION_FAILED", "VALIDATING", "NOT_VALIDATED"
1150
1150
  # resp.findings[0].attack_script #=> String
1151
+ # resp.findings[0].remediation_code #=> String
1151
1152
  # resp.findings[0].code_remediation_task.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
1152
1153
  # resp.findings[0].code_remediation_task.status_reason #=> String
1153
1154
  # resp.findings[0].code_remediation_task.task_details #=> Array
@@ -4230,15 +4231,47 @@ module Aws::SecurityAgent
4230
4231
  # resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project #=> String
4231
4232
  # resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.project_id #=> String
4232
4233
  # resp.integrated_resource_summaries[0].resource.azure_dev_ops_repository.access_type #=> String, one of "PRIVATE", "PUBLIC"
4234
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups #=> Array
4235
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].events #=> Array
4236
+ # 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"
4237
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters #=> Array
4238
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
4239
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].patterns #=> Array
4240
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].patterns[0] #=> String
4241
+ # resp.integrated_resource_summaries[0].capabilities.github.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
4233
4242
  # resp.integrated_resource_summaries[0].capabilities.github.leave_comments #=> Boolean
4234
4243
  # resp.integrated_resource_summaries[0].capabilities.github.remediate_code #=> Boolean
4244
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups #=> Array
4245
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].events #=> Array
4246
+ # 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"
4247
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters #=> Array
4248
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
4249
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].patterns #=> Array
4250
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].patterns[0] #=> String
4251
+ # resp.integrated_resource_summaries[0].capabilities.gitlab.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
4235
4252
  # resp.integrated_resource_summaries[0].capabilities.gitlab.leave_comments #=> Boolean
4236
4253
  # resp.integrated_resource_summaries[0].capabilities.gitlab.remediate_code #=> Boolean
4254
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups #=> Array
4255
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].events #=> Array
4256
+ # 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"
4257
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters #=> Array
4258
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
4259
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].patterns #=> Array
4260
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].patterns[0] #=> String
4261
+ # resp.integrated_resource_summaries[0].capabilities.bitbucket.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
4237
4262
  # resp.integrated_resource_summaries[0].capabilities.bitbucket.leave_comments #=> Boolean
4238
4263
  # resp.integrated_resource_summaries[0].capabilities.bitbucket.remediate_code #=> Boolean
4239
4264
  # resp.integrated_resource_summaries[0].capabilities.confluence.fetch_document #=> Boolean
4240
4265
  # resp.integrated_resource_summaries[0].capabilities.confluence.create_document #=> Boolean
4241
4266
  # resp.integrated_resource_summaries[0].capabilities.confluence.update_document #=> Boolean
4267
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups #=> Array
4268
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].events #=> Array
4269
+ # 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"
4270
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters #=> Array
4271
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].type #=> String, one of "TARGET_BRANCH", "LABEL"
4272
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].patterns #=> Array
4273
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].patterns[0] #=> String
4274
+ # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.trigger_filter_groups[0].filters[0].match_mode #=> String, one of "INCLUDE", "EXCLUDE"
4242
4275
  # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.leave_comments #=> Boolean
4243
4276
  # resp.integrated_resource_summaries[0].capabilities.azure_dev_ops.remediate_code #=> Boolean
4244
4277
  # resp.next_token #=> String
@@ -5771,14 +5804,50 @@ module Aws::SecurityAgent
5771
5804
  # },
5772
5805
  # capabilities: {
5773
5806
  # github: {
5807
+ # trigger_filter_groups: [
5808
+ # {
5809
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
5810
+ # filters: [
5811
+ # {
5812
+ # type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
5813
+ # patterns: ["TriggerRegexPattern"], # required
5814
+ # match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
5815
+ # },
5816
+ # ],
5817
+ # },
5818
+ # ],
5774
5819
  # leave_comments: false,
5775
5820
  # remediate_code: false,
5776
5821
  # },
5777
5822
  # gitlab: {
5823
+ # trigger_filter_groups: [
5824
+ # {
5825
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
5826
+ # filters: [
5827
+ # {
5828
+ # type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
5829
+ # patterns: ["TriggerRegexPattern"], # required
5830
+ # match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
5831
+ # },
5832
+ # ],
5833
+ # },
5834
+ # ],
5778
5835
  # leave_comments: false,
5779
5836
  # remediate_code: false,
5780
5837
  # },
5781
5838
  # bitbucket: {
5839
+ # trigger_filter_groups: [
5840
+ # {
5841
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
5842
+ # filters: [
5843
+ # {
5844
+ # type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
5845
+ # patterns: ["TriggerRegexPattern"], # required
5846
+ # match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
5847
+ # },
5848
+ # ],
5849
+ # },
5850
+ # ],
5782
5851
  # leave_comments: false,
5783
5852
  # remediate_code: false,
5784
5853
  # },
@@ -5788,6 +5857,18 @@ module Aws::SecurityAgent
5788
5857
  # update_document: false,
5789
5858
  # },
5790
5859
  # azure_dev_ops: {
5860
+ # trigger_filter_groups: [
5861
+ # {
5862
+ # events: ["PULL_REQUEST_READY_FOR_REVIEW"], # accepts PULL_REQUEST_READY_FOR_REVIEW, PULL_REQUEST_DRAFT, PULL_REQUEST_LABEL_ADDED
5863
+ # filters: [
5864
+ # {
5865
+ # type: "TARGET_BRANCH", # required, accepts TARGET_BRANCH, LABEL
5866
+ # patterns: ["TriggerRegexPattern"], # required
5867
+ # match_mode: "INCLUDE", # accepts INCLUDE, EXCLUDE
5868
+ # },
5869
+ # ],
5870
+ # },
5871
+ # ],
5791
5872
  # leave_comments: false,
5792
5873
  # remediate_code: false,
5793
5874
  # },
@@ -6620,7 +6701,7 @@ module Aws::SecurityAgent
6620
6701
  tracer: tracer
6621
6702
  )
6622
6703
  context[:gem_name] = 'aws-sdk-securityagent'
6623
- context[:gem_version] = '1.19.0'
6704
+ context[:gem_version] = '1.21.0'
6624
6705
  Seahorse::Client::Request.new(handlers, context)
6625
6706
  end
6626
6707
 
@@ -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
@@ -1445,6 +1457,7 @@ module Aws::SecurityAgent
1445
1457
  Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: ConfidenceLevel, location_name: "confidence"))
1446
1458
  Finding.add_member(:validation_status, Shapes::ShapeRef.new(shape: ValidationStatus, location_name: "validationStatus"))
1447
1459
  Finding.add_member(:attack_script, Shapes::ShapeRef.new(shape: String, location_name: "attackScript"))
1460
+ Finding.add_member(:remediation_code, Shapes::ShapeRef.new(shape: String, location_name: "remediationCode"))
1448
1461
  Finding.add_member(:code_remediation_task, Shapes::ShapeRef.new(shape: CodeRemediationTask, location_name: "codeRemediationTask"))
1449
1462
  Finding.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedBy"))
1450
1463
  Finding.add_member(:customer_note, Shapes::ShapeRef.new(shape: String, location_name: "customerNote"))
@@ -1549,6 +1562,7 @@ module Aws::SecurityAgent
1549
1562
  GitHubRepositoryResource.add_member(:owner, Shapes::ShapeRef.new(shape: GitHubOwner, required: true, location_name: "owner"))
1550
1563
  GitHubRepositoryResource.struct_class = Types::GitHubRepositoryResource
1551
1564
 
1565
+ GitHubResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
1552
1566
  GitHubResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
1553
1567
  GitHubResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
1554
1568
  GitHubResourceCapabilities.struct_class = Types::GitHubResourceCapabilities
@@ -1569,6 +1583,7 @@ module Aws::SecurityAgent
1569
1583
  GitLabRepositoryResource.add_member(:namespace, Shapes::ShapeRef.new(shape: GitLabNamespace, required: true, location_name: "namespace"))
1570
1584
  GitLabRepositoryResource.struct_class = Types::GitLabRepositoryResource
1571
1585
 
1586
+ GitLabResourceCapabilities.add_member(:trigger_filter_groups, Shapes::ShapeRef.new(shape: TriggerFilterGroups, location_name: "triggerFilterGroups"))
1572
1587
  GitLabResourceCapabilities.add_member(:leave_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "leaveComments"))
1573
1588
  GitLabResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
1574
1589
  GitLabResourceCapabilities.struct_class = Types::GitLabResourceCapabilities
@@ -2506,6 +2521,23 @@ module Aws::SecurityAgent
2506
2521
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
2507
2522
  ThrottlingException.struct_class = Types::ThrottlingException
2508
2523
 
2524
+ TriggerEventList.member = Shapes::ShapeRef.new(shape: TriggerEvent)
2525
+
2526
+ TriggerFilter.add_member(:type, Shapes::ShapeRef.new(shape: TriggerFilterType, required: true, location_name: "type"))
2527
+ TriggerFilter.add_member(:patterns, Shapes::ShapeRef.new(shape: TriggerRegexPatternList, required: true, location_name: "patterns"))
2528
+ TriggerFilter.add_member(:match_mode, Shapes::ShapeRef.new(shape: TriggerFilterMatchMode, location_name: "matchMode"))
2529
+ TriggerFilter.struct_class = Types::TriggerFilter
2530
+
2531
+ TriggerFilterGroup.add_member(:events, Shapes::ShapeRef.new(shape: TriggerEventList, location_name: "events"))
2532
+ TriggerFilterGroup.add_member(:filters, Shapes::ShapeRef.new(shape: TriggerFilterList, location_name: "filters"))
2533
+ TriggerFilterGroup.struct_class = Types::TriggerFilterGroup
2534
+
2535
+ TriggerFilterGroups.member = Shapes::ShapeRef.new(shape: TriggerFilterGroup)
2536
+
2537
+ TriggerFilterList.member = Shapes::ShapeRef.new(shape: TriggerFilter)
2538
+
2539
+ TriggerRegexPatternList.member = Shapes::ShapeRef.new(shape: TriggerRegexPattern)
2540
+
2509
2541
  TrustedCaCertificate.add_member(:source, Shapes::ShapeRef.new(shape: CaCertificateSource, required: true, location_name: "source"))
2510
2542
  TrustedCaCertificate.struct_class = Types::TrustedCaCertificate
2511
2543
 
@@ -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 = []
@@ -4069,6 +4085,12 @@ module Aws::SecurityAgent
4069
4085
  # The attack script used to reproduce the finding.
4070
4086
  # @return [String]
4071
4087
  #
4088
+ # @!attribute [rw] remediation_code
4089
+ # The suggested fix for the finding, describing the changes
4090
+ # recommended to remediate the vulnerability, with example code or
4091
+ # configuration.
4092
+ # @return [String]
4093
+ #
4072
4094
  # @!attribute [rw] code_remediation_task
4073
4095
  # The code remediation task associated with the finding, if code
4074
4096
  # remediation was initiated.
@@ -4136,6 +4158,7 @@ module Aws::SecurityAgent
4136
4158
  :confidence,
4137
4159
  :validation_status,
4138
4160
  :attack_script,
4161
+ :remediation_code,
4139
4162
  :code_remediation_task,
4140
4163
  :last_updated_by,
4141
4164
  :customer_note,
@@ -4564,6 +4587,13 @@ module Aws::SecurityAgent
4564
4587
 
4565
4588
  # The capabilities enabled for a GitHub resource integration.
4566
4589
  #
4590
+ # @!attribute [rw] trigger_filter_groups
4591
+ # The filter groups that control which pull request events start an
4592
+ # automatic code review when `leaveComments` is enabled. A review
4593
+ # starts when any group matches. If you omit this, a review starts on
4594
+ # `PULL_REQUEST_READY_FOR_REVIEW` events.
4595
+ # @return [Array<Types::TriggerFilterGroup>]
4596
+ #
4567
4597
  # @!attribute [rw] leave_comments
4568
4598
  # Indicates whether the integration can leave comments on pull
4569
4599
  # requests.
@@ -4577,6 +4607,7 @@ module Aws::SecurityAgent
4577
4607
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubResourceCapabilities AWS API Documentation
4578
4608
  #
4579
4609
  class GitHubResourceCapabilities < Struct.new(
4610
+ :trigger_filter_groups,
4580
4611
  :leave_comments,
4581
4612
  :remediate_code)
4582
4613
  SENSITIVE = []
@@ -4666,6 +4697,13 @@ module Aws::SecurityAgent
4666
4697
 
4667
4698
  # Capabilities for an integrated GitLab repository.
4668
4699
  #
4700
+ # @!attribute [rw] trigger_filter_groups
4701
+ # The filter groups that control which merge request events start an
4702
+ # automatic code review when `leaveComments` is enabled. A review
4703
+ # starts when any group matches. If you omit this, a review starts on
4704
+ # `PULL_REQUEST_READY_FOR_REVIEW` events.
4705
+ # @return [Array<Types::TriggerFilterGroup>]
4706
+ #
4669
4707
  # @!attribute [rw] leave_comments
4670
4708
  # Whether to post code review comments on merge request discussions.
4671
4709
  # @return [Boolean]
@@ -4677,6 +4715,7 @@ module Aws::SecurityAgent
4677
4715
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitLabResourceCapabilities AWS API Documentation
4678
4716
  #
4679
4717
  class GitLabResourceCapabilities < Struct.new(
4718
+ :trigger_filter_groups,
4680
4719
  :leave_comments,
4681
4720
  :remediate_code)
4682
4721
  SENSITIVE = []
@@ -8684,6 +8723,53 @@ module Aws::SecurityAgent
8684
8723
  include Aws::Structure
8685
8724
  end
8686
8725
 
8726
+ # A condition on a pull request value.
8727
+ #
8728
+ # @!attribute [rw] type
8729
+ # The pull request value to match.
8730
+ # @return [String]
8731
+ #
8732
+ # @!attribute [rw] patterns
8733
+ # The regular expressions to match against the value.
8734
+ # @return [Array<String>]
8735
+ #
8736
+ # @!attribute [rw] match_mode
8737
+ # Whether the value must match the patterns. The default is `INCLUDE`.
8738
+ # @return [String]
8739
+ #
8740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TriggerFilter AWS API Documentation
8741
+ #
8742
+ class TriggerFilter < Struct.new(
8743
+ :type,
8744
+ :patterns,
8745
+ :match_mode)
8746
+ SENSITIVE = []
8747
+ include Aws::Structure
8748
+ end
8749
+
8750
+ # A set of conditions that start an automatic code review when they all
8751
+ # pass. A filter group must include `events`, `filters`, or both.
8752
+ #
8753
+ # @!attribute [rw] events
8754
+ # Passes when the pull request event is one of the listed events. If
8755
+ # you omit this, the group matches `PULL_REQUEST_READY_FOR_REVIEW` and
8756
+ # `PULL_REQUEST_DRAFT` events only.
8757
+ # @return [Array<String>]
8758
+ #
8759
+ # @!attribute [rw] filters
8760
+ # Passes when every filter passes. If you omit this, the group matches
8761
+ # its events on any target branch and with any labels.
8762
+ # @return [Array<Types::TriggerFilter>]
8763
+ #
8764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TriggerFilterGroup AWS API Documentation
8765
+ #
8766
+ class TriggerFilterGroup < Struct.new(
8767
+ :events,
8768
+ :filters)
8769
+ SENSITIVE = []
8770
+ include Aws::Structure
8771
+ end
8772
+
8687
8773
  # A trust anchor used when validating a target endpoint's TLS
8688
8774
  # certificate.
8689
8775
  #
@@ -55,7 +55,7 @@ module Aws::SecurityAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-securityagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-securityagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.19.0'
58
+ GEM_VERSION = '1.21.0'
59
59
 
60
60
  end
61
61
 
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: []
@@ -1116,6 +1118,7 @@ module Aws::SecurityAgent
1116
1118
  attr_accessor confidence: ("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")
1117
1119
  attr_accessor validation_status: ("CONFIRMED" | "NOT_REPRODUCED" | "VALIDATION_FAILED" | "VALIDATING" | "NOT_VALIDATED")
1118
1120
  attr_accessor attack_script: ::String
1121
+ attr_accessor remediation_code: ::String
1119
1122
  attr_accessor code_remediation_task: Types::CodeRemediationTask
1120
1123
  attr_accessor last_updated_by: ::String
1121
1124
  attr_accessor customer_note: ::String
@@ -1238,6 +1241,7 @@ module Aws::SecurityAgent
1238
1241
  end
1239
1242
 
1240
1243
  class GitHubResourceCapabilities
1244
+ attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
1241
1245
  attr_accessor leave_comments: bool
1242
1246
  attr_accessor remediate_code: bool
1243
1247
  SENSITIVE: []
@@ -1266,6 +1270,7 @@ module Aws::SecurityAgent
1266
1270
  end
1267
1271
 
1268
1272
  class GitLabResourceCapabilities
1273
+ attr_accessor trigger_filter_groups: ::Array[Types::TriggerFilterGroup]
1269
1274
  attr_accessor leave_comments: bool
1270
1275
  attr_accessor remediate_code: bool
1271
1276
  SENSITIVE: []
@@ -2374,6 +2379,19 @@ module Aws::SecurityAgent
2374
2379
  SENSITIVE: []
2375
2380
  end
2376
2381
 
2382
+ class TriggerFilter
2383
+ attr_accessor type: ("TARGET_BRANCH" | "LABEL")
2384
+ attr_accessor patterns: ::Array[::String]
2385
+ attr_accessor match_mode: ("INCLUDE" | "EXCLUDE")
2386
+ SENSITIVE: []
2387
+ end
2388
+
2389
+ class TriggerFilterGroup
2390
+ attr_accessor events: ::Array[("PULL_REQUEST_READY_FOR_REVIEW" | "PULL_REQUEST_DRAFT" | "PULL_REQUEST_LABEL_ADDED")]
2391
+ attr_accessor filters: ::Array[Types::TriggerFilter]
2392
+ SENSITIVE: []
2393
+ end
2394
+
2377
2395
  class TrustedCaCertificate
2378
2396
  attr_accessor source: Types::CaCertificateSource
2379
2397
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-securityagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services