aws-sdk-securityagent 1.11.0 → 1.13.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: 349abb0d9c1b1e58aad973302675d2e40d94931420912486f27c1eaccc33e684
4
- data.tar.gz: ac6608bdeca586a93d68a5581d6ada31855596109f2f9831629f9008ccbc0c43
3
+ metadata.gz: e13f056c1ff17dc7448280b0d8e7d5bc4e38fb791be243efb083a26d15529a36
4
+ data.tar.gz: 5103eeb1120b982ae0b41ef1afbc455de77dce11d881c29d392a47c8c6f0442e
5
5
  SHA512:
6
- metadata.gz: 928d06f3141bc609dd79ce7610c24651969aa792c1fcce069298121221a760f7131466fe9e6977346691d737e29e3afb8c0eac85899c2aa6eed71eae1faf65f4
7
- data.tar.gz: 79e519f2956af61a5384a77a95fc34f41ae70a46b5ad614e0577bf49d9ca096f1a7f572c14384bc1568ea30b4a740bc52f28977d8656e2f06f1037adf5fba4f4
6
+ metadata.gz: b0be1223d552a621a3e727b45c5130aa8c756c2c191373c25b49f951dad7e2f2a1f740d401d528a2b82c15477fd8239536efd1f7cda78daa6f7b82e73aba9a33
7
+ data.tar.gz: 648b7c464b382b631d6a0ca57f1d9fbd64a29507909fbf49ce2cefa41a344602b0d023834bdbe7fc39ce11b62f03c2d9e192a6a17b1854c8d198f4ce53d603d7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2026-08-24)
5
+ ------------------
6
+
7
+ * Feature - Adding private and self-signed certificate configuration support for penetration tests
8
+
9
+ 1.12.0 (2026-08-13)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.11.0 (2026-08-07)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -658,6 +658,10 @@ module Aws::SecurityAgent
658
658
  # resp.deleted[0].assets.integrated_repositories[0].integration_id #=> String
659
659
  # resp.deleted[0].assets.integrated_repositories[0].provider_resource_id #=> String
660
660
  # resp.deleted[0].assets.integrated_repositories[0].branch #=> String
661
+ # resp.deleted[0].assets.trusted_ca_certificates #=> Array
662
+ # resp.deleted[0].assets.trusted_ca_certificates[0].source.inline_pem #=> String
663
+ # resp.deleted[0].assets.trusted_ca_certificates[0].source.artifact_id #=> String
664
+ # resp.deleted[0].assets.trusted_ca_certificates[0].source.s3_location #=> String
661
665
  # resp.deleted[0].exclude_risk_types #=> Array
662
666
  # resp.deleted[0].exclude_risk_types[0] #=> String, one of "CROSS_SITE_SCRIPTING", "DEFAULT_CREDENTIALS", "INSECURE_DIRECT_OBJECT_REFERENCE", "PRIVILEGE_ESCALATION", "SERVER_SIDE_TEMPLATE_INJECTION", "COMMAND_INJECTION", "CODE_INJECTION", "SQL_INJECTION", "ARBITRARY_FILE_UPLOAD", "INSECURE_DESERIALIZATION", "LOCAL_FILE_INCLUSION", "INFORMATION_DISCLOSURE", "PATH_TRAVERSAL", "SERVER_SIDE_REQUEST_FORGERY", "JSON_WEB_TOKEN_VULNERABILITIES", "XML_EXTERNAL_ENTITY", "FILE_DELETION", "OTHER", "GRAPHQL_VULNERABILITIES", "BUSINESS_LOGIC_VULNERABILITIES", "CRYPTOGRAPHIC_VULNERABILITIES", "DENIAL_OF_SERVICE", "FILE_ACCESS", "FILE_CREATION", "DATABASE_MODIFICATION", "DATABASE_ACCESS", "OUTBOUND_SERVICE_REQUEST", "UNKNOWN"
663
667
  # resp.deleted[0].service_role #=> String
@@ -679,6 +683,7 @@ module Aws::SecurityAgent
679
683
  # resp.deleted[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
680
684
  # resp.deleted[0].disable_managed_skills #=> Array
681
685
  # resp.deleted[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
686
+ # resp.deleted[0].max_task_hours #=> Float
682
687
  # resp.deleted[0].created_at #=> Time
683
688
  # resp.deleted[0].updated_at #=> Time
684
689
  # resp.failed #=> Array
@@ -972,6 +977,7 @@ module Aws::SecurityAgent
972
977
  # resp.code_review_jobs[0].integrated_repositories[0].provider_resource_id #=> String
973
978
  # resp.code_review_jobs[0].integrated_repositories[0].branch #=> String
974
979
  # resp.code_review_jobs[0].code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
980
+ # resp.code_review_jobs[0].max_task_hours #=> Float
975
981
  # resp.code_review_jobs[0].created_at #=> Time
976
982
  # resp.code_review_jobs[0].updated_at #=> Time
977
983
  # resp.not_found #=> Array
@@ -1036,11 +1042,16 @@ module Aws::SecurityAgent
1036
1042
  # resp.code_reviews[0].assets.integrated_repositories[0].integration_id #=> String
1037
1043
  # resp.code_reviews[0].assets.integrated_repositories[0].provider_resource_id #=> String
1038
1044
  # resp.code_reviews[0].assets.integrated_repositories[0].branch #=> String
1045
+ # resp.code_reviews[0].assets.trusted_ca_certificates #=> Array
1046
+ # resp.code_reviews[0].assets.trusted_ca_certificates[0].source.inline_pem #=> String
1047
+ # resp.code_reviews[0].assets.trusted_ca_certificates[0].source.artifact_id #=> String
1048
+ # resp.code_reviews[0].assets.trusted_ca_certificates[0].source.s3_location #=> String
1039
1049
  # resp.code_reviews[0].service_role #=> String
1040
1050
  # resp.code_reviews[0].log_config.log_group #=> String
1041
1051
  # resp.code_reviews[0].log_config.log_stream #=> String
1042
1052
  # resp.code_reviews[0].code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
1043
1053
  # resp.code_reviews[0].validation_mode #=> String, one of "DISABLED", "SIMULATED"
1054
+ # resp.code_reviews[0].max_task_hours #=> Float
1044
1055
  # resp.code_reviews[0].created_at #=> Time
1045
1056
  # resp.code_reviews[0].updated_at #=> Time
1046
1057
  # resp.not_found #=> Array
@@ -1116,6 +1127,9 @@ module Aws::SecurityAgent
1116
1127
  # resp.findings[0].verification_script.env_vars[0].name #=> String
1117
1128
  # resp.findings[0].verification_script.env_vars[0].value #=> String
1118
1129
  # resp.findings[0].alignment_rationale #=> String
1130
+ # resp.findings[0].revalidation_job_ids #=> Array
1131
+ # resp.findings[0].revalidation_job_ids[0] #=> String
1132
+ # resp.findings[0].original_finding_id #=> String
1119
1133
  # resp.findings[0].created_at #=> Time
1120
1134
  # resp.findings[0].updated_at #=> Time
1121
1135
  # resp.not_found #=> Array
@@ -1267,10 +1281,18 @@ module Aws::SecurityAgent
1267
1281
  # resp.pentest_jobs[0].integrated_repositories[0].integration_id #=> String
1268
1282
  # resp.pentest_jobs[0].integrated_repositories[0].provider_resource_id #=> String
1269
1283
  # resp.pentest_jobs[0].integrated_repositories[0].branch #=> String
1284
+ # resp.pentest_jobs[0].trusted_ca_certificates #=> Array
1285
+ # resp.pentest_jobs[0].trusted_ca_certificates[0].source.inline_pem #=> String
1286
+ # resp.pentest_jobs[0].trusted_ca_certificates[0].source.artifact_id #=> String
1287
+ # resp.pentest_jobs[0].trusted_ca_certificates[0].source.s3_location #=> String
1270
1288
  # resp.pentest_jobs[0].code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
1271
1289
  # resp.pentest_jobs[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
1272
1290
  # resp.pentest_jobs[0].disable_managed_skills #=> Array
1273
1291
  # resp.pentest_jobs[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
1292
+ # resp.pentest_jobs[0].max_task_hours #=> Float
1293
+ # resp.pentest_jobs[0].job_type #=> String, one of "FULL", "REVALIDATION"
1294
+ # resp.pentest_jobs[0].selected_finding_ids #=> Array
1295
+ # resp.pentest_jobs[0].selected_finding_ids[0] #=> String
1274
1296
  # resp.pentest_jobs[0].created_at #=> Time
