aws-sdk-inspector2 1.19.0 → 1.21.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: 48a64547a948e32523585dc966c3277157dfb7427cdf979c2cf6a7fb20bdf585
4
- data.tar.gz: a3dfac824c5d504b18a40f0e1114c537b7f831667d6dccbeaa92b672aced1438
3
+ metadata.gz: ea26d789aed02d16327bf0169d59feed1a75132b406107226e4a05b06ad92a1c
4
+ data.tar.gz: 162d7b84eb4b1d080f71b7dcccb4c81f718e94bd0319dc60c5a55a578989e979
5
5
  SHA512:
6
- metadata.gz: 9950f1e375e74e24b481f39c3bf5f9a18d60d96c0813941b402516456d3a3c7d0afe60fdfb9e4e0efcd99028504ef2be91f0ba9b3c99633d5a4f69e54003077a
7
- data.tar.gz: e2ead9a7e7fca09fcea315bdfc7e65e767362592fbb69f0beedb29dbb6cb0ed24776698cb785625aff1a4d8599712f4a266929c46d66372193541563337705db
6
+ metadata.gz: 9aa7a55fe6a9309d0d615ff4a931c6dc2ef6423b64cfa08bff2b0e4a284e41e873b37c979d0d4af7dbd8e21bff6362260625b7b1cce38578568a3d5175ab4342
7
+ data.tar.gz: e9e1903627c29d99d99fc714070e7625fa2a67e37eb061386c5c24170f2678b68816f7fe7b3c21303e86e8e262a1bade26667ecfcfe10054168eb762c71c6426
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.20.0 (2023-07-31)
10
+ ------------------
11
+
12
+ * Feature - This release adds 1 new API: BatchGetFindingDetails to retrieve enhanced vulnerability intelligence details for findings.
13
+
4
14
  1.19.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -527,6 +527,59 @@ module Aws::Inspector2
527
527
  req.send_request(options)
528
528
  end
529
529
 
530
+ # Gets vulnerability details for findings.
531
+ #
532
+ # @option params [required, Array<String>] :finding_arns
533
+ # A list of finding ARNs.
534
+ #
535
+ # @return [Types::BatchGetFindingDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
+ #
537
+ # * {Types::BatchGetFindingDetailsResponse#errors #errors} => Array&lt;Types::FindingDetailsError&gt;
538
+ # * {Types::BatchGetFindingDetailsResponse#finding_details #finding_details} => Array&lt;Types::FindingDetail&gt;
539
+ #
540
+ # @example Request syntax with placeholder values
541
+ #
542
+ # resp = client.batch_get_finding_details({
543
+ # finding_arns: ["FindingArn"], # required
544
+ # })
545
+ #
546
+ # @example Response structure
547
+ #
548
+ # resp.errors #=> Array
549
+ # resp.errors[0].error_code #=> String, one of "INTERNAL_ERROR", "ACCESS_DENIED", "FINDING_DETAILS_NOT_FOUND", "INVALID_INPUT"
550
+ # resp.errors[0].error_message #=> String
551
+ # resp.errors[0].finding_arn #=> String
552
+ # resp.finding_details #=> Array
553
+ # resp.finding_details[0].cisa_data.action #=> String
554
+ # resp.finding_details[0].cisa_data.date_added #=> Time
555
+ # resp.finding_details[0].cisa_data.date_due #=> Time
556
+ # resp.finding_details[0].cwes #=> Array
557
+ # resp.finding_details[0].cwes[0] #=> String
558
+ # resp.finding_details[0].epss_score #=> Float
559
+ # resp.finding_details[0].evidences #=> Array
560
+ # resp.finding_details[0].evidences[0].evidence_detail #=> String
561
+ # resp.finding_details[0].evidences[0].evidence_rule #=> String
562
+ # resp.finding_details[0].evidences[0].severity #=> String
563
+ # resp.finding_details[0].exploit_observed.first_seen #=> Time
564
+ # resp.finding_details[0].exploit_observed.last_seen #=> Time
565
+ # resp.finding_details[0].finding_arn #=> String
566
+ # resp.finding_details[0].reference_urls #=> Array
567
+ # resp.finding_details[0].reference_urls[0] #=> String
568
+ # resp.finding_details[0].risk_score #=> Integer
569
+ # resp.finding_details[0].tools #=> Array
570
+ # resp.finding_details[0].tools[0] #=> String
571
+ # resp.finding_details[0].ttps #=> Array
572
+ # resp.finding_details[0].ttps[0] #=> String
573
+ #
574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetails AWS API Documentation
575
+ #
576
+ # @overload batch_get_finding_details(params = {})
577
+ # @param [Hash] params ({})
578
+ def batch_get_finding_details(params = {}, options = {})
579
+ req = build_request(:batch_get_finding_details, params)
580
+ req.send_request(options)
581
+ end
582
+
530
583
  # Gets free trial status for multiple Amazon Web Services accounts.
