aws-sdk-securityagent 1.36.0 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 057b41bda90d36a0ce3cd46c71d00a5fb826fd051b214e54c30a17ef04a6fa53
4
- data.tar.gz: 40219dce34ead31ea4cbdc5367e5e72ea03ceaa99d4a007ab46fc4c0a0ff66bf
3
+ metadata.gz: e2b4894a8d7325bf3bea34c314ce7b70ac13ffc73629860b8a9c8b24e0762329
4
+ data.tar.gz: b0a450f98d015bde508f957186c25001fb0d4952917ebbb43e0b55b7250b1080
5
5
  SHA512:
6
- metadata.gz: a4cc540fef21b951792f0fdea2ecce44a4aa5e2cc4f2b84314d0e7dd81ce50b873179182c5e150ed640390b6ab499395fb0c680295a54b8a9c7ccf1ba1271353
7
- data.tar.gz: 1b13ea0a0bb0e4e6a458eb0542a463aee22f51c4358f321fc7df78c28b93e9c077fce0875f1e9267726ee978fa8894f7f86303c36de369f61887e8d92ba079f2
6
+ metadata.gz: dbc939af135d52276cc4d78b2af925a068d13f209d151aa3edb2c9bcf962aa5d556782d045b5d7402516488cbcb694ce105b92ce73f2e719cb95cfc7472d9d2b
7
+ data.tar.gz: 381671fe0cfaee7b9a4cd477e27e0a631dac77d79d4a3437ad9d2d74d2b4479be14ab80fd91045fc635cb9af427a1df1bb44173b21b15358b7f2f334506e4e44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2026-11-19)
5
+ ------------------
6
+
7
+ * Feature - This release exposes additional per-job metadata within code remediation tasks.
8
+
9
+ 1.37.0 (2026-11-18)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for resuming a paused penetration test job from its last saved checkpoint.
13
+
4
14
  1.36.0 (2026-11-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.38.0
@@ -843,7 +843,7 @@ module Aws::SecurityAgent
843
843
  #
844
844
  # resp.errors #=> Array
845
845
  # resp.errors[0].finding_id #=> String
846
- # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
846
+ # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
847
847
  # resp.errors[0].message #=> String
848
848
  #
849
849
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDisassociateFindingIssue AWS API Documentation
@@ -907,7 +907,7 @@ module Aws::SecurityAgent
907
907
  # resp.results[0].linked_issue.site_url #=> String
908
908
  # resp.errors #=> Array
909
909
  # resp.errors[0].finding_id #=> String
910
- # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
910
+ # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
911
911
  # resp.errors[0].message #=> String
912
912
  #
913
913
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindings AWS API Documentation
@@ -1093,7 +1093,7 @@ module Aws::SecurityAgent
1093
1093
  # resp.code_review_jobs[0].code_review_id #=> String
1094
1094
  # resp.code_review_jobs[0].title #=> String
1095
1095
  # resp.code_review_jobs[0].overview #=> String
1096
- # resp.code_review_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1096
+ # resp.code_review_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1097
1097
  # resp.code_review_jobs[0].documents #=> Array
1098
1098
  # resp.code_review_jobs[0].documents[0].s3_location #=> String
1099
1099
  # resp.code_review_jobs[0].documents[0].artifact_id #=> String
@@ -1113,7 +1113,7 @@ module Aws::SecurityAgent
1113
1113
  # resp.code_review_jobs[0].service_role #=> String
1114
1114
  # resp.code_review_jobs[0].log_config.log_group #=> String
1115
1115
  # resp.code_review_jobs[0].log_config.log_stream #=> String
1116
- # resp.code_review_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1116
+ # resp.code_review_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1117
1117
  # resp.code_review_jobs[0].error_information.message #=> String
1118
1118
  # resp.code_review_jobs[0].integrated_repositories #=> Array
1119
1119
  # resp.code_review_jobs[0].integrated_repositories[0].integration_id #=> String
@@ -1284,6 +1284,9 @@ module Aws::SecurityAgent
1284
1284
  # resp.findings[0].code_remediation_task.task_details[0].repo_name #=> String
1285
1285
  # resp.findings[0].code_remediation_task.task_details[0].code_diff_link #=> String
1286
1286
  # resp.findings[0].code_remediation_task.task_details[0].pull_request_link #=> String
1287
+ # resp.findings[0].code_remediation_task.task_details[0].status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED", "NO_CHANGE_REQUIRED", "UNKNOWN"
1288
+ # resp.findings[0].code_remediation_task.task_details[0].status_code #=> String
1289
+ # resp.findings[0].code_remediation_task.task_details[0].status_reason #=> String
1287
1290
  # resp.findings[0].last_updated_by #=> String
1288
1291
  # resp.findings[0].customer_note #=> String
1289
1292
  # resp.findings[0].code_locations #=> Array
@@ -1404,7 +1407,7 @@ module Aws::SecurityAgent
1404
1407
  # resp.pentest_jobs[0].pentest_id #=> String
1405
1408
  # resp.pentest_jobs[0].title #=> String
1406
1409
  # resp.pentest_jobs[0].overview #=> String
1407
- # resp.pentest_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1410
+ # resp.pentest_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1408
1411
  # resp.pentest_jobs[0].endpoints #=> Array
1409
1412
  # resp.pentest_jobs[0].endpoints[0].uri #=> String
1410
1413
  # resp.pentest_jobs[0].actors #=> Array
@@ -1453,7 +1456,7 @@ module Aws::SecurityAgent
1453
1456
  # resp.pentest_jobs[0].network_traffic_config.custom_headers #=> Array
1454
1457
  # resp.pentest_jobs[0].network_traffic_config.custom_headers[0].name #=> String
1455
1458
  # resp.pentest_jobs[0].network_traffic_config.custom_headers[0].value #=> String
1456
- # resp.pentest_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1459
+ # resp.pentest_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1457
1460
  # resp.pentest_jobs[0].error_information.message #=> String
1458
1461
  # resp.pentest_jobs[0].integrated_repositories #=> Array
1459
1462
  # resp.pentest_jobs[0].integrated_repositories[0].integration_id #=> String
@@ -1491,6 +1494,7 @@ module Aws::SecurityAgent
1491
1494
  # resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
1492
1495
  # resp.pentest_jobs[0].cicd_configuration.enabled #=> Boolean
1493
1496
  # resp.pentest_jobs[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
1497
+ # resp.pentest_jobs[0].version #=> String
1494
1498
  # resp.pentest_jobs[0].created_at #=> Time
1495
1499
  # resp.pentest_jobs[0].updated_at #=> Time
1496
1500
  # resp.not_found #=> Array
@@ -1784,7 +1788,7 @@ module Aws::SecurityAgent
1784
1788
  # resp.threat_model_jobs[0].threat_model_id #=> String
1785
1789
  # resp.threat_model_jobs[0].agent_space_id #=> String
1786
1790
  # resp.threat_model_jobs[0].title #=> String
1787
- # resp.threat_model_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1791
+ # resp.threat_model_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1788
1792
  # resp.threat_model_jobs[0].created_at #=> Time
1789
1793
  # resp.threat_model_jobs[0].updated_at #=> Time
1790
1794
  # resp.threat_model_jobs[0].execution_start_time #=> Time
@@ -1805,7 +1809,7 @@ module Aws::SecurityAgent
1805
1809
  # resp.threat_model_jobs[0].scope_docs[0].artifact_id #=> String
1806
1810
  # resp.threat_model_jobs[0].scope_docs[0].integrated_document.integration_id #=> String
1807
1811
  # resp.threat_model_jobs[0].scope_docs[0].integrated_document.resource_id #=> String
1808
- # resp.threat_model_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1812
+ # resp.threat_model_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1809
1813
  # resp.threat_model_jobs[0].error_information.message #=> String
1810
1814
  # resp.threat_model_jobs[0].system_overview #=> String
1811
1815
  # resp.threat_model_jobs[0].report_destination.integration_id #=> String
@@ -4168,7 +4172,7 @@ module Aws::SecurityAgent
4168
4172
  # resp.code_review_job_summaries[0].code_review_job_id #=> String
4169
4173
  # resp.code_review_job_summaries[0].code_review_id #=> String
4170
4174
  # resp.code_review_job_summaries[0].title #=> String
4171
- # resp.code_review_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
4175
+ # resp.code_review_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
4172
4176
  # resp.code_review_job_summaries[0].created_at #=> Time
4173
4177
  # resp.code_review_job_summaries[0].updated_at #=> Time
4174
4178
  # resp.next_token #=> String
@@ -4738,11 +4742,12 @@ module Aws::SecurityAgent
4738
4742
  # resp.pentest_job_summaries[0].pentest_job_id #=> String
4739
4743
  # resp.pentest_job_summaries[0].pentest_id #=> String
4740
4744
  # resp.pentest_job_summaries[0].title #=> String
4741
- # resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
4745
+ # resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
4742
4746
  # resp.pentest_job_summaries[0].created_at #=> Time
4743
4747
  # resp.pentest_job_summaries[0].updated_at #=> Time
4744
4748
  # resp.pentest_job_summaries[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
4745
4749
  # resp.pentest_job_summaries[0].report_url #=> String
4750
+ # resp.pentest_job_summaries[0].version #=> String
4746
4751
  # resp.next_token #=> String
4747
4752
  #
4748
4753
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentest AWS API Documentation
@@ -5115,7 +5120,7 @@ module Aws::SecurityAgent
5115
5120
  # resp.threat_model_job_summaries[0].threat_model_id #=> String
5116
5121
  # resp.threat_model_job_summaries[0].agent_space_id #=> String
5117
5122
  # resp.threat_model_job_summaries[0].title #=> String
5118
- # resp.threat_model_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5123
+ # resp.threat_model_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5119
5124
  # resp.threat_model_job_summaries[0].created_at #=> Time
5120
5125
  # resp.threat_model_job_summaries[0].updated_at #=> Time
5121
5126
  # resp.next_token #=> String
@@ -5233,6 +5238,112 @@ module Aws::SecurityAgent
5233
5238
  req.send_request(options)
5234
5239
  end
5235
5240
 
5241
+ # Resumes a stopped or paused pentest job from its last saved
5242
+ # checkpoint. The job keeps its pentest job identifier and continues as
5243
+ # a new version, keeping the findings and progress from earlier runs.
5244
+ # You can resume a job within 7 days of when it was created.
5245
+ #
5246
+ # @option params [String] :agent_space_id
5247
+ # The unique identifier of the agent space.
5248
+ #
5249
+ # @option params [String] :pentest_job_id
5250
+ # The unique identifier of the pentest job to resume.
5251
+ #
5252
+ # @option params [Array<Types::Actor>] :actors
5253
+ # The actors to use for the resumed job. When specified, replaces the
5254
+ # actors the job used before it stopped.
5255
+ #
5256
+ # @option params [Types::NetworkTrafficConfig] :network_traffic_config
5257
+ # The network traffic configuration to use for the resumed job. When
5258
+ # specified, replaces the configuration the job used before it stopped.
5259
+ #
5260
+ # @option params [Types::VpcConfig] :vpc_config
5261
+ # The VPC configuration to use for the resumed job. When specified,
5262
+ # replaces the configuration the job used before it stopped.
5263
+ #
5264
+ # @option params [Float] :max_task_hours
5265
+ # The maximum number of task hours for the resumed job. To resume a job
5266
+ # that stopped because it reached its task hours limit, specify a higher
5267
+ # value.
5268
+ #
5269
+ # @option params [Boolean] :copy_config_from_pentest
5270
+ # Specifies whether to copy the current actors, network traffic
5271
+ # configuration, VPC configuration, and maximum task hours from the
5272
+ # pentest to the resumed job. The job's scope, such as its target
5273
+ # endpoints, is never changed. Values you specify in this request take
5274
+ # precedence over copied values.
5275
+ #
5276
+ # @return [Types::ResumePentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5277
+ #
5278
+ # * {Types::ResumePentestJobOutput#title #title} => String
5279
+ # * {Types::ResumePentestJobOutput#status #status} => String
5280
+ # * {Types::ResumePentestJobOutput#created_at #created_at} => Time
5281
+ # * {Types::ResumePentestJobOutput#updated_at #updated_at} => Time
5282
+ # * {Types::ResumePentestJobOutput#pentest_id #pentest_id} => String
5283
+ # * {Types::ResumePentestJobOutput#pentest_job_id #pentest_job_id} => String
5284
+ # * {Types::ResumePentestJobOutput#version #version} => String
5285
+ #
5286
+ # @example Request syntax with placeholder values
5287
+ #
5288
+ # resp = client.resume_pentest_job({
5289
+ # agent_space_id: "String",
5290
+ # pentest_job_id: "String",
5291
+ # actors: [
5292
+ # {
5293
+ # identifier: "String",
5294
+ # uris: ["String"],
5295
+ # authentication: {
5296
+ # provider_type: "SECRETS_MANAGER", # accepts SECRETS_MANAGER, AWS_LAMBDA, AWS_IAM_ROLE, AWS_INTERNAL
5297
+ # value: "String",
5298
+ # },
5299
+ # description: "String",
5300
+ # enable_email_mfa: false,
5301
+ # mfa_forwarding_address: "SensitiveEmailAddress",
5302
+ # },
5303
+ # ],
5304
+ # network_traffic_config: {
5305
+ # rules: [
5306
+ # {
5307
+ # effect: "ALLOW", # accepts ALLOW, DENY
5308
+ # pattern: "String",
5309
+ # network_traffic_rule_type: "URL", # accepts URL
5310
+ # },
5311
+ # ],
5312
+ # custom_headers: [
5313
+ # {
5314
+ # name: "String",
5315
+ # value: "String",
5316
+ # },
5317
+ # ],
5318
+ # },
5319
+ # vpc_config: {
5320
+ # vpc_arn: "VpcArn",
5321
+ # security_group_arns: ["SecurityGroupArn"],
5322
+ # subnet_arns: ["SubnetArn"],
5323
+ # },
5324
+ # max_task_hours: 1.0,
5325
+ # copy_config_from_pentest: false,
5326
+ # })
5327
+ #
5328
+ # @example Response structure
5329
+ #
5330
+ # resp.title #=> String
5331
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5332
+ # resp.created_at #=> Time
5333
+ # resp.updated_at #=> Time
5334
+ # resp.pentest_id #=> String
5335
+ # resp.pentest_job_id #=> String
5336
+ # resp.version #=> String
5337
+ #
5338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJob AWS API Documentation
5339
+ #
5340
+ # @overload resume_pentest_job(params = {})
5341
+ # @param [Hash] params ({})
5342
+ def resume_pentest_job(params = {}, options = {})
5343
+ req = build_request(:resume_pentest_job, params)
5344
+ req.send_request(options)
5345
+ end
5346
+
5236
5347
  # Initiates code remediation for one or more security findings. This
5237
5348
  # creates pull requests in integrated repositories to fix the identified
5238
5349
  # vulnerabilities.
@@ -5308,7 +5419,7 @@ module Aws::SecurityAgent
5308
5419
  # @example Response structure
5309
5420
  #
5310
5421
  # resp.title #=> String
5311
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5422
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5312
5423
  # resp.created_at #=> Time
5313
5424
  # resp.updated_at #=> Time
5314
5425
  # resp.code_review_id #=> String
@@ -5380,7 +5491,7 @@ module Aws::SecurityAgent
5380
5491
  # @example Response structure
5381
5492
  #
5382
5493
  # resp.title #=> String
5383
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5494
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5384
5495
  # resp.created_at #=> Time
5385
5496
  # resp.updated_at #=> Time
5386
5497
  # resp.pentest_id #=> String
@@ -5424,7 +5535,7 @@ module Aws::SecurityAgent
5424
5535
  # @example Response structure
5425
5536
  #
5426
5537
  # resp.title #=> String
5427
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5538
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5428
5539
  # resp.created_at #=> Time
5429
5540
  # resp.updated_at #=> Time
5430
5541
  # resp.threat_model_id #=> String
@@ -5476,6 +5587,12 @@ module Aws::SecurityAgent
5476
5587
  # @option params [required, String] :pentest_job_id
5477
5588
  # The unique identifier of the pentest job to stop.
5478
5589
  #
5590
+ # @option params [Boolean] :pause
5591
+ # Specifies whether to pause the job instead of stopping it. A paused
5592
+ # job moves to `PAUSING` and then to `PAUSED`, and you can resume it
5593
+ # later with `ResumePentestJob`. You can pause only a job that is
5594
+ # `IN_PROGRESS`. The default is false.
5595
+ #
5479
5596
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5480
5597
  #
5481
5598
  # @example Request syntax with placeholder values
@@ -5483,6 +5600,7 @@ module Aws::SecurityAgent
5483
5600
  # resp = client.stop_pentest_job({
5484
5601
  # agent_space_id: "String", # required
5485
5602
  # pentest_job_id: "String", # required
5603
+ # pause: false,
5486
5604
  # })
5487
5605
  #
5488
5606
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJob AWS API Documentation
@@ -6982,7 +7100,7 @@ module Aws::SecurityAgent
6982
7100
  tracer: tracer
6983
7101
  )