1275
1297
  # resp.pentest_jobs[0].updated_at #=> Time
1276
1298
  # resp.not_found #=> Array
@@ -1333,6 +1355,10 @@ module Aws::SecurityAgent
1333
1355
  # resp.pentests[0].assets.integrated_repositories[0].integration_id #=> String
1334
1356
  # resp.pentests[0].assets.integrated_repositories[0].provider_resource_id #=> String
1335
1357
  # resp.pentests[0].assets.integrated_repositories[0].branch #=> String
1358
+ # resp.pentests[0].assets.trusted_ca_certificates #=> Array
1359
+ # resp.pentests[0].assets.trusted_ca_certificates[0].source.inline_pem #=> String
1360
+ # resp.pentests[0].assets.trusted_ca_certificates[0].source.artifact_id #=> String
1361
+ # resp.pentests[0].assets.trusted_ca_certificates[0].source.s3_location #=> String
1336
1362
  # resp.pentests[0].exclude_risk_types #=> Array
1337
1363
  # resp.pentests[0].exclude_risk_types[0] #=> String, one of "CROSS_SITE_SCRIPTING", "DEFAULT_CREDENTIALS", "INSECURE_DIRECT_OBJECT_REFERENCE", "PRIVILEGE_ESCALATION", "SERVER_SIDE_TEMPLATE_INJECTION", "COMMAND_INJECTION", "CODE_INJECTION", "SQL_INJECTION", "ARBITRARY_FILE_UPLOAD", "INSECURE_DESERIALIZATION", "LOCAL_FILE_INCLUSION", "INFORMATION_DISCLOSURE", "PATH_TRAVERSAL", "SERVER_SIDE_REQUEST_FORGERY", "JSON_WEB_TOKEN_VULNERABILITIES", "XML_EXTERNAL_ENTITY", "FILE_DELETION", "OTHER", "GRAPHQL_VULNERABILITIES", "BUSINESS_LOGIC_VULNERABILITIES", "CRYPTOGRAPHIC_VULNERABILITIES", "DENIAL_OF_SERVICE", "FILE_ACCESS", "FILE_CREATION", "DATABASE_MODIFICATION", "DATABASE_ACCESS", "OUTBOUND_SERVICE_REQUEST", "UNKNOWN"
1338
1364
  # resp.pentests[0].service_role #=> String
@@ -1354,6 +1380,7 @@ module Aws::SecurityAgent
1354
1380
  # resp.pentests[0].clean_up_strategy #=> String, one of "BEST_EFFORT_DELETE", "RETAIN_ALL"
1355
1381
  # resp.pentests[0].disable_managed_skills #=> Array
1356
1382
  # resp.pentests[0].disable_managed_skills[0] #=> String, one of "FINDING_PERSONALIZATION", "LOGIN_OPTIMIZATION"
1383
+ # resp.pentests[0].max_task_hours #=> Float
1357
1384
  # resp.pentests[0].created_at #=> Time
1358
1385
  # resp.pentests[0].updated_at #=> Time
1359
1386
  # resp.not_found #=> Array
@@ -1621,6 +1648,10 @@ module Aws::SecurityAgent
1621
1648
  # resp.threat_models[0].assets.integrated_repositories[0].integration_id #=> String
1622
1649
  # resp.threat_models[0].assets.integrated_repositories[0].provider_resource_id #=> String
1623
1650
  # resp.threat_models[0].assets.integrated_repositories[0].branch #=> String
1651
+ # resp.threat_models[0].assets.trusted_ca_certificates #=> Array
1652
+ # resp.threat_models[0].assets.trusted_ca_certificates[0].source.inline_pem #=> String
1653
+ # resp.threat_models[0].assets.trusted_ca_certificates[0].source.artifact_id #=> String
1654
+ # resp.threat_models[0].assets.trusted_ca_certificates[0].source.s3_location #=> String
1624
1655
  # resp.threat_models[0].scope_docs #=> Array
1625
1656
  # resp.threat_models[0].scope_docs[0].s3_location #=> String
1626
1657
  # resp.threat_models[0].scope_docs[0].artifact_id #=> String
@@ -1933,6 +1964,11 @@ module Aws::SecurityAgent
1933
1964
  # The validation mode for the code review. Valid values are SIMULATED
1934
1965
  # and DISABLED.
1935
1966
  #
1967
+ # @option params [Float] :max_task_hours
1968
+ # The maximum number of billable task hours allowed for jobs started
1969
+ # from this code review. Must be a positive number. If not set, jobs run
1970
+ # to completion with no budget cap.
1971
+ #
1936
1972
  # @return [Types::CreateCodeReviewOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1937
1973
  #
1938
1974
  # * {Types::CreateCodeReviewOutput#code_review_id #code_review_id} => String
@@ -1945,6 +1981,7 @@ module Aws::SecurityAgent
1945
1981
  # * {Types::CreateCodeReviewOutput#agent_space_id #agent_space_id} => String
1946
1982
  # * {Types::CreateCodeReviewOutput#code_remediation_strategy #code_remediation_strategy} => String
1947
1983
  # * {Types::CreateCodeReviewOutput#validation_mode #validation_mode} => String
1984
+ # * {Types::CreateCodeReviewOutput#max_task_hours #max_task_hours} => Float
1948
1985
  #
1949
1986
  # @example Request syntax with placeholder values
1950
1987
  #
@@ -1992,6 +2029,15 @@ module Aws::SecurityAgent
1992
2029
  # branch: "String",
1993
2030
  # },
1994
2031
  # ],
2032
+ # trusted_ca_certificates: [
2033
+ # {
2034
+ # source: { # required
2035
+ # inline_pem: "CaCertificatePem",
2036
+ # artifact_id: "String",
2037
+ # s3_location: "String",
2038
+ # },
2039
+ # },
2040
+ # ],
1995
2041
  # },
1996
2042
  # service_role: "ServiceRole",
1997
2043
  # log_config: {
@@ -2000,6 +2046,7 @@ module Aws::SecurityAgent
2000
2046
  # },
2001
2047
  # code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
2002
2048
  # validation_mode: "DISABLED", # accepts DISABLED, SIMULATED
2049
+ # max_task_hours: 1.0,
2003
2050
  # })
2004
2051
  #
2005
2052
  # @example Response structure
@@ -2030,12 +2077,17 @@ module Aws::SecurityAgent
2030
2077
  # resp.assets.integrated_repositories[0].integration_id #=> String
2031
2078
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
2032
2079
  # resp.assets.integrated_repositories[0].branch #=> String
2080
+ # resp.assets.trusted_ca_certificates #=> Array
2081
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
2082
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
2083
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
2033
2084
  # resp.service_role #=> String
2034
2085
  # resp.log_config.log_group #=> String
2035
2086
  # resp.log_config.log_stream #=> String
2036
2087
  # resp.agent_space_id #=> String
2037
2088
  # resp.code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
2038
2089
  # resp.validation_mode #=> String, one of "DISABLED", "SIMULATED"
2090
+ # resp.max_task_hours #=> Float
2039
2091
  #
2040
2092
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReview AWS API Documentation
2041
2093
  #
@@ -2208,6 +2260,11 @@ module Aws::SecurityAgent
2208
2260
  # A list of managed skills to disable for this pentest. Valid values
2209
2261
  # include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
2210
2262
  #
2263
+ # @option params [Float] :max_task_hours
2264
+ # The maximum number of billable task hours allowed for jobs started
2265
+ # from this pentest. Must be a positive number. If not set, jobs run to
2266
+ # completion with no budget cap.
2267
+ #
2211
2268
  # @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2212
2269
  #
2213
2270
  # * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
@@ -2266,6 +2323,15 @@ module Aws::SecurityAgent
2266
2323
  # branch: "String",
2267
2324
  # },
2268
2325
  # ],
2326
+ # trusted_ca_certificates: [
2327
+ # {
2328
+ # source: { # required
2329
+ # inline_pem: "CaCertificatePem",
2330
+ # artifact_id: "String",
2331
+ # s3_location: "String",
2332
+ # },
2333
+ # },
2334
+ # ],
2269
2335
  # },
