aws-sdk-securityagent 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +56 -6
- data/lib/aws-sdk-securityagent/client_api.rb +34 -0
- data/lib/aws-sdk-securityagent/types.rb +161 -11
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +23 -5
- data/sig/types.rbs +35 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5921d64f45ea422622f10d7df3c3328d92b4a338859a55594aaef480b825665
|
|
4
|
+
data.tar.gz: 16cd0b76519d1ec78b4f106498099b428d94415a609a68d9e42701ee598e859f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d0b9ad3ceb3e8d3d0226a374be1b7de27da0e6973191f1e329e5a82becec35d8d1f5345957b4a9a6abc6e8527a0062b814c544a87fdf22ad941590852cec70a
|
|
7
|
+
data.tar.gz: af694a09301c5fd7d23dae1110a056c0a37f02952b8eabdc7a7f2e0ece0a0588cf87fdbe7f4010aa9ef9988ac2d160c02f5d54c45846a19c90310923c036b429
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2026-09-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Run automated penetration tests directly from your CI-CD pipeline to scan code changes before they ship, gating deployments on the findings
|
|
8
|
+
|
|
4
9
|
1.17.0 (2026-09-25)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -702,6 +702,7 @@ module Aws::SecurityAgent
|
|
|
702
702
|
# resp.deleted[0].report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
703
703
|
# resp.deleted[0].report_filters.annotation_notes #=> Boolean
|
|
704
704
|
# resp.deleted[0].report_filters.compliance_report #=> Boolean
|
|
705
|
+
# resp.deleted[0].cicd_configuration.enabled #=> Boolean
|
|
705
706
|
# resp.deleted[0].created_at #=> Time
|
|
706
707
|
# resp.deleted[0].updated_at #=> Time
|
|
707
708
|
# resp.failed #=> Array
|
|
@@ -1330,13 +1331,23 @@ module Aws::SecurityAgent
|
|
|
1330
1331
|
# resp.pentest_jobs[0].disable_managed_skills #=> Array
|
|
1331
1332
|
# resp.pentest_jobs[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
|
|
1332
1333
|
# resp.pentest_jobs[0].max_task_hours #=> Float
|
|
1333
|
-
# resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION"
|
|
1334
|
+
# resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
|
|
1334
1335
|
# resp.pentest_jobs[0].selected_finding_ids #=> Array
|
|
1335
1336
|
# resp.pentest_jobs[0].selected_finding_ids[0] #=> String
|
|
1336
1337
|
# resp.pentest_jobs[0].report_destination.integration_id #=> String
|
|
1337
1338
|
# resp.pentest_jobs[0].report_destination.container_id #=> String
|
|
1338
1339
|
# resp.pentest_jobs[0].report_destination.parent_id #=> String
|
|
1339
1340
|
# resp.pentest_jobs[0].report_destination.document_id #=> String
|
|
1341
|
+
# resp.pentest_jobs[0].report_url #=> String
|
|
1342
|
+
# resp.pentest_jobs[0].scope_result.decision #=> String, one of "IN_SCOPE", "SCOPED_OUT", "SCOPE_CONFLICT"
|
|
1343
|
+
# resp.pentest_jobs[0].scope_result.reason #=> String
|
|
1344
|
+
# resp.pentest_jobs[0].scope_changes #=> Array
|
|
1345
|
+
# resp.pentest_jobs[0].scope_changes[0].integration_id #=> String
|
|
1346
|
+
# resp.pentest_jobs[0].scope_changes[0].provider_resource_id #=> String
|
|
1347
|
+
# resp.pentest_jobs[0].scope_changes[0].base_commit_sha #=> String
|
|
1348
|
+
# resp.pentest_jobs[0].scope_changes[0].head_commit_sha #=> String
|
|
1349
|
+
# resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
|
|
1350
|
+
# resp.pentest_jobs[0].cicd_configuration.enabled #=> Boolean
|
|
1340
1351
|
# resp.pentest_jobs[0].created_at #=> Time
|
|
1341
1352
|
# resp.pentest_jobs[0].updated_at #=> Time
|
|
1342
1353
|
# resp.not_found #=> Array
|
|
@@ -1443,6 +1454,7 @@ module Aws::SecurityAgent
|
|
|
1443
1454
|
# resp.pentests[0].report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
1444
1455
|
# resp.pentests[0].report_filters.annotation_notes #=> Boolean
|
|
1445
1456
|
# resp.pentests[0].report_filters.compliance_report #=> Boolean
|
|
1457
|
+
# resp.pentests[0].cicd_configuration.enabled #=> Boolean
|
|
1446
1458
|
# resp.pentests[0].created_at #=> Time
|
|
1447
1459
|
# resp.pentests[0].updated_at #=> Time
|
|
1448
1460
|
# resp.not_found #=> Array
|
|
@@ -2385,6 +2397,9 @@ module Aws::SecurityAgent
|
|
|
2385
2397
|
# @option params [Types::ReportFilters] :report_filters
|
|
2386
2398
|
# The report-generation filters applied when the report is exported.
|
|
2387
2399
|
#
|
|
2400
|
+
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
2401
|
+
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2402
|
+
#
|
|
2388
2403
|
# @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2389
2404
|
#
|
|
2390
2405
|
# * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -2398,6 +2413,7 @@ module Aws::SecurityAgent
|
|
|
2398
2413
|
# * {Types::CreatePentestOutput#agent_space_id #agent_space_id} => String
|
|
2399
2414
|
# * {Types::CreatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
2400
2415
|
# * {Types::CreatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
2416
|
+
# * {Types::CreatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
2401
2417
|
#
|
|
2402
2418
|
# @example Request syntax with placeholder values
|
|
2403
2419
|
#
|
|
@@ -2500,6 +2516,9 @@ module Aws::SecurityAgent
|
|
|
2500
2516
|
# annotation_notes: false,
|
|
2501
2517
|
# compliance_report: false,
|
|
2502
2518
|
# },
|
|
2519
|
+
# cicd_configuration: {
|
|
2520
|
+
# enabled: false,
|
|
2521
|
+
# },
|
|
2503
2522
|
# })
|
|
2504
2523
|
#
|
|
2505
2524
|
# @example Response structure
|
|
@@ -2558,6 +2577,7 @@ module Aws::SecurityAgent
|
|
|
2558
2577
|
# resp.report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
2559
2578
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
2560
2579
|
# resp.report_filters.compliance_report #=> Boolean
|
|
2580
|
+
# resp.cicd_configuration.enabled #=> Boolean
|
|
2561
2581
|
#
|
|
2562
2582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentest AWS API Documentation
|
|
2563
2583
|
#
|
|
@@ -4397,6 +4417,10 @@ module Aws::SecurityAgent
|
|
|
4397
4417
|
# request. For subsequent calls, use the nextToken value returned from
|
|
4398
4418
|
# the previous request.
|
|
4399
4419
|
#
|
|
4420
|
+
# @option params [String] :job_type
|
|
4421
|
+
# Filters the returned pentest jobs to only those of the specified job
|
|
4422
|
+
# type.
|
|
4423
|
+
#
|
|
4400
4424
|
# @return [Types::ListPentestJobsForPentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4401
4425
|
#
|
|
4402
4426
|
# * {Types::ListPentestJobsForPentestOutput#pentest_job_summaries #pentest_job_summaries} => Array<Types::PentestJobSummary>
|
|
@@ -4411,6 +4435,7 @@ module Aws::SecurityAgent
|
|
|
4411
4435
|
# pentest_id: "String", # required
|
|
4412
4436
|
# agent_space_id: "String", # required
|
|
4413
4437
|
# next_token: "NextToken",
|
|
4438
|
+
# job_type: "FULL", # accepts FULL, REVALIDATION, CICD
|
|
4414
4439
|
# })
|
|
4415
4440
|
#
|
|
4416
4441
|
# @example Response structure
|
|
@@ -4422,6 +4447,8 @@ module Aws::SecurityAgent
|
|
|
4422
4447
|
# resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
|
|
4423
4448
|
# resp.pentest_job_summaries[0].created_at #=> Time
|
|
4424
4449
|
# resp.pentest_job_summaries[0].updated_at #=> Time
|
|
4450
|
+
# resp.pentest_job_summaries[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
|
|
4451
|
+
# resp.pentest_job_summaries[0].report_url #=> String
|
|
4425
4452
|
# resp.next_token #=> String
|
|
4426
4453
|
#
|
|
4427
4454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentest AWS API Documentation
|
|
@@ -5013,15 +5040,21 @@ module Aws::SecurityAgent
|
|
|
5013
5040
|
# The unique identifier of the pentest to start a job for.
|
|
5014
5041
|
#
|
|
5015
5042
|
# @option params [String] :job_type
|
|
5016
|
-
# The type of pentest job to start. Valid values are FULL
|
|
5017
|
-
#
|
|
5018
|
-
#
|
|
5043
|
+
# The type of pentest job to start. Valid values are FULL, REVALIDATION,
|
|
5044
|
+
# and CICD. When set to REVALIDATION, the selectedFindingIds parameter
|
|
5045
|
+
# is required. When set to CICD, the scopeChanges parameter defines the
|
|
5046
|
+
# code changes to test.
|
|
5019
5047
|
#
|
|
5020
5048
|
# @option params [Array<String>] :selected_finding_ids
|
|
5021
5049
|
# The list of finding identifiers to revalidate. Required when jobType
|
|
5022
5050
|
# is REVALIDATION. Each finding must belong to the same agent space and
|
|
5023
5051
|
# pentest.
|
|
5024
5052
|
#
|
|
5053
|
+
# @option params [Array<Types::ScopeChange>] :scope_changes
|
|
5054
|
+
# The code changes that define the scope of a CI/CD pentest job. Provide
|
|
5055
|
+
# this when starting a job with jobType CICD to test only the changes in
|
|
5056
|
+
# the current pipeline run.
|
|
5057
|
+
#
|
|
5025
5058
|
# @return [Types::StartPentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5026
5059
|
#
|
|
5027
5060
|
# * {Types::StartPentestJobOutput#title #title} => String
|
|
@@ -5037,8 +5070,17 @@ module Aws::SecurityAgent
|
|
|
5037
5070
|
# resp = client.start_pentest_job({
|
|
5038
5071
|
# agent_space_id: "String", # required
|
|
5039
5072
|
# pentest_id: "String", # required
|
|
5040
|
-
# job_type: "FULL", # accepts FULL, REVALIDATION
|
|
5073
|
+
# job_type: "FULL", # accepts FULL, REVALIDATION, CICD
|
|
5041
5074
|
# selected_finding_ids: ["String"],
|
|
5075
|
+
# scope_changes: [
|
|
5076
|
+
# {
|
|
5077
|
+
# integration_id: "String", # required
|
|
5078
|
+
# provider_resource_id: "String", # required
|
|
5079
|
+
# base_commit_sha: "String",
|
|
5080
|
+
# head_commit_sha: "String", # required
|
|
5081
|
+
# trigger_run_id: "String",
|
|
5082
|
+
# },
|
|
5083
|
+
# ],
|
|
5042
5084
|
# })
|
|
5043
5085
|
#
|
|
5044
5086
|
# @example Response structure
|
|
@@ -5762,6 +5804,9 @@ module Aws::SecurityAgent
|
|
|
5762
5804
|
# @option params [Types::ReportFilters] :report_filters
|
|
5763
5805
|
# The report-generation filters applied when the report is exported.
|
|
5764
5806
|
#
|
|
5807
|
+
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
5808
|
+
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
5809
|
+
#
|
|
5765
5810
|
# @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5766
5811
|
#
|
|
5767
5812
|
# * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -5775,6 +5820,7 @@ module Aws::SecurityAgent
|
|
|
5775
5820
|
# * {Types::UpdatePentestOutput#agent_space_id #agent_space_id} => String
|
|
5776
5821
|
# * {Types::UpdatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
5777
5822
|
# * {Types::UpdatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
5823
|
+
# * {Types::UpdatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
5778
5824
|
#
|
|
5779
5825
|
# @example Request syntax with placeholder values
|
|
5780
5826
|
#
|
|
@@ -5878,6 +5924,9 @@ module Aws::SecurityAgent
|
|
|
5878
5924
|
# annotation_notes: false,
|
|
5879
5925
|
# compliance_report: false,
|
|
5880
5926
|
# },
|
|
5927
|
+
# cicd_configuration: {
|
|
5928
|
+
# enabled: false,
|
|
5929
|
+
# },
|
|
5881
5930
|
# })
|
|
5882
5931
|
#
|
|
5883
5932
|
# @example Response structure
|
|
@@ -5936,6 +5985,7 @@ module Aws::SecurityAgent
|
|
|
5936
5985
|
# resp.report_filters.task_statuses[0] #=> String, one of "IN_PROGRESS", "ABORTED", "COMPLETED", "INTERNAL_ERROR", "FAILED"
|
|
5937
5986
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
5938
5987
|
# resp.report_filters.compliance_report #=> Boolean
|
|
5988
|
+
# resp.cicd_configuration.enabled #=> Boolean
|
|
5939
5989
|
#
|
|
5940
5990
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentest AWS API Documentation
|
|
5941
5991
|
#
|
|
@@ -6484,7 +6534,7 @@ module Aws::SecurityAgent
|
|
|
6484
6534
|
tracer: tracer
|
|
6485
6535
|
)
|
|
6486
6536
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6487
|
-
context[:gem_version] = '1.
|
|
6537
|
+
context[:gem_version] = '1.18.0'
|
|
6488
6538
|
Seahorse::Client::Request.new(handlers, context)
|
|
6489
6539
|
end
|
|
6490
6540
|
|
|
@@ -108,6 +108,7 @@ module Aws::SecurityAgent
|
|
|
108
108
|
Category = Shapes::StructureShape.new(name: 'Category')
|
|
109
109
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
|
110
110
|
CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
|
|
111
|
+
CiCdConfiguration = Shapes::StructureShape.new(name: 'CiCdConfiguration')
|
|
111
112
|
CleanUpStrategy = Shapes::StringShape.new(name: 'CleanUpStrategy')
|
|
112
113
|
CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
|
|
113
114
|
CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
|
|
@@ -383,6 +384,10 @@ module Aws::SecurityAgent
|
|
|
383
384
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
384
385
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
|
385
386
|
S3BucketArns = Shapes::ListShape.new(name: 'S3BucketArns')
|
|
387
|
+
ScopeChange = Shapes::StructureShape.new(name: 'ScopeChange')
|
|
388
|
+
ScopeChangeList = Shapes::ListShape.new(name: 'ScopeChangeList')
|
|
389
|
+
ScopeDecision = Shapes::StringShape.new(name: 'ScopeDecision')
|
|
390
|
+
ScopeResult = Shapes::StructureShape.new(name: 'ScopeResult')
|
|
386
391
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
387
392
|
SecretArns = Shapes::ListShape.new(name: 'SecretArns')
|
|
388
393
|
SecurityGroupArn = Shapes::StringShape.new(name: 'SecurityGroupArn')
|
|
@@ -868,6 +873,9 @@ module Aws::SecurityAgent
|
|
|
868
873
|
|
|
869
874
|
CategoryList.member = Shapes::ShapeRef.new(shape: Category)
|
|
870
875
|
|
|
876
|
+
CiCdConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
|
877
|
+
CiCdConfiguration.struct_class = Types::CiCdConfiguration
|
|
878
|
+
|
|
871
879
|
CloudWatchLog.add_member(:log_group, Shapes::ShapeRef.new(shape: String, location_name: "logGroup"))
|
|
872
880
|
CloudWatchLog.add_member(:log_stream, Shapes::ShapeRef.new(shape: String, location_name: "logStream"))
|
|
873
881
|
CloudWatchLog.struct_class = Types::CloudWatchLog
|
|
@@ -1107,6 +1115,7 @@ module Aws::SecurityAgent
|
|
|
1107
1115
|
CreatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1108
1116
|
CreatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1109
1117
|
CreatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1118
|
+
CreatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1110
1119
|
CreatePentestInput.struct_class = Types::CreatePentestInput
|
|
1111
1120
|
|
|
1112
1121
|
CreatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -1120,6 +1129,7 @@ module Aws::SecurityAgent
|
|
|
1120
1129
|
CreatePentestOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
1121
1130
|
CreatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1122
1131
|
CreatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1132
|
+
CreatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1123
1133
|
CreatePentestOutput.struct_class = Types::CreatePentestOutput
|
|
1124
1134
|
|
|
1125
1135
|
CreatePrivateConnectionInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -1767,6 +1777,7 @@ module Aws::SecurityAgent
|
|
|
1767
1777
|
ListPentestJobsForPentestInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
1768
1778
|
ListPentestJobsForPentestInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
1769
1779
|
ListPentestJobsForPentestInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1780
|
+
ListPentestJobsForPentestInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1770
1781
|
ListPentestJobsForPentestInput.struct_class = Types::ListPentestJobsForPentestInput
|
|
1771
1782
|
|
|
1772
1783
|
ListPentestJobsForPentestOutput.add_member(:pentest_job_summaries, Shapes::ShapeRef.new(shape: PentestJobSummaryList, location_name: "pentestJobSummaries"))
|
|
@@ -1923,6 +1934,7 @@ module Aws::SecurityAgent
|
|
|
1923
1934
|
Pentest.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1924
1935
|
Pentest.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1925
1936
|
Pentest.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1937
|
+
Pentest.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1926
1938
|
Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1927
1939
|
Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1928
1940
|
Pentest.struct_class = Types::Pentest
|
|
@@ -1957,6 +1969,10 @@ module Aws::SecurityAgent
|
|
|
1957
1969
|
PentestJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1958
1970
|
PentestJob.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
1959
1971
|
PentestJob.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1972
|
+
PentestJob.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
|
|
1973
|
+
PentestJob.add_member(:scope_result, Shapes::ShapeRef.new(shape: ScopeResult, location_name: "scopeResult"))
|
|
1974
|
+
PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
1975
|
+
PentestJob.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1960
1976
|
PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1961
1977
|
PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1962
1978
|
PentestJob.struct_class = Types::PentestJob
|
|
@@ -1971,6 +1987,8 @@ module Aws::SecurityAgent
|
|
|
1971
1987
|
PentestJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
|
|
1972
1988
|
PentestJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1973
1989
|
PentestJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1990
|
+
PentestJobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1991
|
+
PentestJobSummary.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
|
|
1974
1992
|
PentestJobSummary.struct_class = Types::PentestJobSummary
|
|
1975
1993
|
|
|
1976
1994
|
PentestJobSummaryList.member = Shapes::ShapeRef.new(shape: PentestJobSummary)
|
|
@@ -2068,6 +2086,19 @@ module Aws::SecurityAgent
|
|
|
2068
2086
|
|
|
2069
2087
|
S3BucketArns.member = Shapes::ShapeRef.new(shape: S3BucketArn)
|
|
2070
2088
|
|
|
2089
|
+
ScopeChange.add_member(:integration_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "integrationId"))
|
|
2090
|
+
ScopeChange.add_member(:provider_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "providerResourceId"))
|
|
2091
|
+
ScopeChange.add_member(:base_commit_sha, Shapes::ShapeRef.new(shape: String, location_name: "baseCommitSha"))
|
|
2092
|
+
ScopeChange.add_member(:head_commit_sha, Shapes::ShapeRef.new(shape: String, required: true, location_name: "headCommitSha"))
|
|
2093
|
+
ScopeChange.add_member(:trigger_run_id, Shapes::ShapeRef.new(shape: String, location_name: "triggerRunId"))
|
|
2094
|
+
ScopeChange.struct_class = Types::ScopeChange
|
|
2095
|
+
|
|
2096
|
+
ScopeChangeList.member = Shapes::ShapeRef.new(shape: ScopeChange)
|
|
2097
|
+
|
|
2098
|
+
ScopeResult.add_member(:decision, Shapes::ShapeRef.new(shape: ScopeDecision, required: true, location_name: "decision"))
|
|
2099
|
+
ScopeResult.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
|
2100
|
+
ScopeResult.struct_class = Types::ScopeResult
|
|
2101
|
+
|
|
2071
2102
|
SecretArns.member = Shapes::ShapeRef.new(shape: SecretArn)
|
|
2072
2103
|
|
|
2073
2104
|
SecurityGroupArns.member = Shapes::ShapeRef.new(shape: SecurityGroupArn)
|
|
@@ -2153,6 +2184,7 @@ module Aws::SecurityAgent
|
|
|
2153
2184
|
StartPentestJobInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2154
2185
|
StartPentestJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
2155
2186
|
StartPentestJobInput.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
2187
|
+
StartPentestJobInput.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
2156
2188
|
StartPentestJobInput.struct_class = Types::StartPentestJobInput
|
|
2157
2189
|
|
|
2158
2190
|
StartPentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2520,6 +2552,7 @@ module Aws::SecurityAgent
|
|
|
2520
2552
|
UpdatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
2521
2553
|
UpdatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2522
2554
|
UpdatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2555
|
+
UpdatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2523
2556
|
UpdatePentestInput.struct_class = Types::UpdatePentestInput
|
|
2524
2557
|
|
|
2525
2558
|
UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -2533,6 +2566,7 @@ module Aws::SecurityAgent
|
|
|
2533
2566
|
UpdatePentestOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
2534
2567
|
UpdatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2535
2568
|
UpdatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2569
|
+
UpdatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2536
2570
|
UpdatePentestOutput.struct_class = Types::UpdatePentestOutput
|
|
2537
2571
|
|
|
2538
2572
|
UpdatePrivateConnectionCertificateInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -1509,6 +1509,21 @@ module Aws::SecurityAgent
|
|
|
1509
1509
|
include Aws::Structure
|
|
1510
1510
|
end
|
|
1511
1511
|
|
|
1512
|
+
# The configuration that enables a pentest to run as part of a CI/CD
|
|
1513
|
+
# pipeline, scoped to the code changes in each pipeline run.
|
|
1514
|
+
#
|
|
1515
|
+
# @!attribute [rw] enabled
|
|
1516
|
+
# Whether CI/CD pentesting is enabled for this pentest.
|
|
1517
|
+
# @return [Boolean]
|
|
1518
|
+
#
|
|
1519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CiCdConfiguration AWS API Documentation
|
|
1520
|
+
#
|
|
1521
|
+
class CiCdConfiguration < Struct.new(
|
|
1522
|
+
:enabled)
|
|
1523
|
+
SENSITIVE = []
|
|
1524
|
+
include Aws::Structure
|
|
1525
|
+
end
|
|
1526
|
+
|
|
1512
1527
|
# The Amazon CloudWatch Logs configuration for pentest job logging.
|
|
1513
1528
|
#
|
|
1514
1529
|
# @!attribute [rw] log_group
|
|
@@ -2603,6 +2618,10 @@ module Aws::SecurityAgent
|
|
|
2603
2618
|
# The report-generation filters applied when the report is exported.
|
|
2604
2619
|
# @return [Types::ReportFilters]
|
|
2605
2620
|
#
|
|
2621
|
+
# @!attribute [rw] cicd_configuration
|
|
2622
|
+
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2623
|
+
# @return [Types::CiCdConfiguration]
|
|
2624
|
+
#
|
|
2606
2625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
|
|
2607
2626
|
#
|
|
2608
2627
|
class CreatePentestInput < Struct.new(
|
|
@@ -2618,7 +2637,8 @@ module Aws::SecurityAgent
|
|
|
2618
2637
|
:disable_managed_skills,
|
|
2619
2638
|
:max_task_hours,
|
|
2620
2639
|
:report_destination,
|
|
2621
|
-
:report_filters
|
|
2640
|
+
:report_filters,
|
|
2641
|
+
:cicd_configuration)
|
|
2622
2642
|
SENSITIVE = []
|
|
2623
2643
|
include Aws::Structure
|
|
2624
2644
|
end
|
|
@@ -2670,6 +2690,10 @@ module Aws::SecurityAgent
|
|
|
2670
2690
|
# The report-generation filters applied when the report is exported.
|
|
2671
2691
|
# @return [Types::ReportFilters]
|
|
2672
2692
|
#
|
|
2693
|
+
# @!attribute [rw] cicd_configuration
|
|
2694
|
+
# The CI/CD pentesting configuration applied to the pentest.
|
|
2695
|
+
# @return [Types::CiCdConfiguration]
|
|
2696
|
+
#
|
|
2673
2697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestOutput AWS API Documentation
|
|
2674
2698
|
#
|
|
2675
2699
|
class CreatePentestOutput < Struct.new(
|
|
@@ -2683,7 +2707,8 @@ module Aws::SecurityAgent
|
|
|
2683
2707
|
:log_config,
|
|
2684
2708
|
:agent_space_id,
|
|
2685
2709
|
:report_destination,
|
|
2686
|
-
:report_filters
|
|
2710
|
+
:report_filters,
|
|
2711
|
+
:cicd_configuration)
|
|
2687
2712
|
SENSITIVE = []
|
|
2688
2713
|
include Aws::Structure
|
|
2689
2714
|
end
|
|
@@ -5649,13 +5674,19 @@ module Aws::SecurityAgent
|
|
|
5649
5674
|
# the previous request.
|
|
5650
5675
|
# @return [String]
|
|
5651
5676
|
#
|
|
5677
|
+
# @!attribute [rw] job_type
|
|
5678
|
+
# Filters the returned pentest jobs to only those of the specified job
|
|
5679
|
+
# type.
|
|
5680
|
+
# @return [String]
|
|
5681
|
+
#
|
|
5652
5682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentestInput AWS API Documentation
|
|
5653
5683
|
#
|
|
5654
5684
|
class ListPentestJobsForPentestInput < Struct.new(
|
|
5655
5685
|
:max_results,
|
|
5656
5686
|
:pentest_id,
|
|
5657
5687
|
:agent_space_id,
|
|
5658
|
-
:next_token
|
|
5688
|
+
:next_token,
|
|
5689
|
+
:job_type)
|
|
5659
5690
|
SENSITIVE = []
|
|
5660
5691
|
include Aws::Structure
|
|
5661
5692
|
end
|
|
@@ -6379,6 +6410,11 @@ module Aws::SecurityAgent
|
|
|
6379
6410
|
# The report-generation filters applied when the report is exported.
|
|
6380
6411
|
# @return [Types::ReportFilters]
|
|
6381
6412
|
#
|
|
6413
|
+
# @!attribute [rw] cicd_configuration
|
|
6414
|
+
# The CI/CD pentesting configuration for this pentest. Present when
|
|
6415
|
+
# the pentest is set up to run from a CI/CD pipeline.
|
|
6416
|
+
# @return [Types::CiCdConfiguration]
|
|
6417
|
+
#
|
|
6382
6418
|
# @!attribute [rw] created_at
|
|
6383
6419
|
# The date and time the pentest was created, in UTC format.
|
|
6384
6420
|
# @return [Time]
|
|
@@ -6405,6 +6441,7 @@ module Aws::SecurityAgent
|
|
|
6405
6441
|
:max_task_hours,
|
|
6406
6442
|
:report_destination,
|
|
6407
6443
|
:report_filters,
|
|
6444
|
+
:cicd_configuration,
|
|
6408
6445
|
:created_at,
|
|
6409
6446
|
:updated_at)
|
|
6410
6447
|
SENSITIVE = []
|
|
@@ -6521,7 +6558,8 @@ module Aws::SecurityAgent
|
|
|
6521
6558
|
# @return [Float]
|
|
6522
6559
|
#
|
|
6523
6560
|
# @!attribute [rw] job_type
|
|
6524
|
-
# The type of the pentest job. Valid values are FULL
|
|
6561
|
+
# The type of the pentest job. Valid values are FULL, REVALIDATION,
|
|
6562
|
+
# and CICD.
|
|
6525
6563
|
# @return [String]
|
|
6526
6564
|
#
|
|
6527
6565
|
# @!attribute [rw] selected_finding_ids
|
|
@@ -6534,6 +6572,25 @@ module Aws::SecurityAgent
|
|
|
6534
6572
|
# document provider.
|
|
6535
6573
|
# @return [Types::ReportDestination]
|
|
6536
6574
|
#
|
|
6575
|
+
# @!attribute [rw] report_url
|
|
6576
|
+
# The URL to view this pentest job's findings report in the console.
|
|
6577
|
+
# @return [String]
|
|
6578
|
+
#
|
|
6579
|
+
# @!attribute [rw] scope_result
|
|
6580
|
+
# The scoping outcome for this CI/CD pentest job. Present only for
|
|
6581
|
+
# jobs of type CICD.
|
|
6582
|
+
# @return [Types::ScopeResult]
|
|
6583
|
+
#
|
|
6584
|
+
# @!attribute [rw] scope_changes
|
|
6585
|
+
# The code changes that defined the scope of this CI/CD pentest job.
|
|
6586
|
+
# Present only for jobs of type CICD.
|
|
6587
|
+
# @return [Array<Types::ScopeChange>]
|
|
6588
|
+
#
|
|
6589
|
+
# @!attribute [rw] cicd_configuration
|
|
6590
|
+
# The configuration that enables a pentest to run as part of a CI/CD
|
|
6591
|
+
# pipeline, scoped to the code changes in each pipeline run.
|
|
6592
|
+
# @return [Types::CiCdConfiguration]
|
|
6593
|
+
#
|
|
6537
6594
|
# @!attribute [rw] created_at
|
|
6538
6595
|
# The date and time the pentest job was created, in UTC format.
|
|
6539
6596
|
# @return [Time]
|
|
@@ -6573,6 +6630,10 @@ module Aws::SecurityAgent
|
|
|
6573
6630
|
:job_type,
|
|
6574
6631
|
:selected_finding_ids,
|
|
6575
6632
|
:report_destination,
|
|
6633
|
+
:report_url,
|
|
6634
|
+
:scope_result,
|
|
6635
|
+
:scope_changes,
|
|
6636
|
+
:cicd_configuration,
|
|
6576
6637
|
:created_at,
|
|
6577
6638
|
:updated_at)
|
|
6578
6639
|
SENSITIVE = [:trusted_ca_certificates]
|
|
@@ -6605,6 +6666,15 @@ module Aws::SecurityAgent
|
|
|
6605
6666
|
# The date and time the pentest job was last updated, in UTC format.
|
|
6606
6667
|
# @return [Time]
|
|
6607
6668
|
#
|
|
6669
|
+
# @!attribute [rw] job_type
|
|
6670
|
+
# The type of the pentest job. Valid values are FULL, REVALIDATION,
|
|
6671
|
+
# and CICD.
|
|
6672
|
+
# @return [String]
|
|
6673
|
+
#
|
|
6674
|
+
# @!attribute [rw] report_url
|
|
6675
|
+
# The URL to view this pentest job's findings report in the console.
|
|
6676
|
+
# @return [String]
|
|
6677
|
+
#
|
|
6608
6678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJobSummary AWS API Documentation
|
|
6609
6679
|
#
|
|
6610
6680
|
class PentestJobSummary < Struct.new(
|
|
@@ -6613,7 +6683,9 @@ module Aws::SecurityAgent
|
|
|
6613
6683
|
:title,
|
|
6614
6684
|
:status,
|
|
6615
6685
|
:created_at,
|
|
6616
|
-
:updated_at
|
|
6686
|
+
:updated_at,
|
|
6687
|
+
:job_type,
|
|
6688
|
+
:report_url)
|
|
6617
6689
|
SENSITIVE = []
|
|
6618
6690
|
include Aws::Structure
|
|
6619
6691
|
end
|
|
@@ -6930,6 +7002,66 @@ module Aws::SecurityAgent
|
|
|
6930
7002
|
include Aws::Structure
|
|
6931
7003
|
end
|
|
6932
7004
|
|
|
7005
|
+
# A code change in a CI/CD pipeline run that defines what a CI/CD
|
|
7006
|
+
# pentest job tests. Each scope change identifies an integrated
|
|
7007
|
+
# repository and the commit range for the change.
|
|
7008
|
+
#
|
|
7009
|
+
# @!attribute [rw] integration_id
|
|
7010
|
+
# The identifier of the integration for the source-code provider that
|
|
7011
|
+
# hosts the repository.
|
|
7012
|
+
# @return [String]
|
|
7013
|
+
#
|
|
7014
|
+
# @!attribute [rw] provider_resource_id
|
|
7015
|
+
# The provider-specific identifier of the repository the change
|
|
7016
|
+
# belongs to.
|
|
7017
|
+
# @return [String]
|
|
7018
|
+
#
|
|
7019
|
+
# @!attribute [rw] base_commit_sha
|
|
7020
|
+
# The commit SHA that the change is compared against. When omitted,
|
|
7021
|
+
# the change is evaluated against the head commit alone.
|
|
7022
|
+
# @return [String]
|
|
7023
|
+
#
|
|
7024
|
+
# @!attribute [rw] head_commit_sha
|
|
7025
|
+
# The commit SHA at the tip of the change to be tested.
|
|
7026
|
+
# @return [String]
|
|
7027
|
+
#
|
|
7028
|
+
# @!attribute [rw] trigger_run_id
|
|
7029
|
+
# The identifier of the CI/CD pipeline run that triggered this pentest
|
|
7030
|
+
# job.
|
|
7031
|
+
# @return [String]
|
|
7032
|
+
#
|
|
7033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ScopeChange AWS API Documentation
|
|
7034
|
+
#
|
|
7035
|
+
class ScopeChange < Struct.new(
|
|
7036
|
+
:integration_id,
|
|
7037
|
+
:provider_resource_id,
|
|
7038
|
+
:base_commit_sha,
|
|
7039
|
+
:head_commit_sha,
|
|
7040
|
+
:trigger_run_id)
|
|
7041
|
+
SENSITIVE = []
|
|
7042
|
+
include Aws::Structure
|
|
7043
|
+
end
|
|
7044
|
+
|
|
7045
|
+
# The outcome of scoping a CI/CD pentest job's code changes, including
|
|
7046
|
+
# the decision and the reason for it.
|
|
7047
|
+
#
|
|
7048
|
+
# @!attribute [rw] decision
|
|
7049
|
+
# The scoping decision for the job's code changes.
|
|
7050
|
+
# @return [String]
|
|
7051
|
+
#
|
|
7052
|
+
# @!attribute [rw] reason
|
|
7053
|
+
# A human-readable explanation of the scoping decision.
|
|
7054
|
+
# @return [String]
|
|
7055
|
+
#
|
|
7056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ScopeResult AWS API Documentation
|
|
7057
|
+
#
|
|
7058
|
+
class ScopeResult < Struct.new(
|
|
7059
|
+
:decision,
|
|
7060
|
+
:reason)
|
|
7061
|
+
SENSITIVE = []
|
|
7062
|
+
include Aws::Structure
|
|
7063
|
+
end
|
|
7064
|
+
|
|
6933
7065
|
# A document used as source material for importing security
|
|
6934
7066
|
# requirements.
|
|
6935
7067
|
#
|
|
@@ -7267,9 +7399,10 @@ module Aws::SecurityAgent
|
|
|
7267
7399
|
# @return [String]
|
|
7268
7400
|
#
|
|
7269
7401
|
# @!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.
|
|
7402
|
+
# The type of pentest job to start. Valid values are FULL,
|
|
7403
|
+
# REVALIDATION, and CICD. When set to REVALIDATION, the
|
|
7404
|
+
# selectedFindingIds parameter is required. When set to CICD, the
|
|
7405
|
+
# scopeChanges parameter defines the code changes to test.
|
|
7273
7406
|
# @return [String]
|
|
7274
7407
|
#
|
|
7275
7408
|
# @!attribute [rw] selected_finding_ids
|
|
@@ -7278,13 +7411,20 @@ module Aws::SecurityAgent
|
|
|
7278
7411
|
# and pentest.
|
|
7279
7412
|
# @return [Array<String>]
|
|
7280
7413
|
#
|
|
7414
|
+
# @!attribute [rw] scope_changes
|
|
7415
|
+
# The code changes that define the scope of a CI/CD pentest job.
|
|
7416
|
+
# Provide this when starting a job with jobType CICD to test only the
|
|
7417
|
+
# changes in the current pipeline run.
|
|
7418
|
+
# @return [Array<Types::ScopeChange>]
|
|
7419
|
+
#
|
|
7281
7420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobInput AWS API Documentation
|
|
7282
7421
|
#
|
|
7283
7422
|
class StartPentestJobInput < Struct.new(
|
|
7284
7423
|
:agent_space_id,
|
|
7285
7424
|
:pentest_id,
|
|
7286
7425
|
:job_type,
|
|
7287
|
-
:selected_finding_ids
|
|
7426
|
+
:selected_finding_ids,
|
|
7427
|
+
:scope_changes)
|
|
7288
7428
|
SENSITIVE = []
|
|
7289
7429
|
include Aws::Structure
|
|
7290
7430
|
end
|
|
@@ -8810,6 +8950,10 @@ module Aws::SecurityAgent
|
|
|
8810
8950
|
# The report-generation filters applied when the report is exported.
|
|
8811
8951
|
# @return [Types::ReportFilters]
|
|
8812
8952
|
#
|
|
8953
|
+
# @!attribute [rw] cicd_configuration
|
|
8954
|
+
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
8955
|
+
# @return [Types::CiCdConfiguration]
|
|
8956
|
+
#
|
|
8813
8957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
|
|
8814
8958
|
#
|
|
8815
8959
|
class UpdatePentestInput < Struct.new(
|
|
@@ -8826,7 +8970,8 @@ module Aws::SecurityAgent
|
|
|
8826
8970
|
:disable_managed_skills,
|
|
8827
8971
|
:max_task_hours,
|
|
8828
8972
|
:report_destination,
|
|
8829
|
-
:report_filters
|
|
8973
|
+
:report_filters,
|
|
8974
|
+
:cicd_configuration)
|
|
8830
8975
|
SENSITIVE = []
|
|
8831
8976
|
include Aws::Structure
|
|
8832
8977
|
end
|
|
@@ -8878,6 +9023,10 @@ module Aws::SecurityAgent
|
|
|
8878
9023
|
# The report-generation filters applied when the report is exported.
|
|
8879
9024
|
# @return [Types::ReportFilters]
|
|
8880
9025
|
#
|
|
9026
|
+
# @!attribute [rw] cicd_configuration
|
|
9027
|
+
# The CI/CD pentesting configuration applied to the pentest.
|
|
9028
|
+
# @return [Types::CiCdConfiguration]
|
|
9029
|
+
#
|
|
8881
9030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestOutput AWS API Documentation
|
|
8882
9031
|
#
|
|
8883
9032
|
class UpdatePentestOutput < Struct.new(
|
|
@@ -8891,7 +9040,8 @@ module Aws::SecurityAgent
|
|
|
8891
9040
|
:log_config,
|
|
8892
9041
|
:agent_space_id,
|
|
8893
9042
|
:report_destination,
|
|
8894
|
-
:report_filters
|
|
9043
|
+
:report_filters,
|
|
9044
|
+
:cicd_configuration)
|
|
8895
9045
|
SENSITIVE = []
|
|
8896
9046
|
include Aws::Structure
|
|
8897
9047
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -506,6 +506,7 @@ module Aws
|
|
|
506
506
|
def agent_space_id: () -> ::String
|
|
507
507
|
def report_destination: () -> Types::ReportDestination
|
|
508
508
|
def report_filters: () -> Types::ReportFilters
|
|
509
|
+
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
509
510
|
end
|
|
510
511
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_pentest-instance_method
|
|
511
512
|
def create_pentest: (
|
|
@@ -533,7 +534,10 @@ module Aws
|
|
|
533
534
|
parent_id: ::String?,
|
|
534
535
|
document_id: ::String?
|
|
535
536
|
},
|
|
536
|
-
?report_filters: Params::report_filters
|
|
537
|
+
?report_filters: Params::report_filters,
|
|
538
|
+
?cicd_configuration: {
|
|
539
|
+
enabled: bool?
|
|
540
|
+
}
|
|
537
541
|
) -> _CreatePentestResponseSuccess
|
|
538
542
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
539
543
|
|
|
@@ -1105,7 +1109,8 @@ module Aws
|
|
|
1105
1109
|
?max_results: ::Integer,
|
|
1106
1110
|
pentest_id: ::String,
|
|
1107
1111
|
agent_space_id: ::String,
|
|
1108
|
-
?next_token: ::String
|
|
1112
|
+
?next_token: ::String,
|
|
1113
|
+
?job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1109
1114
|
) -> _ListPentestJobsForPentestResponseSuccess
|
|
1110
1115
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestJobsForPentestResponseSuccess
|
|
1111
1116
|
|
|
@@ -1286,8 +1291,17 @@ module Aws
|
|
|
1286
1291
|
def start_pentest_job: (
|
|
1287
1292
|
agent_space_id: ::String,
|
|
1288
1293
|
pentest_id: ::String,
|
|
1289
|
-
?job_type: ("FULL" | "REVALIDATION"),
|
|
1290
|
-
?selected_finding_ids: Array[::String]
|
|
1294
|
+
?job_type: ("FULL" | "REVALIDATION" | "CICD"),
|
|
1295
|
+
?selected_finding_ids: Array[::String],
|
|
1296
|
+
?scope_changes: Array[
|
|
1297
|
+
{
|
|
1298
|
+
integration_id: ::String,
|
|
1299
|
+
provider_resource_id: ::String,
|
|
1300
|
+
base_commit_sha: ::String?,
|
|
1301
|
+
head_commit_sha: ::String,
|
|
1302
|
+
trigger_run_id: ::String?
|
|
1303
|
+
}
|
|
1304
|
+
]
|
|
1291
1305
|
) -> _StartPentestJobResponseSuccess
|
|
1292
1306
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
|
|
1293
1307
|
|
|
@@ -1521,6 +1535,7 @@ module Aws
|
|
|
1521
1535
|
def agent_space_id: () -> ::String
|
|
1522
1536
|
def report_destination: () -> Types::ReportDestination
|
|
1523
1537
|
def report_filters: () -> Types::ReportFilters
|
|
1538
|
+
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
1524
1539
|
end
|
|
1525
1540
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_pentest-instance_method
|
|
1526
1541
|
def update_pentest: (
|
|
@@ -1549,7 +1564,10 @@ module Aws
|
|
|
1549
1564
|
parent_id: ::String?,
|
|
1550
1565
|
document_id: ::String?
|
|
1551
1566
|
},
|
|
1552
|
-
?report_filters: Params::report_filters
|
|
1567
|
+
?report_filters: Params::report_filters,
|
|
1568
|
+
?cicd_configuration: {
|
|
1569
|
+
enabled: bool?
|
|
1570
|
+
}
|
|
1553
1571
|
) -> _UpdatePentestResponseSuccess
|
|
1554
1572
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
|
|
1555
1573
|
|
data/sig/types.rbs
CHANGED
|
@@ -451,6 +451,11 @@ module Aws::SecurityAgent
|
|
|
451
451
|
SENSITIVE: []
|
|
452
452
|
end
|
|
453
453
|
|
|
454
|
+
class CiCdConfiguration
|
|
455
|
+
attr_accessor enabled: bool
|
|
456
|
+
SENSITIVE: []
|
|
457
|
+
end
|
|
458
|
+
|
|
454
459
|
class CloudWatchLog
|
|
455
460
|
attr_accessor log_group: ::String
|
|
456
461
|
attr_accessor log_stream: ::String
|
|
@@ -720,6 +725,7 @@ module Aws::SecurityAgent
|
|
|
720
725
|
attr_accessor max_task_hours: ::Float
|
|
721
726
|
attr_accessor report_destination: Types::ReportDestination
|
|
722
727
|
attr_accessor report_filters: Types::ReportFilters
|
|
728
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
723
729
|
SENSITIVE: []
|
|
724
730
|
end
|
|
725
731
|
|
|
@@ -735,6 +741,7 @@ module Aws::SecurityAgent
|
|
|
735
741
|
attr_accessor agent_space_id: ::String
|
|
736
742
|
attr_accessor report_destination: Types::ReportDestination
|
|
737
743
|
attr_accessor report_filters: Types::ReportFilters
|
|
744
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
738
745
|
SENSITIVE: []
|
|
739
746
|
end
|
|
740
747
|
|
|
@@ -1562,6 +1569,7 @@ module Aws::SecurityAgent
|
|
|
1562
1569
|
attr_accessor pentest_id: ::String
|
|
1563
1570
|
attr_accessor agent_space_id: ::String
|
|
1564
1571
|
attr_accessor next_token: ::String
|
|
1572
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1565
1573
|
SENSITIVE: []
|
|
1566
1574
|
end
|
|
1567
1575
|
|
|
@@ -1776,6 +1784,7 @@ module Aws::SecurityAgent
|
|
|
1776
1784
|
attr_accessor max_task_hours: ::Float
|
|
1777
1785
|
attr_accessor report_destination: Types::ReportDestination
|
|
1778
1786
|
attr_accessor report_filters: Types::ReportFilters
|
|
1787
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1779
1788
|
attr_accessor created_at: ::Time
|
|
1780
1789
|
attr_accessor updated_at: ::Time
|
|
1781
1790
|
SENSITIVE: []
|
|
@@ -1807,9 +1816,13 @@ module Aws::SecurityAgent
|
|
|
1807
1816
|
attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
|
|
1808
1817
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
1809
1818
|
attr_accessor max_task_hours: ::Float
|
|
1810
|
-
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
1819
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1811
1820
|
attr_accessor selected_finding_ids: ::Array[::String]
|
|
1812
1821
|
attr_accessor report_destination: Types::ReportDestination
|
|
1822
|
+
attr_accessor report_url: ::String
|
|
1823
|
+
attr_accessor scope_result: Types::ScopeResult
|
|
1824
|
+
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
1825
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1813
1826
|
attr_accessor created_at: ::Time
|
|
1814
1827
|
attr_accessor updated_at: ::Time
|
|
1815
1828
|
SENSITIVE: []
|
|
@@ -1822,6 +1835,8 @@ module Aws::SecurityAgent
|
|
|
1822
1835
|
attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
|
|
1823
1836
|
attr_accessor created_at: ::Time
|
|
1824
1837
|
attr_accessor updated_at: ::Time
|
|
1838
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
1839
|
+
attr_accessor report_url: ::String
|
|
1825
1840
|
SENSITIVE: []
|
|
1826
1841
|
end
|
|
1827
1842
|
|
|
@@ -1928,6 +1943,21 @@ module Aws::SecurityAgent
|
|
|
1928
1943
|
SENSITIVE: []
|
|
1929
1944
|
end
|
|
1930
1945
|
|
|
1946
|
+
class ScopeChange
|
|
1947
|
+
attr_accessor integration_id: ::String
|
|
1948
|
+
attr_accessor provider_resource_id: ::String
|
|
1949
|
+
attr_accessor base_commit_sha: ::String
|
|
1950
|
+
attr_accessor head_commit_sha: ::String
|
|
1951
|
+
attr_accessor trigger_run_id: ::String
|
|
1952
|
+
SENSITIVE: []
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
class ScopeResult
|
|
1956
|
+
attr_accessor decision: ("IN_SCOPE" | "SCOPED_OUT" | "SCOPE_CONFLICT")
|
|
1957
|
+
attr_accessor reason: ::String
|
|
1958
|
+
SENSITIVE: []
|
|
1959
|
+
end
|
|
1960
|
+
|
|
1931
1961
|
class SecurityRequirementArtifact
|
|
1932
1962
|
attr_accessor name: ::String
|
|
1933
1963
|
attr_accessor format: ("MD" | "PDF" | "TXT" | "DOCX" | "DOC")
|
|
@@ -2017,8 +2047,9 @@ module Aws::SecurityAgent
|
|
|
2017
2047
|
class StartPentestJobInput
|
|
2018
2048
|
attr_accessor agent_space_id: ::String
|
|
2019
2049
|
attr_accessor pentest_id: ::String
|
|
2020
|
-
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
2050
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
|
|
2021
2051
|
attr_accessor selected_finding_ids: ::Array[::String]
|
|
2052
|
+
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
2022
2053
|
SENSITIVE: []
|
|
2023
2054
|
end
|
|
2024
2055
|
|
|
@@ -2408,6 +2439,7 @@ module Aws::SecurityAgent
|
|
|
2408
2439
|
attr_accessor max_task_hours: ::Float
|
|
2409
2440
|
attr_accessor report_destination: Types::ReportDestination
|
|
2410
2441
|
attr_accessor report_filters: Types::ReportFilters
|
|
2442
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2411
2443
|
SENSITIVE: []
|
|
2412
2444
|
end
|
|
2413
2445
|
|
|
@@ -2423,6 +2455,7 @@ module Aws::SecurityAgent
|
|
|
2423
2455
|
attr_accessor agent_space_id: ::String
|
|
2424
2456
|
attr_accessor report_destination: Types::ReportDestination
|
|
2425
2457
|
attr_accessor report_filters: Types::ReportFilters
|
|
2458
|
+
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2426
2459
|
SENSITIVE: []
|
|
2427
2460
|
end
|
|
2428
2461
|
|