6984
7102
  context[:gem_name] = 'aws-sdk-securityagent'
6985
- context[:gem_version] = '1.36.0'
7103
+ context[:gem_version] = '1.38.0'
6986
7104
  Seahorse::Client::Request.new(handlers, context)
6987
7105
  end
6988
7106
 
@@ -137,6 +137,7 @@ module Aws::SecurityAgent
137
137
  CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
138
138
  CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
139
139
  CodeLocationList = Shapes::ListShape.new(name: 'CodeLocationList')
140
+ CodeRemediationJobStatus = Shapes::StringShape.new(name: 'CodeRemediationJobStatus')
140
141
  CodeRemediationStrategy = Shapes::StringShape.new(name: 'CodeRemediationStrategy')
141
142
  CodeRemediationTask = Shapes::StructureShape.new(name: 'CodeRemediationTask')
142
143
  CodeRemediationTaskDetails = Shapes::StructureShape.new(name: 'CodeRemediationTaskDetails')
@@ -411,6 +412,8 @@ module Aws::SecurityAgent
411
412
  ResourceGatewayId = Shapes::StringShape.new(name: 'ResourceGatewayId')
412
413
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
413
414
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
415
+ ResumePentestJobInput = Shapes::StructureShape.new(name: 'ResumePentestJobInput')
416
+ ResumePentestJobOutput = Shapes::StructureShape.new(name: 'ResumePentestJobOutput')
414
417
  RiskLevel = Shapes::StringShape.new(name: 'RiskLevel')