531
584
  #
532
585
  # @option params [required, Array<String>] :account_ids
@@ -4244,7 +4297,7 @@ module Aws::Inspector2
4244
4297
  params: params,
4245
4298
  config: config)
4246
4299
  context[:gem_name] = 'aws-sdk-inspector2'
4247
- context[:gem_version] = '1.19.0'
4300
+ context[:gem_version] = '1.21.0'
4248
4301
  Seahorse::Client::Request.new(handlers, context)
4249
4302
  end
4250
4303
 
@@ -53,6 +53,8 @@ module Aws::Inspector2
53
53
  BatchGetCodeSnippetRequest = Shapes::StructureShape.new(name: 'BatchGetCodeSnippetRequest')
54
54
  BatchGetCodeSnippetRequestFindingArnsList = Shapes::ListShape.new(name: 'BatchGetCodeSnippetRequestFindingArnsList')
55
55
  BatchGetCodeSnippetResponse = Shapes::StructureShape.new(name: 'BatchGetCodeSnippetResponse')
56
+ BatchGetFindingDetailsRequest = Shapes::StructureShape.new(name: 'BatchGetFindingDetailsRequest')
57
+ BatchGetFindingDetailsResponse = Shapes::StructureShape.new(name: 'BatchGetFindingDetailsResponse')
56
58
  BatchGetFreeTrialInfoRequest = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoRequest')
57
59
  BatchGetFreeTrialInfoRequestAccountIdsList = Shapes::ListShape.new(name: 'BatchGetFreeTrialInfoRequestAccountIdsList')
58
60
  BatchGetFreeTrialInfoResponse = Shapes::StructureShape.new(name: 'BatchGetFreeTrialInfoResponse')
@@ -166,6 +168,11 @@ module Aws::Inspector2
166
168
  EpssScoreValue = Shapes::FloatShape.new(name: 'EpssScoreValue')
167
169
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
168
170
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
171
+ Evidence = Shapes::StructureShape.new(name: 'Evidence')
172
+ EvidenceDetail = Shapes::StringShape.new(name: 'EvidenceDetail')
173
+ EvidenceList = Shapes::ListShape.new(name: 'EvidenceList')
174
+ EvidenceRule = Shapes::StringShape.new(name: 'EvidenceRule')
175
+ EvidenceSeverity = Shapes::StringShape.new(name: 'EvidenceSeverity')
169
176
  ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
170
177
  ExploitAvailable = Shapes::StringShape.new(name: 'ExploitAvailable')
171
178
  ExploitObserved = Shapes::StructureShape.new(name: 'ExploitObserved')
@@ -187,7 +194,13 @@ module Aws::Inspector2
187
194
  FilterReason = Shapes::StringShape.new(name: 'FilterReason')
188
195
  Finding = Shapes::StructureShape.new(name: 'Finding')
189
196
  FindingArn = Shapes::StringShape.new(name: 'FindingArn')
197
+ FindingArnList = Shapes::ListShape.new(name: 'FindingArnList')
190
198
  FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
199
+ FindingDetail = Shapes::StructureShape.new(name: 'FindingDetail')
200
+ FindingDetails = Shapes::ListShape.new(name: 'FindingDetails')
201
+ FindingDetailsError = Shapes::StructureShape.new(name: 'FindingDetailsError')
202
+ FindingDetailsErrorCode = Shapes::StringShape.new(name: 'FindingDetailsErrorCode')
203
+ FindingDetailsErrorList = Shapes::ListShape.new(name: 'FindingDetailsErrorList')
191
204
  FindingList = Shapes::ListShape.new(name: 'FindingList')
