aws-sdk-securityagent 1.21.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +20 -1
- data/lib/aws-sdk-securityagent/client_api.rb +11 -0
- data/lib/aws-sdk-securityagent/types.rb +48 -4
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +11 -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,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.21.0 (2026-10-08)
|
|
5
10
|
------------------
|
|
6
11
|
|
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
|
|
@@ -1349,6 +1350,7 @@ module Aws::SecurityAgent
|
|
|
1349
1350
|
# resp.pentest_jobs[0].scope_changes[0].head_commit_sha #=> String
|
|
1350
1351
|
# resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
|
|
1351
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"
|
|
1352
1354
|
# resp.pentest_jobs[0].created_at #=> Time
|
|
1353
1355
|
# resp.pentest_jobs[0].updated_at #=> Time
|
|
1354
1356
|
# resp.not_found #=> Array
|
|
@@ -1456,6 +1458,7 @@ module Aws::SecurityAgent
|
|
|
1456
1458
|
# resp.pentests[0].report_filters.annotation_notes #=> Boolean
|
|
1457
1459
|
# resp.pentests[0].report_filters.compliance_report #=> Boolean
|
|
1458
1460
|
# resp.pentests[0].cicd_configuration.enabled #=> Boolean
|
|
1461
|
+
# resp.pentests[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
1459
1462
|
# resp.pentests[0].created_at #=> Time
|
|
1460
1463
|
# resp.pentests[0].updated_at #=> Time
|
|
1461
1464
|
# resp.not_found #=> Array
|
|
@@ -2411,6 +2414,9 @@ module Aws::SecurityAgent
|
|
|
2411
2414
|
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
2412
2415
|
# The CI/CD pentesting configuration to apply to the pentest.
|
|
2413
2416
|
#
|
|
2417
|
+
# @option params [Types::TestScope] :test_scope
|
|
2418
|
+
# The category of application a pentest targets.
|
|
2419
|
+
#
|
|
2414
2420
|
# @return [Types::CreatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2415
2421
|
#
|
|
2416
2422
|
# * {Types::CreatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -2425,6 +2431,7 @@ module Aws::SecurityAgent
|
|
|
2425
2431
|
# * {Types::CreatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
2426
2432
|
# * {Types::CreatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
2427
2433
|
# * {Types::CreatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
2434
|
+
# * {Types::CreatePentestOutput#test_scope #test_scope} => Types::TestScope
|
|
2428
2435
|
#
|
|
2429
2436
|
# @example Request syntax with placeholder values
|
|
2430
2437
|
#
|
|
@@ -2530,6 +2537,9 @@ module Aws::SecurityAgent
|
|
|
2530
2537
|
# cicd_configuration: {
|
|
2531
2538
|
# enabled: false,
|
|
2532
2539
|
# },
|
|
2540
|
+
# test_scope: {
|
|
2541
|
+
# type: "WEB_APP", # required, accepts WEB_APP, GENERATIVE_AI_APP
|
|
2542
|
+
# },
|
|
2533
2543
|
# })
|
|
2534
2544
|
#
|
|
2535
2545
|
# @example Response structure
|
|
@@ -2589,6 +2599,7 @@ module Aws::SecurityAgent
|
|
|
2589
2599
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
2590
2600
|
# resp.report_filters.compliance_report #=> Boolean
|
|
2591
2601
|
# resp.cicd_configuration.enabled #=> Boolean
|
|
2602
|
+
# resp.test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
2592
2603
|
#
|
|
2593
2604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentest AWS API Documentation
|
|
2594
2605
|
#
|
|
@@ -5974,6 +5985,9 @@ module Aws::SecurityAgent
|
|
|
5974
5985
|
# @option params [Types::CiCdConfiguration] :cicd_configuration
|
|
5975
5986
|
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
5976
5987
|
#
|
|
5988
|
+
# @option params [Types::TestScope] :test_scope
|
|
5989
|
+
# The category of application a pentest targets.
|
|
5990
|
+
#
|
|
5977
5991
|
# @return [Types::UpdatePentestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5978
5992
|
#
|
|
5979
5993
|
# * {Types::UpdatePentestOutput#pentest_id #pentest_id} => String
|
|
@@ -5988,6 +6002,7 @@ module Aws::SecurityAgent
|
|
|
5988
6002
|
# * {Types::UpdatePentestOutput#report_destination #report_destination} => Types::ReportDestination
|
|
5989
6003
|
# * {Types::UpdatePentestOutput#report_filters #report_filters} => Types::ReportFilters
|
|
5990
6004
|
# * {Types::UpdatePentestOutput#cicd_configuration #cicd_configuration} => Types::CiCdConfiguration
|
|
6005
|
+
# * {Types::UpdatePentestOutput#test_scope #test_scope} => Types::TestScope
|
|
5991
6006
|
#
|
|
5992
6007
|
# @example Request syntax with placeholder values
|
|
5993
6008
|
#
|
|
@@ -6094,6 +6109,9 @@ module Aws::SecurityAgent
|
|
|
6094
6109
|
# cicd_configuration: {
|
|
6095
6110
|
# enabled: false,
|
|
6096
6111
|
# },
|
|
6112
|
+
# test_scope: {
|
|
6113
|
+
# type: "WEB_APP", # required, accepts WEB_APP, GENERATIVE_AI_APP
|
|
6114
|
+
# },
|
|
6097
6115
|
# })
|
|
6098
6116
|
#
|
|
6099
6117
|
# @example Response structure
|
|
@@ -6153,6 +6171,7 @@ module Aws::SecurityAgent
|
|
|
6153
6171
|
# resp.report_filters.annotation_notes #=> Boolean
|
|
6154
6172
|
# resp.report_filters.compliance_report #=> Boolean
|
|
6155
6173
|
# resp.cicd_configuration.enabled #=> Boolean
|
|
6174
|
+
# resp.test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
|
|
6156
6175
|
#
|
|
6157
6176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentest AWS API Documentation
|
|
6158
6177
|
#
|
|
@@ -6701,7 +6720,7 @@ module Aws::SecurityAgent
|
|
|
6701
6720
|
tracer: tracer
|
|
6702
6721
|
)
|
|
6703
6722
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6704
|
-
context[:gem_version] = '1.
|
|
6723
|
+
context[:gem_version] = '1.22.0'
|
|
6705
6724
|
Seahorse::Client::Request.new(handlers, context)
|
|
6706
6725
|
end
|
|
6707
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"))
|
|
@@ -1999,6 +2003,7 @@ module Aws::SecurityAgent
|
|
|
1999
2003
|
Pentest.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2000
2004
|
Pentest.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2001
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"))
|
|
2002
2007
|
Pentest.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
2003
2008
|
Pentest.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
2004
2009
|
Pentest.struct_class = Types::Pentest
|
|
@@ -2037,6 +2042,7 @@ module Aws::SecurityAgent
|
|
|
2037
2042
|
PentestJob.add_member(:scope_result, Shapes::ShapeRef.new(shape: ScopeResult, location_name: "scopeResult"))
|
|
2038
2043
|
PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
|
|
2039
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"))
|
|
2040
2046
|
PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
2041
2047
|
PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
2042
2048
|
PentestJob.struct_class = Types::PentestJob
|
|
@@ -2378,6 +2384,9 @@ module Aws::SecurityAgent
|
|
|
2378
2384
|
|
|
2379
2385
|
TaskSummaryList.member = Shapes::ShapeRef.new(shape: TaskSummary)
|
|
2380
2386
|
|
|
2387
|
+
TestScope.add_member(:type, Shapes::ShapeRef.new(shape: TestScopeType, required: true, location_name: "type"))
|
|
2388
|
+
TestScope.struct_class = Types::TestScope
|
|
2389
|
+
|
|
2381
2390
|
Threat.add_member(:threat_id, Shapes::ShapeRef.new(shape: String, location_name: "threatId"))
|
|
2382
2391
|
Threat.add_member(:threat_job_id, Shapes::ShapeRef.new(shape: String, location_name: "threatJobId"))
|
|
2383
2392
|
Threat.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
|
|
@@ -2649,6 +2658,7 @@ module Aws::SecurityAgent
|
|
|
2649
2658
|
UpdatePentestInput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2650
2659
|
UpdatePentestInput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2651
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"))
|
|
2652
2662
|
UpdatePentestInput.struct_class = Types::UpdatePentestInput
|
|
2653
2663
|
|
|
2654
2664
|
UpdatePentestOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
|
|
@@ -2663,6 +2673,7 @@ module Aws::SecurityAgent
|
|
|
2663
2673
|
UpdatePentestOutput.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "reportDestination"))
|
|
2664
2674
|
UpdatePentestOutput.add_member(:report_filters, Shapes::ShapeRef.new(shape: ReportFilters, location_name: "reportFilters"))
|
|
2665
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"))
|
|
2666
2677
|
UpdatePentestOutput.struct_class = Types::UpdatePentestOutput
|
|
2667
2678
|
|
|
2668
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
|
|
@@ -6638,6 +6648,10 @@ module Aws::SecurityAgent
|
|
|
6638
6648
|
# the pentest is set up to run from a CI/CD pipeline.
|
|
6639
6649
|
# @return [Types::CiCdConfiguration]
|
|
6640
6650
|
#
|
|
6651
|
+
# @!attribute [rw] test_scope
|
|
6652
|
+
# The category of application a pentest targets.
|
|
6653
|
+
# @return [Types::TestScope]
|
|
6654
|
+
#
|
|
6641
6655
|
# @!attribute [rw] created_at
|
|
6642
6656
|
# The date and time the pentest was created, in UTC format.
|
|
6643
6657
|
# @return [Time]
|
|
@@ -6665,6 +6679,7 @@ module Aws::SecurityAgent
|
|
|
6665
6679
|
:report_destination,
|
|
6666
6680
|
:report_filters,
|
|
6667
6681
|
:cicd_configuration,
|
|
6682
|
+
:test_scope,
|
|
6668
6683
|
:created_at,
|
|
6669
6684
|
:updated_at)
|
|
6670
6685
|
SENSITIVE = []
|
|
@@ -6814,6 +6829,10 @@ module Aws::SecurityAgent
|
|
|
6814
6829
|
# pipeline, scoped to the code changes in each pipeline run.
|
|
6815
6830
|
# @return [Types::CiCdConfiguration]
|
|
6816
6831
|
#
|
|
6832
|
+
# @!attribute [rw] test_scope
|
|
6833
|
+
# The category of application a pentest targets.
|
|
6834
|
+
# @return [Types::TestScope]
|
|
6835
|
+
#
|
|
6817
6836
|
# @!attribute [rw] created_at
|
|
6818
6837
|
# The date and time the pentest job was created, in UTC format.
|
|
6819
6838
|
# @return [Time]
|
|
@@ -6857,6 +6876,7 @@ module Aws::SecurityAgent
|
|
|
6857
6876
|
:scope_result,
|
|
6858
6877
|
:scope_changes,
|
|
6859
6878
|
:cicd_configuration,
|
|
6879
|
+
:test_scope,
|
|
6860
6880
|
:created_at,
|
|
6861
6881
|
:updated_at)
|
|
6862
6882
|
SENSITIVE = [:trusted_ca_certificates]
|
|
@@ -8122,6 +8142,20 @@ module Aws::SecurityAgent
|
|
|
8122
8142
|
include Aws::Structure
|
|
8123
8143
|
end
|
|
8124
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
|
+
|
|
8125
8159
|
# Represents a threat identified during threat modeling.
|
|
8126
8160
|
#
|
|
8127
8161
|
# @!attribute [rw] threat_id
|
|
@@ -9289,6 +9323,10 @@ module Aws::SecurityAgent
|
|
|
9289
9323
|
# The updated CI/CD pentesting configuration to apply to the pentest.
|
|
9290
9324
|
# @return [Types::CiCdConfiguration]
|
|
9291
9325
|
#
|
|
9326
|
+
# @!attribute [rw] test_scope
|
|
9327
|
+
# The category of application a pentest targets.
|
|
9328
|
+
# @return [Types::TestScope]
|
|
9329
|
+
#
|
|
9292
9330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
|
|
9293
9331
|
#
|
|
9294
9332
|
class UpdatePentestInput < Struct.new(
|
|
@@ -9306,7 +9344,8 @@ module Aws::SecurityAgent
|
|
|
9306
9344
|
:max_task_hours,
|
|
9307
9345
|
:report_destination,
|
|
9308
9346
|
:report_filters,
|
|
9309
|
-
:cicd_configuration
|
|
9347
|
+
:cicd_configuration,
|
|
9348
|
+
:test_scope)
|
|
9310
9349
|
SENSITIVE = []
|
|
9311
9350
|
include Aws::Structure
|
|
9312
9351
|
end
|
|
@@ -9362,6 +9401,10 @@ module Aws::SecurityAgent
|
|
|
9362
9401
|
# The CI/CD pentesting configuration applied to the pentest.
|
|
9363
9402
|
# @return [Types::CiCdConfiguration]
|
|
9364
9403
|
#
|
|
9404
|
+
# @!attribute [rw] test_scope
|
|
9405
|
+
# The category of application a pentest targets.
|
|
9406
|
+
# @return [Types::TestScope]
|
|
9407
|
+
#
|
|
9365
9408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestOutput AWS API Documentation
|
|
9366
9409
|
#
|
|
9367
9410
|
class UpdatePentestOutput < Struct.new(
|
|
@@ -9376,7 +9419,8 @@ module Aws::SecurityAgent
|
|
|
9376
9419
|
:agent_space_id,
|
|
9377
9420
|
:report_destination,
|
|
9378
9421
|
:report_filters,
|
|
9379
|
-
:cicd_configuration
|
|
9422
|
+
:cicd_configuration,
|
|
9423
|
+
:test_scope)
|
|
9380
9424
|
SENSITIVE = []
|
|
9381
9425
|
include Aws::Structure
|
|
9382
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
|
|
|
@@ -1839,6 +1841,7 @@ module Aws::SecurityAgent
|
|
|
1839
1841
|
attr_accessor report_destination: Types::ReportDestination
|
|
1840
1842
|
attr_accessor report_filters: Types::ReportFilters
|
|
1841
1843
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1844
|
+
attr_accessor test_scope: Types::TestScope
|
|
1842
1845
|
attr_accessor created_at: ::Time
|
|
1843
1846
|
attr_accessor updated_at: ::Time
|
|
1844
1847
|
SENSITIVE: []
|
|
@@ -1877,6 +1880,7 @@ module Aws::SecurityAgent
|
|
|
1877
1880
|
attr_accessor scope_result: Types::ScopeResult
|
|
1878
1881
|
attr_accessor scope_changes: ::Array[Types::ScopeChange]
|
|
1879
1882
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
1883
|
+
attr_accessor test_scope: Types::TestScope
|
|
1880
1884
|
attr_accessor created_at: ::Time
|
|
1881
1885
|
attr_accessor updated_at: ::Time
|
|
1882
1886
|
SENSITIVE: []
|
|
@@ -2238,6 +2242,11 @@ module Aws::SecurityAgent
|
|
|
2238
2242
|
SENSITIVE: []
|
|
2239
2243
|
end
|
|
2240
2244
|
|
|
2245
|
+
class TestScope
|
|
2246
|
+
attr_accessor type: ("WEB_APP" | "GENERATIVE_AI_APP")
|
|
2247
|
+
SENSITIVE: []
|
|
2248
|
+
end
|
|
2249
|
+
|
|
2241
2250
|
class Threat
|
|
2242
2251
|
attr_accessor threat_id: ::String
|
|
2243
2252
|
attr_accessor threat_job_id: ::String
|
|
@@ -2529,6 +2538,7 @@ module Aws::SecurityAgent
|
|
|
2529
2538
|
attr_accessor report_destination: Types::ReportDestination
|
|
2530
2539
|
attr_accessor report_filters: Types::ReportFilters
|
|
2531
2540
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2541
|
+
attr_accessor test_scope: Types::TestScope
|
|
2532
2542
|
SENSITIVE: []
|
|
2533
2543
|
end
|
|
2534
2544
|
|
|
@@ -2545,6 +2555,7 @@ module Aws::SecurityAgent
|
|
|
2545
2555
|
attr_accessor report_destination: Types::ReportDestination
|
|
2546
2556
|
attr_accessor report_filters: Types::ReportFilters
|
|
2547
2557
|
attr_accessor cicd_configuration: Types::CiCdConfiguration
|
|
2558
|
+
attr_accessor test_scope: Types::TestScope
|
|
2548
2559
|
SENSITIVE: []
|
|
2549
2560
|
end
|
|
2550
2561
|
|