415
418
  RiskLevelFilterList = Shapes::ListShape.new(name: 'RiskLevelFilterList')
416
419
  RiskType = Shapes::StringShape.new(name: 'RiskType')
@@ -1026,6 +1029,9 @@ module Aws::SecurityAgent
1026
1029
  CodeRemediationTaskDetails.add_member(:repo_name, Shapes::ShapeRef.new(shape: String, location_name: "repoName"))
1027
1030
  CodeRemediationTaskDetails.add_member(:code_diff_link, Shapes::ShapeRef.new(shape: String, location_name: "codeDiffLink"))
1028
1031
  CodeRemediationTaskDetails.add_member(:pull_request_link, Shapes::ShapeRef.new(shape: String, location_name: "pullRequestLink"))
1032
+ CodeRemediationTaskDetails.add_member(:status, Shapes::ShapeRef.new(shape: CodeRemediationJobStatus, location_name: "status"))
1033
+ CodeRemediationTaskDetails.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
1034
+ CodeRemediationTaskDetails.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
1029
1035
  CodeRemediationTaskDetails.struct_class = Types::CodeRemediationTaskDetails
1030
1036
 
1031
1037
  CodeRemediationTaskDetailsList.member = Shapes::ShapeRef.new(shape: CodeRemediationTaskDetails)