192
205
  FindingStatus = Shapes::StringShape.new(name: 'FindingStatus')
193
206
  FindingTitle = Shapes::StringShape.new(name: 'FindingTitle')
@@ -354,6 +367,7 @@ module Aws::Inspector2
354
367
  ResourceStringFilterList = Shapes::ListShape.new(name: 'ResourceStringFilterList')
355
368
  ResourceStringInput = Shapes::StringShape.new(name: 'ResourceStringInput')
356
369
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
370
+ RiskScore = Shapes::IntegerShape.new(name: 'RiskScore')
357
371
  Runtime = Shapes::StringShape.new(name: 'Runtime')
358
372
  SbomReportFormat = Shapes::StringShape.new(name: 'SbomReportFormat')
359
373
  ScanStatus = Shapes::StructureShape.new(name: 'ScanStatus')
@@ -402,6 +416,8 @@ module Aws::Inspector2
402
416
  TitleAggregation = Shapes::StructureShape.new(name: 'TitleAggregation')
403
417
  TitleAggregationResponse = Shapes::StructureShape.new(name: 'TitleAggregationResponse')
404
418
  TitleSortBy = Shapes::StringShape.new(name: 'TitleSortBy')
419
+ Tool = Shapes::StringShape.new(name: 'Tool')
420
+ Tools = Shapes::ListShape.new(name: 'Tools')
405
421
  Ttp = Shapes::StringShape.new(name: 'Ttp')
406
422
  Ttps = Shapes::ListShape.new(name: 'Ttps')
407
423
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -635,6 +651,13 @@ module Aws::Inspector2
635
651
  BatchGetCodeSnippetResponse.add_member(:errors, Shapes::ShapeRef.new(shape: CodeSnippetErrorList, location_name: "errors"))
636
652
  BatchGetCodeSnippetResponse.struct_class = Types::BatchGetCodeSnippetResponse
637
653
 
654
+ BatchGetFindingDetailsRequest.add_member(:finding_arns, Shapes::ShapeRef.new(shape: FindingArnList, required: true, location_name: "findingArns"))
655
+ BatchGetFindingDetailsRequest.struct_class = Types::BatchGetFindingDetailsRequest
656
+
657
+ BatchGetFindingDetailsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: FindingDetailsErrorList, location_name: "errors"))
658
+ BatchGetFindingDetailsResponse.add_member(:finding_details, Shapes::ShapeRef.new(shape: FindingDetails, location_name: "findingDetails"))
659
+ BatchGetFindingDetailsResponse.struct_class = Types::BatchGetFindingDetailsResponse
660
+
638
661
  BatchGetFreeTrialInfoRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: BatchGetFreeTrialInfoRequestAccountIdsList, required: true, location_name: "accountIds"))
639
662
  BatchGetFreeTrialInfoRequest.struct_class = Types::BatchGetFreeTrialInfoRequest
640
663
 
@@ -953,6 +976,13 @@ module Aws::Inspector2
953
976
  EpssDetails.add_member(:score, Shapes::ShapeRef.new(shape: EpssScoreValue, location_name: "score"))
954
977
  EpssDetails.struct_class = Types::EpssDetails
955
978
 
979
+ Evidence.add_member(:evidence_detail, Shapes::ShapeRef.new(shape: EvidenceDetail, location_name: "evidenceDetail"))
980
+ Evidence.add_member(:evidence_rule, Shapes::ShapeRef.new(shape: EvidenceRule, location_name: "evidenceRule"))
981
+ Evidence.add_member(:severity, Shapes::ShapeRef.new(shape: EvidenceSeverity, location_name: "severity"))
982
+ Evidence.struct_class = Types::Evidence
983
+
984
+ EvidenceList.member = Shapes::ShapeRef.new(shape: Evidence)
985
+
956
986
  ExploitObserved.add_member(:first_seen, Shapes::ShapeRef.new(shape: FirstSeen, location_name: "firstSeen"))
