aws-sdk-securityagent 1.4.0 → 1.5.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 +7 -1
- data/lib/aws-sdk-securityagent/client_api.rb +16 -0
- data/lib/aws-sdk-securityagent/types.rb +59 -0
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/types.rbs +15 -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: 89929a8565eed546e1531a324cfb82c3150f650938825d20637678d0c02f0fb2
|
|
4
|
+
data.tar.gz: d8b332460531b87a2160a48a67dccc8456725aa04e409b9f6f2b223659a15adb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c7b04e87c494fb133d313844a07705b4bb89a6daac69e2d0092e8a1212ecc1882d2fbe6a6299a89eea7db0819633b42bb67556f81c743c921939c2a49def558
|
|
7
|
+
data.tar.gz: 2a91665c5e83c0c93c9a864be23f159f0818b33c600bb5e71e3664a3e495ab6d1db32467c8496e7578ac844da9f354dd25ac5e6f68880cd1a4ee82b6632d3fdc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.5.0 (2026-05-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for verification scripts on penetration test findings. Customers can now download executable scripts to independently reproduce confirmed vulnerabilities, with instructions and required environment variables provided for each finding.
|
|
8
|
+
|
|
4
9
|
1.4.0 (2026-05-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.5.0
|
|
@@ -959,6 +959,12 @@ module Aws::SecurityAgent
|
|
|
959
959
|
# resp.findings[0].code_locations[0].line_start #=> Integer
|
|
960
960
|
# resp.findings[0].code_locations[0].line_end #=> Integer
|
|
961
961
|
# resp.findings[0].code_locations[0].label #=> String
|
|
962
|
+
# resp.findings[0].verification_script.script_type #=> String
|
|
963
|
+
# resp.findings[0].verification_script.script_url #=> String
|
|
964
|
+
# resp.findings[0].verification_script.instructions #=> String
|
|
965
|
+
# resp.findings[0].verification_script.env_vars #=> Array
|
|
966
|
+
# resp.findings[0].verification_script.env_vars[0].name #=> String
|
|
967
|
+
# resp.findings[0].verification_script.env_vars[0].value #=> String
|
|
962
968
|
# resp.findings[0].created_at #=> Time
|
|
963
969
|
# resp.findings[0].updated_at #=> Time
|
|
964
970
|
# resp.not_found #=> Array
|
|
@@ -3835,7 +3841,7 @@ module Aws::SecurityAgent
|
|
|
3835
3841
|
tracer: tracer
|
|
3836
3842
|
)
|
|
3837
3843
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
3838
|
-
context[:gem_version] = '1.
|
|
3844
|
+
context[:gem_version] = '1.5.0'
|
|
3839
3845
|
Seahorse::Client::Request.new(handlers, context)
|
|
3840
3846
|
end
|
|
3841
3847
|
|
|
@@ -332,6 +332,9 @@ module Aws::SecurityAgent
|
|
|
332
332
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
|
333
333
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
|
334
334
|
VerificationDetails = Shapes::StructureShape.new(name: 'VerificationDetails')
|
|
335
|
+
VerificationScript = Shapes::StructureShape.new(name: 'VerificationScript')
|
|
336
|
+
VerificationScriptEnvVar = Shapes::StructureShape.new(name: 'VerificationScriptEnvVar')
|
|
337
|
+
VerificationScriptEnvVarList = Shapes::ListShape.new(name: 'VerificationScriptEnvVarList')
|
|
335
338
|
VerifyTargetDomainInput = Shapes::StructureShape.new(name: 'VerifyTargetDomainInput')
|
|
336
339
|
VerifyTargetDomainOutput = Shapes::StructureShape.new(name: 'VerifyTargetDomainOutput')
|
|
337
340
|
VpcArn = Shapes::StringShape.new(name: 'VpcArn')
|
|
@@ -856,6 +859,7 @@ module Aws::SecurityAgent
|
|
|
856
859
|
Finding.add_member(:code_remediation_task, Shapes::ShapeRef.new(shape: CodeRemediationTask, location_name: "codeRemediationTask"))
|
|
857
860
|
Finding.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedBy"))
|
|
858
861
|
Finding.add_member(:code_locations, Shapes::ShapeRef.new(shape: CodeLocationList, location_name: "codeLocations"))
|
|
862
|
+
Finding.add_member(:verification_script, Shapes::ShapeRef.new(shape: VerificationScript, location_name: "verificationScript"))
|
|
859
863
|
Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
|
|
860
864
|
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
|
|
861
865
|
Finding.struct_class = Types::Finding
|
|
@@ -1550,6 +1554,18 @@ module Aws::SecurityAgent
|
|
|
1550
1554
|
VerificationDetails.add_member(:http_route, Shapes::ShapeRef.new(shape: HttpVerification, location_name: "httpRoute"))
|
|
1551
1555
|
VerificationDetails.struct_class = Types::VerificationDetails
|
|
1552
1556
|
|
|
1557
|
+
VerificationScript.add_member(:script_type, Shapes::ShapeRef.new(shape: String, location_name: "scriptType"))
|
|
1558
|
+
VerificationScript.add_member(:script_url, Shapes::ShapeRef.new(shape: String, location_name: "scriptUrl"))
|
|
1559
|
+
VerificationScript.add_member(:instructions, Shapes::ShapeRef.new(shape: String, location_name: "instructions"))
|
|
1560
|
+
VerificationScript.add_member(:env_vars, Shapes::ShapeRef.new(shape: VerificationScriptEnvVarList, location_name: "envVars"))
|
|
1561
|
+
VerificationScript.struct_class = Types::VerificationScript
|
|
1562
|
+
|
|
1563
|
+
VerificationScriptEnvVar.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1564
|
+
VerificationScriptEnvVar.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
1565
|
+
VerificationScriptEnvVar.struct_class = Types::VerificationScriptEnvVar
|
|
1566
|
+
|
|
1567
|
+
VerificationScriptEnvVarList.member = Shapes::ShapeRef.new(shape: VerificationScriptEnvVar)
|
|
1568
|
+
|
|
1553
1569
|
VerifyTargetDomainInput.add_member(:target_domain_id, Shapes::ShapeRef.new(shape: TargetDomainId, required: true, location_name: "targetDomainId"))
|
|
1554
1570
|
VerifyTargetDomainInput.struct_class = Types::VerifyTargetDomainInput
|
|
1555
1571
|
|
|
@@ -2286,6 +2286,12 @@ module Aws::SecurityAgent
|
|
|
2286
2286
|
# code scanner.
|
|
2287
2287
|
# @return [Array<Types::CodeLocation>]
|
|
2288
2288
|
#
|
|
2289
|
+
# @!attribute [rw] verification_script
|
|
2290
|
+
# The verification script metadata for reproducing the finding,
|
|
2291
|
+
# including download URL, instructions, and required environment
|
|
2292
|
+
# variables.
|
|
2293
|
+
# @return [Types::VerificationScript]
|
|
2294
|
+
#
|
|
2289
2295
|
# @!attribute [rw] created_at
|
|
2290
2296
|
# The date and time the finding was created, in UTC format.
|
|
2291
2297
|
# @return [Time]
|
|
@@ -2316,6 +2322,7 @@ module Aws::SecurityAgent
|
|
|
2316
2322
|
:code_remediation_task,
|
|
2317
2323
|
:last_updated_by,
|
|
2318
2324
|
:code_locations,
|
|
2325
|
+
:verification_script,
|
|
2319
2326
|
:created_at,
|
|
2320
2327
|
:updated_at)
|
|
2321
2328
|
SENSITIVE = []
|
|
@@ -5348,6 +5355,58 @@ module Aws::SecurityAgent
|
|
|
5348
5355
|
include Aws::Structure
|
|
5349
5356
|
end
|
|
5350
5357
|
|
|
5358
|
+
# Contains metadata for a verification script that can be used to
|
|
5359
|
+
# reproduce a security finding.
|
|
5360
|
+
#
|
|
5361
|
+
# @!attribute [rw] script_type
|
|
5362
|
+
# The type of script. Valid values are python and bash.
|
|
5363
|
+
# @return [String]
|
|
5364
|
+
#
|
|
5365
|
+
# @!attribute [rw] script_url
|
|
5366
|
+
# URL to download the verification script.
|
|
5367
|
+
# @return [String]
|
|
5368
|
+
#
|
|
5369
|
+
# @!attribute [rw] instructions
|
|
5370
|
+
# Instructions for running the verification script, including
|
|
5371
|
+
# prerequisites and how to interpret results.
|
|
5372
|
+
# @return [String]
|
|
5373
|
+
#
|
|
5374
|
+
# @!attribute [rw] env_vars
|
|
5375
|
+
# The list of environment variables required to run the verification
|
|
5376
|
+
# script.
|
|
5377
|
+
# @return [Array<Types::VerificationScriptEnvVar>]
|
|
5378
|
+
#
|
|
5379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VerificationScript AWS API Documentation
|
|
5380
|
+
#
|
|
5381
|
+
class VerificationScript < Struct.new(
|
|
5382
|
+
:script_type,
|
|
5383
|
+
:script_url,
|
|
5384
|
+
:instructions,
|
|
5385
|
+
:env_vars)
|
|
5386
|
+
SENSITIVE = []
|
|
5387
|
+
include Aws::Structure
|
|
5388
|
+
end
|
|
5389
|
+
|
|
5390
|
+
# Represents an environment variable required to run a verification
|
|
5391
|
+
# script.
|
|
5392
|
+
#
|
|
5393
|
+
# @!attribute [rw] name
|
|
5394
|
+
# The name of the environment variable.
|
|
5395
|
+
# @return [String]
|
|
5396
|
+
#
|
|
5397
|
+
# @!attribute [rw] value
|
|
5398
|
+
# The value of the environment variable.
|
|
5399
|
+
# @return [String]
|
|
5400
|
+
#
|
|
5401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VerificationScriptEnvVar AWS API Documentation
|
|
5402
|
+
#
|
|
5403
|
+
class VerificationScriptEnvVar < Struct.new(
|
|
5404
|
+
:name,
|
|
5405
|
+
:value)
|
|
5406
|
+
SENSITIVE = []
|
|
5407
|
+
include Aws::Structure
|
|
5408
|
+
end
|
|
5409
|
+
|
|
5351
5410
|
# Input for verifying ownership for a registered target domain in an
|
|
5352
5411
|
# agent space.
|
|
5353
5412
|
#
|
data/sig/types.rbs
CHANGED
|
@@ -639,6 +639,7 @@ module Aws::SecurityAgent
|
|
|
639
639
|
attr_accessor code_remediation_task: Types::CodeRemediationTask
|
|
640
640
|
attr_accessor last_updated_by: ::String
|
|
641
641
|
attr_accessor code_locations: ::Array[Types::CodeLocation]
|
|
642
|
+
attr_accessor verification_script: Types::VerificationScript
|
|
642
643
|
attr_accessor created_at: ::Time
|
|
643
644
|
attr_accessor updated_at: ::Time
|
|
644
645
|
SENSITIVE: []
|
|
@@ -1494,6 +1495,20 @@ module Aws::SecurityAgent
|
|
|
1494
1495
|
SENSITIVE: []
|
|
1495
1496
|
end
|
|
1496
1497
|
|
|
1498
|
+
class VerificationScript
|
|
1499
|
+
attr_accessor script_type: ::String
|
|
1500
|
+
attr_accessor script_url: ::String
|
|
1501
|
+
attr_accessor instructions: ::String
|
|
1502
|
+
attr_accessor env_vars: ::Array[Types::VerificationScriptEnvVar]
|
|
1503
|
+
SENSITIVE: []
|
|
1504
|
+
end
|
|
1505
|
+
|
|
1506
|
+
class VerificationScriptEnvVar
|
|
1507
|
+
attr_accessor name: ::String
|
|
1508
|
+
attr_accessor value: ::String
|
|
1509
|
+
SENSITIVE: []
|
|
1510
|
+
end
|
|
1511
|
+
|
|
1497
1512
|
class VerifyTargetDomainInput
|
|
1498
1513
|
attr_accessor target_domain_id: ::String
|
|
1499
1514
|
SENSITIVE: []
|