@@ -2170,6 +2176,7 @@ module Aws::SecurityAgent
2170
2176
  PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
2171
2177
  PentestJob.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
2172
2178
  PentestJob.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
2179
+ PentestJob.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2173
2180
  PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
2174
2181
  PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2175
2182
  PentestJob.struct_class = Types::PentestJob
@@ -2186,6 +2193,7 @@ module Aws::SecurityAgent
2186
2193
  PentestJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2187
2194
  PentestJobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
2188
2195
  PentestJobSummary.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
2196
+ PentestJobSummary.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2189
2197
  PentestJobSummary.struct_class = Types::PentestJobSummary
2190
2198
 
2191
2199
  PentestJobSummaryList.member = Shapes::ShapeRef.new(shape: PentestJobSummary)
@@ -2285,6 +2293,24 @@ module Aws::SecurityAgent
2285
2293
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
2286
2294
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
2287
2295
 
2296
+ ResumePentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
2297
+ ResumePentestJobInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
2298
+ ResumePentestJobInput.add_member(:actors, Shapes::ShapeRef.new(shape: ActorList, location_name: "actors"))
2299
+ ResumePentestJobInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
2300
+ ResumePentestJobInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
2301
+ ResumePentestJobInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
2302
+ ResumePentestJobInput.add_member(:copy_config_from_pentest, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyConfigFromPentest"))
2303
+ ResumePentestJobInput.struct_class = Types::ResumePentestJobInput
2304
+
2305
+ ResumePentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
2306
+ ResumePentestJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
2307
+ ResumePentestJobOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
2308
+ ResumePentestJobOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2309
+ ResumePentestJobOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
2310
+ ResumePentestJobOutput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
2311
+ ResumePentestJobOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2312
+ ResumePentestJobOutput.struct_class = Types::ResumePentestJobOutput
2313
+
2288
2314
  RiskLevelFilterList.member = Shapes::ShapeRef.new(shape: RiskLevel)
2289
2315
 
2290
2316
  RiskTypeFilterList.member = Shapes::ShapeRef.new(shape: RiskType)
@@ -2432,6 +2458,7 @@ module Aws::SecurityAgent
2432
2458
 
2433
2459
  StopPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
2434
2460
  StopPentestJobInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
2461
+ StopPentestJobInput.add_member(:pause, Shapes::ShapeRef.new(shape: Boolean, location_name: "pause"))
2435
2462
  StopPentestJobInput.struct_class = Types::StopPentestJobInput
2436
2463
 
2437
2464
  StopPentestJobOutput.struct_class = Types::StopPentestJobOutput
@@ -3878,6 +3905,14 @@ module Aws::SecurityAgent
3878
3905
  )
