aws-sdk-securityagent 1.20.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +21 -1
- data/lib/aws-sdk-securityagent/client_api.rb +12 -0
- data/lib/aws-sdk-securityagent/types.rb +55 -4
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +12 -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: 9b8a8d610c2f747d60dea7494d1036c071a0f4ef5d9828615704d1d5a4f23345
|
|
4
|
+
data.tar.gz: ba481e701ecaa084b5afa9319815e9aa993826a15805275e6395f7ed04e97c89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2f15a0cdff93e804b469c94a3eae7022ccbc4931afe31a92e6d5c5f38847d2408aaae709e486febddad69086fe422283845b515fe506d84873f4d91cf10e045
|
|
7
|
+
data.tar.gz: e85a8a8f178b92939520d4e16318f2dc80b05b5184341b61836e136470af849db0edf5ce312172fccc0bbd7daa288ebc7201274706c315333c2687148cfcdea8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.22.0 (2026-10-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds a test scope field to specify whether a pentest targets a web application or a generative AI application.
|
|
8
|
+
|
|
9
|
+
1.21.0 (2026-10-08)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Include model field for suggested remediation steps as part of findings
|
|
13
|
+
|
|
4
14
|
1.20.0 (2026-10-02)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.22.0
|
|
@@ -703,6 +703,7 @@ module Aws::SecurityAgent
|
|
|
703
703
|
# resp.deleted[0].report_filters.annotation_notes #=> Boolean
|
|
704
704
|
# resp.deleted[0].report_filters.compliance_report #=> Boolean
|
|
705
705
|
# resp.deleted[0].cicd_configuration.enabled #=> Boolean
|
|
706
|
+
# resp.deleted[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
706
707
|
# resp.deleted[0].created_at #=> Time
|
|
707
708
|
# resp.deleted[0].updated_at #=> Time
|
|
708
709
|
# resp.failed #=> Array
|
|
@@ -1148,6 +1149,7 @@ module Aws::SecurityAgent
|
|
|
1148
1149
|
# resp.findings[0].confidence #=> String, one of "FALSE_POSITIVE", "UNCONFIRMED", "LOW", "MEDIUM", "HIGH"
|
|
1149
1150
|
# resp.findings[0].validation_status #=> String, one of "CONFIRMED", "NOT_REPRODUCED", "VALIDATION_FAILED", "VALIDATING", "NOT_VALIDATED"
|
|
1150
1151
|
# resp.findings[0].attack_script #=> String
|
|
1152
|
+
# resp.findings[0].remediation_code #=> String
|
|
1151
1153
|
# resp.findings[0].code_remediation_task.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
1152
1154
|
# resp.findings[0].code_remediation_task.status_reason #=> String
|
|
1153
1155
|
# resp.findings[0].code_remediation_task.task_details #=> Array
|
|
@@ -1348,6 +1350,7 @@ module Aws::SecurityAgent
|
|
|
1348
1350
|
# resp.pentest_jobs[0].scope_changes[0].head_commit_sha #=> String
|
|
1349
1351
|
# resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
|
|
1350
1352
|
# resp.pentest_jobs[0].cicd_configuration.enabled #=> Boolean
|
|
1353
|
+
# resp.pentest_jobs[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
1351
1354
|
# resp.pentest_jobs[0].created_at #=> Time
|
|
1352
1355
|
# resp.pentest_jobs[0].updated_at #=> Time
|
|
1353
1356
|
# resp.not_found #=> Array
|
|
@@ -1455,6 +1458,7 @@ module Aws::SecurityAgent
|
|
|
1455
1458
|
# resp.pentests[0].report_filters.annotation_notes #=> Boolean
|
|
1456
1459
|
# resp.pentests[0].report_filters.compliance_report #=> Boolean
|
|
1457
1460
|
# resp.pentests[0].cicd_configuration.enabled #=> Boolean
|
|
1461
|
+
# resp.pentests[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
1458
1462
|
# resp.pentests[0].created_at #=> Time
|
|
1459
1463
|
# resp.pentests[0].updated_at #=> Time
|
|
1460
1464
|
# resp.not_found #=> Array
|
|
@@ -2410,6 +2414,9 @@ module Aws::SecurityAgent
|
|
|
2410
2414
|
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
2411
2415
|
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2412
2416
|
#
|
|
2417
|
+
# @option params [Types::TestScope] :test_scope
|
|
2418
|
+
# The category of application a pentest targets.
|
|
2419
|
+
#
|
|
2413
2420
|
# @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2414
2421
|
#
|
|
2415
2422
|
# * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -2424,6 +2431,7 @@ module Aws::SecurityAgent
|
|
|
2424
2431
|
# * {Types::CreatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
2425
2432
|
# * {Types::CreatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
2426
2433
|
# * {Types::CreatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
2434
|
+
# * {Types::CreatePentestOutput#test_scope #test_scope} => Types::TestScope
|
|
2427
2435
|
#
|
|
2428
2436
|
# @example Request syntax with placeholder values
|
|
2429
2437
|
#
|
|
@@ -2529,6 +2537,9 @@ module Aws::SecurityAgent
|
|
|
2529
2537
|
# cicd_configuration: {
|
|
2530
2538
|
# enabled: false,
|
|
2531
2539
|
# },
|
|
2540
|
+
# test_scope: {
|
|
2541
|
+
# type: "WEB_APP", # required, accepts WEB_APP, GENERATIVE_AI_APP
|
|
2542
|
+
# },
|
|
2532
2543
|
# })
|
|
2533
2544
|
#
|
|
2534
2545
|
# @example Response structure
|
|
@@ -2588,6 +2599,7 @@ module Aws::SecurityAgent
|
|
|
2588
2599
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
2589
2600
|
# resp.report_filters.compliance_report #=> Boolean
|
|
2590
2601
|
# resp.cicd_configuration.enabled #=> Boolean
|
|
2602
|
+
# resp.test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
2591
2603
|
#
|
|
2592
2604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentest AWS API Documentation
|
|
2593
2605
|
#
|
|
@@ -5973,6 +5985,9 @@ module Aws::SecurityAgent
|
|
|
5973
5985
|
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
5974
5986
|
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
5975
5987
|
#
|
|
5988
|
+
# @option params [Types::TestScope] :test_scope
|
|
5989
|
+
# The category of application a pentest targets.
|
|
5990
|
+
#
|
|
5976
5991
|
# @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5977
5992
|
#
|
|
5978
5993
|
# * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -5987,6 +6002,7 @@ module Aws::SecurityAgent
|
|
|
5987
6002
|
# * {Types::UpdatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
5988
6003
|
# * {Types::UpdatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
5989
6004
|
# * {Types::UpdatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
6005
|
+
# * {Types::UpdatePentestOutput#test_scope #test_scope} => Types::TestScope
|
|
5990
6006
|
#
|
|
5991
6007
|
# @example Request syntax with placeholder values
|
|
5992
6008
|
#
|
|
@@ -6093,6 +6109,9 @@ module Aws::SecurityAgent
|
|
|
6093
6109
|
# cicd_configuration: {
|
|
6094
6110
|
# enabled: false,
|
|
6095
6111
|
# },
|
|
6112
|
+
# test_scope: {
|
|
6113
|
+
# type: "WEB_APP", # required, accepts WEB_APP, GENERATIVE_AI_APP
|
|
6114
|
+
# },
|
|
6096
6115
|
# })
|
|
6097
6116
|
#
|
|
6098
6117
|
# @example Response structure
|
|
@@ -6152,6 +6171,7 @@ module Aws::SecurityAgent
|
|
|
6152
6171
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
6153
6172
|
# resp.report_filters.compliance_report #=> Boolean
|
|
6154
6173
|
# resp.cicd_configuration.enabled #=> Boolean
|
|
6174
|
+
# resp.test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
6155
6175
|
#
|
|
6156
6176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentest AWS API Documentation
|
|
6157
6177
|
#
|
|
@@ -6700,7 +6720,7 @@ module Aws::SecurityAgent
|
|
|
6700
6720
|
tracer: tracer
|
|
6701
6721
|
)
|
|
6702
6722
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6703
|
-
context[:gem_version] = '1.
|
|
6723
|
+
context[:gem_version] = '1.22.0'
|
|
6704
6724
|
Seahorse::Client::Request.new(handlers, context)
|
|
6705
6725
|
end
|
|
6706
6726
|
|
|
@@ -474,6 +474,8 @@ module Aws::SecurityAgent
|
|
|
474
474
|
TaskList = Shapes::ListShape.new(name: 'TaskList')
|
|
475
475
|
TaskSummary = Shapes::StructureShape.new(name: 'TaskSummary')
|
|
476
476
|
TaskSummaryList = Shapes::ListShape.new(name: 'TaskSummaryList')
|
|
477
|
+
TestScope = Shapes::StructureShape.new(name: 'TestScope')
|
|
478
|
+
TestScopeType = Shapes::StringShape.new(name: 'TestScopeType')
|
|
477
479
|
Threat = Shapes::StructureShape.new(name: 'Threat')
|
|
478
480
|
ThreatActor = Shapes::StringShape.new(name: 'ThreatActor')
|
|
479
481
|
ThreatAnchorShape = Shapes::StructureShape.new(name: 'ThreatAnchorShape')
|
|
@@ -1167,6 +1169,7 @@ module Aws::SecurityAgent
|
|
|
1167
1169
|
CreatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1168
1170
|
CreatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1169
1171
|
CreatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1172
|
+
CreatePentestInput.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
1170
1173
|
CreatePentestInput.struct_class = Types::CreatePentestInput
|
|
1171
1174
|
|
|
1172
1175
|
CreatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -1181,6 +1184,7 @@ module Aws::SecurityAgent
|
|
|
1181
1184
|
CreatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1182
1185
|
CreatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
1183
1186
|
CreatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
1187
|
+
CreatePentestOutput.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
1184
1188
|
CreatePentestOutput.struct_class = Types::CreatePentestOutput
|
|
1185
1189
|
|
|
1186
1190
|
CreatePrivateConnectionInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -1457,6 +1461,7 @@ module Aws::SecurityAgent
|
|
|
1457
1461
|
Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: ConfidenceLevel, location_name: "confidence"))
|
|
1458
1462
|
Finding.add_member(:validation_status, Shapes::ShapeRef.new(shape: ValidationStatus, location_name: "validationStatus"))
|
|
1459
1463
|
Finding.add_member(:attack_script, Shapes::ShapeRef.new(shape: String, location_name: "attackScript"))
|
|
1464
|
+
Finding.add_member(:remediation_code, Shapes::ShapeRef.new(shape: String, location_name: "remediationCode"))
|
|
1460
1465
|
Finding.add_member(:code_remediation_task, Shapes::ShapeRef.new(shape: CodeRemediationTask, location_name: "codeRemediationTask"))
|
|
1461
1466
|
Finding.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedBy"))
|
|
1462
1467
|
Finding.add_member(:customer_note, Shapes::ShapeRef.new(shape: String, location_name: "customerNote"))
|
|
@@ -1998,6 +2003,7 @@ module Aws::SecurityAgent
|
|
|
1998
2003
|
Pentest.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
1999
2004
|
Pentest.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2000
2005
|
Pentest.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2006
|
+
Pentest.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
2001
2007
|
Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
2002
2008
|
Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
2003
2009
|
Pentest.struct_class = Types::Pentest
|
|
@@ -2036,6 +2042,7 @@ module Aws::SecurityAgent
|
|
|
2036
2042
|
PentestJob.add_member(:scope_result, Shapes::ShapeRef.new(shape: ScopeResult, location_name: "scopeResult"))
|
|
2037
2043
|
PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
2038
2044
|
PentestJob.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2045
|
+
PentestJob.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
2039
2046
|
PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
2040
2047
|
PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
2041
2048
|
PentestJob.struct_class = Types::PentestJob
|
|
@@ -2377,6 +2384,9 @@ module Aws::SecurityAgent
|
|
|
2377
2384
|
|
|
2378
2385
|
TaskSummaryList.member = Shapes::ShapeRef.new(shape: TaskSummary)
|
|
2379
2386
|
|
|
2387
|
+
TestScope.add_member(:type, Shapes::ShapeRef.new(shape: TestScopeType, required: true, location_name: "type"))
|
|
2388
|
+
TestScope.struct_class = Types::TestScope
|
|
2389
|
+
|
|
2380
2390
|
Threat.add_member(:threat_id, Shapes::ShapeRef.new(shape: String, location_name: "threatId"))
|
|
2381
2391
|
Threat.add_member(:threat_job_id, Shapes::ShapeRef.new(shape: String, location_name: "threatJobId"))
|
|
2382
2392
|
Threat.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2648,6 +2658,7 @@ module Aws::SecurityAgent
|
|
|
2648
2658
|
UpdatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2649
2659
|
UpdatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2650
2660
|
UpdatePentestInput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2661
|
+
UpdatePentestInput.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
2651
2662
|
UpdatePentestInput.struct_class = Types::UpdatePentestInput
|
|
2652
2663
|
|
|
2653
2664
|
UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -2662,6 +2673,7 @@ module Aws::SecurityAgent
|
|
|
2662
2673
|
UpdatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2663
2674
|
UpdatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2664
2675
|
UpdatePentestOutput.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
|
|
2676
|
+
UpdatePentestOutput.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
|
|
2665
2677
|
UpdatePentestOutput.struct_class = Types::UpdatePentestOutput
|
|
2666
2678
|
|
|
2667
2679
|
UpdatePrivateConnectionCertificateInput.add_member(:private_connection_name, Shapes::ShapeRef.new(shape: PrivateConnectionName, required: true, location_name: "privateConnectionName"))
|
|
@@ -2776,6 +2776,10 @@ module Aws::SecurityAgent
|
|
|
2776
2776
|
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2777
2777
|
# @return [Types::CiCdConfiguration]
|
|
2778
2778
|
#
|
|
2779
|
+
# @!attribute [rw] test_scope
|
|
2780
|
+
# The category of application a pentest targets.
|
|
2781
|
+
# @return [Types::TestScope]
|
|
2782
|
+
#
|
|
2779
2783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
|
|
2780
2784
|
#
|
|
2781
2785
|
class CreatePentestInput < Struct.new(
|
|
@@ -2792,7 +2796,8 @@ module Aws::SecurityAgent
|
|
|
2792
2796
|
:max_task_hours,
|
|
2793
2797
|
:report_destination,
|
|
2794
2798
|
:report_filters,
|
|
2795
|
-
:cicd_configuration
|
|
2799
|
+
:cicd_configuration,
|
|
2800
|
+
:test_scope)
|
|
2796
2801
|
SENSITIVE = []
|
|
2797
2802
|
include Aws::Structure
|
|
2798
2803
|
end
|
|
@@ -2848,6 +2853,10 @@ module Aws::SecurityAgent
|
|
|
2848
2853
|
# The CI/CD pentesting configuration applied to the pentest.
|
|
2849
2854
|
# @return [Types::CiCdConfiguration]
|
|
2850
2855
|
#
|
|
2856
|
+
# @!attribute [rw] test_scope
|
|
2857
|
+
# The category of application a pentest targets.
|
|
2858
|
+
# @return [Types::TestScope]
|
|
2859
|
+
#
|
|
2851
2860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestOutput AWS API Documentation
|
|
2852
2861
|
#
|
|
2853
2862
|
class CreatePentestOutput < Struct.new(
|
|
@@ -2862,7 +2871,8 @@ module Aws::SecurityAgent
|
|
|
2862
2871
|
:agent_space_id,
|
|
2863
2872
|
:report_destination,
|
|
2864
2873
|
:report_filters,
|
|
2865
|
-
:cicd_configuration
|
|
2874
|
+
:cicd_configuration,
|
|
2875
|
+
:test_scope)
|
|
2866
2876
|
SENSITIVE = []
|
|
2867
2877
|
include Aws::Structure
|
|
2868
2878
|
end
|
|
@@ -4085,6 +4095,12 @@ module Aws::SecurityAgent
|
|
|
4085
4095
|
# The attack script used to reproduce the finding.
|
|
4086
4096
|
# @return [String]
|
|
4087
4097
|
#
|
|
4098
|
+
# @!attribute [rw] remediation_code
|
|
4099
|
+
# The suggested fix for the finding, describing the changes
|
|
4100
|
+
# recommended to remediate the vulnerability, with example code or
|
|
4101
|
+
# configuration.
|
|
4102
|
+
# @return [String]
|
|
4103
|
+
#
|
|
4088
4104
|
# @!attribute [rw] code_remediation_task
|
|
4089
4105
|
# The code remediation task associated with the finding, if code
|
|
4090
4106
|
# remediation was initiated.
|
|
@@ -4152,6 +4168,7 @@ module Aws::SecurityAgent
|
|
|
4152
4168
|
:confidence,
|
|
4153
4169
|
:validation_status,
|
|
4154
4170
|
:attack_script,
|
|
4171
|
+
:remediation_code,
|
|
4155
4172
|
:code_remediation_task,
|
|
4156
4173
|
:last_updated_by,
|
|
4157
4174
|
:customer_note,
|
|
@@ -6631,6 +6648,10 @@ module Aws::SecurityAgent
|
|
|
6631
6648
|
# the pentest is set up to run from a CI/CD pipeline.
|
|
6632
6649
|
# @return [Types::CiCdConfiguration]
|
|
6633
6650
|
#
|
|
6651
|
+
# @!attribute [rw] test_scope
|
|
6652
|
+
# The category of application a pentest targets.
|
|
6653
|
+
# @return [Types::TestScope]
|
|
6654
|
+
#
|
|
6634
6655
|
# @!attribute [rw] created_at
|
|
6635
6656
|
# The date and time the pentest was created, in UTC format.
|
|
6636
6657
|
# @return [Time]
|
|
@@ -6658,6 +6679,7 @@ module Aws::SecurityAgent
|
|
|
6658
6679
|
:report_destination,
|
|
6659
6680
|
:report_filters,
|
|
6660
6681
|
:cicd_configuration,
|
|
6682
|
+
:test_scope,
|
|
6661
6683
|
:created_at,
|
|
6662
6684
|
:updated_at)
|
|
6663
6685
|
SENSITIVE = []
|
|
@@ -6807,6 +6829,10 @@ module Aws::SecurityAgent
|
|
|
6807
6829
|
# pipeline, scoped to the code changes in each pipeline run.
|
|
6808
6830
|
# @return [Types::CiCdConfiguration]
|
|
6809
6831
|
#
|
|
6832
|
+
# @!attribute [rw] test_scope
|
|
6833
|
+
# The category of application a pentest targets.
|
|
6834
|
+
# @return [Types::TestScope]
|
|
6835
|
+
#
|
|
6810
6836
|
# @!attribute [rw] created_at
|
|
6811
6837
|
# The date and time the pentest job was created, in UTC format.
|
|
6812
6838
|
# @return [Time]
|
|
@@ -6850,6 +6876,7 @@ module Aws::SecurityAgent
|
|
|
6850
6876
|
:scope_result,
|
|
6851
6877
|
:scope_changes,
|
|
6852
6878
|
:cicd_configuration,
|
|
6879
|
+
:test_scope,
|
|
6853
6880
|
:created_at,
|
|
6854
6881
|
:updated_at)
|
|
6855
6882
|
SENSITIVE = [:trusted_ca_certificates]
|
|
@@ -8115,6 +8142,20 @@ module Aws::SecurityAgent
|
|
|
8115
8142
|
include Aws::Structure
|
|
8116
8143
|
end
|
|
8117
8144
|
|
|
8145
|
+
# The category of application a pentest targets.
|
|
8146
|
+
#
|
|
8147
|
+
# @!attribute [rw] type
|
|
8148
|
+
# The category of application under test.
|
|
8149
|
+
# @return [String]
|
|
8150
|
+
#
|
|
8151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TestScope AWS API Documentation
|
|
8152
|
+
#
|
|
8153
|
+
class TestScope < Struct.new(
|
|
8154
|
+
:type)
|
|
8155
|
+
SENSITIVE = []
|
|
8156
|
+
include Aws::Structure
|
|
8157
|
+
end
|
|
8158
|
+
|
|
8118
8159
|
# Represents a threat identified during threat modeling.
|
|
8119
8160
|
#
|
|
8120
8161
|
# @!attribute [rw] threat_id
|
|
@@ -9282,6 +9323,10 @@ module Aws::SecurityAgent
|
|
|
9282
9323
|
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
9283
9324
|
# @return [Types::CiCdConfiguration]
|
|
9284
9325
|
#
|
|
9326
|
+
# @!attribute [rw] test_scope
|
|
9327
|
+
# The category of application a pentest targets.
|
|
9328
|
+
# @return [Types::TestScope]
|
|
9329
|
+
#
|
|
9285
9330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
|
|
9286
9331
|
#
|
|
9287
9332
|
class UpdatePentestInput < Struct.new(
|
|
@@ -9299,7 +9344,8 @@ module Aws::SecurityAgent
|
|
|
9299
9344
|
:max_task_hours,
|
|
9300
9345
|
:report_destination,
|
|
9301
9346
|
:report_filters,
|
|
9302
|
-
:cicd_configuration
|
|
9347
|
+
:cicd_configuration,
|
|
9348
|
+
:test_scope)
|
|
9303
9349
|
SENSITIVE = []
|
|
9304
9350
|
include Aws::Structure
|
|
9305
9351
|
end
|
|
@@ -9355,6 +9401,10 @@ module Aws::SecurityAgent
|
|
|
9355
9401
|
# The CI/CD pentesting configuration applied to the pentest.
|
|
9356
9402
|
# @return [Types::CiCdConfiguration]
|
|
9357
9403
|
#
|
|
9404
|
+
# @!attribute [rw] test_scope
|
|
9405
|
+
# The category of application a pentest targets.
|
|
9406
|
+
# @return [Types::TestScope]
|
|
9407
|
+
#
|
|
9358
9408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestOutput AWS API Documentation
|
|
9359
9409
|
#
|
|
9360
9410
|
class UpdatePentestOutput < Struct.new(
|
|
@@ -9369,7 +9419,8 @@ module Aws::SecurityAgent
|
|
|
9369
9419
|
:agent_space_id,
|
|
9370
9420
|
:report_destination,
|
|
9371
9421
|
:report_filters,
|
|
9372
|
-
:cicd_configuration
|
|
9422
|
+
:cicd_configuration,
|
|
9423
|
+
:test_scope)
|
|
9373
9424
|
SENSITIVE = []
|
|
9374
9425
|
include Aws::Structure
|
|
9375
9426
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -517,6 +517,7 @@ module Aws
|
|
|
517
517
|
def report_destination: () -> Types::ReportDestination
|
|
518
518
|
def report_filters: () -> Types::ReportFilters
|
|
519
519
|
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
520
|
+
def test_scope: () -> Types::TestScope
|
|
520
521
|
end
|
|
521
522
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_pentest-instance_method
|
|
522
523
|
def create_pentest: (
|
|
@@ -547,6 +548,9 @@ module Aws
|
|
|
547
548
|
?report_filters: Params::report_filters,
|
|
548
549
|
?cicd_configuration: {
|
|
549
550
|
enabled: bool?
|
|
551
|
+
},
|
|
552
|
+
?test_scope: {
|
|
553
|
+
type: ("WEB_APP" | "GENERATIVE_AI_APP")
|
|
550
554
|
}
|
|
551
555
|
) -> _CreatePentestResponseSuccess
|
|
552
556
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
@@ -1585,6 +1589,7 @@ module Aws
|
|
|
1585
1589
|
def report_destination: () -> Types::ReportDestination
|
|
1586
1590
|
def report_filters: () -> Types::ReportFilters
|
|
1587
1591
|
def cicd_configuration: () -> Types::CiCdConfiguration
|
|
1592
|
+
def test_scope: () -> Types::TestScope
|
|
1588
1593
|
end
|
|
1589
1594
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_pentest-instance_method
|
|
1590
1595
|
def update_pentest: (
|
|
@@ -1616,6 +1621,9 @@ module Aws
|
|
|
1616
1621
|
?report_filters: Params::report_filters,
|
|
1617
1622
|
?cicd_configuration: {
|
|
1618
1623
|
enabled: bool?
|
|
1624
|
+
},
|
|
1625
|
+
?test_scope: {
|
|
1626
|
+
type: ("WEB_APP" | "GENERATIVE_AI_APP")
|
|
1619
1627
|
}
|
|
1620
1628
|
) -> _UpdatePentestResponseSuccess
|
|
1621
1629
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -765,6 +765,7 @@ module Aws::SecurityAgent
|
|
|
765
765
|
attr_accessor report_destination: Types::ReportDestination
|
|
766
766
|
attr_accessor report_filters: Types::ReportFilters
|
|
767
767
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
768
|
+
attr_accessor test_scope: Types::TestScope
|
|
768
769
|
SENSITIVE: []
|
|
769
770
|
end
|
|
770
771
|
|
|
@@ -781,6 +782,7 @@ module Aws::SecurityAgent
|
|
|
781
782
|
attr_accessor report_destination: Types::ReportDestination
|
|
782
783
|
attr_accessor report_filters: Types::ReportFilters
|
|
783
784
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
785
|
+
attr_accessor test_scope: Types::TestScope
|
|
784
786
|
SENSITIVE: []
|
|
785
787
|
end
|
|
786
788
|
|
|
@@ -1118,6 +1120,7 @@ module Aws::SecurityAgent
|
|
|
1118
1120
|
attr_accessor confidence: ("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")
|
|
1119
1121
|
attr_accessor validation_status: ("CONFIRMED" | "NOT_REPRODUCED" | "VALIDATION_FAILED" | "VALIDATING" | "NOT_VALIDATED")
|
|
1120
1122
|
attr_accessor attack_script: ::String
|
|
1123
|
+
attr_accessor remediation_code: ::String
|
|
1121
1124
|
attr_accessor code_remediation_task: Types::CodeRemediationTask
|
|
1122
1125
|
attr_accessor last_updated_by: ::String
|
|
1123
1126
|
attr_accessor customer_note: ::String
|
|
@@ -1838,6 +1841,7 @@ module Aws::SecurityAgent
|
|
|
1838
1841
|
attr_accessor report_destination: Types::ReportDestination
|
|
1839
1842
|
attr_accessor report_filters: Types::ReportFilters
|
|
1840
1843
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1844
|
+
attr_accessor test_scope: Types::TestScope
|
|
1841
1845
|
attr_accessor created_at: ::Time
|
|
1842
1846
|
attr_accessor updated_at: ::Time
|
|
1843
1847
|
SENSITIVE: []
|
|
@@ -1876,6 +1880,7 @@ module Aws::SecurityAgent
|
|
|
1876
1880
|
attr_accessor scope_result: Types::ScopeResult
|
|
1877
1881
|
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
1878
1882
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1883
|
+
attr_accessor test_scope: Types::TestScope
|
|
1879
1884
|
attr_accessor created_at: ::Time
|
|
1880
1885
|
attr_accessor updated_at: ::Time
|
|
1881
1886
|
SENSITIVE: []
|
|
@@ -2237,6 +2242,11 @@ module Aws::SecurityAgent
|
|
|
2237
2242
|
SENSITIVE: []
|
|
2238
2243
|
end
|
|
2239
2244
|
|
|
2245
|
+
class TestScope
|
|
2246
|
+
attr_accessor type: ("WEB_APP" | "GENERATIVE_AI_APP")
|
|
2247
|
+
SENSITIVE: []
|
|
2248
|
+
end
|
|
2249
|
+
|
|
2240
2250
|
class Threat
|
|
2241
2251
|
attr_accessor threat_id: ::String
|
|
2242
2252
|
attr_accessor threat_job_id: ::String
|
|
@@ -2528,6 +2538,7 @@ module Aws::SecurityAgent
|
|
|
2528
2538
|
attr_accessor report_destination: Types::ReportDestination
|
|
2529
2539
|
attr_accessor report_filters: Types::ReportFilters
|
|
2530
2540
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2541
|
+
attr_accessor test_scope: Types::TestScope
|
|
2531
2542
|
SENSITIVE: []
|
|
2532
2543
|
end
|
|
2533
2544
|
|
|
@@ -2544,6 +2555,7 @@ module Aws::SecurityAgent
|
|
|
2544
2555
|
attr_accessor report_destination: Types::ReportDestination
|
|
2545
2556
|
attr_accessor report_filters: Types::ReportFilters
|
|
2546
2557
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2558
|
+
attr_accessor test_scope: Types::TestScope
|
|
2547
2559
|
SENSITIVE: []
|
|
2548
2560
|
end
|
|
2549
2561
|
|