2270
2336
  # exclude_risk_types: ["CROSS_SITE_SCRIPTING"], # accepts CROSS_SITE_SCRIPTING, DEFAULT_CREDENTIALS, INSECURE_DIRECT_OBJECT_REFERENCE, PRIVILEGE_ESCALATION, SERVER_SIDE_TEMPLATE_INJECTION, COMMAND_INJECTION, CODE_INJECTION, SQL_INJECTION, ARBITRARY_FILE_UPLOAD, INSECURE_DESERIALIZATION, LOCAL_FILE_INCLUSION, INFORMATION_DISCLOSURE, PATH_TRAVERSAL, SERVER_SIDE_REQUEST_FORGERY, JSON_WEB_TOKEN_VULNERABILITIES, XML_EXTERNAL_ENTITY, FILE_DELETION, OTHER, GRAPHQL_VULNERABILITIES, BUSINESS_LOGIC_VULNERABILITIES, CRYPTOGRAPHIC_VULNERABILITIES, DENIAL_OF_SERVICE, FILE_ACCESS, FILE_CREATION, DATABASE_MODIFICATION, DATABASE_ACCESS, OUTBOUND_SERVICE_REQUEST, UNKNOWN
2271
2337
  # service_role: "ServiceRole",
@@ -2295,6 +2361,7 @@ module Aws::SecurityAgent
2295
2361
  # },
2296
2362
  # code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
2297
2363
  # disable_managed_skills: ["FINDING_PERSONALIZATION"], # accepts FINDING_PERSONALIZATION, LOGIN_OPTIMIZATION
2364
+ # max_task_hours: 1.0,
2298
2365
  # })
2299
2366
  #
2300
2367
  # @example Response structure
@@ -2325,6 +2392,10 @@ module Aws::SecurityAgent
2325
2392
  # resp.assets.integrated_repositories[0].integration_id #=> String
2326
2393
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
2327
2394
  # resp.assets.integrated_repositories[0].branch #=> String
2395
+ # resp.assets.trusted_ca_certificates #=> Array
2396
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
2397
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
2398
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
2328
2399
  # resp.exclude_risk_types #=> Array
2329
2400
  # resp.exclude_risk_types[0] #=> String, one of "CROSS_SITE_SCRIPTING", "DEFAULT_CREDENTIALS", "INSECURE_DIRECT_OBJECT_REFERENCE", "PRIVILEGE_ESCALATION", "SERVER_SIDE_TEMPLATE_INJECTION", "COMMAND_INJECTION", "CODE_INJECTION", "SQL_INJECTION", "ARBITRARY_FILE_UPLOAD", "INSECURE_DESERIALIZATION", "LOCAL_FILE_INCLUSION", "INFORMATION_DISCLOSURE", "PATH_TRAVERSAL", "SERVER_SIDE_REQUEST_FORGERY", "JSON_WEB_TOKEN_VULNERABILITIES", "XML_EXTERNAL_ENTITY", "FILE_DELETION", "OTHER", "GRAPHQL_VULNERABILITIES", "BUSINESS_LOGIC_VULNERABILITIES", "CRYPTOGRAPHIC_VULNERABILITIES", "DENIAL_OF_SERVICE", "FILE_ACCESS", "FILE_CREATION", "DATABASE_MODIFICATION", "DATABASE_ACCESS", "OUTBOUND_SERVICE_REQUEST", "UNKNOWN"
2330
2401
  # resp.service_role #=> String
@@ -2759,6 +2830,15 @@ module Aws::SecurityAgent
2759
2830
  # branch: "String",
2760
2831
  # },
2761
2832
  # ],
2833
+ # trusted_ca_certificates: [
2834
+ # {
2835
+ # source: { # required
2836
+ # inline_pem: "CaCertificatePem",
2837
+ # artifact_id: "String",
2838
+ # s3_location: "String",
2839
+ # },
2840
+ # },
2841
+ # ],
2762
2842
  # },
2763
2843
  # scope_docs: [
2764
2844
  # {
@@ -2811,6 +2891,10 @@ module Aws::SecurityAgent
2811
2891
  # resp.assets.integrated_repositories[0].integration_id #=> String
2812
2892
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
2813
2893
  # resp.assets.integrated_repositories[0].branch #=> String
2894
+ # resp.assets.trusted_ca_certificates #=> Array
2895
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
2896
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
2897
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
2814
2898
  # resp.scope_docs #=> Array
2815
2899
  # resp.scope_docs[0].s3_location #=> String
2816
2900
  # resp.scope_docs[0].artifact_id #=> String
@@ -4710,6 +4794,16 @@ module Aws::SecurityAgent
4710
4794
  # @option params [required, String] :pentest_id
4711
4795
  # The unique identifier of the pentest to start a job for.
4712
4796
  #
4797
+ # @option params [String] :job_type
4798
+ # The type of pentest job to start. Valid values are FULL and
4799
+ # REVALIDATION. When set to REVALIDATION, the selectedFindingIds
4800
+ # parameter is required.
4801
+ #
4802
+ # @option params [Array<String>] :selected_finding_ids
4803
+ # The list of finding identifiers to revalidate. Required when jobType
4804
+ # is REVALIDATION. Each finding must belong to the same agent space and
4805
+ # pentest.
4806
+ #
4713
4807
  # @return [Types::StartPentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4714
4808
  #
4715
4809
  # * {Types::StartPentestJobOutput#title #title} => String
@@ -4725,6 +4819,8 @@ module Aws::SecurityAgent
4725
4819
  # resp = client.start_pentest_job({
4726
4820
  # agent_space_id: "String", # required
4727
4821
  # pentest_id: "String", # required
4822
+ # job_type: "FULL", # accepts FULL, REVALIDATION
4823
+ # selected_finding_ids: ["String"],
4728
4824
  # })
4729
4825
  #
4730
4826
  # @example Response structure
@@ -5088,6 +5184,10 @@ module Aws::SecurityAgent
5088
5184
  # The updated validation mode for the code review. Valid values are
5089
5185
  # SIMULATED and DISABLED.
5090
5186
  #
5187
+ # @option params [Float] :max_task_hours
5188
+ # The updated maximum number of billable task hours allowed for jobs
5189
+ # started from this code review.
5190
+ #
5091
5191
  # @return [Types::UpdateCodeReviewOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5092
5192
  #
5093
5193
  # * {Types::UpdateCodeReviewOutput#code_review_id #code_review_id} => String
@@ -5100,6 +5200,7 @@ module Aws::SecurityAgent
5100
5200
  # * {Types::UpdateCodeReviewOutput#agent_space_id #agent_space_id} => String
5101
5201
  # * {Types::UpdateCodeReviewOutput#code_remediation_strategy #code_remediation_strategy} => String
5102
5202
  # * {Types::UpdateCodeReviewOutput#validation_mode #validation_mode} => String
5203
+ # * {Types::UpdateCodeReviewOutput#max_task_hours #max_task_hours} => Float
5103
5204
  #
5104
5205
  # @example Request syntax with placeholder values
5105
5206
  #
@@ -5148,6 +5249,15 @@ module Aws::SecurityAgent
5148
5249
  # branch: "String",
5149
5250
  # },
5150
5251
  # ],
5252
+ # trusted_ca_certificates: [
5253
+ # {
5254
+ # source: { # required
5255
+ # inline_pem: "CaCertificatePem",
5256
+ # artifact_id: "String",
5257
+ # s3_location: "String",
5258
+ # },
5259
+ # },
5260
+ # ],
5151
5261
  # },
5152
5262
  # service_role: "ServiceRole",
5153
5263
  # log_config: {
@@ -5156,6 +5266,7 @@ module Aws::SecurityAgent
5156
5266
  # },
5157
5267
  # code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
5158
5268
  # validation_mode: "DISABLED", # accepts DISABLED, SIMULATED
5269
+ # max_task_hours: 1.0,
5159
5270
  # })
5160
5271
  #
5161
5272
  # @example Response structure
@@ -5186,12 +5297,17 @@ module Aws::SecurityAgent
5186
5297
  # resp.assets.integrated_repositories[0].integration_id #=> String
5187
5298
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
5188
5299
  # resp.assets.integrated_repositories[0].branch #=> String
5300
+ # resp.assets.trusted_ca_certificates #=> Array
5301
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
5302
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
5303
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
5189
5304
  # resp.service_role #=> String
5190
5305
  # resp.log_config.log_group #=> String
5191
5306
  # resp.log_config.log_stream #=> String
5192
5307
  # resp.agent_space_id #=> String
5193
5308
  # resp.code_remediation_strategy #=> String, one of "AUTOMATIC", "DISABLED"