3879
3906
  end)
3880
3907
 
3908
+ api.add_operation(:resume_pentest_job, Seahorse::Model::Operation.new.tap do |o|
3909
+ o.name = "ResumePentestJob"
3910
+ o.http_method = "POST"
3911
+ o.http_request_uri = "/ResumePentestJob"
3912
+ o.input = Shapes::ShapeRef.new(shape: ResumePentestJobInput)
3913
+ o.output = Shapes::ShapeRef.new(shape: ResumePentestJobOutput)
3914
+ end)
3915
+
3881
3916
  api.add_operation(:start_code_remediation, Seahorse::Model::Operation.new.tap do |o|
3882
3917
  o.name = "StartCodeRemediation"
3883
3918
  o.http_method = "POST"
@@ -1940,16 +1940,18 @@ module Aws::SecurityAgent
1940
1940
  # security finding.
1941
1941
  #
1942
1942
  # @!attribute [rw] status
1943
- # The current status of the code remediation task.
1943
+ # The current status of the overall code remediation task.
1944
1944
  # @return [String]
1945
1945
  #
1946
1946
  # @!attribute [rw] status_reason
1947
- # The reason for the current status of the code remediation task.
1947
+ # The reason for the current status of the overall code remediation
1948
+ # task.
1948
1949
  # @return [String]
1949
1950
  #
1950
1951
  # @!attribute [rw] task_details
1951
- # The list of details for the code remediation task, including
1952
- # repository name, code diff link, and pull request link.
1952
+ # The list of details for a code remediation task, including
1953
+ # repository names, status of code remediation for each associated
1954
+ # repository, and generated code diff or pull request links.
1953
1955
  # @return [Array<Types::CodeRemediationTaskDetails>]
1954
1956
  #
1955
1957
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTask AWS API Documentation
@@ -1966,7 +1968,8 @@ module Aws::SecurityAgent
1966
1968
  # code diff and pull request.
1967
1969
  #
1968
1970
  # @!attribute [rw] repo_name
1969
- # The name of the repository where the remediation was applied.
1971
+ # The name of an associated repository where the remediation was
1972
+ # applied.
1970
1973
  # @return [String]
1971
1974
  #
1972
1975
  # @!attribute [rw] code_diff_link
@@ -1977,12 +1980,28 @@ module Aws::SecurityAgent
1977
1980
  # The link to the pull request created for the remediation.
1978
1981
  # @return [String]
1979
1982
  #
1983
+ # @!attribute [rw] status
1984
+ # The current status of the code remediation task for the particular
1985
+ # repository.
1986
+ # @return [String]
1987
+ #
1988
+ # @!attribute [rw] status_code
1989
+ # A category classifier if a repository's code remediation fails.
1990
+ # @return [String]
1991
+ #
1992
+ # @!attribute [rw] status_reason
1993
+ # A descriptive reason when a repository's code remediation fails.
1994
+ # @return [String]
1995
+ #
1980
1996
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTaskDetails AWS API Documentation
1981
1997
  #
1982
1998
  class CodeRemediationTaskDetails < Struct.new(
1983
1999
  :repo_name,
1984
2000
  :code_diff_link,
1985
- :pull_request_link)
2001
+ :pull_request_link,
2002
+ :status,
2003
+ :status_code,
2004
+ :status_reason)
1986
2005
  SENSITIVE = []
1987
2006
  include Aws::Structure
1988
2007
  end
@@ -7281,6 +7300,12 @@ module Aws::SecurityAgent
7281
7300
  # The category of application a pentest targets.
7282
7301
  # @return [Types::TestScope]
7283
7302
  #
7303
+ # @!attribute [rw] version
7304
+ # The version of the pentest job. The version increases each time the
7305
+ # job is resumed. This value is absent for jobs created before
7306
+ # versions were recorded.
7307
+ # @return [String]
7308
+ #
7284
7309
  # @!attribute [rw] created_at
7285
7310
  # The date and time the pentest job was created, in UTC format.
7286
7311
  # @return [Time]
@@ -7326,6 +7351,7 @@ module Aws::SecurityAgent
7326
7351
  :scope_changes,
7327
7352
  :cicd_configuration,
7328
7353
  :test_scope,
7354
+ :version,
7329
7355
  :created_at,
7330
7356
  :updated_at)
7331
7357
  SENSITIVE = [:trusted_ca_certificates]
@@ -7367,6 +7393,12 @@ module Aws::SecurityAgent
7367
7393
  # The URL to view this pentest job's findings report in the console.
7368
7394
  # @return [String]
7369
7395
  #
7396
+ # @!attribute [rw] version
7397
+ # The version of the pentest job. The version increases each time the
7398
+ # job is resumed. This value is absent for jobs created before
7399
+ # versions were recorded.
7400
+ # @return [String]
7401
+ #
7370
7402
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJobSummary AWS API Documentation
7371
7403
  #
