aws-sdk-inspector2 1.28.0 → 1.29.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: a372f7a326fb1490e6e6cb306e75394b4748bc6944adb47358e5afe4f4cd0f36
4
- data.tar.gz: fadf0a1e238ba390716312cdf2f91f8fbeee0f2cb9d9d37bbba8661ba5bc70bb
3
+ metadata.gz: 511832ee8024f237ca4766c35090130c385bf6ae2bfade2fb0b8b83988036fe2
4
+ data.tar.gz: 1d81fa26d6b29d528083d8ac1ee1c35024610b5c52151ff7c9b0e91eb7235583
5
5
  SHA512:
6
- metadata.gz: f4e889108d9ca8b67c88fb1e1c829f89f10621f2541c4a318dad4056b7e59c776b9dfec8f998f2871b63fa924a6308c0dcb527119e5e5d5a16071074d5ecf884
7
- data.tar.gz: f8c5c08ca2408241254099a7ce846e9326817162af4a5f88def431831c29b729837ac771a5fe08a2edb1afc40fd55901a80700fc23b4ddadd876467c446725dc
6
+ metadata.gz: e60f466a57df879000170a7dbf51740ff804aa411ee0c3ffea849b5f9311970cdca2588a8a864275c1a0b3562403f9bd4fbf32c4a2993d87f0245137256d1e6f
7
+ data.tar.gz: 5a37e0de7ac9783c6fb8b8ad3f24b63fdccf9ac7eabf811042f5cc23bac82000fbd5aeb3fe2e1be65540daf818ab62d5aabea0d0dd9d1e526921fc2967a41aef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2024-05-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds CSV format to GetCisScanReport for Inspector v2
8
+
4
9
  1.28.0 (2024-04-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -1897,6 +1897,10 @@ module Aws::Inspector2
1897
1897
 
1898
1898
  # Retrieves a CIS scan report.
1899
1899
  #
1900
+ # @option params [String] :report_format
1901
+ # The format of the report. Valid values are `PDF` and `CSV`. If no
1902
+ # value is specified, the report format defaults to `PDF`.
1903
+ #
1900
1904
  # @option params [required, String] :scan_arn
1901
1905
  # The scan ARN.
1902
1906
  #
@@ -1911,6 +1915,7 @@ module Aws::Inspector2
1911
1915
  # @example Request syntax with placeholder values
1912
1916
  #
1913
1917
  # resp = client.get_cis_scan_report({
1918
+ # report_format: "PDF", # accepts PDF, CSV
1914
1919
  # scan_arn: "CisScanArn", # required
1915
1920
  # target_accounts: ["AccountId"],
1916
1921
  # })
@@ -5302,7 +5307,7 @@ module Aws::Inspector2
5302
5307
  params: params,
5303
5308
  config: config)
5304
5309
  context[:gem_name] = 'aws-sdk-inspector2'
5305
- context[:gem_version] = '1.28.0'
5310
+ context[:gem_version] = '1.29.0'
5306
5311
  Seahorse::Client::Request.new(handlers, context)
5307
5312
  end
5308
5313
 
@@ -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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-inspector2/customizations'
52
52
  # @!group service
53
53
  module Aws::Inspector2
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.29.0'
56
56
 
57
57
  end
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
@@ -1071,6 +1071,7 @@ module Aws::Inspector2
1071
1071
  end
1072
1072
 
1073
1073
  class GetCisScanReportRequest
1074
+ attr_accessor report_format: ("PDF" | "CSV")
1074
1075
  attr_accessor scan_arn: ::String
1075
1076
  attr_accessor target_accounts: ::Array[::String]
1076
1077
  SENSITIVE: []
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.28.0
4
+ version: 1.29.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-04-29 00:00:00.000000000 Z
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core