5194
5309
  # resp.validation_mode #=> String, one of "DISABLED", "SIMULATED"
5310
+ # resp.max_task_hours #=> Float
5195
5311
  #
5196
5312
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReview AWS API Documentation
5197
5313
  #
@@ -5374,6 +5490,10 @@ module Aws::SecurityAgent
5374
5490
  # The updated list of managed skills to disable for this pentest. Valid
5375
5491
  # values include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
5376
5492
  #
5493
+ # @option params [Float] :max_task_hours
5494
+ # The updated maximum number of billable task hours allowed for jobs
5495
+ # started from this pentest.
5496
+ #
5377
5497
  # @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5378
5498
  #
5379
5499
  # * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
@@ -5433,6 +5553,15 @@ module Aws::SecurityAgent
5433
5553
  # branch: "String",
5434
5554
  # },
5435
5555
  # ],
5556
+ # trusted_ca_certificates: [
5557
+ # {
5558
+ # source: { # required
5559
+ # inline_pem: "CaCertificatePem",
5560
+ # artifact_id: "String",
5561
+ # s3_location: "String",
5562
+ # },
5563
+ # },
5564
+ # ],
5436
5565
  # },
5437
5566
  # exclude_risk_types: ["CROSS_SITE_SCRIPTING"], # accepts CROSS_SITE_SCRIPTING, DEFAULT_CREDENTIALS, INSECURE_DIRECT_OBJECT_REFERENCE, PRIVILEGE_ESCALATION, SERVER_SIDE_TEMPLATE_INJECTION, COMMAND_INJECTION, CODE_INJECTION, SQL_INJECTION, ARBITRARY_FILE_UPLOAD, INSECURE_DESERIALIZATION, LOCAL_FILE_INCLUSION, INFORMATION_DISCLOSURE, PATH_TRAVERSAL, SERVER_SIDE_REQUEST_FORGERY, JSON_WEB_TOKEN_VULNERABILITIES, XML_EXTERNAL_ENTITY, FILE_DELETION, OTHER, GRAPHQL_VULNERABILITIES, BUSINESS_LOGIC_VULNERABILITIES, CRYPTOGRAPHIC_VULNERABILITIES, DENIAL_OF_SERVICE, FILE_ACCESS, FILE_CREATION, DATABASE_MODIFICATION, DATABASE_ACCESS, OUTBOUND_SERVICE_REQUEST, UNKNOWN
5438
5567
  # service_role: "ServiceRole",
@@ -5462,6 +5591,7 @@ module Aws::SecurityAgent
5462
5591
  # },
5463
5592
  # code_remediation_strategy: "AUTOMATIC", # accepts AUTOMATIC, DISABLED
5464
5593
  # disable_managed_skills: ["FINDING_PERSONALIZATION"], # accepts FINDING_PERSONALIZATION, LOGIN_OPTIMIZATION
5594
+ # max_task_hours: 1.0,
5465
5595
  # })
5466
5596
  #
5467
5597
  # @example Response structure
@@ -5492,6 +5622,10 @@ module Aws::SecurityAgent
5492
5622
  # resp.assets.integrated_repositories[0].integration_id #=> String
5493
5623
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
5494
5624
  # resp.assets.integrated_repositories[0].branch #=> String
5625
+ # resp.assets.trusted_ca_certificates #=> Array
5626
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
5627
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
5628
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
5495
5629
  # resp.exclude_risk_types #=> Array
5496
5630
  # resp.exclude_risk_types[0] #=> String, one of "CROSS_SITE_SCRIPTING", "DEFAULT_CREDENTIALS", "INSECURE_DIRECT_OBJECT_REFERENCE", "PRIVILEGE_ESCALATION", "SERVER_SIDE_TEMPLATE_INJECTION", "COMMAND_INJECTION", "CODE_INJECTION", "SQL_INJECTION", "ARBITRARY_FILE_UPLOAD", "INSECURE_DESERIALIZATION", "LOCAL_FILE_INCLUSION", "INFORMATION_DISCLOSURE", "PATH_TRAVERSAL", "SERVER_SIDE_REQUEST_FORGERY", "JSON_WEB_TOKEN_VULNERABILITIES", "XML_EXTERNAL_ENTITY", "FILE_DELETION", "OTHER", "GRAPHQL_VULNERABILITIES", "BUSINESS_LOGIC_VULNERABILITIES", "CRYPTOGRAPHIC_VULNERABILITIES", "DENIAL_OF_SERVICE", "FILE_ACCESS", "FILE_CREATION", "DATABASE_MODIFICATION", "DATABASE_ACCESS", "OUTBOUND_SERVICE_REQUEST", "UNKNOWN"
5497
5631
  # resp.service_role #=> String
@@ -5893,6 +6027,15 @@ module Aws::SecurityAgent
5893
6027
  # branch: "String",
5894
6028
  # },
5895
6029
  # ],
6030
+ # trusted_ca_certificates: [
6031
+ # {
6032
+ # source: { # required
6033
+ # inline_pem: "CaCertificatePem",
6034
+ # artifact_id: "String",
6035
+ # s3_location: "String",
6036
+ # },
6037
+ # },
6038
+ # ],
5896
6039
  # },
5897
6040
  # scope_docs: [
5898
6041
  # {
@@ -5939,6 +6082,10 @@ module Aws::SecurityAgent
5939
6082
  # resp.assets.integrated_repositories[0].integration_id #=> String
5940
6083
  # resp.assets.integrated_repositories[0].provider_resource_id #=> String
5941
6084
  # resp.assets.integrated_repositories[0].branch #=> String
6085
+ # resp.assets.trusted_ca_certificates #=> Array
6086
+ # resp.assets.trusted_ca_certificates[0].source.inline_pem #=> String
6087
+ # resp.assets.trusted_ca_certificates[0].source.artifact_id #=> String
6088
+ # resp.assets.trusted_ca_certificates[0].source.s3_location #=> String
5942
6089
  # resp.scope_docs #=> Array
5943
6090
  # resp.scope_docs[0].s3_location #=> String
5944
6091
  # resp.scope_docs[0].artifact_id #=> String
@@ -6018,7 +6165,7 @@ module Aws::SecurityAgent
6018
6165
  tracer: tracer
6019
6166
  )
6020
6167
  context[:gem_name] = 'aws-sdk-securityagent'
6021
- context[:gem_version] = '1.11.0'
6168
+ context[:gem_version] = '1.13.0'
6022
6169
  Seahorse::Client::Request.new(handlers, context)
6023
6170
  end
6024
6171
 
@@ -101,6 +101,8 @@ module Aws::SecurityAgent
101
101
  BitbucketWorkspace = Shapes::StringShape.new(name: 'BitbucketWorkspace')
102
102
  Blob = Shapes::BlobShape.new(name: 'Blob')
103
103
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
104
+ CaCertificatePem = Shapes::StringShape.new(name: 'CaCertificatePem')
105
+ CaCertificateSource = Shapes::UnionShape.new(name: 'CaCertificateSource')
104
106
  Category = Shapes::StructureShape.new(name: 'Category')
105
107
  CategoryList = Shapes::ListShape.new(name: 'CategoryList')
106
108
  CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
@@ -256,6 +258,7 @@ module Aws::SecurityAgent
256
258
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
257
259
  IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
258
260
  JobStatus = Shapes::StringShape.new(name: 'JobStatus')
261
+ JobType = Shapes::StringShape.new(name: 'JobType')
259
262
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
260
263
  LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
261
264
  LambdaFunctionArns = Shapes::ListShape.new(name: 'LambdaFunctionArns')
@@ -469,6 +472,8 @@ module Aws::SecurityAgent
469
472
  ThreatSummary = Shapes::StructureShape.new(name: 'ThreatSummary')
470
473
  ThreatSummaryList = Shapes::ListShape.new(name: 'ThreatSummaryList')
471
474
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
475
+ TrustedCaCertificate = Shapes::StructureShape.new(name: 'TrustedCaCertificate')
476
+ TrustedCaCertificateList = Shapes::ListShape.new(name: 'TrustedCaCertificateList')
472
477
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
473
478
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
474
479
  UpdateAgentSpaceInput = Shapes::StructureShape.new(name: 'UpdateAgentSpaceInput')
@@ -601,6 +606,7 @@ module Aws::SecurityAgent
601
606
  Assets.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, location_name: "documents"))