7372
7404
  class PentestJobSummary < Struct.new(
@@ -7377,7 +7409,8 @@ module Aws::SecurityAgent
7377
7409
  :created_at,
7378
7410
  :updated_at,
7379
7411
  :job_type,
7380
- :report_url)
7412
+ :report_url,
7413
+ :version)
7381
7414
  SENSITIVE = []
7382
7415
  include Aws::Structure
7383
7416
  end
@@ -7725,6 +7758,105 @@ module Aws::SecurityAgent
7725
7758
  include Aws::Structure
7726
7759
  end
7727
7760
 
7761
+ # Input for resuming a stopped or paused pentest job.
7762
+ #
7763
+ # @!attribute [rw] agent_space_id
7764
+ # The unique identifier of the agent space.
7765
+ # @return [String]
7766
+ #
7767
+ # @!attribute [rw] pentest_job_id
7768
+ # The unique identifier of the pentest job to resume.
7769
+ # @return [String]
7770
+ #
7771
+ # @!attribute [rw] actors
7772
+ # The actors to use for the resumed job. When specified, replaces the
7773
+ # actors the job used before it stopped.
7774
+ # @return [Array<Types::Actor>]
7775
+ #
7776
+ # @!attribute [rw] network_traffic_config
7777
+ # The network traffic configuration to use for the resumed job. When
7778
+ # specified, replaces the configuration the job used before it
7779
+ # stopped.
7780
+ # @return [Types::NetworkTrafficConfig]
7781
+ #
7782
+ # @!attribute [rw] vpc_config
7783
+ # The VPC configuration to use for the resumed job. When specified,
7784
+ # replaces the configuration the job used before it stopped.
7785
+ # @return [Types::VpcConfig]
7786
+ #
7787
+ # @!attribute [rw] max_task_hours
7788
+ # The maximum number of task hours for the resumed job. To resume a
7789
+ # job that stopped because it reached its task hours limit, specify a
7790
+ # higher value.
7791
+ # @return [Float]
7792
+ #
7793
+ # @!attribute [rw] copy_config_from_pentest
7794
+ # Specifies whether to copy the current actors, network traffic
7795
+ # configuration, VPC configuration, and maximum task hours from the
7796
+ # pentest to the resumed job. The job's scope, such as its target
7797
+ # endpoints, is never changed. Values you specify in this request take
7798
+ # precedence over copied values.
7799
+ # @return [Boolean]
7800
+ #
7801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJobInput AWS API Documentation
7802
+ #
7803
+ class ResumePentestJobInput < Struct.new(
7804
+ :agent_space_id,
7805
+ :pentest_job_id,
7806
+ :actors,
7807
+ :network_traffic_config,
7808
+ :vpc_config,
7809
+ :max_task_hours,
7810
+ :copy_config_from_pentest)
7811
+ SENSITIVE = []
7812
+ include Aws::Structure
7813
+ end
7814
+
7815
+ # Output for the ResumePentestJob operation.
7816
+ #
7817
+ # @!attribute [rw] title
7818
+ # The title of the pentest job.
7819
+ # @return [String]
7820
+ #
7821
+ # @!attribute [rw] status
7822
+ # The current status of the pentest job.
7823
+ # @return [String]
7824
+ #
7825
+ # @!attribute [rw] created_at
7826
+ # The date and time the pentest job was created, in UTC format.
7827
+ # @return [Time]
7828
+ #
7829
+ # @!attribute [rw] updated_at
7830
+ # The date and time the pentest job was last updated, in UTC format.
7831
+ # @return [Time]
7832
+ #
7833
+ # @!attribute [rw] pentest_id
7834
+ # The unique identifier of the pentest.
7835
+ # @return [String]
7836
+ #
7837
+ # @!attribute [rw] pentest_job_id
7838
+ # The unique identifier of the resumed pentest job.
7839
+ # @return [String]
7840
+ #
7841
+ # @!attribute [rw] version
7842
+ # The version of the pentest job that the resume started. The version
7843
+ # increases each time the job is resumed.
7844
+ # @return [String]
7845
+ #
7846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJobOutput AWS API Documentation
7847
+ #
7848
+ class ResumePentestJobOutput < Struct.new(
7849
+ :title,
7850
+ :status,
7851
+ :created_at,
7852
+ :updated_at,
7853
+ :pentest_id,
7854
+ :pentest_job_id,
7855
+ :version)
7856
+ SENSITIVE = []
7857
+ include Aws::Structure
7858
+ end
7859
+
7728
7860
  # A code change in a CI/CD pipeline run that defines what a CI/CD
7729
7861
  # pentest job tests. Each scope change identifies an integrated
7730
7862
  # repository and the commit range for the change.
@@ -8326,11 +8458,19 @@ module Aws::SecurityAgent
8326
8458
  # The unique identifier of the pentest job to stop.
8327
8459
  # @return [String]
8328
8460
  #
8461
+ # @!attribute [rw] pause
8462
+ # Specifies whether to pause the job instead of stopping it. A paused
8463
+ # job moves to `PAUSING` and then to `PAUSED`, and you can resume it
8464
+ # later with `ResumePentestJob`. You can pause only a job that is
8465
+ # `IN_PROGRESS`. The default is false.
8466
+ # @return [Boolean]
8467
+ #
8329
8468
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJobInput AWS API Documentation
8330
8469
  #
8331
8470
  class StopPentestJobInput < Struct.new(
8332
8471
  :agent_space_id,
8333
- :pentest_job_id)
8472
+ :pentest_job_id,
8473
+ :pause)
8334
8474
  SENSITIVE = []