957
987
  ExploitObserved.add_member(:last_seen, Shapes::ShapeRef.new(shape: LastSeen, location_name: "lastSeen"))
958
988
  ExploitObserved.struct_class = Types::ExploitObserved
@@ -1059,6 +1089,29 @@ module Aws::Inspector2
1059
1089
  Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "updatedAt"))
1060
1090
  Finding.struct_class = Types::Finding
1061
1091
 
1092
+ FindingArnList.member = Shapes::ShapeRef.new(shape: FindingArn)
1093
+
1094
+ FindingDetail.add_member(:cisa_data, Shapes::ShapeRef.new(shape: CisaData, location_name: "cisaData"))
1095
+ FindingDetail.add_member(:cwes, Shapes::ShapeRef.new(shape: Cwes, location_name: "cwes"))
1096
+ FindingDetail.add_member(:epss_score, Shapes::ShapeRef.new(shape: Double, location_name: "epssScore"))
1097
+ FindingDetail.add_member(:evidences, Shapes::ShapeRef.new(shape: EvidenceList, location_name: "evidences"))
1098
+ FindingDetail.add_member(:exploit_observed, Shapes::ShapeRef.new(shape: ExploitObserved, location_name: "exploitObserved"))
1099
+ FindingDetail.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, location_name: "findingArn"))
1100
+ FindingDetail.add_member(:reference_urls, Shapes::ShapeRef.new(shape: VulnerabilityReferenceUrls, location_name: "referenceUrls"))
1101
+ FindingDetail.add_member(:risk_score, Shapes::ShapeRef.new(shape: RiskScore, location_name: "riskScore"))
1102
+ FindingDetail.add_member(:tools, Shapes::ShapeRef.new(shape: Tools, location_name: "tools"))
1103
+ FindingDetail.add_member(:ttps, Shapes::ShapeRef.new(shape: Ttps, location_name: "ttps"))
1104
+ FindingDetail.struct_class = Types::FindingDetail
1105
+
1106
+ FindingDetails.member = Shapes::ShapeRef.new(shape: FindingDetail)
1107
+
1108
+ FindingDetailsError.add_member(:error_code, Shapes::ShapeRef.new(shape: FindingDetailsErrorCode, required: true, location_name: "errorCode"))
1109
+ FindingDetailsError.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "errorMessage"))
1110
+ FindingDetailsError.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, required: true, location_name: "findingArn"))
1111
+ FindingDetailsError.struct_class = Types::FindingDetailsError
1112
+
1113
+ FindingDetailsErrorList.member = Shapes::ShapeRef.new(shape: FindingDetailsError)
1114
+
1062
1115
  FindingList.member = Shapes::ShapeRef.new(shape: Finding)
1063
1116
 
1064
1117
  FindingTypeAggregation.add_member(:finding_type, Shapes::ShapeRef.new(shape: AggregationFindingType, location_name: "findingType"))
@@ -1584,6 +1637,8 @@ module Aws::Inspector2
1584
1637
  TitleAggregationResponse.add_member(:vulnerability_id, Shapes::ShapeRef.new(shape: String, location_name: "vulnerabilityId"))
1585
1638
  TitleAggregationResponse.struct_class = Types::TitleAggregationResponse
1586
1639
 
1640
+ Tools.member = Shapes::ShapeRef.new(shape: Tool)
1641
+
1587
1642
  Ttps.member = Shapes::ShapeRef.new(shape: Ttp)
1588
1643
 
1589
1644
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
@@ -1761,6 +1816,18 @@ module Aws::Inspector2
1761
1816
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1762
1817
  end)
1763
1818
 