602
607
  Assets.add_member(:source_code, Shapes::ShapeRef.new(shape: SourceCodeRepositoryList, location_name: "sourceCode"))
603
608
  Assets.add_member(:integrated_repositories, Shapes::ShapeRef.new(shape: IntegratedRepositoryList, location_name: "integratedRepositories"))
609
+ Assets.add_member(:trusted_ca_certificates, Shapes::ShapeRef.new(shape: TrustedCaCertificateList, location_name: "trustedCaCertificates"))
604
610
  Assets.struct_class = Types::Assets
605
611
 
606
612
  Authentication.add_member(:provider_type, Shapes::ShapeRef.new(shape: AuthenticationProviderType, location_name: "providerType"))
@@ -823,6 +829,16 @@ module Aws::SecurityAgent
823
829
  BitbucketResourceCapabilities.add_member(:remediate_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "remediateCode"))
824
830
  BitbucketResourceCapabilities.struct_class = Types::BitbucketResourceCapabilities
825
831
 
832
+ CaCertificateSource.add_member(:inline_pem, Shapes::ShapeRef.new(shape: CaCertificatePem, location_name: "inlinePem"))
833
+ CaCertificateSource.add_member(:artifact_id, Shapes::ShapeRef.new(shape: String, location_name: "artifactId"))
834
+ CaCertificateSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: String, location_name: "s3Location"))
835
+ CaCertificateSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
836
+ CaCertificateSource.add_member_subclass(:inline_pem, Types::CaCertificateSource::InlinePem)
837
+ CaCertificateSource.add_member_subclass(:artifact_id, Types::CaCertificateSource::ArtifactId)
838
+ CaCertificateSource.add_member_subclass(:s3_location, Types::CaCertificateSource::S3Location)
839
+ CaCertificateSource.add_member_subclass(:unknown, Types::CaCertificateSource::Unknown)
840
+ CaCertificateSource.struct_class = Types::CaCertificateSource
841
+
826
842
  Category.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
827
843
  Category.add_member(:is_primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPrimary"))
828
844
  Category.struct_class = Types::Category
@@ -861,6 +877,7 @@ module Aws::SecurityAgent
861
877
  CodeReview.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
862
878
  CodeReview.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
863
879
  CodeReview.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
880
+ CodeReview.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
864
881
  CodeReview.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
865
882
  CodeReview.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
866
883
  CodeReview.struct_class = Types::CodeReview
@@ -881,6 +898,7 @@ module Aws::SecurityAgent
881
898
  CodeReviewJob.add_member(:error_information, Shapes::ShapeRef.new(shape: ErrorInformation, location_name: "errorInformation"))
882
899
  CodeReviewJob.add_member(:integrated_repositories, Shapes::ShapeRef.new(shape: IntegratedRepositoryList, location_name: "integratedRepositories"))
883
900
  CodeReviewJob.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
901
+ CodeReviewJob.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
884
902
  CodeReviewJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
885
903
  CodeReviewJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
886
904
  CodeReviewJob.struct_class = Types::CodeReviewJob
@@ -1008,6 +1026,7 @@ module Aws::SecurityAgent
1008
1026
  CreateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
1009
1027
  CreateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1010
1028
  CreateCodeReviewInput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
1029
+ CreateCodeReviewInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
1011
1030
  CreateCodeReviewInput.struct_class = Types::CreateCodeReviewInput
1012
1031
 
1013
1032
  CreateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
@@ -1020,6 +1039,7 @@ module Aws::SecurityAgent
1020
1039
  CreateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
1021
1040
  CreateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1022
1041
  CreateCodeReviewOutput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
1042
+ CreateCodeReviewOutput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
1023
1043
  CreateCodeReviewOutput.struct_class = Types::CreateCodeReviewOutput
1024
1044
 
1025
1045
  CreateIntegrationInput.add_member(:provider, Shapes::ShapeRef.new(shape: Provider, required: true, location_name: "provider"))
@@ -1052,6 +1072,7 @@ module Aws::SecurityAgent
1052
1072
  CreatePentestInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
1053
1073
  CreatePentestInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1054
1074
  CreatePentestInput.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
1075
+ CreatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
1055
1076
  CreatePentestInput.struct_class = Types::CreatePentestInput
1056
1077
 
1057
1078
  CreatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
@@ -1344,6 +1365,8 @@ module Aws::SecurityAgent
1344
1365
  Finding.add_member(:code_locations, Shapes::ShapeRef.new(shape: CodeLocationList, location_name: "codeLocations"))
1345
1366
  Finding.add_member(:verification_script, Shapes::ShapeRef.new(shape: VerificationScript, location_name: "verificationScript"))
1346
1367
  Finding.add_member(:alignment_rationale, Shapes::ShapeRef.new(shape: String, location_name: "alignmentRationale"))
1368
+ Finding.add_member(:revalidation_job_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "revalidationJobIds"))
1369
+ Finding.add_member(:original_finding_id, Shapes::ShapeRef.new(shape: String, location_name: "originalFindingId"))
1347
1370
  Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1348
1371
  Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1349
1372
  Finding.struct_class = Types::Finding
@@ -1847,6 +1870,7 @@ module Aws::SecurityAgent
1847
1870
  Pentest.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1848
1871
  Pentest.add_member(:clean_up_strategy, Shapes::ShapeRef.new(shape: CleanUpStrategy, location_name: "cleanUpStrategy"))
1849
1872
  Pentest.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
1873
+ Pentest.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
1850
1874
  Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1851
1875
  Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1852
1876
  Pentest.struct_class = Types::Pentest
@@ -1873,9 +1897,13 @@ module Aws::SecurityAgent
1873
1897
  PentestJob.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
1874
1898
  PentestJob.add_member(:error_information, Shapes::ShapeRef.new(shape: ErrorInformation, location_name: "errorInformation"))
1875
1899
  PentestJob.add_member(:integrated_repositories, Shapes::ShapeRef.new(shape: IntegratedRepositoryList, location_name: "integratedRepositories"))
1900
+ PentestJob.add_member(:trusted_ca_certificates, Shapes::ShapeRef.new(shape: TrustedCaCertificateList, location_name: "trustedCaCertificates"))
1876
1901
  PentestJob.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
1877
1902
  PentestJob.add_member(:clean_up_strategy, Shapes::ShapeRef.new(shape: CleanUpStrategy, location_name: "cleanUpStrategy"))
1878
1903
  PentestJob.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
1904
+ PentestJob.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
1905
+ PentestJob.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
1906
+ PentestJob.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
1879
1907
  PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
1880
1908
  PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
1881
1909
  PentestJob.struct_class = Types::PentestJob
@@ -2054,6 +2082,8 @@ module Aws::SecurityAgent
2054
2082
 
2055
2083
  StartPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
2056
2084
  StartPentestJobInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
2085
+ StartPentestJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
2086
+ StartPentestJobInput.add_member(:selected_finding_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "selectedFindingIds"))
2057
2087
  StartPentestJobInput.struct_class = Types::StartPentestJobInput
2058
2088
 
2059
2089
  StartPentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
@@ -2316,6 +2346,11 @@ module Aws::SecurityAgent
2316
2346
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
2317
2347
  ThrottlingException.struct_class = Types::ThrottlingException
2318
2348
 
2349
+ TrustedCaCertificate.add_member(:source, Shapes::ShapeRef.new(shape: CaCertificateSource, required: true, location_name: "source"))
2350
+ TrustedCaCertificate.struct_class = Types::TrustedCaCertificate
2351
+
2352
+ TrustedCaCertificateList.member = Shapes::ShapeRef.new(shape: TrustedCaCertificate)
2353
+
2319
2354
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
2320
2355
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2321
2356
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -2356,6 +2391,7 @@ module Aws::SecurityAgent
2356
2391
  UpdateCodeReviewInput.add_member(:log_config, Shapes::ShapeRef.new(shape: CloudWatchLog, location_name: "logConfig"))
2357
2392
  UpdateCodeReviewInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
2358
2393
  UpdateCodeReviewInput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
2394
+ UpdateCodeReviewInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
2359
2395
  UpdateCodeReviewInput.struct_class = Types::UpdateCodeReviewInput
2360
2396
 
2361
2397
  UpdateCodeReviewOutput.add_member(:code_review_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeReviewId"))
@@ -2368,6 +2404,7 @@ module Aws::SecurityAgent
2368
2404
  UpdateCodeReviewOutput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
2369
2405
  UpdateCodeReviewOutput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
2370
2406
  UpdateCodeReviewOutput.add_member(:validation_mode, Shapes::ShapeRef.new(shape: ValidationMode, location_name: "validationMode"))
2407
+ UpdateCodeReviewOutput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
2371
2408
  UpdateCodeReviewOutput.struct_class = Types::UpdateCodeReviewOutput
2372
2409
 
2373
2410
  UpdateFindingInput.add_member(:finding_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "findingId"))
@@ -2403,6 +2440,7 @@ module Aws::SecurityAgent
2403
2440
  UpdatePentestInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
2404
2441
  UpdatePentestInput.add_member(:code_remediation_strategy, Shapes::ShapeRef.new(shape: CodeRemediationStrategy, location_name: "codeRemediationStrategy"))
2405
2442
  UpdatePentestInput.add_member(:disable_managed_skills, Shapes::ShapeRef.new(shape: SkillTypeList, location_name: "disableManagedSkills"))
2443
+ UpdatePentestInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
2406
2444
  UpdatePentestInput.struct_class = Types::UpdatePentestInput
2407
2445
 
2408
2446
  UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
@@ -363,6 +363,13 @@ module Aws::SecurityAgent
363
363
  # The list of integrated repositories associated with the pentest.
364
364
  # @return [Array<Types::IntegratedRepository>]
365
365
  #
366
+ # @!attribute [rw] trusted_ca_certificates
367
+ # The trust anchors used to validate target endpoint TLS certificates.
368
+ # Provide these for endpoints served by a private or internal
369
+ # certificate authority (CA), an intermediate CA, or a self-signed
370
+ # certificate.
371
+ # @return [Array<Types::TrustedCaCertificate>]
372
+ #
366
373
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Assets AWS API Documentation
367
374
  #
368
375
  class Assets < Struct.new(
@@ -370,8 +377,9 @@ module Aws::SecurityAgent
370
377
  :actors,
371
378
  :documents,
372
379
  :source_code,
373
- :integrated_repositories)
374
- SENSITIVE = []
380
+ :integrated_repositories,
381
+ :trusted_ca_certificates)
382
+ SENSITIVE = [:trusted_ca_certificates]
375
383
  include Aws::Structure
376
384
  end
377
385
 
@@ -1416,6 +1424,42 @@ module Aws::SecurityAgent
1416
1424
  include Aws::Structure
1417
1425
  end
1418
1426
 
1427
+ # The source of a trusted CA certificate. Exactly one member must be
1428
+ # set.
1429
+ #
1430
+ # @note CaCertificateSource is a union - when making an API calls you must set exactly one of the members.
1431
+ #
1432
+ # @note CaCertificateSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CaCertificateSource corresponding to the set member.
1433
+ #
1434
+ # @!attribute [rw] inline_pem
1435
+ # A PEM-encoded X.509 certificate supplied inline.
1436
+ # @return [String]
1437
+ #
1438
+ # @!attribute [rw] artifact_id
1439
+ # The artifact ID of an uploaded certificate file.
1440
+ # @return [String]
1441
+ #
1442
+ # @!attribute [rw] s3_location
1443
+ # The Amazon S3 location URI of a customer-staged certificate.
1444
+ # @return [String]
1445
+ #
1446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CaCertificateSource AWS API Documentation
1447
+ #
1448
+ class CaCertificateSource < Struct.new(
1449
+ :inline_pem,
1450
+ :artifact_id,
1451
+ :s3_location,
1452
+ :unknown)
1453
+ SENSITIVE = [:inline_pem]
1454
+ include Aws::Structure
1455
+ include Aws::Structure::Union
1456
+
1457
+ class InlinePem < CaCertificateSource; end
1458
+ class ArtifactId < CaCertificateSource; end
1459
+ class S3Location < CaCertificateSource; end
1460
+ class Unknown < CaCertificateSource; end
1461
+ end
1462
+
1419
1463
  # Represents a category assigned to a security testing task.
1420
1464
  #
1421
1465
  # @!attribute [rw] name
@@ -1574,6 +1618,13 @@ module Aws::SecurityAgent
1574
1618
  # and DISABLED.
1575
1619
  # @return [String]
1576
1620
  #
1621
+ # @!attribute [rw] max_task_hours
1622
+ # The maximum number of billable task hours allowed for jobs started
1623
+ # from this code review. If a job reaches the configured limit, it is
1624
+ # gracefully stopped. If not set, jobs run to completion with no
1625
+ # budget cap.
1626
+ # @return [Float]
1627
+ #
1577
1628
  # @!attribute [rw] created_at
1578
1629
  # The date and time the code review was created, in UTC format.
1579
1630
  # @return [Time]
@@ -1593,6 +1644,7 @@ module Aws::SecurityAgent
1593
1644
  :log_config,
1594
1645
  :code_remediation_strategy,
1595
1646
  :validation_mode,
1647
+ :max_task_hours,
1596
1648
  :created_at,
1597
1649
  :updated_at)
1598
1650
  SENSITIVE = []
@@ -1661,6 +1713,12 @@ module Aws::SecurityAgent
1661
1713
  # The code remediation strategy for the code review job.
1662
1714
  # @return [String]
1663
1715
  #
1716
+ # @!attribute [rw] max_task_hours
1717
+ # The maximum number of billable task hours allowed for this code
1718
+ # review job. If the cumulative task hours reach this limit, the job
1719
+ # is gracefully stopped.
1720
+ # @return [Float]
1721
+ #
1664
1722
  # @!attribute [rw] created_at
1665
1723
  # The date and time the code review job was created, in UTC format.
1666
1724
  # @return [Time]
@@ -1687,6 +1745,7 @@ module Aws::SecurityAgent
1687
1745
  :error_information,
1688
1746
  :integrated_repositories,
1689
1747
  :code_remediation_strategy,
1748
+ :max_task_hours,
1690
1749
  :created_at,
1691
1750
  :updated_at)
1692
1751
  SENSITIVE = []
@@ -2234,6 +2293,12 @@ module Aws::SecurityAgent
2234
2293
  # and DISABLED.
2235
2294
  # @return [String]
2236
2295
  #
2296
+ # @!attribute [rw] max_task_hours
2297
+ # The maximum number of billable task hours allowed for jobs started
2298
+ # from this code review. Must be a positive number. If not set, jobs
2299
+ # run to completion with no budget cap.
2300
+ # @return [Float]
2301
+ #
2237
2302
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewInput AWS API Documentation
2238
2303
  #
2239
2304
  class CreateCodeReviewInput < Struct.new(
@@ -2243,7 +2308,8 @@ module Aws::SecurityAgent
2243
2308
  :service_role,
2244
2309
  :log_config,
2245
2310
  :code_remediation_strategy,
2246
- :validation_mode)
2311
+ :validation_mode,
2312
+ :max_task_hours)
2247
2313
  SENSITIVE = []
2248
2314
  include Aws::Structure
2249
2315
  end
@@ -2291,6 +2357,11 @@ module Aws::SecurityAgent
2291
2357
  # The validation mode for the code review.
2292
2358
  # @return [String]
2293
2359
  #
2360
+ # @!attribute [rw] max_task_hours
2361
+ # The maximum number of billable task hours configured for jobs
2362
+ # started from this code review. Null if no budget cap is set.
2363
+ # @return [Float]
2364
+ #
2294
2365
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewOutput AWS API Documentation
2295
2366
  #
2296
2367
  class CreateCodeReviewOutput < Struct.new(
@@ -2303,7 +2374,8 @@ module Aws::SecurityAgent
2303
2374
  :log_config,
2304
2375
  :agent_space_id,
2305
2376
  :code_remediation_strategy,
2306
- :validation_mode)
2377
+ :validation_mode,
2378
+ :max_task_hours)
2307
2379
  SENSITIVE = []
2308
2380
  include Aws::Structure
2309
2381
  end
@@ -2447,6 +2519,12 @@ module Aws::SecurityAgent
2447
2519
  # include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
2448
2520
  # @return [Array<String>]
2449
2521
  #
2522
+ # @!attribute [rw] max_task_hours
2523
+ # The maximum number of billable task hours allowed for jobs started
2524
+ # from this pentest. Must be a positive number. If not set, jobs run
2525
+ # to completion with no budget cap.
2526
+ # @return [Float]
2527
+ #
2450
2528
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
2451
2529
  #
