aws-sdk-securityagent 1.11.0 → 1.12.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 +50 -1
- data/lib/aws-sdk-securityagent/client_api.rb +17 -0
- data/lib/aws-sdk-securityagent/types.rb +112 -7
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +13 -5
- data/sig/types.rbs +16 -0
- 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: c03189b02de83f4277708638aeb4323d3fbb5576d502887b4cc3ab985475971d
|
|
4
|
+
data.tar.gz: 481be2e542bd7325e15a8c8338d34d6b92073e6c07cd38e2bb7f4b0f467a160a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5d41e9a4638e8582f84d2a9f23ab30bcd9fff656f24e30db608dff71f2eebef7ab7a1466aed2d3ec059e69493fb32451e89354f6664a3634dd9b4f2413bbc94
|
|
7
|
+
data.tar.gz: 84db496e5f34e8ebeac3ccb121a1bfc2a706c82f421b965fdf8b9e36449aeca0f41f28739df950abc181c9a1217e6c598e1f88be7bd9099ea86febd79daa6070
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.12.0 (2026-08-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add support for setting a maximum task-hour budget cap on penetration tests and code reviews, and for revalidating previously reported findings via a new REVALIDATION job type.
|
|
8
|
+
|
|
4
9
|
1.11.0 (2026-08-07)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.12.0
|
|
@@ -679,6 +679,7 @@ module Aws::SecurityAgent
|
|
|
679
679
|
# resp.deleted[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
|
|
680
680
|
# resp.deleted[0].disable_managed_skills #=> Array
|
|
681
681
|
# resp.deleted[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
|
|
682
|
+
# resp.deleted[0].max_task_hours #=> Float
|
|
682
683
|
# resp.deleted[0].created_at #=> Time
|
|
683
684
|
# resp.deleted[0].updated_at #=> Time
|
|
684
685
|
# resp.failed #=> Array
|
|
@@ -972,6 +973,7 @@ module Aws::SecurityAgent
|
|
|
972
973
|
# resp.code_review_jobs[0].integrated_repositories[0].provider_resource_id #=> String
|
|
973
974
|
# resp.code_review_jobs[0].integrated_repositories[0].branch #=> String
|
|
974
975
|
# resp.code_review_jobs[0].code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
|
|
976
|
+
# resp.code_review_jobs[0].max_task_hours #=> Float
|
|
975
977
|
# resp.code_review_jobs[0].created_at #=> Time
|
|
976
978
|
# resp.code_review_jobs[0].updated_at #=> Time
|
|
977
979
|
# resp.not_found #=> Array
|
|
@@ -1041,6 +1043,7 @@ module Aws::SecurityAgent
|
|
|
1041
1043
|
# resp.code_reviews[0].log_config.log_stream #=> String
|
|
1042
1044
|
# resp.code_reviews[0].code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
|
|
1043
1045
|
# resp.code_reviews[0].validation_mode #=> String, one of "DISABLED", "SIMULATED"
|
|
1046
|
+
# resp.code_reviews[0].max_task_hours #=> Float
|
|
1044
1047
|
# resp.code_reviews[0].created_at #=> Time
|
|
1045
1048
|
# resp.code_reviews[0].updated_at #=> Time
|
|
1046
1049
|
# resp.not_found #=> Array
|
|
@@ -1116,6 +1119,9 @@ module Aws::SecurityAgent
|
|
|
1116
1119
|
# resp.findings[0].verification_script.env_vars[0].name #=> String
|
|
1117
1120
|
# resp.findings[0].verification_script.env_vars[0].value #=> String
|
|
1118
1121
|
# resp.findings[0].alignment_rationale #=> String
|
|
1122
|
+
# resp.findings[0].revalidation_job_ids #=> Array
|
|
1123
|
+
# resp.findings[0].revalidation_job_ids[0] #=> String
|
|
1124
|
+
# resp.findings[0].original_finding_id #=> String
|
|
1119
1125
|
# resp.findings[0].created_at #=> Time
|
|
1120
1126
|
# resp.findings[0].updated_at #=> Time
|
|
1121
1127
|
# resp.not_found #=> Array
|
|
@@ -1271,6 +1277,10 @@ module Aws::SecurityAgent
|
|
|
1271
1277
|
# resp.pentest_jobs[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
|
|
1272
1278
|
# resp.pentest_jobs[0].disable_managed_skills #=> Array
|
|
1273
1279
|
# resp.pentest_jobs[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
|
|
1280
|
+
# resp.pentest_jobs[0].max_task_hours #=> Float
|
|
1281
|
+
# resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION"
|
|
1282
|
+
# resp.pentest_jobs[0].selected_finding_ids #=> Array
|
|
1283
|
+
# resp.pentest_jobs[0].selected_finding_ids[0] #=> String
|
|
1274
1284
|
# resp.pentest_jobs[0].created_at #=> Time
|
|
1275
1285
|
# resp.pentest_jobs[0].updated_at #=> Time
|
|
1276
1286
|
# resp.not_found #=> Array
|
|
@@ -1354,6 +1364,7 @@ module Aws::SecurityAgent
|
|
|
1354
1364
|
# resp.pentests[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
|
|
1355
1365
|
# resp.pentests[0].disable_managed_skills #=> Array
|
|
1356
1366
|
# resp.pentests[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
|
|
1367
|
+
# resp.pentests[0].max_task_hours #=> Float
|
|
1357
1368
|
# resp.pentests[0].created_at #=> Time
|
|
1358
1369
|
# resp.pentests[0].updated_at #=> Time
|
|
1359
1370
|
# resp.not_found #=> Array
|
|
@@ -1933,6 +1944,11 @@ module Aws::SecurityAgent
|
|
|
1933
1944
|
# The validation mode for the code review. Valid values are SIMULATED
|
|
1934
1945
|
# and DISABLED.
|
|
1935
1946
|
#
|
|
1947
|
+
# @option params [Float] :max_task_hours
|
|
1948
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
1949
|
+
# from this code review. Must be a positive number. If not set, jobs run
|
|
1950
|
+
# to completion with no budget cap.
|
|
1951
|
+
#
|
|
1936
1952
|
# @return [Types::CreateCodeReviewOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1937
1953
|
#
|
|
1938
1954
|
# * {Types::CreateCodeReviewOutput#code_review_id #code_review_id} => String
|
|
@@ -1945,6 +1961,7 @@ module Aws::SecurityAgent
|
|
|
1945
1961
|
# * {Types::CreateCodeReviewOutput#agent_space_id #agent_space_id} => String
|
|
1946
1962
|
# * {Types::CreateCodeReviewOutput#code_remediation_strategy #code_remediation_strategy} => String
|
|
1947
1963
|
# * {Types::CreateCodeReviewOutput#validation_mode #validation_mode} => String
|
|
1964
|
+
# * {Types::CreateCodeReviewOutput#max_task_hours #max_task_hours} => Float
|
|
1948
1965
|
#
|
|
1949
1966
|
# @example Request syntax with placeholder values
|
|
1950
1967
|
#
|
|
@@ -2000,6 +2017,7 @@ module Aws::SecurityAgent
|
|
|
2000
2017
|
# },
|
|
2001
2018
|
# code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
|
|
2002
2019
|
# validation_mode: "DISABLED", # accepts DISABLED, SIMULATED
|
|
2020
|
+
# max_task_hours: 1.0,
|
|
2003
2021
|
# })
|
|
2004
2022
|
#
|
|
2005
2023
|
# @example Response structure
|
|
@@ -2036,6 +2054,7 @@ module Aws::SecurityAgent
|
|
|
2036
2054
|
# resp.agent_space_id #=> String
|
|
2037
2055
|
# resp.code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
|
|
2038
2056
|
# resp.validation_mode #=> String, one of "DISABLED", "SIMULATED"
|
|
2057
|
+
# resp.max_task_hours #=> Float
|
|
2039
2058
|
#
|
|
2040
2059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReview AWS API Documentation
|
|
2041
2060
|
#
|
|
@@ -2208,6 +2227,11 @@ module Aws::SecurityAgent
|
|
|
2208
2227
|
# A list of managed skills to disable for this pentest. Valid values
|
|
2209
2228
|
# include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
|
|
2210
2229
|
#
|
|
2230
|
+
# @option params [Float] :max_task_hours
|
|
2231
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
2232
|
+
# from this pentest. Must be a positive number. If not set, jobs run to
|
|
2233
|
+
# completion with no budget cap.
|
|
2234
|
+
#
|
|
2211
2235
|
# @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2212
2236
|
#
|
|
2213
2237
|
# * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -2295,6 +2319,7 @@ module Aws::SecurityAgent
|
|
|
2295
2319
|
# },
|
|
2296
2320
|
# code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
|
|
2297
2321
|
# disable_managed_skills: ["FINDING_PERSONALIZATION"], # accepts FINDING_PERSONALIZATION, LOGIN_OPTIMIZATION
|
|
2322
|
+
# max_task_hours: 1.0,
|
|
2298
2323
|
# })
|
|
2299
2324
|
#
|
|
2300
2325
|
# @example Response structure
|
|
@@ -4710,6 +4735,16 @@ module Aws::SecurityAgent
|
|
|
4710
4735
|
# @option params [required, String] :pentest_id
|
|
4711
4736
|
# The unique identifier of the pentest to start a job for.
|
|
4712
4737
|
#
|
|
4738
|
+
# @option params [String] :job_type
|
|
4739
|
+
# The type of pentest job to start. Valid values are FULL and
|
|
4740
|
+
# REVALIDATION. When set to REVALIDATION, the selectedFindingIds
|
|
4741
|
+
# parameter is required.
|
|
4742
|
+
#
|
|
4743
|
+
# @option params [Array<String>] :selected_finding_ids
|
|
4744
|
+
# The list of finding identifiers to revalidate. Required when jobType
|
|
4745
|
+
# is REVALIDATION. Each finding must belong to the same agent space and
|
|
4746
|
+
# pentest.
|
|
4747
|
+
#
|
|
4713
4748
|
# @return [Types::StartPentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4714
4749
|
#
|
|
4715
4750
|
# * {Types::StartPentestJobOutput#title #title} => String
|
|
@@ -4725,6 +4760,8 @@ module Aws::SecurityAgent
|
|
|
4725
4760
|
# resp = client.start_pentest_job({
|
|
4726
4761
|
# agent_space_id: "String", # required
|
|
4727
4762
|
# pentest_id: "String", # required
|
|
4763
|
+
# job_type: "FULL", # accepts FULL, REVALIDATION
|
|
4764
|
+
# selected_finding_ids: ["String"],
|
|
4728
4765
|
# })
|
|
4729
4766
|
#
|
|
4730
4767
|
# @example Response structure
|
|
@@ -5088,6 +5125,10 @@ module Aws::SecurityAgent
|
|
|
5088
5125
|
# The updated validation mode for the code review. Valid values are
|
|
5089
5126
|
# SIMULATED and DISABLED.
|
|
5090
5127
|
#
|
|
5128
|
+
# @option params [Float] :max_task_hours
|
|
5129
|
+
# The updated maximum number of billable task hours allowed for jobs
|
|
5130
|
+
# started from this code review.
|
|
5131
|
+
#
|
|
5091
5132
|
# @return [Types::UpdateCodeReviewOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5092
5133
|
#
|
|
5093
5134
|
# * {Types::UpdateCodeReviewOutput#code_review_id #code_review_id} => String
|
|
@@ -5100,6 +5141,7 @@ module Aws::SecurityAgent
|
|
|
5100
5141
|
# * {Types::UpdateCodeReviewOutput#agent_space_id #agent_space_id} => String
|
|
5101
5142
|
# * {Types::UpdateCodeReviewOutput#code_remediation_strategy #code_remediation_strategy} => String
|
|
5102
5143
|
# * {Types::UpdateCodeReviewOutput#validation_mode #validation_mode} => String
|
|
5144
|
+
# * {Types::UpdateCodeReviewOutput#max_task_hours #max_task_hours} => Float
|
|
5103
5145
|
#
|
|
5104
5146
|
# @example Request syntax with placeholder values
|
|
5105
5147
|
#
|
|
@@ -5156,6 +5198,7 @@ module Aws::SecurityAgent
|
|
|
5156
5198
|
# },
|
|
5157
5199
|
# code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
|
|
5158
5200
|
# validation_mode: "DISABLED", # accepts DISABLED, SIMULATED
|
|
5201
|
+
# max_task_hours: 1.0,
|
|
5159
5202
|
# })
|
|
5160
5203
|
#
|
|
5161
5204
|
# @example Response structure
|
|
@@ -5192,6 +5235,7 @@ module Aws::SecurityAgent
|
|
|
5192
5235
|
# resp.agent_space_id #=> String
|
|
5193
5236
|
# resp.code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
|
|
5194
5237
|
# resp.validation_mode #=> String, one of "DISABLED", "SIMULATED"
|
|
5238
|
+
# resp.max_task_hours #=> Float
|
|
5195
5239
|
#
|
|
5196
5240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReview AWS API Documentation
|
|
5197
5241
|
#
|
|
@@ -5374,6 +5418,10 @@ module Aws::SecurityAgent
|
|
|
5374
5418
|
# The updated list of managed skills to disable for this pentest. Valid
|
|
5375
5419
|
# values include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
|
|
5376
5420
|
#
|
|
5421
|
+
# @option params [Float] :max_task_hours
|
|
5422
|
+
# The updated maximum number of billable task hours allowed for jobs
|
|
5423
|
+
# started from this pentest.
|
|
5424
|
+
#
|
|
5377
5425
|
# @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5378
5426
|
#
|
|
5379
5427
|
# * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -5462,6 +5510,7 @@ module Aws::SecurityAgent
|
|
|
5462
5510
|
# },
|
|
5463
5511
|
# code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
|
|
5464
5512
|
# disable_managed_skills: ["FINDING_PERSONALIZATION"], # accepts FINDING_PERSONALIZATION, LOGIN_OPTIMIZATION
|
|
5513
|
+
# max_task_hours: 1.0,
|
|
5465
5514
|
# })
|
|
5466
5515
|
#
|
|
5467
5516
|
# @example Response structure
|
|
@@ -6018,7 +6067,7 @@ module Aws::SecurityAgent
|
|
|
6018
6067
|
tracer: tracer
|
|
6019
6068
|
)
|
|
6020
6069
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6021
|
-
context[:gem_version] = '1.
|
|
6070
|
+
context[:gem_version] = '1.12.0'
|
|
6022
6071
|
Seahorse::Client::Request.new(handlers, context)
|
|
6023
6072
|
end
|
|
6024
6073
|
|
|
@@ -256,6 +256,7 @@ module Aws::SecurityAgent
|
|
|
256
256
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
257
257
|
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
|
258
258
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
|
259
|
+
JobType = Shapes::StringShape.new(name: 'JobType')
|
|
259
260
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
|
260
261
|
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
|
261
262
|
LambdaFunctionArns = Shapes::ListShape.new(name: 'LambdaFunctionArns')
|
|
@@ -861,6 +862,7 @@ module Aws::SecurityAgent
|
|
|
861
862
|
CodeReview.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
|
|
862
863
|
CodeReview.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
863
864
|
CodeReview.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
|
|
865
|
+
CodeReview.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
864
866
|
CodeReview.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
865
867
|
CodeReview.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
866
868
|
CodeReview.struct_class = Types::CodeReview
|
|
@@ -881,6 +883,7 @@ module Aws::SecurityAgent
|
|
|
881
883
|
CodeReviewJob.add_member(:error_information, Shapes::ShapeRef.new(shape: ErrorInformation, location_name: "errorInformation"))
|
|
882
884
|
CodeReviewJob.add_member(:integrated_repositories, Shapes::ShapeRef.new(shape: IntegratedRepositoryList, location_name: "integratedRepositories"))
|
|
883
885
|
CodeReviewJob.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
886
|
+
CodeReviewJob.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
884
887
|
CodeReviewJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
885
888
|
CodeReviewJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
886
889
|
CodeReviewJob.struct_class = Types::CodeReviewJob
|
|
@@ -1008,6 +1011,7 @@ module Aws::SecurityAgent
|
|
|
1008
1011
|
CreateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
|
|
1009
1012
|
CreateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
1010
1013
|
CreateCodeReviewInput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
|
|
1014
|
+
CreateCodeReviewInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1011
1015
|
CreateCodeReviewInput.struct_class = Types::CreateCodeReviewInput
|
|
1012
1016
|
|
|
1013
1017
|
CreateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
|
|
@@ -1020,6 +1024,7 @@ module Aws::SecurityAgent
|
|
|
1020
1024
|
CreateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
1021
1025
|
CreateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
1022
1026
|
CreateCodeReviewOutput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
|
|
1027
|
+
CreateCodeReviewOutput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1023
1028
|
CreateCodeReviewOutput.struct_class = Types::CreateCodeReviewOutput
|
|
1024
1029
|
|
|
1025
1030
|
CreateIntegrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
|
|
@@ -1052,6 +1057,7 @@ module Aws::SecurityAgent
|
|
|
1052
1057
|
CreatePentestInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
|
|
1053
1058
|
CreatePentestInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
1054
1059
|
CreatePentestInput.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
|
|
1060
|
+
CreatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1055
1061
|
CreatePentestInput.struct_class = Types::CreatePentestInput
|
|
1056
1062
|
|
|
1057
1063
|
CreatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -1344,6 +1350,8 @@ module Aws::SecurityAgent
|
|
|
1344
1350
|
Finding.add_member(:code_locations, Shapes::ShapeRef.new(shape: CodeLocationList, location_name: "codeLocations"))
|
|
1345
1351
|
Finding.add_member(:verification_script, Shapes::ShapeRef.new(shape: VerificationScript, location_name: "verificationScript"))
|
|
1346
1352
|
Finding.add_member(:alignment_rationale, Shapes::ShapeRef.new(shape: String, location_name: "alignmentRationale"))
|
|
1353
|
+
Finding.add_member(:revalidation_job_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "revalidationJobIds"))
|
|
1354
|
+
Finding.add_member(:original_finding_id, Shapes::ShapeRef.new(shape: String, location_name: "originalFindingId"))
|
|
1347
1355
|
Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1348
1356
|
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1349
1357
|
Finding.struct_class = Types::Finding
|
|
@@ -1847,6 +1855,7 @@ module Aws::SecurityAgent
|
|
|
1847
1855
|
Pentest.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
1848
1856
|
Pentest.add_member(:clean_up_strategy, Shapes::ShapeRef.new(shape: CleanUpStrategy, location_name: "cleanUpStrategy"))
|
|
1849
1857
|
Pentest.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
|
|
1858
|
+
Pentest.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1850
1859
|
Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1851
1860
|
Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1852
1861
|
Pentest.struct_class = Types::Pentest
|
|
@@ -1876,6 +1885,9 @@ module Aws::SecurityAgent
|
|
|
1876
1885
|
PentestJob.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
1877
1886
|
PentestJob.add_member(:clean_up_strategy, Shapes::ShapeRef.new(shape: CleanUpStrategy, location_name: "cleanUpStrategy"))
|
|
1878
1887
|
PentestJob.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
|
|
1888
|
+
PentestJob.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
1889
|
+
PentestJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
1890
|
+
PentestJob.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
1879
1891
|
PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
1880
1892
|
PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
1881
1893
|
PentestJob.struct_class = Types::PentestJob
|
|
@@ -2054,6 +2066,8 @@ module Aws::SecurityAgent
|
|
|
2054
2066
|
|
|
2055
2067
|
StartPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
2056
2068
|
StartPentestJobInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
2069
|
+
StartPentestJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
|
2070
|
+
StartPentestJobInput.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
|
|
2057
2071
|
StartPentestJobInput.struct_class = Types::StartPentestJobInput
|
|
2058
2072
|
|
|
2059
2073
|
StartPentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2356,6 +2370,7 @@ module Aws::SecurityAgent
|
|
|
2356
2370
|
UpdateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
|
|
2357
2371
|
UpdateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
2358
2372
|
UpdateCodeReviewInput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
|
|
2373
|
+
UpdateCodeReviewInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
2359
2374
|
UpdateCodeReviewInput.struct_class = Types::UpdateCodeReviewInput
|
|
2360
2375
|
|
|
2361
2376
|
UpdateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
|
|
@@ -2368,6 +2383,7 @@ module Aws::SecurityAgent
|
|
|
2368
2383
|
UpdateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
|
|
2369
2384
|
UpdateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
2370
2385
|
UpdateCodeReviewOutput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
|
|
2386
|
+
UpdateCodeReviewOutput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
2371
2387
|
UpdateCodeReviewOutput.struct_class = Types::UpdateCodeReviewOutput
|
|
2372
2388
|
|
|
2373
2389
|
UpdateFindingInput.add_member(:finding_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "findingId"))
|
|
@@ -2403,6 +2419,7 @@ module Aws::SecurityAgent
|
|
|
2403
2419
|
UpdatePentestInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
|
|
2404
2420
|
UpdatePentestInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
|
|
2405
2421
|
UpdatePentestInput.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
|
|
2422
|
+
UpdatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
|
|
2406
2423
|
UpdatePentestInput.struct_class = Types::UpdatePentestInput
|
|
2407
2424
|
|
|
2408
2425
|
UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -1574,6 +1574,13 @@ module Aws::SecurityAgent
|
|
|
1574
1574
|
# and DISABLED.
|
|
1575
1575
|
# @return [String]
|
|
1576
1576
|
#
|
|
1577
|
+
# @!attribute [rw] max_task_hours
|
|
1578
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
1579
|
+
# from this code review. If a job reaches the configured limit, it is
|
|
1580
|
+
# gracefully stopped. If not set, jobs run to completion with no
|
|
1581
|
+
# budget cap.
|
|
1582
|
+
# @return [Float]
|
|
1583
|
+
#
|
|
1577
1584
|
# @!attribute [rw] created_at
|
|
1578
1585
|
# The date and time the code review was created, in UTC format.
|
|
1579
1586
|
# @return [Time]
|
|
@@ -1593,6 +1600,7 @@ module Aws::SecurityAgent
|
|
|
1593
1600
|
:log_config,
|
|
1594
1601
|
:code_remediation_strategy,
|
|
1595
1602
|
:validation_mode,
|
|
1603
|
+
:max_task_hours,
|
|
1596
1604
|
:created_at,
|
|
1597
1605
|
:updated_at)
|
|
1598
1606
|
SENSITIVE = []
|
|
@@ -1661,6 +1669,12 @@ module Aws::SecurityAgent
|
|
|
1661
1669
|
# The code remediation strategy for the code review job.
|
|
1662
1670
|
# @return [String]
|
|
1663
1671
|
#
|
|
1672
|
+
# @!attribute [rw] max_task_hours
|
|
1673
|
+
# The maximum number of billable task hours allowed for this code
|
|
1674
|
+
# review job. If the cumulative task hours reach this limit, the job
|
|
1675
|
+
# is gracefully stopped.
|
|
1676
|
+
# @return [Float]
|
|
1677
|
+
#
|
|
1664
1678
|
# @!attribute [rw] created_at
|
|
1665
1679
|
# The date and time the code review job was created, in UTC format.
|
|
1666
1680
|
# @return [Time]
|
|
@@ -1687,6 +1701,7 @@ module Aws::SecurityAgent
|
|
|
1687
1701
|
:error_information,
|
|
1688
1702
|
:integrated_repositories,
|
|
1689
1703
|
:code_remediation_strategy,
|
|
1704
|
+
:max_task_hours,
|
|
1690
1705
|
:created_at,
|
|
1691
1706
|
:updated_at)
|
|
1692
1707
|
SENSITIVE = []
|
|
@@ -2234,6 +2249,12 @@ module Aws::SecurityAgent
|
|
|
2234
2249
|
# and DISABLED.
|
|
2235
2250
|
# @return [String]
|
|
2236
2251
|
#
|
|
2252
|
+
# @!attribute [rw] max_task_hours
|
|
2253
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
2254
|
+
# from this code review. Must be a positive number. If not set, jobs
|
|
2255
|
+
# run to completion with no budget cap.
|
|
2256
|
+
# @return [Float]
|
|
2257
|
+
#
|
|
2237
2258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewInput AWS API Documentation
|
|
2238
2259
|
#
|
|
2239
2260
|
class CreateCodeReviewInput < Struct.new(
|
|
@@ -2243,7 +2264,8 @@ module Aws::SecurityAgent
|
|
|
2243
2264
|
:service_role,
|
|
2244
2265
|
:log_config,
|
|
2245
2266
|
:code_remediation_strategy,
|
|
2246
|
-
:validation_mode
|
|
2267
|
+
:validation_mode,
|
|
2268
|
+
:max_task_hours)
|
|
2247
2269
|
SENSITIVE = []
|
|
2248
2270
|
include Aws::Structure
|
|
2249
2271
|
end
|
|
@@ -2291,6 +2313,11 @@ module Aws::SecurityAgent
|
|
|
2291
2313
|
# The validation mode for the code review.
|
|
2292
2314
|
# @return [String]
|
|
2293
2315
|
#
|
|
2316
|
+
# @!attribute [rw] max_task_hours
|
|
2317
|
+
# The maximum number of billable task hours configured for jobs
|
|
2318
|
+
# started from this code review. Null if no budget cap is set.
|
|
2319
|
+
# @return [Float]
|
|
2320
|
+
#
|
|
2294
2321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewOutput AWS API Documentation
|
|
2295
2322
|
#
|
|
2296
2323
|
class CreateCodeReviewOutput < Struct.new(
|
|
@@ -2303,7 +2330,8 @@ module Aws::SecurityAgent
|
|
|
2303
2330
|
:log_config,
|
|
2304
2331
|
:agent_space_id,
|
|
2305
2332
|
:code_remediation_strategy,
|
|
2306
|
-
:validation_mode
|
|
2333
|
+
:validation_mode,
|
|
2334
|
+
:max_task_hours)
|
|
2307
2335
|
SENSITIVE = []
|
|
2308
2336
|
include Aws::Structure
|
|
2309
2337
|
end
|
|
@@ -2447,6 +2475,12 @@ module Aws::SecurityAgent
|
|
|
2447
2475
|
# include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
|
|
2448
2476
|
# @return [Array<String>]
|
|
2449
2477
|
#
|
|
2478
|
+
# @!attribute [rw] max_task_hours
|
|
2479
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
2480
|
+
# from this pentest. Must be a positive number. If not set, jobs run
|
|
2481
|
+
# to completion with no budget cap.
|
|
2482
|
+
# @return [Float]
|
|
2483
|
+
#
|
|
2450
2484
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
|
|
2451
2485
|
#
|
|
2452
2486
|
class CreatePentestInput < Struct.new(
|
|
@@ -2459,7 +2493,8 @@ module Aws::SecurityAgent
|
|
|
2459
2493
|
:vpc_config,
|
|
2460
2494
|
:network_traffic_config,
|
|
2461
2495
|
:code_remediation_strategy,
|
|
2462
|
-
:disable_managed_skills
|
|
2496
|
+
:disable_managed_skills,
|
|
2497
|
+
:max_task_hours)
|
|
2463
2498
|
SENSITIVE = []
|
|
2464
2499
|
include Aws::Structure
|
|
2465
2500
|
end
|
|
@@ -3759,6 +3794,16 @@ module Aws::SecurityAgent
|
|
|
3759
3794
|
# finding was adjusted based on customer preferences.
|
|
3760
3795
|
# @return [String]
|
|
3761
3796
|
#
|
|
3797
|
+
# @!attribute [rw] revalidation_job_ids
|
|
3798
|
+
# The list of pentest job identifiers for revalidation jobs that
|
|
3799
|
+
# retested this finding.
|
|
3800
|
+
# @return [Array<String>]
|
|
3801
|
+
#
|
|
3802
|
+
# @!attribute [rw] original_finding_id
|
|
3803
|
+
# The identifier of the original finding that this revalidation
|
|
3804
|
+
# finding was produced from.
|
|
3805
|
+
# @return [String]
|
|
3806
|
+
#
|
|
3762
3807
|
# @!attribute [rw] created_at
|
|
3763
3808
|
# The date and time the finding was created, in UTC format.
|
|
3764
3809
|
# @return [Time]
|
|
@@ -3793,6 +3838,8 @@ module Aws::SecurityAgent
|
|
|
3793
3838
|
:code_locations,
|
|
3794
3839
|
:verification_script,
|
|
3795
3840
|
:alignment_rationale,
|
|
3841
|
+
:revalidation_job_ids,
|
|
3842
|
+
:original_finding_id,
|
|
3796
3843
|
:created_at,
|
|
3797
3844
|
:updated_at)
|
|
3798
3845
|
SENSITIVE = []
|
|
@@ -6119,6 +6166,13 @@ module Aws::SecurityAgent
|
|
|
6119
6166
|
# include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
|
|
6120
6167
|
# @return [Array<String>]
|
|
6121
6168
|
#
|
|
6169
|
+
# @!attribute [rw] max_task_hours
|
|
6170
|
+
# The maximum number of billable task hours allowed for jobs started
|
|
6171
|
+
# from this pentest. If a job reaches the configured limit, it is
|
|
6172
|
+
# gracefully stopped. If not set, jobs run to completion with no
|
|
6173
|
+
# budget cap.
|
|
6174
|
+
# @return [Float]
|
|
6175
|
+
#
|
|
6122
6176
|
# @!attribute [rw] created_at
|
|
6123
6177
|
# The date and time the pentest was created, in UTC format.
|
|
6124
6178
|
# @return [Time]
|
|
@@ -6142,6 +6196,7 @@ module Aws::SecurityAgent
|
|
|
6142
6196
|
:code_remediation_strategy,
|
|
6143
6197
|
:clean_up_strategy,
|
|
6144
6198
|
:disable_managed_skills,
|
|
6199
|
+
:max_task_hours,
|
|
6145
6200
|
:created_at,
|
|
6146
6201
|
:updated_at)
|
|
6147
6202
|
SENSITIVE = []
|
|
@@ -6246,6 +6301,21 @@ module Aws::SecurityAgent
|
|
|
6246
6301
|
# include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
|
|
6247
6302
|
# @return [Array<String>]
|
|
6248
6303
|
#
|
|
6304
|
+
# @!attribute [rw] max_task_hours
|
|
6305
|
+
# The maximum number of billable task hours allowed for this pentest
|
|
6306
|
+
# job. If the cumulative task hours reach this limit, the job is
|
|
6307
|
+
# gracefully stopped.
|
|
6308
|
+
# @return [Float]
|
|
6309
|
+
#
|
|
6310
|
+
# @!attribute [rw] job_type
|
|
6311
|
+
# The type of the pentest job. Valid values are FULL and REVALIDATION.
|
|
6312
|
+
# @return [String]
|
|
6313
|
+
#
|
|
6314
|
+
# @!attribute [rw] selected_finding_ids
|
|
6315
|
+
# The list of finding identifiers selected for revalidation. Present
|
|
6316
|
+
# only when jobType is REVALIDATION.
|
|
6317
|
+
# @return [Array<String>]
|
|
6318
|
+
#
|
|
6249
6319
|
# @!attribute [rw] created_at
|
|
6250
6320
|
# The date and time the pentest job was created, in UTC format.
|
|
6251
6321
|
# @return [Time]
|
|
@@ -6280,6 +6350,9 @@ module Aws::SecurityAgent
|
|
|
6280
6350
|
:code_remediation_strategy,
|
|
6281
6351
|
:clean_up_strategy,
|
|
6282
6352
|
:disable_managed_skills,
|
|
6353
|
+
:max_task_hours,
|
|
6354
|
+
:job_type,
|
|
6355
|
+
:selected_finding_ids,
|
|
6283
6356
|
:created_at,
|
|
6284
6357
|
:updated_at)
|
|
6285
6358
|
SENSITIVE = []
|
|
@@ -6923,11 +6996,25 @@ module Aws::SecurityAgent
|
|
|
6923
6996
|
# The unique identifier of the pentest to start a job for.
|
|
6924
6997
|
# @return [String]
|
|
6925
6998
|
#
|
|
6999
|
+
# @!attribute [rw] job_type
|
|
7000
|
+
# The type of pentest job to start. Valid values are FULL and
|
|
7001
|
+
# REVALIDATION. When set to REVALIDATION, the selectedFindingIds
|
|
7002
|
+
# parameter is required.
|
|
7003
|
+
# @return [String]
|
|
7004
|
+
#
|
|
7005
|
+
# @!attribute [rw] selected_finding_ids
|
|
7006
|
+
# The list of finding identifiers to revalidate. Required when jobType
|
|
7007
|
+
# is REVALIDATION. Each finding must belong to the same agent space
|
|
7008
|
+
# and pentest.
|
|
7009
|
+
# @return [Array<String>]
|
|
7010
|
+
#
|
|
6926
7011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobInput AWS API Documentation
|
|
6927
7012
|
#
|
|
6928
7013
|
class StartPentestJobInput < Struct.new(
|
|
6929
7014
|
:agent_space_id,
|
|
6930
|
-
:pentest_id
|
|
7015
|
+
:pentest_id,
|
|
7016
|
+
:job_type,
|
|
7017
|
+
:selected_finding_ids)
|
|
6931
7018
|
SENSITIVE = []
|
|
6932
7019
|
include Aws::Structure
|
|
6933
7020
|
end
|
|
@@ -8159,6 +8246,11 @@ module Aws::SecurityAgent
|
|
|
8159
8246
|
# SIMULATED and DISABLED.
|
|
8160
8247
|
# @return [String]
|
|
8161
8248
|
#
|
|
8249
|
+
# @!attribute [rw] max_task_hours
|
|
8250
|
+
# The updated maximum number of billable task hours allowed for jobs
|
|
8251
|
+
# started from this code review.
|
|
8252
|
+
# @return [Float]
|
|
8253
|
+
#
|
|
8162
8254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewInput AWS API Documentation
|
|
8163
8255
|
#
|
|
8164
8256
|
class UpdateCodeReviewInput < Struct.new(
|
|
@@ -8169,7 +8261,8 @@ module Aws::SecurityAgent
|
|
|
8169
8261
|
:service_role,
|
|
8170
8262
|
:log_config,
|
|
8171
8263
|
:code_remediation_strategy,
|
|
8172
|
-
:validation_mode
|
|
8264
|
+
:validation_mode,
|
|
8265
|
+
:max_task_hours)
|
|
8173
8266
|
SENSITIVE = []
|
|
8174
8267
|
include Aws::Structure
|
|
8175
8268
|
end
|
|
@@ -8217,6 +8310,11 @@ module Aws::SecurityAgent
|
|
|
8217
8310
|
# The validation mode for the code review.
|
|
8218
8311
|
# @return [String]
|
|
8219
8312
|
#
|
|
8313
|
+
# @!attribute [rw] max_task_hours
|
|
8314
|
+
# The maximum number of billable task hours configured for jobs
|
|
8315
|
+
# started from this code review. Null if no budget cap is set.
|
|
8316
|
+
# @return [Float]
|
|
8317
|
+
#
|
|
8220
8318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewOutput AWS API Documentation
|
|
8221
8319
|
#
|
|
8222
8320
|
class UpdateCodeReviewOutput < Struct.new(
|
|
@@ -8229,7 +8327,8 @@ module Aws::SecurityAgent
|
|
|
8229
8327
|
:log_config,
|
|
8230
8328
|
:agent_space_id,
|
|
8231
8329
|
:code_remediation_strategy,
|
|
8232
|
-
:validation_mode
|
|
8330
|
+
:validation_mode,
|
|
8331
|
+
:max_task_hours)
|
|
8233
8332
|
SENSITIVE = []
|
|
8234
8333
|
include Aws::Structure
|
|
8235
8334
|
end
|
|
@@ -8378,6 +8477,11 @@ module Aws::SecurityAgent
|
|
|
8378
8477
|
# LOGIN\_OPTIMIZATION.
|
|
8379
8478
|
# @return [Array<String>]
|
|
8380
8479
|
#
|
|
8480
|
+
# @!attribute [rw] max_task_hours
|
|
8481
|
+
# The updated maximum number of billable task hours allowed for jobs
|
|
8482
|
+
# started from this pentest.
|
|
8483
|
+
# @return [Float]
|
|
8484
|
+
#
|
|
8381
8485
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
|
|
8382
8486
|
#
|
|
8383
8487
|
class UpdatePentestInput < Struct.new(
|
|
@@ -8391,7 +8495,8 @@ module Aws::SecurityAgent
|
|
|
8391
8495
|
:vpc_config,
|
|
8392
8496
|
:network_traffic_config,
|
|
8393
8497
|
:code_remediation_strategy,
|
|
8394
|
-
:disable_managed_skills
|
|
8498
|
+
:disable_managed_skills,
|
|
8499
|
+
:max_task_hours)
|
|
8395
8500
|
SENSITIVE = []
|
|
8396
8501
|
include Aws::Structure
|
|
8397
8502
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -408,6 +408,7 @@ module Aws
|
|
|
408
408
|
def agent_space_id: () -> ::String
|
|
409
409
|
def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
|
|
410
410
|
def validation_mode: () -> ("DISABLED" | "SIMULATED")
|
|
411
|
+
def max_task_hours: () -> ::Float
|
|
411
412
|
end
|
|
412
413
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_code_review-instance_method
|
|
413
414
|
def create_code_review: (
|
|
@@ -420,7 +421,8 @@ module Aws
|
|
|
420
421
|
log_stream: ::String?
|
|
421
422
|
},
|
|
422
423
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
423
|
-
?validation_mode: ("DISABLED" | "SIMULATED")
|
|
424
|
+
?validation_mode: ("DISABLED" | "SIMULATED"),
|
|
425
|
+
?max_task_hours: ::Float
|
|
424
426
|
) -> _CreateCodeReviewResponseSuccess
|
|
425
427
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeReviewResponseSuccess
|
|
426
428
|
|
|
@@ -512,7 +514,8 @@ module Aws
|
|
|
512
514
|
},
|
|
513
515
|
?network_traffic_config: Params::network_traffic_config,
|
|
514
516
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
515
|
-
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
517
|
+
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")],
|
|
518
|
+
?max_task_hours: ::Float
|
|
516
519
|
) -> _CreatePentestResponseSuccess
|
|
517
520
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
518
521
|
|
|
@@ -1248,7 +1251,9 @@ module Aws
|
|
|
1248
1251
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_pentest_job-instance_method
|
|
1249
1252
|
def start_pentest_job: (
|
|
1250
1253
|
agent_space_id: ::String,
|
|
1251
|
-
pentest_id: ::String
|
|
1254
|
+
pentest_id: ::String,
|
|
1255
|
+
?job_type: ("FULL" | "REVALIDATION"),
|
|
1256
|
+
?selected_finding_ids: Array[::String]
|
|
1252
1257
|
) -> _StartPentestJobResponseSuccess
|
|
1253
1258
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
|
|
1254
1259
|
|
|
@@ -1368,6 +1373,7 @@ module Aws
|
|
|
1368
1373
|
def agent_space_id: () -> ::String
|
|
1369
1374
|
def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
|
|
1370
1375
|
def validation_mode: () -> ("DISABLED" | "SIMULATED")
|
|
1376
|
+
def max_task_hours: () -> ::Float
|
|
1371
1377
|
end
|
|
1372
1378
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_code_review-instance_method
|
|
1373
1379
|
def update_code_review: (
|
|
@@ -1381,7 +1387,8 @@ module Aws
|
|
|
1381
1387
|
log_stream: ::String?
|
|
1382
1388
|
},
|
|
1383
1389
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
1384
|
-
?validation_mode: ("DISABLED" | "SIMULATED")
|
|
1390
|
+
?validation_mode: ("DISABLED" | "SIMULATED"),
|
|
1391
|
+
?max_task_hours: ::Float
|
|
1385
1392
|
) -> _UpdateCodeReviewResponseSuccess
|
|
1386
1393
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeReviewResponseSuccess
|
|
1387
1394
|
|
|
@@ -1489,7 +1496,8 @@ module Aws
|
|
|
1489
1496
|
},
|
|
1490
1497
|
?network_traffic_config: Params::network_traffic_config,
|
|
1491
1498
|
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
1492
|
-
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
1499
|
+
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")],
|
|
1500
|
+
?max_task_hours: ::Float
|
|
1493
1501
|
) -> _UpdatePentestResponseSuccess
|
|
1494
1502
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
|
|
1495
1503
|
|
data/sig/types.rbs
CHANGED
|
@@ -462,6 +462,7 @@ module Aws::SecurityAgent
|
|
|
462
462
|
attr_accessor log_config: Types::CloudWatchLog
|
|
463
463
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
464
464
|
attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
|
|
465
|
+
attr_accessor max_task_hours: ::Float
|
|
465
466
|
attr_accessor created_at: ::Time
|
|
466
467
|
attr_accessor updated_at: ::Time
|
|
467
468
|
SENSITIVE: []
|
|
@@ -482,6 +483,7 @@ module Aws::SecurityAgent
|
|
|
482
483
|
attr_accessor error_information: Types::ErrorInformation
|
|
483
484
|
attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
|
|
484
485
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
486
|
+
attr_accessor max_task_hours: ::Float
|
|
485
487
|
attr_accessor created_at: ::Time
|
|
486
488
|
attr_accessor updated_at: ::Time
|
|
487
489
|
SENSITIVE: []
|
|
@@ -625,6 +627,7 @@ module Aws::SecurityAgent
|
|
|
625
627
|
attr_accessor log_config: Types::CloudWatchLog
|
|
626
628
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
627
629
|
attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
|
|
630
|
+
attr_accessor max_task_hours: ::Float
|
|
628
631
|
SENSITIVE: []
|
|
629
632
|
end
|
|
630
633
|
|
|
@@ -639,6 +642,7 @@ module Aws::SecurityAgent
|
|
|
639
642
|
attr_accessor agent_space_id: ::String
|
|
640
643
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
641
644
|
attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
|
|
645
|
+
attr_accessor max_task_hours: ::Float
|
|
642
646
|
SENSITIVE: []
|
|
643
647
|
end
|
|
644
648
|
|
|
@@ -680,6 +684,7 @@ module Aws::SecurityAgent
|
|
|
680
684
|
attr_accessor network_traffic_config: Types::NetworkTrafficConfig
|
|
681
685
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
682
686
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
687
|
+
attr_accessor max_task_hours: ::Float
|
|
683
688
|
SENSITIVE: []
|
|
684
689
|
end
|
|
685
690
|
|
|
@@ -1035,6 +1040,8 @@ module Aws::SecurityAgent
|
|
|
1035
1040
|
attr_accessor code_locations: ::Array[Types::CodeLocation]
|
|
1036
1041
|
attr_accessor verification_script: Types::VerificationScript
|
|
1037
1042
|
attr_accessor alignment_rationale: ::String
|
|
1043
|
+
attr_accessor revalidation_job_ids: ::Array[::String]
|
|
1044
|
+
attr_accessor original_finding_id: ::String
|
|
1038
1045
|
attr_accessor created_at: ::Time
|
|
1039
1046
|
attr_accessor updated_at: ::Time
|
|
1040
1047
|
SENSITIVE: []
|
|
@@ -1713,6 +1720,7 @@ module Aws::SecurityAgent
|
|
|
1713
1720
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
1714
1721
|
attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
|
|
1715
1722
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
1723
|
+
attr_accessor max_task_hours: ::Float
|
|
1716
1724
|
attr_accessor created_at: ::Time
|
|
1717
1725
|
attr_accessor updated_at: ::Time
|
|
1718
1726
|
SENSITIVE: []
|
|
@@ -1742,6 +1750,9 @@ module Aws::SecurityAgent
|
|
|
1742
1750
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
1743
1751
|
attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
|
|
1744
1752
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
1753
|
+
attr_accessor max_task_hours: ::Float
|
|
1754
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
1755
|
+
attr_accessor selected_finding_ids: ::Array[::String]
|
|
1745
1756
|
attr_accessor created_at: ::Time
|
|
1746
1757
|
attr_accessor updated_at: ::Time
|
|
1747
1758
|
SENSITIVE: []
|
|
@@ -1937,6 +1948,8 @@ module Aws::SecurityAgent
|
|
|
1937
1948
|
class StartPentestJobInput
|
|
1938
1949
|
attr_accessor agent_space_id: ::String
|
|
1939
1950
|
attr_accessor pentest_id: ::String
|
|
1951
|
+
attr_accessor job_type: ("FULL" | "REVALIDATION")
|
|
1952
|
+
attr_accessor selected_finding_ids: ::Array[::String]
|
|
1940
1953
|
SENSITIVE: []
|
|
1941
1954
|
end
|
|
1942
1955
|
|
|
@@ -2253,6 +2266,7 @@ module Aws::SecurityAgent
|
|
|
2253
2266
|
attr_accessor log_config: Types::CloudWatchLog
|
|
2254
2267
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
2255
2268
|
attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
|
|
2269
|
+
attr_accessor max_task_hours: ::Float
|
|
2256
2270
|
SENSITIVE: []
|
|
2257
2271
|
end
|
|
2258
2272
|
|
|
@@ -2267,6 +2281,7 @@ module Aws::SecurityAgent
|
|
|
2267
2281
|
attr_accessor agent_space_id: ::String
|
|
2268
2282
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
2269
2283
|
attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
|
|
2284
|
+
attr_accessor max_task_hours: ::Float
|
|
2270
2285
|
SENSITIVE: []
|
|
2271
2286
|
end
|
|
2272
2287
|
|
|
@@ -2310,6 +2325,7 @@ module Aws::SecurityAgent
|
|
|
2310
2325
|
attr_accessor network_traffic_config: Types::NetworkTrafficConfig
|
|
2311
2326
|
attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
2312
2327
|
attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
2328
|
+
attr_accessor max_task_hours: ::Float
|
|
2313
2329
|
SENSITIVE: []
|
|
2314
2330
|
end
|
|
2315
2331
|
|