8335
8475
  include Aws::Structure
8336
8476
  end
@@ -55,7 +55,7 @@ module Aws::SecurityAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-securityagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-securityagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.36.0'
58
+ GEM_VERSION = '1.38.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1304,6 +1304,34 @@ module Aws
1304
1304
  ) -> _ListThreatsResponseSuccess
1305
1305
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatsResponseSuccess
1306
1306
 
1307
+ interface _ResumePentestJobResponseSuccess
1308
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResumePentestJobOutput]
1309
+ def title: () -> ::String
1310
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1311
+ def created_at: () -> ::Time
1312
+ def updated_at: () -> ::Time
1313
+ def pentest_id: () -> ::String
1314
+ def pentest_job_id: () -> ::String
1315
+ def version: () -> ::String
1316
+ end
1317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#resume_pentest_job-instance_method
1318
+ def resume_pentest_job: (
1319
+ ?agent_space_id: ::String,
1320
+ ?pentest_job_id: ::String,
1321
+ ?actors: Array[
1322
+ Params::actor
1323
+ ],
1324
+ ?network_traffic_config: Params::network_traffic_config,
1325
+ ?vpc_config: {
1326
+ vpc_arn: ::String?,
1327
+ security_group_arns: Array[::String]?,
1328
+ subnet_arns: Array[::String]?
1329
+ },
1330
+ ?max_task_hours: ::Float,
1331
+ ?copy_config_from_pentest: bool
1332
+ ) -> _ResumePentestJobResponseSuccess
1333
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumePentestJobResponseSuccess
1334
+
1307
1335
  interface _StartCodeRemediationResponseSuccess
1308
1336
  include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeRemediationOutput]
1309
1337
  end
@@ -1319,7 +1347,7 @@ module Aws
1319
1347
  interface _StartCodeReviewJobResponseSuccess
1320
1348
  include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeReviewJobOutput]
1321
1349
  def title: () -> ::String
1322
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1350
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1323
1351
  def created_at: () -> ::Time
1324
1352
  def updated_at: () -> ::Time
1325
1353
  def code_review_id: () -> ::String
@@ -1339,7 +1367,7 @@ module Aws
1339
1367
  interface _StartPentestJobResponseSuccess
1340
1368
  include ::Seahorse::Client::_ResponseSuccess[Types::StartPentestJobOutput]
1341
1369
  def title: () -> ::String
1342
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1370
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1343
1371
  def created_at: () -> ::Time
1344
1372
  def updated_at: () -> ::Time
1345
1373
  def pentest_id: () -> ::String
@@ -1367,7 +1395,7 @@ module Aws
1367
1395
  interface _StartThreatModelJobResponseSuccess
1368
1396
  include ::Seahorse::Client::_ResponseSuccess[Types::StartThreatModelJobOutput]
1369
1397
  def title: () -> ::String
1370
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1398
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1371
1399
  def created_at: () -> ::Time
1372
1400
  def updated_at: () -> ::Time
1373
1401
  def threat_model_id: () -> ::String
@@ -1397,7 +1425,8 @@ module Aws
1397
1425
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#stop_pentest_job-instance_method
1398
1426
  def stop_pentest_job: (
1399
1427
  agent_space_id: ::String,
1400
- pentest_job_id: ::String
1428
+ pentest_job_id: ::String,
1429
+ ?pause: bool
1401
1430
  ) -> _StopPentestJobResponseSuccess
1402
1431
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPentestJobResponseSuccess
1403
1432
 
data/sig/types.rbs CHANGED
@@ -226,7 +226,7 @@ module Aws::SecurityAgent
226
226
 
227
227
  class BatchDisassociateFindingIssueError
228
228
  attr_accessor finding_id: ::String
229
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
229
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
230
230
  attr_accessor message: ::String
231
231
  SENSITIVE: []
232
232
  end
@@ -246,7 +246,7 @@ module Aws::SecurityAgent
246
246
 
247
247
  class BatchExportFindingError
248
248
  attr_accessor finding_id: ::String
249
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
249
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
250
250
  attr_accessor message: ::String
251
251
  SENSITIVE: []
252
252
  end
@@ -576,6 +576,9 @@ module Aws::SecurityAgent
576
576
  attr_accessor repo_name: ::String
577
577
  attr_accessor code_diff_link: ::String
578
578
  attr_accessor pull_request_link: ::String
579
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETED" | "FAILED" | "NO_CHANGE_REQUIRED" | "UNKNOWN")
580
+ attr_accessor status_code: ::String
581
+ attr_accessor status_reason: ::String
579
582
  SENSITIVE: []
580
583
  end
581
584
 
@@ -601,7 +604,7 @@ module Aws::SecurityAgent
601
604
  attr_accessor code_review_id: ::String
602
605
  attr_accessor title: ::String
603
606
  attr_accessor overview: ::String
604
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
607
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
605
608
  attr_accessor documents: ::Array[Types::DocumentInfo]
606
609
  attr_accessor source_code: ::Array[Types::SourceCodeRepository]
607
610
  attr_accessor steps: ::Array[Types::Step]
@@ -622,7 +625,7 @@ module Aws::SecurityAgent
622
625
  attr_accessor code_review_job_id: ::String
623
626
  attr_accessor code_review_id: ::String
624
627
  attr_accessor title: ::String
625
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
628
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
626
629
  attr_accessor created_at: ::Time
627
630
  attr_accessor updated_at: ::Time
628
631
  SENSITIVE: []
@@ -1147,7 +1150,7 @@ module Aws::SecurityAgent
1147
1150
  end
1148
1151
 