2452
2530
  class CreatePentestInput < Struct.new(
@@ -2459,7 +2537,8 @@ module Aws::SecurityAgent
2459
2537
  :vpc_config,
2460
2538
  :network_traffic_config,
2461
2539
  :code_remediation_strategy,
2462
- :disable_managed_skills)
2540
+ :disable_managed_skills,
2541
+ :max_task_hours)
2463
2542
  SENSITIVE = []
2464
2543
  include Aws::Structure
2465
2544
  end
@@ -3759,6 +3838,16 @@ module Aws::SecurityAgent
3759
3838
  # finding was adjusted based on customer preferences.
3760
3839
  # @return [String]
3761
3840
  #
3841
+ # @!attribute [rw] revalidation_job_ids
3842
+ # The list of pentest job identifiers for revalidation jobs that
3843
+ # retested this finding.
3844
+ # @return [Array<String>]
3845
+ #
3846
+ # @!attribute [rw] original_finding_id
3847
+ # The identifier of the original finding that this revalidation
3848
+ # finding was produced from.
3849
+ # @return [String]
3850
+ #
3762
3851
  # @!attribute [rw] created_at
3763
3852
  # The date and time the finding was created, in UTC format.
3764
3853
  # @return [Time]
@@ -3793,6 +3882,8 @@ module Aws::SecurityAgent
3793
3882
  :code_locations,
3794
3883
  :verification_script,
3795
3884
  :alignment_rationale,
3885
+ :revalidation_job_ids,
3886
+ :original_finding_id,
3796
3887
  :created_at,
3797
3888
  :updated_at)
3798
3889
  SENSITIVE = []
@@ -6119,6 +6210,13 @@ module Aws::SecurityAgent
6119
6210
  # include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
6120
6211
  # @return [Array<String>]
6121
6212
  #
6213
+ # @!attribute [rw] max_task_hours
6214
+ # The maximum number of billable task hours allowed for jobs started
6215
+ # from this pentest. If a job reaches the configured limit, it is
6216
+ # gracefully stopped. If not set, jobs run to completion with no
6217
+ # budget cap.
6218
+ # @return [Float]
6219
+ #
6122
6220
  # @!attribute [rw] created_at
6123
6221
  # The date and time the pentest was created, in UTC format.
6124
6222
  # @return [Time]
@@ -6142,6 +6240,7 @@ module Aws::SecurityAgent
6142
6240
  :code_remediation_strategy,
6143
6241
  :clean_up_strategy,
6144
6242
  :disable_managed_skills,
6243
+ :max_task_hours,
6145
6244
  :created_at,
6146
6245
  :updated_at)
6147
6246
  SENSITIVE = []
@@ -6233,6 +6332,11 @@ module Aws::SecurityAgent
6233
6332
  # The list of integrated repositories associated with the pentest job.
6234
6333
  # @return [Array<Types::IntegratedRepository>]
6235
6334
  #
6335
+ # @!attribute [rw] trusted_ca_certificates
6336
+ # The trust anchors used to validate target endpoint TLS certificates
6337
+ # during the pentest job.
6338
+ # @return [Array<Types::TrustedCaCertificate>]
6339
+ #
6236
6340
  # @!attribute [rw] code_remediation_strategy
6237
6341
  # The code remediation strategy for the pentest job.
6238
6342
  # @return [String]
@@ -6246,6 +6350,21 @@ module Aws::SecurityAgent
6246
6350
  # include FINDING\_PERSONALIZATION and LOGIN\_OPTIMIZATION.
6247
6351
  # @return [Array<String>]
6248
6352
  #
6353
+ # @!attribute [rw] max_task_hours
6354
+ # The maximum number of billable task hours allowed for this pentest
6355
+ # job. If the cumulative task hours reach this limit, the job is
6356
+ # gracefully stopped.
6357
+ # @return [Float]
6358
+ #
6359
+ # @!attribute [rw] job_type
6360
+ # The type of the pentest job. Valid values are FULL and REVALIDATION.
6361
+ # @return [String]
6362
+ #
6363
+ # @!attribute [rw] selected_finding_ids
6364
+ # The list of finding identifiers selected for revalidation. Present
6365
+ # only when jobType is REVALIDATION.
6366
+ # @return [Array<String>]
6367
+ #
6249
6368
  # @!attribute [rw] created_at
6250
6369
  # The date and time the pentest job was created, in UTC format.
6251
6370
  # @return [Time]
@@ -6277,12 +6396,16 @@ module Aws::SecurityAgent
6277
6396
  :network_traffic_config,
6278
6397
  :error_information,
6279
6398
  :integrated_repositories,
6399
+ :trusted_ca_certificates,
6280
6400
  :code_remediation_strategy,
6281
6401
  :clean_up_strategy,
6282
6402
  :disable_managed_skills,
6403
+ :max_task_hours,
6404
+ :job_type,
6405
+ :selected_finding_ids,
6283
6406
  :created_at,
6284
6407
  :updated_at)
6285
- SENSITIVE = []
6408
+ SENSITIVE = [:trusted_ca_certificates]
6286
6409
  include Aws::Structure
6287
6410
  end
6288
6411
 
@@ -6923,11 +7046,25 @@ module Aws::SecurityAgent
6923
7046
  # The unique identifier of the pentest to start a job for.
6924
7047
  # @return [String]
6925
7048
  #
7049
+ # @!attribute [rw] job_type
7050
+ # The type of pentest job to start. Valid values are FULL and
7051
+ # REVALIDATION. When set to REVALIDATION, the selectedFindingIds
7052
+ # parameter is required.
7053
+ # @return [String]
7054
+ #
7055
+ # @!attribute [rw] selected_finding_ids
7056
+ # The list of finding identifiers to revalidate. Required when jobType
7057
+ # is REVALIDATION. Each finding must belong to the same agent space
7058
+ # and pentest.
7059
+ # @return [Array<String>]
7060
+ #
6926
7061
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobInput AWS API Documentation
6927
7062
  #
6928
7063
  class StartPentestJobInput < Struct.new(
6929
7064
  :agent_space_id,
6930
- :pentest_id)
7065
+ :pentest_id,
7066
+ :job_type,
7067
+ :selected_finding_ids)
6931
7068
  SENSITIVE = []
6932
7069
  include Aws::Structure
6933
7070
  end
@@ -7972,6 +8109,21 @@ module Aws::SecurityAgent
7972
8109
  include Aws::Structure
7973
8110
  end
7974
8111
 
8112
+ # A trust anchor used when validating a target endpoint's TLS
8113
+ # certificate.
8114
+ #
8115
+ # @!attribute [rw] source
8116
+ # The source that AWS Security Agent reads the certificate from.
8117
+ # @return [Types::CaCertificateSource]
8118
+ #
8119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TrustedCaCertificate AWS API Documentation
8120
+ #
8121
+ class TrustedCaCertificate < Struct.new(
8122
+ :source)
8123
+ SENSITIVE = []
8124
+ include Aws::Structure
8125
+ end
8126
+
7975
8127
  # Input for UntagResource operation.
7976
8128
  #
7977
8129
  # @!attribute [rw] resource_arn
@@ -8159,6 +8311,11 @@ module Aws::SecurityAgent
8159
8311
  # SIMULATED and DISABLED.
8160
8312
  # @return [String]
8161
8313
  #
8314
+ # @!attribute [rw] max_task_hours
8315
+ # The updated maximum number of billable task hours allowed for jobs
8316
+ # started from this code review.
8317
+ # @return [Float]
8318
+ #
8162
8319
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewInput AWS API Documentation
8163
8320
  #
8164
8321
  class UpdateCodeReviewInput < Struct.new(
@@ -8169,7 +8326,8 @@ module Aws::SecurityAgent
8169
8326
  :service_role,
8170
8327
  :log_config,
8171
8328
  :code_remediation_strategy,
8172
- :validation_mode)
8329
+ :validation_mode,
8330
+ :max_task_hours)
8173
8331
  SENSITIVE = []
8174
8332
  include Aws::Structure
8175
8333
  end
@@ -8217,6 +8375,11 @@ module Aws::SecurityAgent
8217
8375
  # The validation mode for the code review.
8218
8376
  # @return [String]
8219
8377
  #
8378
+ # @!attribute [rw] max_task_hours
8379
+ # The maximum number of billable task hours configured for jobs
8380
+ # started from this code review. Null if no budget cap is set.
8381
+ # @return [Float]
8382
+ #
8220
8383
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewOutput AWS API Documentation
8221
8384
  #
8222
8385
  class UpdateCodeReviewOutput < Struct.new(
@@ -8229,7 +8392,8 @@ module Aws::SecurityAgent
8229
8392
  :log_config,
8230
8393
  :agent_space_id,
8231
8394
  :code_remediation_strategy,
8232
- :validation_mode)
8395
+ :validation_mode,
8396
+ :max_task_hours)
8233
8397
  SENSITIVE = []
8234
8398
  include Aws::Structure
8235
8399
  end
@@ -8378,6 +8542,11 @@ module Aws::SecurityAgent
8378
8542
  # LOGIN\_OPTIMIZATION.
8379
8543
  # @return [Array<String>]
8380
8544
  #
8545
+ # @!attribute [rw] max_task_hours
8546
+ # The updated maximum number of billable task hours allowed for jobs
8547
+ # started from this pentest.
8548
+ # @return [Float]
8549
+ #
8381
8550
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
8382
8551
  #
8383
8552
  class UpdatePentestInput < Struct.new(
@@ -8391,7 +8560,8 @@ module Aws::SecurityAgent
8391
8560
  :vpc_config,
8392
8561
  :network_traffic_config,
8393
8562
  :code_remediation_strategy,
8394
- :disable_managed_skills)
8563
+ :disable_managed_skills,
8564
+ :max_task_hours)
8395
8565
  SENSITIVE = []
8396
8566
  include Aws::Structure
8397
8567
  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.11.0'
58
+ GEM_VERSION = '1.13.0'
59
59
 
60
60
  end
61
61
 
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/params.rbs CHANGED
@@ -46,6 +46,15 @@ module Aws
46
46
  provider_resource_id: ::String,
47
47
  branch: ::String?
48
48
  }
49
+ ]?,
50
+ trusted_ca_certificates: Array[
51
+ {
52
+ source: {
53
+ inline_pem: ::String?,
54
+ artifact_id: ::String?,
55
+ s3_location: ::String?
56
+ }
57
+ }
49
58
  ]?
50
59
  }
51
60
 
data/sig/types.rbs CHANGED
@@ -102,6 +102,7 @@ module Aws::SecurityAgent
102
102
  attr_accessor documents: ::Array[Types::DocumentInfo]
103
103
  attr_accessor source_code: ::Array[Types::SourceCodeRepository]
104
104
  attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
105
+ attr_accessor trusted_ca_certificates: ::Array[Types::TrustedCaCertificate]
105
106
  SENSITIVE: []
106
107
  end
107
108
 
@@ -419,6 +420,23 @@ module Aws::SecurityAgent
419
420
  SENSITIVE: []
420
421
  end
421
422
 
423
+ class CaCertificateSource
424
+ attr_accessor inline_pem: ::String
425
+ attr_accessor artifact_id: ::String
426
+ attr_accessor s3_location: ::String
427
+ attr_accessor unknown: untyped
428
+ SENSITIVE: [:inline_pem]
429
+
430
+ class InlinePem < CaCertificateSource
431
+ end
432
+ class ArtifactId < CaCertificateSource
433
+ end
434
+ class S3Location < CaCertificateSource
435
+ end
436
+ class Unknown < CaCertificateSource
437
+ end
438
+ end
439
+
422
440
  class Category
423
441
  attr_accessor name: ::String
424
442
  attr_accessor is_primary: bool
@@ -462,6 +480,7 @@ module Aws::SecurityAgent
462
480
  attr_accessor log_config: Types::CloudWatchLog
463
481
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
464
482
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
483
+ attr_accessor max_task_hours: ::Float
465
484
  attr_accessor created_at: ::Time
466
485
  attr_accessor updated_at: ::Time
467
486
  SENSITIVE: []
@@ -482,6 +501,7 @@ module Aws::SecurityAgent
482
501
  attr_accessor error_information: Types::ErrorInformation
483
502
  attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
484
503
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
504
+ attr_accessor max_task_hours: ::Float
485
505
  attr_accessor created_at: ::Time
486
506
  attr_accessor updated_at: ::Time
487
507
  SENSITIVE: []
@@ -625,6 +645,7 @@ module Aws::SecurityAgent
625
645
  attr_accessor log_config: Types::CloudWatchLog
626
646
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
627
647
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
648
+ attr_accessor max_task_hours: ::Float
628
649
  SENSITIVE: []
629
650
  end
630
651
 
@@ -639,6 +660,7 @@ module Aws::SecurityAgent
639
660
  attr_accessor agent_space_id: ::String
640
661
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
641
662
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
663
+ attr_accessor max_task_hours: ::Float
642
664
  SENSITIVE: []
643
665
  end
644
666
 
@@ -680,6 +702,7 @@ module Aws::SecurityAgent
680
702
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
681
703
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
682
704
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
705
+ attr_accessor max_task_hours: ::Float
683
706
  SENSITIVE: []
684
707
  end
685
708
 
@@ -1035,6 +1058,8 @@ module Aws::SecurityAgent
1035
1058
  attr_accessor code_locations: ::Array[Types::CodeLocation]
1036
1059
  attr_accessor verification_script: Types::VerificationScript
1037
1060
  attr_accessor alignment_rationale: ::String
1061
+ attr_accessor revalidation_job_ids: ::Array[::String]
1062
+ attr_accessor original_finding_id: ::String
1038
1063
  attr_accessor created_at: ::Time
1039
1064
  attr_accessor updated_at: ::Time
1040
1065
  SENSITIVE: []
@@ -1713,6 +1738,7 @@ module Aws::SecurityAgent
1713
1738
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
1714
1739
  attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
1715
1740
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1741
+ attr_accessor max_task_hours: ::Float
1716
1742
  attr_accessor created_at: ::Time
1717
1743
  attr_accessor updated_at: ::Time
1718
1744
  SENSITIVE: []
@@ -1739,9 +1765,13 @@ module Aws::SecurityAgent
1739
1765
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
1740
1766
  attr_accessor error_information: Types::ErrorInformation
1741
1767
  attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
1768
+ attr_accessor trusted_ca_certificates: ::Array[Types::TrustedCaCertificate]
1742
1769
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
1743
1770
  attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
1744
1771
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1772
+ attr_accessor max_task_hours: ::Float
1773
+ attr_accessor job_type: ("FULL" | "REVALIDATION")
1774
+ attr_accessor selected_finding_ids: ::Array[::String]
1745
1775
  attr_accessor created_at: ::Time
1746
1776
  attr_accessor updated_at: ::Time
1747
1777
  SENSITIVE: []
@@ -1937,6 +1967,8 @@ module Aws::SecurityAgent
1937
1967
  class StartPentestJobInput
1938
1968
  attr_accessor agent_space_id: ::String
1939
1969
  attr_accessor pentest_id: ::String
1970
+ attr_accessor job_type: ("FULL" | "REVALIDATION")
1971
+ attr_accessor selected_finding_ids: ::Array[::String]
1940
1972
  SENSITIVE: []
1941
1973
  end
1942
1974
 
@@ -2201,6 +2233,11 @@ module Aws::SecurityAgent
2201
2233
  SENSITIVE: []
2202
2234
  end
2203
2235
 
2236
+ class TrustedCaCertificate
2237
+ attr_accessor source: Types::CaCertificateSource
2238
+ SENSITIVE: []
2239
+ end
2240
+
2204
2241
  class UntagResourceInput
2205
2242
  attr_accessor resource_arn: ::String
2206
2243
  attr_accessor tag_keys: ::Array[::String]
@@ -2253,6 +2290,7 @@ module Aws::SecurityAgent
2253
2290
  attr_accessor log_config: Types::CloudWatchLog
2254
2291
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2255
2292
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
2293
+ attr_accessor max_task_hours: ::Float
2256
2294
  SENSITIVE: []
2257
2295
  end
2258
2296
 
@@ -2267,6 +2305,7 @@ module Aws::SecurityAgent
2267
2305
  attr_accessor agent_space_id: ::String
2268
2306
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2269
2307
  attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
2308
+ attr_accessor max_task_hours: ::Float
2270
2309
  SENSITIVE: []
2271
2310
  end
2272
2311
 
@@ -2310,6 +2349,7 @@ module Aws::SecurityAgent
2310
2349
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
2311
2350
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2312
2351
  attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
2352
+ attr_accessor max_task_hours: ::Float
2313
2353
  SENSITIVE: []
2314
2354
  end
2315
2355
 
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.11.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services