aws-sdk-securityagent 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +150 -14
- data/lib/aws-sdk-securityagent/client_api.rb +112 -0
- data/lib/aws-sdk-securityagent/types.rb +415 -16
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +64 -9
- data/sig/types.rbs +112 -8
- metadata +1 -1
|
@@ -435,6 +435,116 @@ module Aws::SecurityAgent
|
|
|
435
435
|
include Aws::Structure
|
|
436
436
|
end
|
|
437
437
|
|
|
438
|
+
# Connection details for an Azure DevOps integration.
|
|
439
|
+
#
|
|
440
|
+
# @!attribute [rw] code
|
|
441
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
442
|
+
# the connection is authorized.
|
|
443
|
+
# @return [String]
|
|
444
|
+
#
|
|
445
|
+
# @!attribute [rw] state
|
|
446
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
447
|
+
# echoed back on the authorization redirect.
|
|
448
|
+
# @return [String]
|
|
449
|
+
#
|
|
450
|
+
# @!attribute [rw] organization_name
|
|
451
|
+
# The name of the Azure DevOps organization to connect, for example
|
|
452
|
+
# `my-org`.
|
|
453
|
+
# @return [String]
|
|
454
|
+
#
|
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsIntegrationInput AWS API Documentation
|
|
456
|
+
#
|
|
457
|
+
class AzureDevOpsIntegrationInput < Struct.new(
|
|
458
|
+
:code,
|
|
459
|
+
:state,
|
|
460
|
+
:organization_name)
|
|
461
|
+
SENSITIVE = []
|
|
462
|
+
include Aws::Structure
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Metadata for an integrated Azure DevOps repository.
|
|
466
|
+
#
|
|
467
|
+
# @!attribute [rw] name
|
|
468
|
+
# Name of the resource e.g. repository name, etc.
|
|
469
|
+
# @return [String]
|
|
470
|
+
#
|
|
471
|
+
# @!attribute [rw] provider_resource_id
|
|
472
|
+
# Provider Id of the resource e.g. GitHub repository id, etc.
|
|
473
|
+
# @return [String]
|
|
474
|
+
#
|
|
475
|
+
# @!attribute [rw] organization
|
|
476
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
477
|
+
# @return [String]
|
|
478
|
+
#
|
|
479
|
+
# @!attribute [rw] project
|
|
480
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
481
|
+
# @return [String]
|
|
482
|
+
#
|
|
483
|
+
# @!attribute [rw] project_id
|
|
484
|
+
# The GUID of the Azure DevOps project that contains the repository.
|
|
485
|
+
# @return [String]
|
|
486
|
+
#
|
|
487
|
+
# @!attribute [rw] access_type
|
|
488
|
+
# Defines the visibility level of provider resources. PRIVATE
|
|
489
|
+
# indicates restricted access, while PUBLIC indicates open access.
|
|
490
|
+
# @return [String]
|
|
491
|
+
#
|
|
492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryMetadata AWS API Documentation
|
|
493
|
+
#
|
|
494
|
+
class AzureDevOpsRepositoryMetadata < Struct.new(
|
|
495
|
+
:name,
|
|
496
|
+
:provider_resource_id,
|
|
497
|
+
:organization,
|
|
498
|
+
:project,
|
|
499
|
+
:project_id,
|
|
500
|
+
:access_type)
|
|
501
|
+
SENSITIVE = []
|
|
502
|
+
include Aws::Structure
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# An Azure DevOps repository integrated as a resource.
|
|
506
|
+
#
|
|
507
|
+
# @!attribute [rw] name
|
|
508
|
+
# Name of the resource e.g. repository name, etc.
|
|
509
|
+
# @return [String]
|
|
510
|
+
#
|
|
511
|
+
# @!attribute [rw] organization
|
|
512
|
+
# The name of the Azure DevOps organization that owns the repository.
|
|
513
|
+
# @return [String]
|
|
514
|
+
#
|
|
515
|
+
# @!attribute [rw] project
|
|
516
|
+
# The name of the Azure DevOps project that contains the repository.
|
|
517
|
+
# @return [String]
|
|
518
|
+
#
|
|
519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsRepositoryResource AWS API Documentation
|
|
520
|
+
#
|
|
521
|
+
class AzureDevOpsRepositoryResource < Struct.new(
|
|
522
|
+
:name,
|
|
523
|
+
:organization,
|
|
524
|
+
:project)
|
|
525
|
+
SENSITIVE = []
|
|
526
|
+
include Aws::Structure
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# Capabilities for an integrated Azure DevOps repository.
|
|
530
|
+
#
|
|
531
|
+
# @!attribute [rw] leave_comments
|
|
532
|
+
# Whether to post code review comments on pull requests.
|
|
533
|
+
# @return [Boolean]
|
|
534
|
+
#
|
|
535
|
+
# @!attribute [rw] remediate_code
|
|
536
|
+
# Whether to create pull requests with automated fixes.
|
|
537
|
+
# @return [Boolean]
|
|
538
|
+
#
|
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AzureDevOpsResourceCapabilities AWS API Documentation
|
|
540
|
+
#
|
|
541
|
+
class AzureDevOpsResourceCapabilities < Struct.new(
|
|
542
|
+
:leave_comments,
|
|
543
|
+
:remediate_code)
|
|
544
|
+
SENSITIVE = []
|
|
545
|
+
include Aws::Structure
|
|
546
|
+
end
|
|
547
|
+
|
|
438
548
|
# Contains information about a successfully created security
|
|
439
549
|
# requirement.
|
|
440
550
|
#
|
|
@@ -1355,6 +1465,34 @@ module Aws::SecurityAgent
|
|
|
1355
1465
|
include Aws::Structure
|
|
1356
1466
|
end
|
|
1357
1467
|
|
|
1468
|
+
# Connection details for a self-managed Bitbucket Data Center
|
|
1469
|
+
# integration.
|
|
1470
|
+
#
|
|
1471
|
+
# @!attribute [rw] target_url
|
|
1472
|
+
# The HTTPS URL of your Bitbucket Data Center instance, for example
|
|
1473
|
+
# `https://bitbucket.example.com`.
|
|
1474
|
+
# @return [String]
|
|
1475
|
+
#
|
|
1476
|
+
# @!attribute [rw] code
|
|
1477
|
+
# The OAuth 2.0 authorization code returned to your redirect URL after
|
|
1478
|
+
# the connection is authorized.
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
#
|
|
1481
|
+
# @!attribute [rw] state
|
|
1482
|
+
# The CSRF state value returned by `InitiateProviderRegistration` and
|
|
1483
|
+
# echoed back on the authorization redirect.
|
|
1484
|
+
# @return [String]
|
|
1485
|
+
#
|
|
1486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BitbucketDataCenterIntegrationInput AWS API Documentation
|
|
1487
|
+
#
|
|
1488
|
+
class BitbucketDataCenterIntegrationInput < Struct.new(
|
|
1489
|
+
:target_url,
|
|
1490
|
+
:code,
|
|
1491
|
+
:state)
|
|
1492
|
+
SENSITIVE = []
|
|
1493
|
+
include Aws::Structure
|
|
1494
|
+
end
|
|
1495
|
+
|
|
1358
1496
|
# The configuration for creating a Bitbucket integration.
|
|
1359
1497
|
#
|
|
1360
1498
|
# @!attribute [rw] installation_id
|
|
@@ -1509,6 +1647,21 @@ module Aws::SecurityAgent
|
|
|
1509
1647
|
include Aws::Structure
|
|
1510
1648
|
end
|
|
1511
1649
|
|
|
1650
|
+
# The configuration that enables a pentest to run as part of a CI/CD
|
|
1651
|
+
# pipeline, scoped to the code changes in each pipeline run.
|
|
1652
|
+
#
|
|
1653
|
+
# @!attribute [rw] enabled
|
|
1654
|
+
# Whether CI/CD pentesting is enabled for this pentest.
|
|
1655
|
+
# @return [Boolean]
|
|
1656
|
+
#
|
|
1657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CiCdConfiguration AWS API Documentation
|
|
1658
|
+
#
|
|
1659
|
+
class CiCdConfiguration < Struct.new(
|
|
1660
|
+
:enabled)
|
|
1661
|
+
SENSITIVE = []
|
|
1662
|
+
include Aws::Structure
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1512
1665
|
# The Amazon CloudWatch Logs configuration for pentest job logging.
|
|
1513
1666
|
#
|
|
1514
1667
|
# @!attribute [rw] log_group
|
|
@@ -2450,7 +2603,7 @@ module Aws::SecurityAgent
|
|
|
2450
2603
|
end
|
|
2451
2604
|
|
|
2452
2605
|
# @!attribute [rw] provider
|
|
2453
|
-
# The integration provider.
|
|
2606
|
+
# The integration provider.
|
|
2454
2607
|
# @return [String]
|
|
2455
2608
|
#
|
|
2456
2609
|
# @!attribute [rw] input
|
|
@@ -2603,6 +2756,10 @@ module Aws::SecurityAgent
|
|
|
2603
2756
|
# The report-generation filters applied when the report is exported.
|
|
2604
2757
|
# @return [Types::ReportFilters]
|
|
2605
2758
|
#
|
|
2759
|
+
# @!attribute [rw] cicd_configuration
|
|
2760
|
+
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2761
|
+
# @return [Types::CiCdConfiguration]
|
|
2762
|
+
#
|
|
2606
2763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
|
|
2607
2764
|
#
|
|
2608
2765
|
class CreatePentestInput < Struct.new(
|
|
@@ -2618,7 +2775,8 @@ module Aws::SecurityAgent
|
|
|
2618
2775
|
:disable_managed_skills,
|
|
2619
2776
|
:max_task_hours,
|
|
2620
2777
|
:report_destination,
|
|
2621
|
-
:report_filters
|
|
2778
|
+
:report_filters,
|
|
2779
|
+
:cicd_configuration)
|
|
2622
2780
|
SENSITIVE = []
|
|
2623
2781
|
include Aws::Structure
|
|
2624
2782
|
end
|
|
@@ -2670,6 +2828,10 @@ module Aws::SecurityAgent
|
|
|
2670
2828
|
# The report-generation filters applied when the report is exported.
|
|
2671
2829
|
# @return [Types::ReportFilters]
|
|
2672
2830
|
#
|
|
2831
|
+
# @!attribute [rw] cicd_configuration
|
|
2832
|
+
# The CI/CD pentesting configuration applied to the pentest.
|
|
2833
|
+
# @return [Types::CiCdConfiguration]
|
|
2834
|
+
#
|
|
2673
2835
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestOutput AWS API Documentation
|
|
2674
2836
|
#
|
|
2675
2837
|
class CreatePentestOutput < Struct.new(
|
|
@@ -2683,7 +2845,8 @@ module Aws::SecurityAgent
|
|
|
2683
2845
|
:log_config,
|
|
2684
2846
|
:agent_space_id,
|
|
2685
2847
|
:report_destination,
|
|
2686
|
-
:report_filters
|
|
2848
|
+
:report_filters,
|
|
2849
|
+
:cicd_configuration)
|
|
2687
2850
|
SENSITIVE = []
|
|
2688
2851
|
include Aws::Structure
|
|
2689
2852
|
end
|
|
@@ -4212,6 +4375,11 @@ module Aws::SecurityAgent
|
|
|
4212
4375
|
# absent for SaaS integrations.
|
|
4213
4376
|
# @return [String]
|
|
4214
4377
|
#
|
|
4378
|
+
# @!attribute [rw] webhook_url
|
|
4379
|
+
# The payload URL of the integration's webhook, once it has been
|
|
4380
|
+
# created. The signing secret is never returned on a read.
|
|
4381
|
+
# @return [String]
|
|
4382
|
+
#
|
|
4215
4383
|
# @!attribute [rw] private_connection_name
|
|
4216
4384
|
# The name of the private connection used to reach the integration's
|
|
4217
4385
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4227,6 +4395,7 @@ module Aws::SecurityAgent
|
|
|
4227
4395
|
:display_name,
|
|
4228
4396
|
:kms_key_id,
|
|
4229
4397
|
:target_url,
|
|
4398
|
+
:webhook_url,
|
|
4230
4399
|
:private_connection_name)
|
|
4231
4400
|
SENSITIVE = []
|
|
4232
4401
|
include Aws::Structure
|
|
@@ -4614,15 +4783,37 @@ module Aws::SecurityAgent
|
|
|
4614
4783
|
end
|
|
4615
4784
|
|
|
4616
4785
|
# @!attribute [rw] provider
|
|
4617
|
-
# The provider to initiate registration with.
|
|
4618
|
-
#
|
|
4786
|
+
# The provider to initiate registration with.
|
|
4787
|
+
# @return [String]
|
|
4788
|
+
#
|
|
4789
|
+
# @!attribute [rw] target_url
|
|
4790
|
+
# The HTTPS URL of a self-managed provider instance. Omit for SaaS
|
|
4791
|
+
# providers.
|
|
4792
|
+
# @return [String]
|
|
4793
|
+
#
|
|
4794
|
+
# @!attribute [rw] organization_name
|
|
4795
|
+
# The name of the organization to connect.
|
|
4796
|
+
# @return [String]
|
|
4797
|
+
#
|
|
4798
|
+
# @!attribute [rw] client_id
|
|
4799
|
+
# The client ID of the OAuth application registered on your
|
|
4800
|
+
# self-managed provider instance.
|
|
4801
|
+
# @return [String]
|
|
4802
|
+
#
|
|
4803
|
+
# @!attribute [rw] client_secret
|
|
4804
|
+
# The client secret of the OAuth application registered on your
|
|
4805
|
+
# self-managed provider instance.
|
|
4619
4806
|
# @return [String]
|
|
4620
4807
|
#
|
|
4621
4808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InitiateProviderRegistrationInput AWS API Documentation
|
|
4622
4809
|
#
|
|
4623
4810
|
class InitiateProviderRegistrationInput < Struct.new(
|
|
4624
|
-
:provider
|
|
4625
|
-
|
|
4811
|
+
:provider,
|
|
4812
|
+
:target_url,
|
|
4813
|
+
:organization_name,
|
|
4814
|
+
:client_id,
|
|
4815
|
+
:client_secret)
|
|
4816
|
+
SENSITIVE = [:client_secret]
|
|
4626
4817
|
include Aws::Structure
|
|
4627
4818
|
end
|
|
4628
4819
|
|
|
@@ -4712,6 +4903,10 @@ module Aws::SecurityAgent
|
|
|
4712
4903
|
# A Confluence document (page) integrated as a resource.
|
|
4713
4904
|
# @return [Types::ConfluenceDocumentResource]
|
|
4714
4905
|
#
|
|
4906
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
4907
|
+
# The Azure DevOps repository resource information.
|
|
4908
|
+
# @return [Types::AzureDevOpsRepositoryResource]
|
|
4909
|
+
#
|
|
4715
4910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResource AWS API Documentation
|
|
4716
4911
|
#
|
|
4717
4912
|
class IntegratedResource < Struct.new(
|
|
@@ -4719,6 +4914,7 @@ module Aws::SecurityAgent
|
|
|
4719
4914
|
:gitlab_repository,
|
|
4720
4915
|
:bitbucket_repository,
|
|
4721
4916
|
:confluence_document,
|
|
4917
|
+
:azure_dev_ops_repository,
|
|
4722
4918
|
:unknown)
|
|
4723
4919
|
SENSITIVE = []
|
|
4724
4920
|
include Aws::Structure
|
|
@@ -4728,6 +4924,7 @@ module Aws::SecurityAgent
|
|
|
4728
4924
|
class GitlabRepository < IntegratedResource; end
|
|
4729
4925
|
class BitbucketRepository < IntegratedResource; end
|
|
4730
4926
|
class ConfluenceDocument < IntegratedResource; end
|
|
4927
|
+
class AzureDevOpsRepository < IntegratedResource; end
|
|
4731
4928
|
class Unknown < IntegratedResource; end
|
|
4732
4929
|
end
|
|
4733
4930
|
|
|
@@ -4772,6 +4969,10 @@ module Aws::SecurityAgent
|
|
|
4772
4969
|
# Metadata for an integrated Confluence document.
|
|
4773
4970
|
# @return [Types::ConfluenceDocumentMetadata]
|
|
4774
4971
|
#
|
|
4972
|
+
# @!attribute [rw] azure_dev_ops_repository
|
|
4973
|
+
# The Azure DevOps repository metadata.
|
|
4974
|
+
# @return [Types::AzureDevOpsRepositoryMetadata]
|
|
4975
|
+
#
|
|
4775
4976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceMetadata AWS API Documentation
|
|
4776
4977
|
#
|
|
4777
4978
|
class IntegratedResourceMetadata < Struct.new(
|
|
@@ -4779,6 +4980,7 @@ module Aws::SecurityAgent
|
|
|
4779
4980
|
:gitlab_repository,
|
|
4780
4981
|
:bitbucket_repository,
|
|
4781
4982
|
:confluence_document,
|
|
4983
|
+
:azure_dev_ops_repository,
|
|
4782
4984
|
:unknown)
|
|
4783
4985
|
SENSITIVE = []
|
|
4784
4986
|
include Aws::Structure
|
|
@@ -4788,6 +4990,7 @@ module Aws::SecurityAgent
|
|
|
4788
4990
|
class GitlabRepository < IntegratedResourceMetadata; end
|
|
4789
4991
|
class BitbucketRepository < IntegratedResourceMetadata; end
|
|
4790
4992
|
class ConfluenceDocument < IntegratedResourceMetadata; end
|
|
4993
|
+
class AzureDevOpsRepository < IntegratedResourceMetadata; end
|
|
4791
4994
|
class Unknown < IntegratedResourceMetadata; end
|
|
4792
4995
|
end
|
|
4793
4996
|
|
|
@@ -4872,6 +5075,11 @@ module Aws::SecurityAgent
|
|
|
4872
5075
|
# absent for SaaS integrations.
|
|
4873
5076
|
# @return [String]
|
|
4874
5077
|
#
|
|
5078
|
+
# @!attribute [rw] webhook_url
|
|
5079
|
+
# The payload URL of the integration's webhook, once it has been
|
|
5080
|
+
# created. The signing secret is never returned on a read.
|
|
5081
|
+
# @return [String]
|
|
5082
|
+
#
|
|
4875
5083
|
# @!attribute [rw] private_connection_name
|
|
4876
5084
|
# The name of the private connection used to reach the integration's
|
|
4877
5085
|
# self-hosted instance over private networking, if one is configured.
|
|
@@ -4886,6 +5094,7 @@ module Aws::SecurityAgent
|
|
|
4886
5094
|
:provider_type,
|
|
4887
5095
|
:display_name,
|
|
4888
5096
|
:target_url,
|
|
5097
|
+
:webhook_url,
|
|
4889
5098
|
:private_connection_name)
|
|
4890
5099
|
SENSITIVE = []
|
|
4891
5100
|
include Aws::Structure
|
|
@@ -5649,13 +5858,19 @@ module Aws::SecurityAgent
|
|
|
5649
5858
|
# the previous request.
|
|
5650
5859
|
# @return [String]
|
|
5651
5860
|
#
|
|
5861
|
+
# @!attribute [rw] job_type
|
|
5862
|
+
# Filters the returned pentest jobs to only those of the specified job
|
|
5863
|
+
# type.
|
|
5864
|
+
# @return [String]
|
|
5865
|
+
#
|
|
5652
5866
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentestInput AWS API Documentation
|
|
5653
5867
|
#
|
|
5654
5868
|
class ListPentestJobsForPentestInput < Struct.new(
|
|
5655
5869
|
:max_results,
|
|
5656
5870
|
:pentest_id,
|
|
5657
5871
|
:agent_space_id,
|
|
5658
|
-
:next_token
|
|
5872
|
+
:next_token,
|
|
5873
|
+
:job_type)
|
|
5659
5874
|
SENSITIVE = []
|
|
5660
5875
|
include Aws::Structure
|
|
5661
5876
|
end
|
|
@@ -6379,6 +6594,11 @@ module Aws::SecurityAgent
|
|
|
6379
6594
|
# The report-generation filters applied when the report is exported.
|
|
6380
6595
|
# @return [Types::ReportFilters]
|
|
6381
6596
|
#
|
|
6597
|
+
# @!attribute [rw] cicd_configuration
|
|
6598
|
+
# The CI/CD pentesting configuration for this pentest. Present when
|
|
6599
|
+
# the pentest is set up to run from a CI/CD pipeline.
|
|
6600
|
+
# @return [Types::CiCdConfiguration]
|
|
6601
|
+
#
|
|
6382
6602
|
# @!attribute [rw] created_at
|
|
6383
6603
|
# The date and time the pentest was created, in UTC format.
|
|
6384
6604
|
# @return [Time]
|
|
@@ -6405,6 +6625,7 @@ module Aws::SecurityAgent
|
|
|
6405
6625
|
:max_task_hours,
|
|
6406
6626
|
:report_destination,
|
|
6407
6627
|
:report_filters,
|
|
6628
|
+
:cicd_configuration,
|
|
6408
6629
|
:created_at,
|
|
6409
6630
|
:updated_at)
|
|
6410
6631
|
SENSITIVE = []
|
|
@@ -6521,7 +6742,8 @@ module Aws::SecurityAgent
|
|
|
6521
6742
|
# @return [Float]
|
|
6522
6743
|
#
|
|
6523
6744
|
# @!attribute [rw] job_type
|
|
6524
|
-
# The type of the pentest job. Valid values are FULL
|
|
6745
|
+
# The type of the pentest job. Valid values are FULL, REVALIDATION,
|
|
6746
|
+
# and CICD.
|
|
6525
6747
|
# @return [String]
|
|
6526
6748
|
#
|
|
6527
6749
|
# @!attribute [rw] selected_finding_ids
|
|
@@ -6534,6 +6756,25 @@ module Aws::SecurityAgent
|
|
|
6534
6756
|
# document provider.
|
|
6535
6757
|
# @return [Types::ReportDestination]
|
|
6536
6758
|
#
|
|
6759
|
+
# @!attribute [rw] report_url
|
|
6760
|
+
# The URL to view this pentest job's findings report in the console.
|
|
6761
|
+
# @return [String]
|
|
6762
|
+
#
|
|
6763
|
+
# @!attribute [rw] scope_result
|
|
6764
|
+
# The scoping outcome for this CI/CD pentest job. Present only for
|
|
6765
|
+
# jobs of type CICD.
|
|
6766
|
+
# @return [Types::ScopeResult]
|
|
6767
|
+
#
|
|
6768
|
+
# @!attribute [rw] scope_changes
|
|
6769
|
+
# The code changes that defined the scope of this CI/CD pentest job.
|
|
6770
|
+
# Present only for jobs of type CICD.
|
|
6771
|
+
# @return [Array<Types::ScopeChange>]
|
|
6772
|
+
#
|
|
6773
|
+
# @!attribute [rw] cicd_configuration
|
|
6774
|
+
# The configuration that enables a pentest to run as part of a CI/CD
|
|
6775
|
+
# pipeline, scoped to the code changes in each pipeline run.
|
|
6776
|
+
# @return [Types::CiCdConfiguration]
|
|
6777
|
+
#
|
|
6537
6778
|
# @!attribute [rw] created_at
|
|
6538
6779
|
# The date and time the pentest job was created, in UTC format.
|
|
6539
6780
|
# @return [Time]
|
|
@@ -6573,6 +6814,10 @@ module Aws::SecurityAgent
|
|
|
6573
6814
|
:job_type,
|
|
6574
6815
|
:selected_finding_ids,
|
|
6575
6816
|
:report_destination,
|
|
6817
|
+
:report_url,
|
|
6818
|
+
:scope_result,
|
|
6819
|
+
:scope_changes,
|
|
6820
|
+
:cicd_configuration,
|
|
6576
6821
|
:created_at,
|
|
6577
6822
|
:updated_at)
|
|
6578
6823
|
SENSITIVE = [:trusted_ca_certificates]
|
|
@@ -6605,6 +6850,15 @@ module Aws::SecurityAgent
|
|
|
6605
6850
|
# The date and time the pentest job was last updated, in UTC format.
|
|
6606
6851
|
# @return [Time]
|
|
6607
6852
|
#
|
|
6853
|
+
# @!attribute [rw] job_type
|
|
6854
|
+
# The type of the pentest job. Valid values are FULL, REVALIDATION,
|
|
6855
|
+
# and CICD.
|
|
6856
|
+
# @return [String]
|
|
6857
|
+
#
|
|
6858
|
+
# @!attribute [rw] report_url
|
|
6859
|
+
# The URL to view this pentest job's findings report in the console.
|
|
6860
|
+
# @return [String]
|
|
6861
|
+
#
|
|
6608
6862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJobSummary AWS API Documentation
|
|
6609
6863
|
#
|
|
6610
6864
|
class PentestJobSummary < Struct.new(
|
|
@@ -6613,7 +6867,9 @@ module Aws::SecurityAgent
|
|
|
6613
6867
|
:title,
|
|
6614
6868
|
:status,
|
|
6615
6869
|
:created_at,
|
|
6616
|
-
:updated_at
|
|
6870
|
+
:updated_at,
|
|
6871
|
+
:job_type,
|
|
6872
|
+
:report_url)
|
|
6617
6873
|
SENSITIVE = []
|
|
6618
6874
|
include Aws::Structure
|
|
6619
6875
|
end
|
|
@@ -6770,6 +7026,15 @@ module Aws::SecurityAgent
|
|
|
6770
7026
|
# The configuration for a Confluence integration.
|
|
6771
7027
|
# @return [Types::ConfluenceIntegrationInput]
|
|
6772
7028
|
#
|
|
7029
|
+
# @!attribute [rw] azure_dev_ops
|
|
7030
|
+
# The Azure DevOps-specific input for creating an integration.
|
|
7031
|
+
# @return [Types::AzureDevOpsIntegrationInput]
|
|
7032
|
+
#
|
|
7033
|
+
# @!attribute [rw] bitbucket_data_center
|
|
7034
|
+
# The Bitbucket Data Center-specific input for creating an
|
|
7035
|
+
# integration.
|
|
7036
|
+
# @return [Types::BitbucketDataCenterIntegrationInput]
|
|
7037
|
+
#
|
|
6773
7038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderInput AWS API Documentation
|
|
6774
7039
|
#
|
|
6775
7040
|
class ProviderInput < Struct.new(
|
|
@@ -6777,6 +7042,8 @@ module Aws::SecurityAgent
|
|
|
6777
7042
|
:gitlab,
|
|
6778
7043
|
:bitbucket,
|
|
6779
7044
|
:confluence,
|
|
7045
|
+
:azure_dev_ops,
|
|
7046
|
+
:bitbucket_data_center,
|
|
6780
7047
|
:unknown)
|
|
6781
7048
|
SENSITIVE = []
|
|
6782
7049
|
include Aws::Structure
|
|
@@ -6786,6 +7053,8 @@ module Aws::SecurityAgent
|
|
|
6786
7053
|
class Gitlab < ProviderInput; end
|
|
6787
7054
|
class Bitbucket < ProviderInput; end
|
|
6788
7055
|
class Confluence < ProviderInput; end
|
|
7056
|
+
class AzureDevOps < ProviderInput; end
|
|
7057
|
+
class BitbucketDataCenter < ProviderInput; end
|
|
6789
7058
|
class Unknown < ProviderInput; end
|
|
6790
7059
|
end
|
|
6791
7060
|
|
|
@@ -6813,6 +7082,10 @@ module Aws::SecurityAgent
|
|
|
6813
7082
|
# Capabilities for an integrated Confluence space.
|
|
6814
7083
|
# @return [Types::ConfluenceResourceCapabilities]
|
|
6815
7084
|
#
|
|
7085
|
+
# @!attribute [rw] azure_dev_ops
|
|
7086
|
+
# The Azure DevOps-specific resource capabilities.
|
|
7087
|
+
# @return [Types::AzureDevOpsResourceCapabilities]
|
|
7088
|
+
#
|
|
6816
7089
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderResourceCapabilities AWS API Documentation
|
|
6817
7090
|
#
|
|
6818
7091
|
class ProviderResourceCapabilities < Struct.new(
|
|
@@ -6820,6 +7093,7 @@ module Aws::SecurityAgent
|
|
|
6820
7093
|
:gitlab,
|
|
6821
7094
|
:bitbucket,
|
|
6822
7095
|
:confluence,
|
|
7096
|
+
:azure_dev_ops,
|
|
6823
7097
|
:unknown)
|
|
6824
7098
|
SENSITIVE = []
|
|
6825
7099
|
include Aws::Structure
|
|
@@ -6829,6 +7103,7 @@ module Aws::SecurityAgent
|
|
|
6829
7103
|
class Gitlab < ProviderResourceCapabilities; end
|
|
6830
7104
|
class Bitbucket < ProviderResourceCapabilities; end
|
|
6831
7105
|
class Confluence < ProviderResourceCapabilities; end
|
|
7106
|
+
class AzureDevOps < ProviderResourceCapabilities; end
|
|
6832
7107
|
class Unknown < ProviderResourceCapabilities; end
|
|
6833
7108
|
end
|
|
6834
7109
|
|
|
@@ -6930,6 +7205,66 @@ module Aws::SecurityAgent
|
|
|
6930
7205
|
include Aws::Structure
|
|
6931
7206
|
end
|
|
6932
7207
|
|
|
7208
|
+
# A code change in a CI/CD pipeline run that defines what a CI/CD
|
|
7209
|
+
# pentest job tests. Each scope change identifies an integrated
|
|
7210
|
+
# repository and the commit range for the change.
|
|
7211
|
+
#
|
|
7212
|
+
# @!attribute [rw] integration_id
|
|
7213
|
+
# The identifier of the integration for the source-code provider that
|
|
7214
|
+
# hosts the repository.
|
|
7215
|
+
# @return [String]
|
|
7216
|
+
#
|
|
7217
|
+
# @!attribute [rw] provider_resource_id
|
|
7218
|
+
# The provider-specific identifier of the repository the change
|
|
7219
|
+
# belongs to.
|
|
7220
|
+
# @return [String]
|
|
7221
|
+
#
|
|
7222
|
+
# @!attribute [rw] base_commit_sha
|
|
7223
|
+
# The commit SHA that the change is compared against. When omitted,
|
|
7224
|
+
# the change is evaluated against the head commit alone.
|
|
7225
|
+
# @return [String]
|
|
7226
|
+
#
|
|
7227
|
+
# @!attribute [rw] head_commit_sha
|
|
7228
|
+
# The commit SHA at the tip of the change to be tested.
|
|
7229
|
+
# @return [String]
|
|
7230
|
+
#
|
|
7231
|
+
# @!attribute [rw] trigger_run_id
|
|
7232
|
+
# The identifier of the CI/CD pipeline run that triggered this pentest
|
|
7233
|
+
# job.
|
|
7234
|
+
# @return [String]
|
|
7235
|
+
#
|
|
7236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ScopeChange AWS API Documentation
|
|
7237
|
+
#
|
|
7238
|
+
class ScopeChange < Struct.new(
|
|
7239
|
+
:integration_id,
|
|
7240
|
+
:provider_resource_id,
|
|
7241
|
+
:base_commit_sha,
|
|
7242
|
+
:head_commit_sha,
|
|
7243
|
+
:trigger_run_id)
|
|
7244
|
+
SENSITIVE = []
|
|
7245
|
+
include Aws::Structure
|
|
7246
|
+
end
|
|
7247
|
+
|
|
7248
|
+
# The outcome of scoping a CI/CD pentest job's code changes, including
|
|
7249
|
+
# the decision and the reason for it.
|
|
7250
|
+
#
|
|
7251
|
+
# @!attribute [rw] decision
|
|
7252
|
+
# The scoping decision for the job's code changes.
|
|
7253
|
+
# @return [String]
|
|
7254
|
+
#
|
|
7255
|
+
# @!attribute [rw] reason
|
|
7256
|
+
# A human-readable explanation of the scoping decision.
|
|
7257
|
+
# @return [String]
|
|
7258
|
+
#
|
|
7259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ScopeResult AWS API Documentation
|
|
7260
|
+
#
|
|
7261
|
+
class ScopeResult < Struct.new(
|
|
7262
|
+
:decision,
|
|
7263
|
+
:reason)
|
|
7264
|
+
SENSITIVE = []
|
|
7265
|
+
include Aws::Structure
|
|
7266
|
+
end
|
|
7267
|
+
|
|
6933
7268
|
# A document used as source material for importing security
|
|
6934
7269
|
# requirements.
|
|
6935
7270
|
#
|
|
@@ -7267,9 +7602,10 @@ module Aws::SecurityAgent
|
|
|
7267
7602
|
# @return [String]
|
|
7268
7603
|
#
|
|
7269
7604
|
# @!attribute [rw] job_type
|
|
7270
|
-
# The type of pentest job to start. Valid values are FULL
|
|
7271
|
-
# REVALIDATION. When set to REVALIDATION, the
|
|
7272
|
-
# parameter is required.
|
|
7605
|
+
# The type of pentest job to start. Valid values are FULL,
|
|
7606
|
+
# REVALIDATION, and CICD. When set to REVALIDATION, the
|
|
7607
|
+
# selectedFindingIds parameter is required. When set to CICD, the
|
|
7608
|
+
# scopeChanges parameter defines the code changes to test.
|
|
7273
7609
|
# @return [String]
|
|
7274
7610
|
#
|
|
7275
7611
|
# @!attribute [rw] selected_finding_ids
|
|
@@ -7278,13 +7614,20 @@ module Aws::SecurityAgent
|
|
|
7278
7614
|
# and pentest.
|
|
7279
7615
|
# @return [Array<String>]
|
|
7280
7616
|
#
|
|
7617
|
+
# @!attribute [rw] scope_changes
|
|
7618
|
+
# The code changes that define the scope of a CI/CD pentest job.
|
|
7619
|
+
# Provide this when starting a job with jobType CICD to test only the
|
|
7620
|
+
# changes in the current pipeline run.
|
|
7621
|
+
# @return [Array<Types::ScopeChange>]
|
|
7622
|
+
#
|
|
7281
7623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobInput AWS API Documentation
|
|
7282
7624
|
#
|
|
7283
7625
|
class StartPentestJobInput < Struct.new(
|
|
7284
7626
|
:agent_space_id,
|
|
7285
7627
|
:pentest_id,
|
|
7286
7628
|
:job_type,
|
|
7287
|
-
:selected_finding_ids
|
|
7629
|
+
:selected_finding_ids,
|
|
7630
|
+
:scope_changes)
|
|
7288
7631
|
SENSITIVE = []
|
|
7289
7632
|
include Aws::Structure
|
|
7290
7633
|
end
|
|
@@ -8748,6 +9091,52 @@ module Aws::SecurityAgent
|
|
|
8748
9091
|
#
|
|
8749
9092
|
class UpdateIntegratedResourcesOutput < Aws::EmptyStructure; end
|
|
8750
9093
|
|
|
9094
|
+
# Input for creating or rotating an integration's webhook.
|
|
9095
|
+
#
|
|
9096
|
+
# @!attribute [rw] integration_id
|
|
9097
|
+
# The ID of the integration whose webhook you want to create or
|
|
9098
|
+
# rotate.
|
|
9099
|
+
# @return [String]
|
|
9100
|
+
#
|
|
9101
|
+
# @!attribute [rw] webhook_action
|
|
9102
|
+
# The action to perform on the integration's webhook.
|
|
9103
|
+
# @return [String]
|
|
9104
|
+
#
|
|
9105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationInput AWS API Documentation
|
|
9106
|
+
#
|
|
9107
|
+
class UpdateIntegrationInput < Struct.new(
|
|
9108
|
+
:integration_id,
|
|
9109
|
+
:webhook_action)
|
|
9110
|
+
SENSITIVE = []
|
|
9111
|
+
include Aws::Structure
|
|
9112
|
+
end
|
|
9113
|
+
|
|
9114
|
+
# Output for the UpdateIntegration operation.
|
|
9115
|
+
#
|
|
9116
|
+
# @!attribute [rw] integration_id
|
|
9117
|
+
# The ID of the integration.
|
|
9118
|
+
# @return [String]
|
|
9119
|
+
#
|
|
9120
|
+
# @!attribute [rw] webhook_url
|
|
9121
|
+
# The payload URL to configure on your provider instance. Returned
|
|
9122
|
+
# when a webhook is created; unchanged by a rotate.
|
|
9123
|
+
# @return [String]
|
|
9124
|
+
#
|
|
9125
|
+
# @!attribute [rw] secret
|
|
9126
|
+
# The HMAC signing secret for the webhook. Returned only once, in this
|
|
9127
|
+
# response; it is never returned again.
|
|
9128
|
+
# @return [String]
|
|
9129
|
+
#
|
|
9130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegrationOutput AWS API Documentation
|
|
9131
|
+
#
|
|
9132
|
+
class UpdateIntegrationOutput < Struct.new(
|
|
9133
|
+
:integration_id,
|
|
9134
|
+
:webhook_url,
|
|
9135
|
+
:secret)
|
|
9136
|
+
SENSITIVE = [:secret]
|
|
9137
|
+
include Aws::Structure
|
|
9138
|
+
end
|
|
9139
|
+
|
|
8751
9140
|
# Input for updating an existing pentest.
|
|
8752
9141
|
#
|
|
8753
9142
|
# @!attribute [rw] pentest_id
|
|
@@ -8810,6 +9199,10 @@ module Aws::SecurityAgent
|
|
|
8810
9199
|
# The report-generation filters applied when the report is exported.
|
|
8811
9200
|
# @return [Types::ReportFilters]
|
|
8812
9201
|
#
|
|
9202
|
+
# @!attribute [rw] cicd_configuration
|
|
9203
|
+
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
9204
|
+
# @return [Types::CiCdConfiguration]
|
|
9205
|
+
#
|
|
8813
9206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
|
|
8814
9207
|
#
|
|
8815
9208
|
class UpdatePentestInput < Struct.new(
|
|
@@ -8826,7 +9219,8 @@ module Aws::SecurityAgent
|
|
|
8826
9219
|
:disable_managed_skills,
|
|
8827
9220
|
:max_task_hours,
|
|
8828
9221
|
:report_destination,
|
|
8829
|
-
:report_filters
|
|
9222
|
+
:report_filters,
|
|
9223
|
+
:cicd_configuration)
|
|
8830
9224
|
SENSITIVE = []
|
|
8831
9225
|
include Aws::Structure
|
|
8832
9226
|
end
|
|
@@ -8878,6 +9272,10 @@ module Aws::SecurityAgent
|
|
|
8878
9272
|
# The report-generation filters applied when the report is exported.
|
|
8879
9273
|
# @return [Types::ReportFilters]
|
|
8880
9274
|
#
|
|
9275
|
+
# @!attribute [rw] cicd_configuration
|
|
9276
|
+
# The CI/CD pentesting configuration applied to the pentest.
|
|
9277
|
+
# @return [Types::CiCdConfiguration]
|
|
9278
|
+
#
|
|
8881
9279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestOutput AWS API Documentation
|
|
8882
9280
|
#
|
|
8883
9281
|
class UpdatePentestOutput < Struct.new(
|
|
@@ -8891,7 +9289,8 @@ module Aws::SecurityAgent
|
|
|
8891
9289
|
:log_config,
|
|
8892
9290
|
:agent_space_id,
|
|
8893
9291
|
:report_destination,
|
|
8894
|
-
:report_filters
|
|
9292
|
+
:report_filters,
|
|
9293
|
+
:cicd_configuration)
|
|
8895
9294
|
SENSITIVE = []
|
|
8896
9295
|
include Aws::Structure
|
|
8897
9296
|
end
|