1149
1152
  class ErrorInformation
1150
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
1153
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
1151
1154
  attr_accessor message: ::String
1152
1155
  SENSITIVE: []
1153
1156
  end
@@ -1974,7 +1977,7 @@ module Aws::SecurityAgent
1974
1977
  attr_accessor pentest_id: ::String
1975
1978
  attr_accessor title: ::String
1976
1979
  attr_accessor overview: ::String
1977
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1980
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1978
1981
  attr_accessor endpoints: ::Array[Types::Endpoint]
1979
1982
  attr_accessor actors: ::Array[Types::Actor]
1980
1983
  attr_accessor documents: ::Array[Types::DocumentInfo]
@@ -2004,6 +2007,7 @@ module Aws::SecurityAgent
2004
2007
  attr_accessor scope_changes: ::Array[Types::ScopeChange]
2005
2008
  attr_accessor cicd_configuration: Types::CiCdConfiguration
2006
2009
  attr_accessor test_scope: Types::TestScope
2010
+ attr_accessor version: ::String
2007
2011
  attr_accessor created_at: ::Time
2008
2012
  attr_accessor updated_at: ::Time
2009
2013
  SENSITIVE: [:trusted_ca_certificates]
@@ -2013,11 +2017,12 @@ module Aws::SecurityAgent
2013
2017
  attr_accessor pentest_job_id: ::String
2014
2018
  attr_accessor pentest_id: ::String
2015
2019
  attr_accessor title: ::String
2016
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2020
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2017
2021
  attr_accessor created_at: ::Time
2018
2022
  attr_accessor updated_at: ::Time
2019
2023
  attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
2020
2024
  attr_accessor report_url: ::String
2025
+ attr_accessor version: ::String
2021
2026
  SENSITIVE: []
2022
2027
  end
2023
2028
 
@@ -2139,6 +2144,28 @@ module Aws::SecurityAgent
2139
2144
  SENSITIVE: []
2140
2145
  end
2141
2146
 
2147
+ class ResumePentestJobInput
2148
+ attr_accessor agent_space_id: ::String
2149
+ attr_accessor pentest_job_id: ::String
2150
+ attr_accessor actors: ::Array[Types::Actor]
2151
+ attr_accessor network_traffic_config: Types::NetworkTrafficConfig
2152
+ attr_accessor vpc_config: Types::VpcConfig
2153
+ attr_accessor max_task_hours: ::Float
2154
+ attr_accessor copy_config_from_pentest: bool
2155
+ SENSITIVE: []
2156
+ end
2157
+
2158
+ class ResumePentestJobOutput
2159
+ attr_accessor title: ::String
2160
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2161
+ attr_accessor created_at: ::Time
2162
+ attr_accessor updated_at: ::Time
2163
+ attr_accessor pentest_id: ::String
2164
+ attr_accessor pentest_job_id: ::String
2165
+ attr_accessor version: ::String
2166
+ SENSITIVE: []
2167
+ end
2168
+
2142
2169
  class ScopeChange
2143
2170
  attr_accessor integration_id: ::String
2144
2171
  attr_accessor provider_resource_id: ::String
@@ -2231,7 +2258,7 @@ module Aws::SecurityAgent
2231
2258
 
2232
2259
  class StartCodeReviewJobOutput
2233
2260
  attr_accessor title: ::String
2234
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2261
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2235
2262
  attr_accessor created_at: ::Time
2236
2263
  attr_accessor updated_at: ::Time
2237
2264
  attr_accessor code_review_id: ::String
@@ -2251,7 +2278,7 @@ module Aws::SecurityAgent
2251
2278
 
2252
2279
  class StartPentestJobOutput
2253
2280
  attr_accessor title: ::String
2254
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2281
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2255
2282
  attr_accessor created_at: ::Time
2256
2283
  attr_accessor updated_at: ::Time
2257
2284
  attr_accessor pentest_id: ::String
@@ -2268,7 +2295,7 @@ module Aws::SecurityAgent
2268
2295
 
2269
2296
  class StartThreatModelJobOutput
2270
2297
  attr_accessor title: ::String
2271
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2298
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2272
2299
  attr_accessor created_at: ::Time
2273
2300
  attr_accessor updated_at: ::Time
2274
2301
  attr_accessor threat_model_id: ::String
@@ -2297,6 +2324,7 @@ module Aws::SecurityAgent
2297
2324
  class StopPentestJobInput
2298
2325
  attr_accessor agent_space_id: ::String
2299
2326
  attr_accessor pentest_job_id: ::String
2327
+ attr_accessor pause: bool
2300
2328
  SENSITIVE: []
2301
2329
  end
2302
2330
 
@@ -2434,7 +2462,7 @@ module Aws::SecurityAgent
2434
2462
  attr_accessor threat_model_id: ::String
2435
2463
  attr_accessor agent_space_id: ::String
2436
2464
  attr_accessor title: ::String
2437
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2465
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2438
2466
  attr_accessor created_at: ::Time
2439
2467
  attr_accessor updated_at: ::Time
2440
2468
  attr_accessor execution_start_time: ::Time
@@ -2454,7 +2482,7 @@ module Aws::SecurityAgent
2454
2482
  attr_accessor threat_model_id: ::String
2455
2483
  attr_accessor agent_space_id: ::String
2456
2484
  attr_accessor title: ::String
2457
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2485
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2458
2486
  attr_accessor created_at: ::Time
2459
2487
  attr_accessor updated_at: ::Time
2460
2488
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-securityagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.269.0
21
+ version: 3.270.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.269.0
31
+ version: 3.270.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement