aws-sdk-inspector2 1.28.0 → 1.30.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-inspector2/client.rb +9 -3
- data/lib/aws-sdk-inspector2/client_api.rb +3 -0
- data/lib/aws-sdk-inspector2/types.rb +7 -1
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2375ce71a683d03a5927359d421bc8dd59fb523f51be23ed78f706db4d43fe8
|
4
|
+
data.tar.gz: 816b758db3300bc2e6c72c1020d849c57d602cafa1c7d1e12176988cbc037f6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8c973abb383e93b835286ed61f08779d22ce416d9cc339e8518ee6678c463cf956a8997638be584b08c5fcfcd35c7815001307a37288468732b497cd49b4ed5
|
7
|
+
data.tar.gz: 2fd7535da074d5736f2291dd75ce33844a53b59d7033d69dab242e8f015a37192f28050c2cbde08261a2f9a08613ac98d7f957c837a05be03c08ef5cc1ca82e2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.29.0 (2024-05-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds CSV format to GetCisScanReport for Inspector v2
|
13
|
+
|
4
14
|
1.28.0 (2024-04-29)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -301,8 +301,9 @@ module Aws::Inspector2
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -1897,6 +1898,10 @@ module Aws::Inspector2
|
|
1897
1898
|
|
1898
1899
|
# Retrieves a CIS scan report.
|
1899
1900
|
#
|
1901
|
+
# @option params [String] :report_format
|
1902
|
+
# The format of the report. Valid values are `PDF` and `CSV`. If no
|
1903
|
+
# value is specified, the report format defaults to `PDF`.
|
1904
|
+
#
|
1900
1905
|
# @option params [required, String] :scan_arn
|
1901
1906
|
# The scan ARN.
|
1902
1907
|
#
|
@@ -1911,6 +1916,7 @@ module Aws::Inspector2
|
|
1911
1916
|
# @example Request syntax with placeholder values
|
1912
1917
|
#
|
1913
1918
|
# resp = client.get_cis_scan_report({
|
1919
|
+
# report_format: "PDF", # accepts PDF, CSV
|
1914
1920
|
# scan_arn: "CisScanArn", # required
|
1915
1921
|
# target_accounts: ["AccountId"],
|
1916
1922
|
# })
|
@@ -5302,7 +5308,7 @@ module Aws::Inspector2
|
|
5302
5308
|
params: params,
|
5303
5309
|
config: config)
|
5304
5310
|
context[:gem_name] = 'aws-sdk-inspector2'
|
5305
|
-
context[:gem_version] = '1.
|
5311
|
+
context[:gem_version] = '1.30.0'
|
5306
5312
|
Seahorse::Client::Request.new(handlers, context)
|
5307
5313
|
end
|
5308
5314
|
|
@@ -85,6 +85,7 @@ module Aws::Inspector2
|
|
85
85
|
CisNumberFilter = Shapes::StructureShape.new(name: 'CisNumberFilter')
|
86
86
|
CisNumberFilterList = Shapes::ListShape.new(name: 'CisNumberFilterList')
|
87
87
|
CisOwnerId = Shapes::StringShape.new(name: 'CisOwnerId')
|
88
|
+
CisReportFormat = Shapes::StringShape.new(name: 'CisReportFormat')
|
88
89
|
CisReportStatus = Shapes::StringShape.new(name: 'CisReportStatus')
|
89
90
|
CisResultStatus = Shapes::StringShape.new(name: 'CisResultStatus')
|
90
91
|
CisResultStatusComparison = Shapes::StringShape.new(name: 'CisResultStatusComparison')
|
@@ -1507,6 +1508,7 @@ module Aws::Inspector2
|
|
1507
1508
|
|
1508
1509
|
FreeTrialInfoList.member = Shapes::ShapeRef.new(shape: FreeTrialInfo)
|
1509
1510
|
|
1511
|
+
GetCisScanReportRequest.add_member(:report_format, Shapes::ShapeRef.new(shape: CisReportFormat, location_name: "reportFormat"))
|
1510
1512
|
GetCisScanReportRequest.add_member(:scan_arn, Shapes::ShapeRef.new(shape: CisScanArn, required: true, location_name: "scanArn"))
|
1511
1513
|
GetCisScanReportRequest.add_member(:target_accounts, Shapes::ShapeRef.new(shape: ReportTargetAccounts, location_name: "targetAccounts"))
|
1512
1514
|
GetCisScanReportRequest.struct_class = Types::GetCisScanReportRequest
|
@@ -2626,6 +2628,7 @@ module Aws::Inspector2
|
|
2626
2628
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2627
2629
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2628
2630
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2631
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2629
2632
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2630
2633
|
end)
|
2631
2634
|
|
@@ -3856,6 +3856,11 @@ module Aws::Inspector2
|
|
3856
3856
|
include Aws::Structure
|
3857
3857
|
end
|
3858
3858
|
|
3859
|
+
# @!attribute [rw] report_format
|
3860
|
+
# The format of the report. Valid values are `PDF` and `CSV`. If no
|
3861
|
+
# value is specified, the report format defaults to `PDF`.
|
3862
|
+
# @return [String]
|
3863
|
+
#
|
3859
3864
|
# @!attribute [rw] scan_arn
|
3860
3865
|
# The scan ARN.
|
3861
3866
|
# @return [String]
|
@@ -3867,6 +3872,7 @@ module Aws::Inspector2
|
|
3867
3872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanReportRequest AWS API Documentation
|
3868
3873
|
#
|
3869
3874
|
class GetCisScanReportRequest < Struct.new(
|
3875
|
+
:report_format,
|
3870
3876
|
:scan_arn,
|
3871
3877
|
:target_accounts)
|
3872
3878
|
SENSITIVE = []
|
@@ -3878,7 +3884,7 @@ module Aws::Inspector2
|
|
3878
3884
|
# @return [String]
|
3879
3885
|
#
|
3880
3886
|
# @!attribute [rw] url
|
3881
|
-
# The URL where a PDF of the CIS scan report can be downloaded.
|
3887
|
+
# The URL where a PDF or CSV of the CIS scan report can be downloaded.
|
3882
3888
|
# @return [String]
|
3883
3889
|
#
|
3884
3890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCisScanReportResponse AWS API Documentation
|
data/lib/aws-sdk-inspector2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -964,6 +964,7 @@ module Aws
|
|
964
964
|
end
|
965
965
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_cis_scan_report-instance_method
|
966
966
|
def get_cis_scan_report: (
|
967
|
+
?report_format: ("PDF" | "CSV"),
|
967
968
|
scan_arn: ::String,
|
968
969
|
?target_accounts: Array[::String]
|
969
970
|
) -> _GetCisScanReportResponseSuccess
|
data/sig/types.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|