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
|
@@ -435,6 +435,124 @@ module Aws::SecurityAgent
|
|
|
435
435
|
include Aws::Structure
|
|
436
436
|
end
|
|
437
437
|
|
|
438
|
+
# Connection details for an Azure DevOps integration.
|
|
439
|
+
#
|
|
440
|
+
# @!attribute [rw] code
|
|
441
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
442
|
+
# the connection is authorized.
|
|
443
|
+
# @return [String]
|
|
444
|
+
#
|
|
445
|
+
# @!attribute [rw] state
|
|
446
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
447
|
+
# echoed back on the authorization redirect.
|
|
448
|
+
# @return [String]
|
|
449
|
+
#
|
|
450
|
+
# @!attribute [rw] organization_name
|
|
451
|
+
# The name of the Azure DevOps organization to connect, for example
|
|
452
|
+
# `my-org`.
|
|
453
|
+
# @return [String]
|
|
454
|
+
#
|
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsIntegrationInput AWS API Documentation
|
|
456
|
+
#
|
|
457
|
+
class AzureDevOpsIntegrationInput < Struct.new(
|
|
458
|
+
:code,
|
|
459
|
+
:state,
|
|
460
|
+
:organization_name)
|
|
461
|
+
SENSITIVE = []
|
|
462
|
+
include Aws::Structure
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Metadata for an integrated Azure DevOps repository.
|
|
466
|
+
#
|
|
467
|
+
# @!attribute [rw] name
|
|
468
|
+
# Name of the resource e.g. repository name, etc.
|
|
469
|
+
# @return [String]
|
|
470
|
+
#
|
|
471
|
+
# @!attribute [rw] provider_resource_id
|
|
472
|
+
# Provider Id of the resource e.g. GitHub repository id, etc.
|
|
473
|
+
# @return [String]
|
|
474
|
+
#
|
|
475
|
+
# @!attribute [rw] organization
|
|
476
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
477
|
+
# @return [String]
|
|
478
|
+
#
|
|
479
|
+
# @!attribute [rw] project
|
|
480
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
481
|
+
# @return [String]
|
|
482
|
+
#
|
|
483
|
+
# @!attribute [rw] project_id
|
|
484
|
+
# The GUID of the Azure DevOps project that contains the repository.
|
|
485
|
+
# @return [String]
|
|
486
|
+
#
|
|
487
|
+
# @!attribute [rw] access_type
|
|
488
|
+
# Defines the visibility level of provider resources. PRIVATE
|
|
489
|
+
# indicates restricted access, while PUBLIC indicates open access.
|
|
490
|
+
# @return [String]
|
|
491
|
+
#
|
|
492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryMetadata AWS API Documentation
|
|
493
|
+
#
|
|
494
|
+
class AzureDevOpsRepositoryMetadata < Struct.new(
|
|
495
|
+
:name,
|
|
496
|
+
:provider_resource_id,
|
|
497
|
+
:organization,
|
|
498
|
+
:project,
|
|
499
|
+
:project_id,
|
|
500
|
+
:access_type)
|
|
501
|
+
SENSITIVE = []
|
|
502
|
+
include Aws::Structure
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# An Azure DevOps repository integrated as a resource.
|
|
506
|
+
#
|
|
507
|
+
# @!attribute [rw] name
|
|
508
|
+
# Name of the resource e.g. repository name, etc.
|
|
509
|
+
# @return [String]
|
|
510
|
+
#
|
|
511
|
+
# @!attribute [rw] organization
|
|
512
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
513
|
+
# @return [String]
|
|
514
|
+
#
|
|
515
|
+
# @!attribute [rw] project
|
|
516
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
517
|
+
# @return [String]
|
|
518
|
+
#
|
|
519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryResource AWS API Documentation
|
|
520
|
+
#
|
|
521
|
+
class AzureDevOpsRepositoryResource < Struct.new(
|
|
522
|
+
:name,
|
|
523
|
+
:organization,
|
|
524
|
+
:project)
|
|
525
|
+
SENSITIVE = []
|
|
526
|
+
include Aws::Structure
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# Capabilities for an integrated Azure DevOps repository.
|
|
530
|
+
#
|
|
531
|
+
# @!attribute [rw] 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
|
+
#
|
|
538
|
+
# @!attribute [rw] leave_comments
|
|
539
|
+
# Whether to post code review comments on pull requests.
|
|
540
|
+
# @return [Boolean]
|
|
541
|
+
#
|
|
542
|
+
# @!attribute [rw] remediate_code
|
|
543
|
+
# Whether to create pull requests with automated fixes.
|
|
544
|
+
# @return [Boolean]
|
|
545
|
+
#
|
|
546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsResourceCapabilities AWS API Documentation
|
|
547
|
+
#
|
|
548
|
+
class AzureDevOpsResourceCapabilities < Struct.new(
|
|
549
|
+
:trigger_filter_groups,
|
|
550
|
+
:leave_comments,
|
|
551
|
+
:remediate_code)
|
|
552
|
+
SENSITIVE = []
|
|
553
|
+
include Aws::Structure
|
|
554
|
+
end
|
|
555
|
+
|
|
438
556
|
# Contains information about a successfully created security
|
|
439
557
|
# requirement.
|
|
440
558
|
#
|
|
@@ -1355,6 +1473,34 @@ module Aws::SecurityAgent
|
|
|
1355
1473
|
include Aws::Structure
|
|
1356
1474
|
end
|
|
1357
1475
|
|
|
1476
|
+
# Connection details for a self-managed Bitbucket Data Center
|
|
1477
|
+
# integration.
|
|
1478
|
+
#
|
|
1479
|
+
# @!attribute [rw] target_url
|
|
1480
|
+
# The HTTPS URL of your Bitbucket Data Center instance, for example
|
|
1481
|
+
# `https://bitbucket.example.com`.
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
#
|
|
1484
|
+
# @!attribute [rw] code
|
|
1485
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
1486
|
+
# the connection is authorized.
|
|
1487
|
+
# @return [String]
|
|
1488
|
+
#
|
|
1489
|
+
# @!attribute [rw] state
|
|
1490
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
1491
|
+
# echoed back on the authorization redirect.
|
|
1492
|
+
# @return [String]
|
|
1493
|
+
#
|
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BitbucketDataCenterIntegrationInput AWS API Documentation
|
|
1495
|
+
#
|
|
1496
|
+
class BitbucketDataCenterIntegrationInput < Struct.new(
|
|
1497
|
+
:target_url,
|
|
1498
|
+
:code,
|
|
1499
|
+
:state)
|
|
1500
|
+
SENSITIVE = []
|
|
1501
|
+
include Aws::Structure
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1358
1504
|
# The configuration for creating a Bitbucket integration.
|
|
1359
1505
|
#
|
|
1360
1506
|
# @!attribute [rw] installation_id
|
|
@@ -1437,6 +1583,13 @@ module Aws::SecurityAgent
|
|
|
1437
1583
|
|
|
1438
1584
|
# Capabilities for an integrated Bitbucket repository.
|
|
1439
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
|
+
#
|
|
1440
1593
|
# @!attribute [rw] leave_comments
|
|
1441
1594
|
# Whether to post code review comments on pull requests.
|
|
1442
1595
|
# @return [Boolean]
|
|
@@ -1448,6 +1601,7 @@ module Aws::SecurityAgent
|
|
|
1448
1601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BitbucketResourceCapabilities AWS API Documentation
|
|
1449
1602
|
#
|
|
1450
1603
|
class BitbucketResourceCapabilities < Struct.new(
|
|
1604
|
+
:trigger_filter_groups,
|
|
1451
1605
|
:leave_comments,
|
|
1452
1606
|
:remediate_code)
|
|
1453
1607
|
SENSITIVE = []
|
|
@@ -2465,7 +2619,7 @@ module Aws::SecurityAgent
|
|
|
2465
2619
|
end
|
|
2466
2620
|
|
|
2467
2621
|
# @!attribute [rw] provider
|
|
2468
|
-
# The integration provider.
|
|
2622
|
+
# The integration provider.
|
|
2469
2623
|
# @return [String]
|
|
2470
2624
|
#
|
|
2471
2625
|
# @!attribute [rw] input
|
|
@@ -4237,6 +4391,11 @@ module Aws::SecurityAgent
|
|
|
4237
4391
|
# absent for SaaS integrations.
|
|
4238
4392
|
# @return [String]
|
|
4239
4393
|
#
|
|
4394
|
+
# @!attribute [rw] webhook_url
|
|
4395
|
+
# The payload URL of the integration's webhook, once it has been
|
|
4396
|
+
# created. The signing secret is never returned on a read.
|
|
4397
|
+
# @return [String]
|
|
4398
|
+
#
|
|
4240
4399
|
# @!attribute [rw] private_connection_name
|
|
4241
4400
|
# The name of the private connection used to reach the integration's
|
|
4242
4401
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4252,6 +4411,7 @@ module Aws::SecurityAgent
|
|
|
4252
4411
|
:display_name,
|
|
4253
4412
|
:kms_key_id,
|
|
4254
4413
|
:target_url,
|
|
4414
|
+
:webhook_url,
|
|
4255
4415
|
:private_connection_name)
|
|
4256
4416
|
SENSITIVE = []
|
|
4257
4417
|
include Aws::Structure
|
|
@@ -4420,6 +4580,13 @@ module Aws::SecurityAgent
|
|
|
4420
4580
|
|
|
4421
4581
|
# The capabilities enabled for a GitHub resource integration.
|
|
4422
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
|
+
#
|
|
4423
4590
|
# @!attribute [rw] leave_comments
|
|
4424
4591
|
# Indicates whether the integration can leave comments on pull
|
|
4425
4592
|
# requests.
|
|
@@ -4433,6 +4600,7 @@ module Aws::SecurityAgent
|
|
|
4433
4600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubResourceCapabilities AWS API Documentation
|
|
4434
4601
|
#
|
|
4435
4602
|
class GitHubResourceCapabilities < Struct.new(
|
|
4603
|
+
:trigger_filter_groups,
|
|
4436
4604
|
:leave_comments,
|
|
4437
4605
|
:remediate_code)
|
|
4438
4606
|
SENSITIVE = []
|
|
@@ -4522,6 +4690,13 @@ module Aws::SecurityAgent
|
|
|
4522
4690
|
|
|
4523
4691
|
# Capabilities for an integrated GitLab repository.
|
|
4524
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
|
+
#
|
|
4525
4700
|
# @!attribute [rw] leave_comments
|
|
4526
4701
|
# Whether to post code review comments on merge request discussions.
|
|
4527
4702
|
# @return [Boolean]
|
|
@@ -4533,6 +4708,7 @@ module Aws::SecurityAgent
|
|
|
4533
4708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitLabResourceCapabilities AWS API Documentation
|
|
4534
4709
|
#
|
|
4535
4710
|
class GitLabResourceCapabilities < Struct.new(
|
|
4711
|
+
:trigger_filter_groups,
|
|
4536
4712
|
:leave_comments,
|
|
4537
4713
|
:remediate_code)
|
|
4538
4714
|
SENSITIVE = []
|
|
@@ -4639,15 +4815,37 @@ module Aws::SecurityAgent
|
|
|
4639
4815
|
end
|
|
4640
4816
|
|
|
4641
4817
|
# @!attribute [rw] provider
|
|
4642
|
-
# The provider to initiate registration with.
|
|
4643
|
-
#
|
|
4818
|
+
# The provider to initiate registration with.
|
|
4819
|
+
# @return [String]
|
|
4820
|
+
#
|
|
4821
|
+
# @!attribute [rw] target_url
|
|
4822
|
+
# The HTTPS URL of a self-managed provider instance. Omit for SaaS
|
|
4823
|
+
# providers.
|
|
4824
|
+
# @return [String]
|
|
4825
|
+
#
|
|
4826
|
+
# @!attribute [rw] organization_name
|
|
4827
|
+
# The name of the organization to connect.
|
|
4828
|
+
# @return [String]
|
|
4829
|
+
#
|
|
4830
|
+
# @!attribute [rw] client_id
|
|
4831
|
+
# The client ID of the OAuth application registered on your
|
|
4832
|
+
# self-managed provider instance.
|
|
4833
|
+
# @return [String]
|
|
4834
|
+
#
|
|
4835
|
+
# @!attribute [rw] client_secret
|
|
4836
|
+
# The client secret of the OAuth application registered on your
|
|
4837
|
+
# self-managed provider instance.
|
|
4644
4838
|
# @return [String]
|
|
4645
4839
|
#
|
|
4646
4840
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InitiateProviderRegistrationInput AWS API Documentation
|
|
4647
4841
|
#
|
|
4648
4842
|
class InitiateProviderRegistrationInput < Struct.new(
|
|
4649
|
-
:provider
|
|
4650
|
-
|
|
4843
|
+
:provider,
|
|
4844
|
+
:target_url,
|
|
4845
|
+
:organization_name,
|
|
4846
|
+
:client_id,
|
|
4847
|
+
:client_secret)
|
|
4848
|
+
SENSITIVE = [:client_secret]
|
|
4651
4849
|
include Aws::Structure
|
|
4652
4850
|
end
|
|
4653
4851
|
|
|
@@ -4737,6 +4935,10 @@ module Aws::SecurityAgent
|
|
|
4737
4935
|
# A Confluence document (page) integrated as a resource.
|
|
4738
4936
|
# @return [Types::ConfluenceDocumentResource]
|
|
4739
4937
|
#
|
|
4938
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
4939
|
+
# The Azure DevOps repository resource information.
|
|
4940
|
+
# @return [Types::AzureDevOpsRepositoryResource]
|
|
4941
|
+
#
|
|
4740
4942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResource AWS API Documentation
|
|
4741
4943
|
#
|
|
4742
4944
|
class IntegratedResource < Struct.new(
|
|
@@ -4744,6 +4946,7 @@ module Aws::SecurityAgent
|
|
|
4744
4946
|
:gitlab_repository,
|
|
4745
4947
|
:bitbucket_repository,
|
|
4746
4948
|
:confluence_document,
|
|
4949
|
+
:azure_dev_ops_repository,
|
|
4747
4950
|
:unknown)
|
|
4748
4951
|
SENSITIVE = []
|
|
4749
4952
|
include Aws::Structure
|
|
@@ -4753,6 +4956,7 @@ module Aws::SecurityAgent
|
|
|
4753
4956
|
class GitlabRepository < IntegratedResource; end
|
|
4754
4957
|
class BitbucketRepository < IntegratedResource; end
|
|
4755
4958
|
class ConfluenceDocument < IntegratedResource; end
|
|
4959
|
+
class AzureDevOpsRepository < IntegratedResource; end
|
|
4756
4960
|
class Unknown < IntegratedResource; end
|
|
4757
4961
|
end
|
|
4758
4962
|
|
|
@@ -4797,6 +5001,10 @@ module Aws::SecurityAgent
|
|
|
4797
5001
|
# Metadata for an integrated Confluence document.
|
|
4798
5002
|
# @return [Types::ConfluenceDocumentMetadata]
|
|
4799
5003
|
#
|
|
5004
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
5005
|
+
# The Azure DevOps repository metadata.
|
|
5006
|
+
# @return [Types::AzureDevOpsRepositoryMetadata]
|
|
5007
|
+
#
|
|
4800
5008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceMetadata AWS API Documentation
|
|
4801
5009
|
#
|
|
4802
5010
|
class IntegratedResourceMetadata < Struct.new(
|
|
@@ -4804,6 +5012,7 @@ module Aws::SecurityAgent
|
|
|
4804
5012
|
:gitlab_repository,
|
|
4805
5013
|
:bitbucket_repository,
|
|
4806
5014
|
:confluence_document,
|
|
5015
|
+
:azure_dev_ops_repository,
|
|
4807
5016
|
:unknown)
|
|
4808
5017
|
SENSITIVE = []
|
|
4809
5018
|
include Aws::Structure
|
|
@@ -4813,6 +5022,7 @@ module Aws::SecurityAgent
|
|
|
4813
5022
|
class GitlabRepository < IntegratedResourceMetadata; end
|
|
4814
5023
|
class BitbucketRepository < IntegratedResourceMetadata; end
|
|
4815
5024
|
class ConfluenceDocument < IntegratedResourceMetadata; end
|
|
5025
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata; end
|
|
4816
5026
|
class Unknown < IntegratedResourceMetadata; end
|
|
4817
5027
|
end
|
|
4818
5028
|
|
|
@@ -4897,6 +5107,11 @@ module Aws::SecurityAgent
|
|
|
4897
5107
|
# absent for SaaS integrations.
|
|
4898
5108
|
# @return [String]
|
|
4899
5109
|
#
|
|
5110
|
+
# @!attribute [rw] webhook_url
|
|
5111
|
+
# The payload URL of the integration's webhook, once it has been
|
|
5112
|
+
# created. The signing secret is never returned on a read.
|
|
5113
|
+
# @return [String]
|
|
5114
|
+
#
|
|
4900
5115
|
# @!attribute [rw] private_connection_name
|
|
4901
5116
|
# The name of the private connection used to reach the integration's
|
|
4902
5117
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4911,6 +5126,7 @@ module Aws::SecurityAgent
|
|
|
4911
5126
|
:provider_type,
|
|
4912
5127
|
:display_name,
|
|
4913
5128
|
:target_url,
|
|
5129
|
+
:webhook_url,
|
|
4914
5130
|
:private_connection_name)
|
|
4915
5131
|
SENSITIVE = []
|
|
4916
5132
|
include Aws::Structure
|
|
@@ -6842,6 +7058,15 @@ module Aws::SecurityAgent
|
|
|
6842
7058
|
# The configuration for a Confluence integration.
|
|
6843
7059
|
# @return [Types::ConfluenceIntegrationInput]
|
|
6844
7060
|
#
|
|
7061
|
+
# @!attribute [rw] azure_dev_ops
|
|
7062
|
+
# The Azure DevOps-specific input for creating an integration.
|
|
7063
|
+
# @return [Types::AzureDevOpsIntegrationInput]
|
|
7064
|
+
#
|
|
7065
|
+
# @!attribute [rw] bitbucket_data_center
|
|
7066
|
+
# The Bitbucket Data Center-specific input for creating an
|
|
7067
|
+
# integration.
|
|
7068
|
+
# @return [Types::BitbucketDataCenterIntegrationInput]
|
|
7069
|
+
#
|
|
6845
7070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderInput AWS API Documentation
|
|
6846
7071
|
#
|
|
6847
7072
|
class ProviderInput < Struct.new(
|
|
@@ -6849,6 +7074,8 @@ module Aws::SecurityAgent
|
|
|
6849
7074
|
:gitlab,
|
|
6850
7075
|
:bitbucket,
|
|
6851
7076
|
:confluence,
|
|
7077
|
+
:azure_dev_ops,
|
|
7078
|
+
:bitbucket_data_center,
|
|
6852
7079
|
:unknown)
|
|
6853
7080
|
SENSITIVE = []
|
|
6854
7081
|
include Aws::Structure
|
|
@@ -6858,6 +7085,8 @@ module Aws::SecurityAgent
|
|
|
6858
7085
|
class Gitlab < ProviderInput; end
|
|
6859
7086
|
class Bitbucket < ProviderInput; end
|
|
6860
7087
|
class Confluence < ProviderInput; end
|
|
7088
|
+
class AzureDevOps < ProviderInput; end
|
|
7089
|
+
class BitbucketDataCenter < ProviderInput; end
|
|
6861
7090
|
class Unknown < ProviderInput; end
|
|
6862
7091
|
end
|
|
6863
7092
|
|
|
@@ -6885,6 +7114,10 @@ module Aws::SecurityAgent
|
|
|
6885
7114
|
# Capabilities for an integrated Confluence space.
|
|
6886
7115
|
# @return [Types::ConfluenceResourceCapabilities]
|
|
6887
7116
|
#
|
|
7117
|
+
# @!attribute [rw] azure_dev_ops
|
|
7118
|
+
# The Azure DevOps-specific resource capabilities.
|
|
7119
|
+
# @return [Types::AzureDevOpsResourceCapabilities]
|
|
7120
|
+
#
|
|
6888
7121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderResourceCapabilities AWS API Documentation
|
|
6889
7122
|
#
|
|
6890
7123
|
class ProviderResourceCapabilities < Struct.new(
|
|
@@ -6892,6 +7125,7 @@ module Aws::SecurityAgent
|
|
|
6892
7125
|
:gitlab,
|
|
6893
7126
|
:bitbucket,
|
|
6894
7127
|
:confluence,
|
|
7128
|
+
:azure_dev_ops,
|
|
6895
7129
|
:unknown)
|
|
6896
7130
|
SENSITIVE = []
|
|
6897
7131
|
include Aws::Structure
|
|
@@ -6901,6 +7135,7 @@ module Aws::SecurityAgent
|
|
|
6901
7135
|
class Gitlab < ProviderResourceCapabilities; end
|
|
6902
7136
|
class Bitbucket < ProviderResourceCapabilities; end
|
|
6903
7137
|
class Confluence < ProviderResourceCapabilities; end
|
|
7138
|
+
class AzureDevOps < ProviderResourceCapabilities; end
|
|
6904
7139
|
class Unknown < ProviderResourceCapabilities; end
|
|
6905
7140
|
end
|
|
6906
7141
|
|
|
@@ -8481,6 +8716,53 @@ module Aws::SecurityAgent
|
|
|
8481
8716
|
include Aws::Structure
|
|
8482
8717
|
end
|
|
8483
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
|
+
|
|
8484
8766
|
# A trust anchor used when validating a target endpoint's TLS
|
|
8485
8767
|
# certificate.
|
|
8486
8768
|
#
|
|
@@ -8888,6 +9170,52 @@ module Aws::SecurityAgent
|
|
|
8888
9170
|
#
|
|
8889
9171
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure; end
|
|
8890
9172
|
|
|
9173
|
+
# Input for creating or rotating an integration's webhook.
|
|
9174
|
+
#
|
|
9175
|
+
# @!attribute [rw] integration_id
|
|
9176
|
+
# The ID of the integration whose webhook you want to create or
|
|
9177
|
+
# rotate.
|
|
9178
|
+
# @return [String]
|
|
9179
|
+
#
|
|
9180
|
+
# @!attribute [rw] webhook_action
|
|
9181
|
+
# The action to perform on the integration's webhook.
|
|
9182
|
+
# @return [String]
|
|
9183
|
+
#
|
|
9184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationInput AWS API Documentation
|
|
9185
|
+
#
|
|
9186
|
+
class UpdateIntegrationInput < Struct.new(
|
|
9187
|
+
:integration_id,
|
|
9188
|
+
:webhook_action)
|
|
9189
|
+
SENSITIVE = []
|
|
9190
|
+
include Aws::Structure
|
|
9191
|
+
end
|
|
9192
|
+
|
|
9193
|
+
# Output for the UpdateIntegration operation.
|
|
9194
|
+
#
|
|
9195
|
+
# @!attribute [rw] integration_id
|
|
9196
|
+
# The ID of the integration.
|
|
9197
|
+
# @return [String]
|
|
9198
|
+
#
|
|
9199
|
+
# @!attribute [rw] webhook_url
|
|
9200
|
+
# The payload URL to configure on your provider instance. Returned
|
|
9201
|
+
# when a webhook is created; unchanged by a rotate.
|
|
9202
|
+
# @return [String]
|
|
9203
|
+
#
|
|
9204
|
+
# @!attribute [rw] secret
|
|
9205
|
+
# The HMAC signing secret for the webhook. Returned only once, in this
|
|
9206
|
+
# response; it is never returned again.
|
|
9207
|
+
# @return [String]
|
|
9208
|
+
#
|
|
9209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationOutput AWS API Documentation
|
|
9210
|
+
#
|
|
9211
|
+
class UpdateIntegrationOutput < Struct.new(
|
|
9212
|
+
:integration_id,
|
|
9213
|
+
:webhook_url,
|
|
9214
|
+
:secret)
|
|
9215
|
+
SENSITIVE = [:secret]
|
|
9216
|
+
include Aws::Structure
|
|
9217
|
+
end
|
|
9218
|
+
|
|
8891
9219
|
# Input for updating an existing pentest.
|
|
8892
9220
|
#
|
|
8893
9221
|
# @!attribute [rw] pentest_id
|
data/sig/client.rbs
CHANGED
|
@@ -441,7 +441,7 @@ module Aws
|
|
|
441
441
|
end
|
|
442
442
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
|
|
443
443
|
def create_integration: (
|
|
444
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"),
|
|
444
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
445
445
|
input: {
|
|
446
446
|
github: {
|
|
447
447
|
code: ::String,
|
|
@@ -467,6 +467,16 @@ module Aws
|
|
|
467
467
|
code: ::String,
|
|
468
468
|
state: ::String,
|
|
469
469
|
site_url: ::String
|
|
470
|
+
}?,
|
|
471
|
+
azure_dev_ops: {
|
|
472
|
+
code: ::String,
|
|
473
|
+
state: ::String,
|
|
474
|
+
organization_name: ::String
|
|
475
|
+
}?,
|
|
476
|
+
bitbucket_data_center: {
|
|
477
|
+
target_url: ::String,
|
|
478
|
+
code: ::String,
|
|
479
|
+
state: ::String
|
|
470
480
|
}?
|
|
471
481
|
},
|
|
472
482
|
integration_display_name: ::String,
|
|
@@ -844,11 +854,12 @@ module Aws
|
|
|
844
854
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
845
855
|
def integration_id: () -> ::String
|
|
846
856
|
def installation_id: () -> ::String
|
|
847
|
-
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
857
|
+
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")
|
|
848
858
|
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
|
|
849
859
|
def display_name: () -> ::String
|
|
850
860
|
def kms_key_id: () -> ::String
|
|
851
861
|
def target_url: () -> ::String
|
|
862
|
+
def webhook_url: () -> ::String
|
|
852
863
|
def private_connection_name: () -> ::String
|
|
853
864
|
end
|
|
854
865
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_integration-instance_method
|
|
@@ -903,7 +914,11 @@ module Aws
|
|
|
903
914
|
end
|
|
904
915
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
|
|
905
916
|
def initiate_provider_registration: (
|
|
906
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
917
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS"),
|
|
918
|
+
?target_url: ::String,
|
|
919
|
+
?organization_name: ::String,
|
|
920
|
+
?client_id: ::String,
|
|
921
|
+
?client_secret: ::String
|
|
907
922
|
) -> _InitiateProviderRegistrationResponseSuccess
|
|
908
923
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
|
|
909
924
|
|
|
@@ -1060,7 +1075,7 @@ module Aws
|
|
|
1060
1075
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
|
|
1061
1076
|
def list_integrations: (
|
|
1062
1077
|
?filter: {
|
|
1063
|
-
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")?,
|
|
1078
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE" | "AZURE_DEVOPS")?,
|
|
1064
1079
|
provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
|
|
1065
1080
|
},
|
|
1066
1081
|
?next_token: ::String,
|
|
@@ -1496,18 +1511,32 @@ module Aws
|
|
|
1496
1511
|
page_id: ::String,
|
|
1497
1512
|
title: ::String?,
|
|
1498
1513
|
space_title: ::String?
|
|
1514
|
+
}?,
|
|
1515
|
+
azure_dev_ops_repository: {
|
|
1516
|
+
name: ::String,
|
|
1517
|
+
organization: ::String,
|
|
1518
|
+
project: ::String?
|
|
1499
1519
|
}?
|
|
1500
1520
|
},
|
|
1501
1521
|
capabilities: {
|
|
1502
1522
|
github: {
|
|
1523
|
+
trigger_filter_groups: Array[
|
|
1524
|
+
Params::trigger_filter_group
|
|
1525
|
+
]?,
|
|
1503
1526
|
leave_comments: bool?,
|
|
1504
1527
|
remediate_code: bool?
|
|
1505
1528
|
}?,
|
|
1506
1529
|
gitlab: {
|
|
1530
|
+
trigger_filter_groups: Array[
|
|
1531
|
+
Params::trigger_filter_group
|
|
1532
|
+
]?,
|
|
1507
1533
|
leave_comments: bool?,
|
|
1508
1534
|
remediate_code: bool?
|
|
1509
1535
|
}?,
|
|
1510
1536
|
bitbucket: {
|
|
1537
|
+
trigger_filter_groups: Array[
|
|
1538
|
+
Params::trigger_filter_group
|
|
1539
|
+
]?,
|
|
1511
1540
|
leave_comments: bool?,
|
|
1512
1541
|
remediate_code: bool?
|
|
1513
1542
|
}?,
|
|
@@ -1515,6 +1544,13 @@ module Aws
|
|
|
1515
1544
|
fetch_document: bool?,
|
|
1516
1545
|
create_document: bool?,
|
|
1517
1546
|
update_document: bool?
|
|
1547
|
+
}?,
|
|
1548
|
+
azure_dev_ops: {
|
|
1549
|
+
trigger_filter_groups: Array[
|
|
1550
|
+
Params::trigger_filter_group
|
|
1551
|
+
]?,
|
|
1552
|
+
leave_comments: bool?,
|
|
1553
|
+
remediate_code: bool?
|
|
1518
1554
|
}?
|
|
1519
1555
|
}?
|
|
1520
1556
|
}
|
|
@@ -1522,6 +1558,19 @@ module Aws
|
|
|
1522
1558
|
) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1523
1559
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
|
|
1524
1560
|
|
|
1561
|
+
interface _UpdateIntegrationResponseSuccess
|
|
1562
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntegrationOutput]
|
|
1563
|
+
def integration_id: () -> ::String
|
|
1564
|
+
def webhook_url: () -> ::String
|
|
1565
|
+
def secret: () -> ::String
|
|
1566
|
+
end
|
|
1567
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_integration-instance_method
|
|
1568
|
+
def update_integration: (
|
|
1569
|
+
integration_id: ::String,
|
|
1570
|
+
webhook_action: ("CREATE_IF_ABSENT" | "ROTATE")
|
|
1571
|
+
) -> _UpdateIntegrationResponseSuccess
|
|
1572
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegrationResponseSuccess
|
|
1573
|
+
|
|
1525
1574
|
interface _UpdatePentestResponseSuccess
|
|
1526
1575
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePentestOutput]
|
|
1527
1576
|
def pentest_id: () -> ::String
|
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
|