1819
+ api.add_operation(:batch_get_finding_details, Seahorse::Model::Operation.new.tap do |o|
1820
+ o.name = "BatchGetFindingDetails"
1821
+ o.http_method = "POST"
1822
+ o.http_request_uri = "/findings/details/batch/get"
1823
+ o.input = Shapes::ShapeRef.new(shape: BatchGetFindingDetailsRequest)
1824
+ o.output = Shapes::ShapeRef.new(shape: BatchGetFindingDetailsResponse)
1825
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1826
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1827
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1828
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1829
+ end)
1830
+
1764
1831
  api.add_operation(:batch_get_free_trial_info, Seahorse::Model::Operation.new.tap do |o|
1765
1832
  o.name = "BatchGetFreeTrialInfo"
1766
1833
  o.http_method = "POST"
@@ -54,6 +54,20 @@ module Aws::Inspector2
54
54
  end
55
55
  end
56
56
 
57
+ class BatchGetFindingDetails
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::Inspector2::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
57
71
  class BatchGetFreeTrialInfo
58
72
  def self.build(context)
59
73
  unless context.config.regional_endpoint
@@ -62,6 +62,8 @@ module Aws::Inspector2
62
62
  Aws::Inspector2::Endpoints::BatchGetAccountStatus.build(context)
63
63
  when :batch_get_code_snippet
64
64
  Aws::Inspector2::Endpoints::BatchGetCodeSnippet.build(context)
65
+ when :batch_get_finding_details
66
+ Aws::Inspector2::Endpoints::BatchGetFindingDetails.build(context)
65
67
  when :batch_get_free_trial_info
66
68
  Aws::Inspector2::Endpoints::BatchGetFreeTrialInfo.build(context)
67
69
  when :batch_get_member_ec2_deep_inspection_status
@@ -800,6 +800,36 @@ module Aws::Inspector2
800
800
  include Aws::Structure
801
801
  end
802
802
 
803
+ # @!attribute [rw] finding_arns
804
+ # A list of finding ARNs.
805
+ # @return [Array<String>]
806
+ #
807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetailsRequest AWS API Documentation
808
+ #
809
+ class BatchGetFindingDetailsRequest < Struct.new(
810
+ :finding_arns)
811
+ SENSITIVE = []
812
+ include Aws::Structure
813
+ end
814
+
815
+ # @!attribute [rw] errors
816
+ # Error information for findings that details could not be returned
817
+ # for.
818
+ # @return [Array<Types::FindingDetailsError>]
819
+ #
820
+ # @!attribute [rw] finding_details
821
+ # A finding's vulnerability details.
822
+ # @return [Array<Types::FindingDetail>]
823
+ #
824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFindingDetailsResponse AWS API Documentation
825
+ #
826
+ class BatchGetFindingDetailsResponse < Struct.new(
827
+ :errors,
828
+ :finding_details)
829
+ SENSITIVE = []
830
+ include Aws::Structure
831
+ end
832
+
803
833
  # @!attribute [rw] account_ids
804
834
  # The account IDs to get free trial status for.
805
835
  # @return [Array<String>]
@@ -1770,7 +1800,7 @@ module Aws::Inspector2
1770
1800
  # @return [String]
1771
1801
  #
1772
1802
  # @!attribute [rw] key_prefix
1773
- # The prefix of the Amazon S3 bucket used to export findings.
1803
+ # The prefix that the findings will be written under.
1774
1804
  # @return [String]
1775
1805
  #
1776
1806
  # @!attribute [rw] kms_key_arn
@@ -2194,6 +2224,30 @@ module Aws::Inspector2
2194
2224
  include Aws::Structure
2195
2225
  end
2196
2226
 
2227
+ # Details of the evidence for a vulnerability identified in a finding.
2228
+ #
2229
+ # @!attribute [rw] evidence_detail
2230
+ # The evidence details.
2231
+ # @return [String]
2232
+ #
2233
+ # @!attribute [rw] evidence_rule
2234
+ # The evidence rule.
2235
+ # @return [String]
2236
+ #
2237
+ # @!attribute [rw] severity
2238
+ # The evidence severity.
2239
+ # @return [String]
2240
+ #
2241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Evidence AWS API Documentation
2242
+ #
2243
+ class Evidence < Struct.new(
2244
+ :evidence_detail,
2245
+ :evidence_rule,
2246
+ :severity)
2247
+ SENSITIVE = []
2248
+ include Aws::Structure
2249
+ end
2250
+
2197
2251
  # Contains information on when this exploit was observed.
2198
2252
  #
2199
2253
  # @!attribute [rw] first_seen
@@ -2510,7 +2564,7 @@ module Aws::Inspector2
2510
2564
  # @return [Array<Types::DateFilter>]
2511
2565
  #
2512
2566
  # @!attribute [rw] network_protocol
2513
- # Details on the ingress source addresses used to filter findings.
2567
+ # Details on network protocol used to filter findings.
2514
2568
  # @return [Array<Types::StringFilter>]
2515
2569
  #
2516
2570
  # @!attribute [rw] port_range
@@ -2734,6 +2788,94 @@ module Aws::Inspector2
2734
2788
  include Aws::Structure
2735
2789
  end
2736
2790
 
2791
+ # Details of the vulnerability identified in a finding.
2792
+ #
2793
+ # @!attribute [rw] cisa_data
2794
+ # The Cybersecurity and Infrastructure Security Agency (CISA) details
2795
+ # for a specific vulnerability.
2796
+ # @return [Types::CisaData]
2797
+ #
2798
+ # @!attribute [rw] cwes
2799
+ # The Common Weakness Enumerations (CWEs) associated with the
2800
+ # vulnerability.
2801
+ # @return [Array<String>]
2802
+ #
2803
+ # @!attribute [rw] epss_score
2804
+ # The Exploit Prediction Scoring System (EPSS) score of the
2805
+ # vulnerability.
2806
+ # @return [Float]
2807
+ #
2808
+ # @!attribute [rw] evidences
2809
+ # Information on the evidence of the vulnerability.
2810
+ # @return [Array<Types::Evidence>]
2811
+ #
2812
+ # @!attribute [rw] exploit_observed
2813
+ # Contains information on when this exploit was observed.
2814
+ # @return [Types::ExploitObserved]
2815
+ #
2816
+ # @!attribute [rw] finding_arn
2817
+ # The finding ARN that the vulnerability details are associated with.
2818
+ # @return [String]
2819
+ #
2820
+ # @!attribute [rw] reference_urls
2821
+ # The reference URLs for the vulnerability data.
2822
+ # @return [Array<String>]
2823
+ #
2824
+ # @!attribute [rw] risk_score
2825
+ # The risk score of the vulnerability.
2826
+ # @return [Integer]
2827
+ #
2828
+ # @!attribute [rw] tools
2829
+ # The known malware tools or kits that can exploit the vulnerability.
2830
+ # @return [Array<String>]
2831
+ #
2832
+ # @!attribute [rw] ttps
2833
+ # The MITRE adversary tactics, techniques, or procedures (TTPs)
2834
+ # associated with the vulnerability.
2835
+ # @return [Array<String>]
2836
+ #
2837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FindingDetail AWS API Documentation
2838
+ #
2839
+ class FindingDetail < Struct.new(
2840
+ :cisa_data,
2841
+ :cwes,
2842
+ :epss_score,
2843
+ :evidences,
2844
+ :exploit_observed,
2845
+ :finding_arn,
2846
+ :reference_urls,
2847
+ :risk_score,
2848
+ :tools,
2849
+ :ttps)
2850
+ SENSITIVE = []
2851
+ include Aws::Structure
2852
+ end
2853
+
2854
+ # Details about an error encountered when trying to return vulnerability
2855
+ # data for a finding.
2856
+ #
2857
+ # @!attribute [rw] error_code
2858
+ # The error code.
2859
+ # @return [String]
2860
+ #
2861
+ # @!attribute [rw] error_message
2862
+ # The error message.
2863
+ # @return [String]
2864
+ #
2865
+ # @!attribute [rw] finding_arn
2866
+ # The finding ARN that returned an error.
2867
+ # @return [String]
2868
+ #
2869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FindingDetailsError AWS API Documentation
2870
+ #
2871
+ class FindingDetailsError < Struct.new(
2872
+ :error_code,
2873
+ :error_message,
2874
+ :finding_arn)
2875
+ SENSITIVE = []
2876
+ include Aws::Structure
2877
+ end
2878
+
2737
2879
  # The details that define an aggregation based on finding type.
2738
2880
  #
2739
2881
  # @!attribute [rw] finding_type
@@ -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.19.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  end
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.19.0
4
+ version: 1.21.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement