aws-sdk-inspector2 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +34 -2
- data/lib/aws-sdk-inspector2/client_api.rb +40 -35
- data/lib/aws-sdk-inspector2/types.rb +52 -0
- data/lib/aws-sdk-inspector2.rb +1 -1
- 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: 00400b1d34037d79d1d4be4f85988cdb68a62e9700002f107d87eea858ad3d87
|
4
|
+
data.tar.gz: 7d9b4d3ea45361c2b3d3c70c620c70b18ba3ba246564f944d705c50b729a5d12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 044b734f489b8a6bd2a238c433ea656650c94f78a3ce31460a16052cf51838317ef9986ae2795b4fd6b4e26bdd72161adb272ec903e0441c010b139514722103
|
7
|
+
data.tar.gz: cdc27c6ab5d5206fbd068a676bad976e0ef16a135cd216de7242af946b07b20c645d8175fe755afefe17c59f8b0975a08715ac1dce0bede2f79f2720adcb3abe
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2022-09-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds new fields like fixAvailable, fixedInVersion and remediation to the finding model. The requirement to have vulnerablePackages in the finding model has also been removed. The documentation has been updated to reflect these changes.
|
8
|
+
|
4
9
|
1.5.0 (2022-07-14)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
@@ -625,6 +625,12 @@ module Aws::Inspector2
|
|
625
625
|
# start_inclusive: Time.now,
|
626
626
|
# },
|
627
627
|
# ],
|
628
|
+
# fix_available: [
|
629
|
+
# {
|
630
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
631
|
+
# value: "StringInput", # required
|
632
|
+
# },
|
633
|
+
# ],
|
628
634
|
# inspector_score: [
|
629
635
|
# {
|
630
636
|
# lower_inclusive: 1.0,
|
@@ -874,6 +880,12 @@ module Aws::Inspector2
|
|
874
880
|
# start_inclusive: Time.now,
|
875
881
|
# },
|
876
882
|
# ],
|
883
|
+
# fix_available: [
|
884
|
+
# {
|
885
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
886
|
+
# value: "StringInput", # required
|
887
|
+
# },
|
888
|
+
# ],
|
877
889
|
# inspector_score: [
|
878
890
|
# {
|
879
891
|
# lower_inclusive: 1.0,
|
@@ -1373,6 +1385,9 @@ module Aws::Inspector2
|
|
1373
1385
|
# resp.filter_criteria.first_observed_at #=> Array
|
1374
1386
|
# resp.filter_criteria.first_observed_at[0].end_inclusive #=> Time
|
1375
1387
|
# resp.filter_criteria.first_observed_at[0].start_inclusive #=> Time
|
1388
|
+
# resp.filter_criteria.fix_available #=> Array
|
1389
|
+
# resp.filter_criteria.fix_available[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1390
|
+
# resp.filter_criteria.fix_available[0].value #=> String
|
1376
1391
|
# resp.filter_criteria.inspector_score #=> Array
|
1377
1392
|
# resp.filter_criteria.inspector_score[0].lower_inclusive #=> Float
|
1378
1393
|
# resp.filter_criteria.inspector_score[0].upper_inclusive #=> Float
|
@@ -1620,7 +1635,7 @@ module Aws::Inspector2
|
|
1620
1635
|
# resp.covered_resources[0].resource_metadata.ecr_repository.name #=> String
|
1621
1636
|
# resp.covered_resources[0].resource_metadata.ecr_repository.scan_frequency #=> String, one of "MANUAL", "SCAN_ON_PUSH", "CONTINUOUS_SCAN"
|
1622
1637
|
# resp.covered_resources[0].resource_type #=> String, one of "AWS_EC2_INSTANCE", "AWS_ECR_CONTAINER_IMAGE", "AWS_ECR_REPOSITORY"
|
1623
|
-
# resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE"
|
1638
|
+
# resp.covered_resources[0].scan_status.reason #=> String, one of "PENDING_INITIAL_SCAN", "ACCESS_DENIED", "INTERNAL_ERROR", "UNMANAGED_EC2_INSTANCE", "UNSUPPORTED_OS", "SCAN_ELIGIBILITY_EXPIRED", "RESOURCE_TERMINATED", "SUCCESSFUL", "NO_RESOURCES_FOUND", "IMAGE_SIZE_EXCEEDED", "SCAN_FREQUENCY_MANUAL", "SCAN_FREQUENCY_SCAN_ON_PUSH", "EC2_INSTANCE_STOPPED", "PENDING_DISABLE", "NO_INVENTORY", "STALE_INVENTORY"
|
1624
1639
|
# resp.covered_resources[0].scan_status.status_code #=> String, one of "ACTIVE", "INACTIVE"
|
1625
1640
|
# resp.covered_resources[0].scan_type #=> String, one of "NETWORK", "PACKAGE"
|
1626
1641
|
# resp.next_token #=> String
|
@@ -1870,6 +1885,9 @@ module Aws::Inspector2
|
|
1870
1885
|
# resp.filters[0].criteria.first_observed_at #=> Array
|
1871
1886
|
# resp.filters[0].criteria.first_observed_at[0].end_inclusive #=> Time
|
1872
1887
|
# resp.filters[0].criteria.first_observed_at[0].start_inclusive #=> Time
|
1888
|
+
# resp.filters[0].criteria.fix_available #=> Array
|
1889
|
+
# resp.filters[0].criteria.fix_available[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS"
|
1890
|
+
# resp.filters[0].criteria.fix_available[0].value #=> String
|
1873
1891
|
# resp.filters[0].criteria.inspector_score #=> Array
|
1874
1892
|
# resp.filters[0].criteria.inspector_score[0].lower_inclusive #=> Float
|
1875
1893
|
# resp.filters[0].criteria.inspector_score[0].upper_inclusive #=> Float
|
@@ -2343,6 +2361,12 @@ module Aws::Inspector2
|
|
2343
2361
|
# start_inclusive: Time.now,
|
2344
2362
|
# },
|
2345
2363
|
# ],
|
2364
|
+
# fix_available: [
|
2365
|
+
# {
|
2366
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2367
|
+
# value: "StringInput", # required
|
2368
|
+
# },
|
2369
|
+
# ],
|
2346
2370
|
# inspector_score: [
|
2347
2371
|
# {
|
2348
2372
|
# lower_inclusive: 1.0,
|
@@ -2472,6 +2496,7 @@ module Aws::Inspector2
|
|
2472
2496
|
# resp.findings[0].description #=> String
|
2473
2497
|
# resp.findings[0].finding_arn #=> String
|
2474
2498
|
# resp.findings[0].first_observed_at #=> Time
|
2499
|
+
# resp.findings[0].fix_available #=> String, one of "YES", "NO", "PARTIAL"
|
2475
2500
|
# resp.findings[0].inspector_score #=> Float
|
2476
2501
|
# resp.findings[0].inspector_score_details.adjusted_cvss.adjustments #=> Array
|
2477
2502
|
# resp.findings[0].inspector_score_details.adjusted_cvss.adjustments[0].metric #=> String
|
@@ -2511,6 +2536,7 @@ module Aws::Inspector2
|
|
2511
2536
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].name #=> String
|
2512
2537
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String, one of "BUNDLER", "CARGO", "COMPOSER", "NPM", "NUGET", "PIPENV", "POETRY", "YARN", "GOBINARY", "GOMOD", "JAR", "OS", "PIP", "PYTHONPKG", "NODEPKG", "POM"
|
2513
2538
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
|
2539
|
+
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].remediation #=> String
|
2514
2540
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
|
2515
2541
|
# resp.findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
|
2516
2542
|
# resp.findings[0].remediation.recommendation.url #=> String
|
@@ -2899,6 +2925,12 @@ module Aws::Inspector2
|
|
2899
2925
|
# start_inclusive: Time.now,
|
2900
2926
|
# },
|
2901
2927
|
# ],
|
2928
|
+
# fix_available: [
|
2929
|
+
# {
|
2930
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2931
|
+
# value: "StringInput", # required
|
2932
|
+
# },
|
2933
|
+
# ],
|
2902
2934
|
# inspector_score: [
|
2903
2935
|
# {
|
2904
2936
|
# lower_inclusive: 1.0,
|
@@ -3076,7 +3108,7 @@ module Aws::Inspector2
|
|
3076
3108
|
params: params,
|
3077
3109
|
config: config)
|
3078
3110
|
context[:gem_name] = 'aws-sdk-inspector2'
|
3079
|
-
context[:gem_version] = '1.
|
3111
|
+
context[:gem_version] = '1.6.0'
|
3080
3112
|
Seahorse::Client::Request.new(handlers, context)
|
3081
3113
|
end
|
3082
3114
|
|
@@ -142,6 +142,7 @@ module Aws::Inspector2
|
|
142
142
|
FindingTypeAggregation = Shapes::StructureShape.new(name: 'FindingTypeAggregation')
|
143
143
|
FindingTypeAggregationResponse = Shapes::StructureShape.new(name: 'FindingTypeAggregationResponse')
|
144
144
|
FindingTypeSortBy = Shapes::StringShape.new(name: 'FindingTypeSortBy')
|
145
|
+
FixAvailable = Shapes::StringShape.new(name: 'FixAvailable')
|
145
146
|
FreeTrialAccountInfo = Shapes::StructureShape.new(name: 'FreeTrialAccountInfo')
|
146
147
|
FreeTrialAccountInfoList = Shapes::ListShape.new(name: 'FreeTrialAccountInfoList')
|
147
148
|
FreeTrialInfo = Shapes::StructureShape.new(name: 'FreeTrialInfo')
|
@@ -316,6 +317,7 @@ module Aws::Inspector2
|
|
316
317
|
VulnerabilityIdList = Shapes::ListShape.new(name: 'VulnerabilityIdList')
|
317
318
|
VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
|
318
319
|
VulnerablePackageList = Shapes::ListShape.new(name: 'VulnerablePackageList')
|
320
|
+
VulnerablePackageRemediation = Shapes::StringShape.new(name: 'VulnerablePackageRemediation')
|
319
321
|
|
320
322
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
321
323
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -398,7 +400,7 @@ module Aws::Inspector2
|
|
398
400
|
AmiAggregation.struct_class = Types::AmiAggregation
|
399
401
|
|
400
402
|
AmiAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
401
|
-
AmiAggregationResponse.add_member(:affected_instances, Shapes::ShapeRef.new(shape: Long, location_name: "affectedInstances"))
|
403
|
+
AmiAggregationResponse.add_member(:affected_instances, Shapes::ShapeRef.new(shape: Long, location_name: "affectedInstances", metadata: {"box"=>true}))
|
402
404
|
AmiAggregationResponse.add_member(:ami, Shapes::ShapeRef.new(shape: AmiId, required: true, location_name: "ami"))
|
403
405
|
AmiAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
404
406
|
AmiAggregationResponse.struct_class = Types::AmiAggregationResponse
|
@@ -409,8 +411,8 @@ module Aws::Inspector2
|
|
409
411
|
AssociateMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
410
412
|
AssociateMemberResponse.struct_class = Types::AssociateMemberResponse
|
411
413
|
|
412
|
-
AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2"))
|
413
|
-
AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr"))
|
414
|
+
AutoEnable.add_member(:ec2, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ec2", metadata: {"box"=>true}))
|
415
|
+
AutoEnable.add_member(:ecr, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ecr", metadata: {"box"=>true}))
|
414
416
|
AutoEnable.struct_class = Types::AutoEnable
|
415
417
|
|
416
418
|
AwsEc2InstanceDetails.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "iamInstanceProfileArn"))
|
@@ -483,7 +485,7 @@ module Aws::Inspector2
|
|
483
485
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
484
486
|
ConflictException.struct_class = Types::ConflictException
|
485
487
|
|
486
|
-
Counts.add_member(:count, Shapes::ShapeRef.new(shape: AggCounts, location_name: "count"))
|
488
|
+
Counts.add_member(:count, Shapes::ShapeRef.new(shape: AggCounts, location_name: "count", metadata: {"default"=>0}))
|
487
489
|
Counts.add_member(:group_key, Shapes::ShapeRef.new(shape: GroupKey, location_name: "groupKey"))
|
488
490
|
Counts.struct_class = Types::Counts
|
489
491
|
|
@@ -542,7 +544,7 @@ module Aws::Inspector2
|
|
542
544
|
CreateFindingsReportResponse.add_member(:report_id, Shapes::ShapeRef.new(shape: ReportId, location_name: "reportId"))
|
543
545
|
CreateFindingsReportResponse.struct_class = Types::CreateFindingsReportResponse
|
544
546
|
|
545
|
-
CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore"))
|
547
|
+
CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "baseScore", metadata: {"box"=>true}))
|
546
548
|
CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
|
547
549
|
CvssScore.add_member(:source, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "source"))
|
548
550
|
CvssScore.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "version"))
|
@@ -556,7 +558,7 @@ module Aws::Inspector2
|
|
556
558
|
|
557
559
|
CvssScoreDetails.add_member(:adjustments, Shapes::ShapeRef.new(shape: CvssScoreAdjustmentList, location_name: "adjustments"))
|
558
560
|
CvssScoreDetails.add_member(:cvss_source, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "cvssSource"))
|
559
|
-
CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "score"))
|
561
|
+
CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "score", metadata: {"box"=>true}))
|
560
562
|
CvssScoreDetails.add_member(:score_source, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoreSource"))
|
561
563
|
CvssScoreDetails.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "scoringVector"))
|
562
564
|
CvssScoreDetails.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "version"))
|
@@ -589,7 +591,7 @@ module Aws::Inspector2
|
|
589
591
|
DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
|
590
592
|
|
591
593
|
DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: AutoEnable, location_name: "autoEnable"))
|
592
|
-
DescribeOrganizationConfigurationResponse.add_member(:max_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, location_name: "maxAccountLimitReached"))
|
594
|
+
DescribeOrganizationConfigurationResponse.add_member(:max_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, location_name: "maxAccountLimitReached", metadata: {"box"=>true}))
|
593
595
|
DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
|
594
596
|
|
595
597
|
Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "bucketName"))
|
@@ -631,7 +633,7 @@ module Aws::Inspector2
|
|
631
633
|
Ec2InstanceAggregationResponse.add_member(:ami, Shapes::ShapeRef.new(shape: AmiId, location_name: "ami"))
|
632
634
|
Ec2InstanceAggregationResponse.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "instanceId"))
|
633
635
|
Ec2InstanceAggregationResponse.add_member(:instance_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "instanceTags"))
|
634
|
-
Ec2InstanceAggregationResponse.add_member(:network_findings, Shapes::ShapeRef.new(shape: Long, location_name: "networkFindings"))
|
636
|
+
Ec2InstanceAggregationResponse.add_member(:network_findings, Shapes::ShapeRef.new(shape: Long, location_name: "networkFindings", metadata: {"box"=>true}))
|
635
637
|
Ec2InstanceAggregationResponse.add_member(:operating_system, Shapes::ShapeRef.new(shape: String, location_name: "operatingSystem"))
|
636
638
|
Ec2InstanceAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
637
639
|
Ec2InstanceAggregationResponse.struct_class = Types::Ec2InstanceAggregationResponse
|
@@ -716,6 +718,7 @@ module Aws::Inspector2
|
|
716
718
|
FilterCriteria.add_member(:finding_status, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingStatus"))
|
717
719
|
FilterCriteria.add_member(:finding_type, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "findingType"))
|
718
720
|
FilterCriteria.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "firstObservedAt"))
|
721
|
+
FilterCriteria.add_member(:fix_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "fixAvailable"))
|
719
722
|
FilterCriteria.add_member(:inspector_score, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "inspectorScore"))
|
720
723
|
FilterCriteria.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "lastObservedAt"))
|
721
724
|
FilterCriteria.add_member(:network_protocol, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "networkProtocol"))
|
@@ -739,7 +742,8 @@ module Aws::Inspector2
|
|
739
742
|
Finding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, required: true, location_name: "description"))
|
740
743
|
Finding.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, required: true, location_name: "findingArn"))
|
741
744
|
Finding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "firstObservedAt"))
|
742
|
-
Finding.add_member(:
|
745
|
+
Finding.add_member(:fix_available, Shapes::ShapeRef.new(shape: FixAvailable, location_name: "fixAvailable"))
|
746
|
+
Finding.add_member(:inspector_score, Shapes::ShapeRef.new(shape: Double, location_name: "inspectorScore", metadata: {"box"=>true}))
|
743
747
|
Finding.add_member(:inspector_score_details, Shapes::ShapeRef.new(shape: InspectorScoreDetails, location_name: "inspectorScoreDetails"))
|
744
748
|
Finding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, required: true, location_name: "lastObservedAt"))
|
745
749
|
Finding.add_member(:network_reachability_details, Shapes::ShapeRef.new(shape: NetworkReachabilityDetails, location_name: "networkReachabilityDetails"))
|
@@ -833,14 +837,14 @@ module Aws::Inspector2
|
|
833
837
|
InspectorScoreDetails.struct_class = Types::InspectorScoreDetails
|
834
838
|
|
835
839
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
836
|
-
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
840
|
+
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After", metadata: {"box"=>true}))
|
837
841
|
InternalServerException.struct_class = Types::InternalServerException
|
838
842
|
|
839
843
|
IpV4AddressList.member = Shapes::ShapeRef.new(shape: IpV4Address)
|
840
844
|
|
841
845
|
IpV6AddressList.member = Shapes::ShapeRef.new(shape: IpV6Address)
|
842
846
|
|
843
|
-
ListAccountPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccountPermissionsMaxResults, location_name: "maxResults"))
|
847
|
+
ListAccountPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAccountPermissionsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
844
848
|
ListAccountPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
845
849
|
ListAccountPermissionsRequest.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
846
850
|
ListAccountPermissionsRequest.struct_class = Types::ListAccountPermissionsRequest
|
@@ -850,7 +854,7 @@ module Aws::Inspector2
|
|
850
854
|
ListAccountPermissionsResponse.struct_class = Types::ListAccountPermissionsResponse
|
851
855
|
|
852
856
|
ListCoverageRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: CoverageFilterCriteria, location_name: "filterCriteria"))
|
853
|
-
ListCoverageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCoverageMaxResults, location_name: "maxResults"))
|
857
|
+
ListCoverageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCoverageMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
854
858
|
ListCoverageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
855
859
|
ListCoverageRequest.struct_class = Types::ListCoverageRequest
|
856
860
|
|
@@ -865,10 +869,10 @@ module Aws::Inspector2
|
|
865
869
|
|
866
870
|
ListCoverageStatisticsResponse.add_member(:counts_by_group, Shapes::ShapeRef.new(shape: CountsList, location_name: "countsByGroup"))
|
867
871
|
ListCoverageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
868
|
-
ListCoverageStatisticsResponse.add_member(:total_counts, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "totalCounts"))
|
872
|
+
ListCoverageStatisticsResponse.add_member(:total_counts, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "totalCounts", metadata: {"box"=>true}))
|
869
873
|
ListCoverageStatisticsResponse.struct_class = Types::ListCoverageStatisticsResponse
|
870
874
|
|
871
|
-
ListDelegatedAdminAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDelegatedAdminMaxResults, location_name: "maxResults"))
|
875
|
+
ListDelegatedAdminAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDelegatedAdminMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
872
876
|
ListDelegatedAdminAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
873
877
|
ListDelegatedAdminAccountsRequest.struct_class = Types::ListDelegatedAdminAccountsRequest
|
874
878
|
|
@@ -878,7 +882,7 @@ module Aws::Inspector2
|
|
878
882
|
|
879
883
|
ListFiltersRequest.add_member(:action, Shapes::ShapeRef.new(shape: FilterAction, location_name: "action"))
|
880
884
|
ListFiltersRequest.add_member(:arns, Shapes::ShapeRef.new(shape: FilterArnList, location_name: "arns"))
|
881
|
-
ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFilterMaxResults, location_name: "maxResults"))
|
885
|
+
ListFiltersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFilterMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
882
886
|
ListFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
883
887
|
ListFiltersRequest.struct_class = Types::ListFiltersRequest
|
884
888
|
|
@@ -889,7 +893,7 @@ module Aws::Inspector2
|
|
889
893
|
ListFindingAggregationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "accountIds"))
|
890
894
|
ListFindingAggregationsRequest.add_member(:aggregation_request, Shapes::ShapeRef.new(shape: AggregationRequest, location_name: "aggregationRequest"))
|
891
895
|
ListFindingAggregationsRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, required: true, location_name: "aggregationType"))
|
892
|
-
ListFindingAggregationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingAggregationsMaxResults, location_name: "maxResults"))
|
896
|
+
ListFindingAggregationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingAggregationsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
893
897
|
ListFindingAggregationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
894
898
|
ListFindingAggregationsRequest.struct_class = Types::ListFindingAggregationsRequest
|
895
899
|
|
@@ -899,7 +903,7 @@ module Aws::Inspector2
|
|
899
903
|
ListFindingAggregationsResponse.struct_class = Types::ListFindingAggregationsResponse
|
900
904
|
|
901
905
|
ListFindingsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: FilterCriteria, location_name: "filterCriteria"))
|
902
|
-
ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingsMaxResults, location_name: "maxResults"))
|
906
|
+
ListFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListFindingsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
903
907
|
ListFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
904
908
|
ListFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
|
905
909
|
ListFindingsRequest.struct_class = Types::ListFindingsRequest
|
@@ -908,9 +912,9 @@ module Aws::Inspector2
|
|
908
912
|
ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
909
913
|
ListFindingsResponse.struct_class = Types::ListFindingsResponse
|
910
914
|
|
911
|
-
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMembersMaxResults, location_name: "maxResults"))
|
915
|
+
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMembersMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
912
916
|
ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
913
|
-
ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: Boolean, location_name: "onlyAssociated"))
|
917
|
+
ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: Boolean, location_name: "onlyAssociated", metadata: {"box"=>true}))
|
914
918
|
ListMembersRequest.struct_class = Types::ListMembersRequest
|
915
919
|
|
916
920
|
ListMembersResponse.add_member(:members, Shapes::ShapeRef.new(shape: MemberList, location_name: "members"))
|
@@ -924,7 +928,7 @@ module Aws::Inspector2
|
|
924
928
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
925
929
|
|
926
930
|
ListUsageTotalsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: UsageAccountIdList, location_name: "accountIds"))
|
927
|
-
ListUsageTotalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageTotalsMaxResults, location_name: "maxResults"))
|
931
|
+
ListUsageTotalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageTotalsMaxResults, location_name: "maxResults", metadata: {"box"=>true}))
|
928
932
|
ListUsageTotalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListUsageTotalsNextToken, location_name: "nextToken"))
|
929
933
|
ListUsageTotalsRequest.struct_class = Types::ListUsageTotalsRequest
|
930
934
|
|
@@ -957,8 +961,8 @@ module Aws::Inspector2
|
|
957
961
|
|
958
962
|
NonEmptyStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
959
963
|
|
960
|
-
NumberFilter.add_member(:lower_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "lowerInclusive"))
|
961
|
-
NumberFilter.add_member(:upper_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "upperInclusive"))
|
964
|
+
NumberFilter.add_member(:lower_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "lowerInclusive", metadata: {"box"=>true}))
|
965
|
+
NumberFilter.add_member(:upper_inclusive, Shapes::ShapeRef.new(shape: Double, location_name: "upperInclusive", metadata: {"box"=>true}))
|
962
966
|
NumberFilter.struct_class = Types::NumberFilter
|
963
967
|
|
964
968
|
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
|
@@ -992,7 +996,7 @@ module Aws::Inspector2
|
|
992
996
|
PackageVulnerabilityDetails.add_member(:vendor_severity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "vendorSeverity"))
|
993
997
|
PackageVulnerabilityDetails.add_member(:vendor_updated_at, Shapes::ShapeRef.new(shape: DateTimeTimestamp, location_name: "vendorUpdatedAt"))
|
994
998
|
PackageVulnerabilityDetails.add_member(:vulnerability_id, Shapes::ShapeRef.new(shape: VulnerabilityId, required: true, location_name: "vulnerabilityId"))
|
995
|
-
PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackageList,
|
999
|
+
PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackageList, location_name: "vulnerablePackages"))
|
996
1000
|
PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
|
997
1001
|
|
998
1002
|
Permission.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, required: true, location_name: "operation"))
|
@@ -1001,12 +1005,12 @@ module Aws::Inspector2
|
|
1001
1005
|
|
1002
1006
|
Permissions.member = Shapes::ShapeRef.new(shape: Permission)
|
1003
1007
|
|
1004
|
-
PortRange.add_member(:begin, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "begin"))
|
1005
|
-
PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "end"))
|
1008
|
+
PortRange.add_member(:begin, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "begin", metadata: {"box"=>true}))
|
1009
|
+
PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "end", metadata: {"box"=>true}))
|
1006
1010
|
PortRange.struct_class = Types::PortRange
|
1007
1011
|
|
1008
|
-
PortRangeFilter.add_member(:begin_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "beginInclusive"))
|
1009
|
-
PortRangeFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "endInclusive"))
|
1012
|
+
PortRangeFilter.add_member(:begin_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "beginInclusive", metadata: {"box"=>true}))
|
1013
|
+
PortRangeFilter.add_member(:end_inclusive, Shapes::ShapeRef.new(shape: Port, location_name: "endInclusive", metadata: {"box"=>true}))
|
1010
1014
|
PortRangeFilter.struct_class = Types::PortRangeFilter
|
1011
1015
|
|
1012
1016
|
PortRangeFilterList.member = Shapes::ShapeRef.new(shape: PortRangeFilter)
|
@@ -1024,7 +1028,7 @@ module Aws::Inspector2
|
|
1024
1028
|
RepositoryAggregation.struct_class = Types::RepositoryAggregation
|
1025
1029
|
|
1026
1030
|
RepositoryAggregationResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
1027
|
-
RepositoryAggregationResponse.add_member(:affected_images, Shapes::ShapeRef.new(shape: Long, location_name: "affectedImages"))
|
1031
|
+
RepositoryAggregationResponse.add_member(:affected_images, Shapes::ShapeRef.new(shape: Long, location_name: "affectedImages", metadata: {"box"=>true}))
|
1028
1032
|
RepositoryAggregationResponse.add_member(:repository, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "repository"))
|
1029
1033
|
RepositoryAggregationResponse.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
1030
1034
|
RepositoryAggregationResponse.struct_class = Types::RepositoryAggregationResponse
|
@@ -1067,10 +1071,10 @@ module Aws::Inspector2
|
|
1067
1071
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
1068
1072
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
1069
1073
|
|
1070
|
-
SeverityCounts.add_member(:all, Shapes::ShapeRef.new(shape: Long, location_name: "all"))
|
1071
|
-
SeverityCounts.add_member(:critical, Shapes::ShapeRef.new(shape: Long, location_name: "critical"))
|
1072
|
-
SeverityCounts.add_member(:high, Shapes::ShapeRef.new(shape: Long, location_name: "high"))
|
1073
|
-
SeverityCounts.add_member(:medium, Shapes::ShapeRef.new(shape: Long, location_name: "medium"))
|
1074
|
+
SeverityCounts.add_member(:all, Shapes::ShapeRef.new(shape: Long, location_name: "all", metadata: {"box"=>true}))
|
1075
|
+
SeverityCounts.add_member(:critical, Shapes::ShapeRef.new(shape: Long, location_name: "critical", metadata: {"box"=>true}))
|
1076
|
+
SeverityCounts.add_member(:high, Shapes::ShapeRef.new(shape: Long, location_name: "high", metadata: {"box"=>true}))
|
1077
|
+
SeverityCounts.add_member(:medium, Shapes::ShapeRef.new(shape: Long, location_name: "medium", metadata: {"box"=>true}))
|
1074
1078
|
SeverityCounts.struct_class = Types::SeverityCounts
|
1075
1079
|
|
1076
1080
|
SortCriteria.add_member(:field, Shapes::ShapeRef.new(shape: SortField, required: true, location_name: "field"))
|
@@ -1154,8 +1158,8 @@ module Aws::Inspector2
|
|
1154
1158
|
UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
|
1155
1159
|
|
1156
1160
|
Usage.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
1157
|
-
Usage.add_member(:estimated_monthly_cost, Shapes::ShapeRef.new(shape: MonthlyCostEstimate, location_name: "estimatedMonthlyCost"))
|
1158
|
-
Usage.add_member(:total, Shapes::ShapeRef.new(shape: UsageValue, location_name: "total"))
|
1161
|
+
Usage.add_member(:estimated_monthly_cost, Shapes::ShapeRef.new(shape: MonthlyCostEstimate, location_name: "estimatedMonthlyCost", metadata: {"default"=>0}))
|
1162
|
+
Usage.add_member(:total, Shapes::ShapeRef.new(shape: UsageValue, location_name: "total", metadata: {"default"=>0}))
|
1159
1163
|
Usage.add_member(:type, Shapes::ShapeRef.new(shape: UsageType, location_name: "type"))
|
1160
1164
|
Usage.struct_class = Types::Usage
|
1161
1165
|
|
@@ -1183,12 +1187,13 @@ module Aws::Inspector2
|
|
1183
1187
|
VulnerabilityIdList.member = Shapes::ShapeRef.new(shape: VulnerabilityId)
|
1184
1188
|
|
1185
1189
|
VulnerablePackage.add_member(:arch, Shapes::ShapeRef.new(shape: PackageArchitecture, location_name: "arch"))
|
1186
|
-
VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: PackageEpoch, location_name: "epoch"))
|
1190
|
+
VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: PackageEpoch, location_name: "epoch", metadata: {"default"=>0}))
|
1187
1191
|
VulnerablePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "filePath"))
|
1188
1192
|
VulnerablePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "fixedInVersion"))
|
1189
1193
|
VulnerablePackage.add_member(:name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "name"))
|
1190
1194
|
VulnerablePackage.add_member(:package_manager, Shapes::ShapeRef.new(shape: PackageManager, location_name: "packageManager"))
|
1191
1195
|
VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: PackageRelease, location_name: "release"))
|
1196
|
+
VulnerablePackage.add_member(:remediation, Shapes::ShapeRef.new(shape: VulnerablePackageRemediation, location_name: "remediation"))
|
1192
1197
|
VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
|
1193
1198
|
VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location_name: "version"))
|
1194
1199
|
VulnerablePackage.struct_class = Types::VulnerablePackage
|
@@ -1145,6 +1145,12 @@ module Aws::Inspector2
|
|
1145
1145
|
# start_inclusive: Time.now,
|
1146
1146
|
# },
|
1147
1147
|
# ],
|
1148
|
+
# fix_available: [
|
1149
|
+
# {
|
1150
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1151
|
+
# value: "StringInput", # required
|
1152
|
+
# },
|
1153
|
+
# ],
|
1148
1154
|
# inspector_score: [
|
1149
1155
|
# {
|
1150
1156
|
# lower_inclusive: 1.0,
|
@@ -1419,6 +1425,12 @@ module Aws::Inspector2
|
|
1419
1425
|
# start_inclusive: Time.now,
|
1420
1426
|
# },
|
1421
1427
|
# ],
|
1428
|
+
# fix_available: [
|
1429
|
+
# {
|
1430
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
1431
|
+
# value: "StringInput", # required
|
1432
|
+
# },
|
1433
|
+
# ],
|
1422
1434
|
# inspector_score: [
|
1423
1435
|
# {
|
1424
1436
|
# lower_inclusive: 1.0,
|
@@ -2482,6 +2494,12 @@ module Aws::Inspector2
|
|
2482
2494
|
# start_inclusive: Time.now,
|
2483
2495
|
# },
|
2484
2496
|
# ],
|
2497
|
+
# fix_available: [
|
2498
|
+
# {
|
2499
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
2500
|
+
# value: "StringInput", # required
|
2501
|
+
# },
|
2502
|
+
# ],
|
2485
2503
|
# inspector_score: [
|
2486
2504
|
# {
|
2487
2505
|
# lower_inclusive: 1.0,
|
@@ -2668,6 +2686,13 @@ module Aws::Inspector2
|
|
2668
2686
|
# findings.
|
2669
2687
|
# @return [Array<Types::DateFilter>]
|
2670
2688
|
#
|
2689
|
+
# @!attribute [rw] fix_available
|
2690
|
+
# Details on whether a fix is available through a version update. This
|
2691
|
+
# value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
|
2692
|
+
# some, but not all, of the packages identified in the finding have
|
2693
|
+
# fixes available through updated versions.
|
2694
|
+
# @return [Array<Types::StringFilter>]
|
2695
|
+
#
|
2671
2696
|
# @!attribute [rw] inspector_score
|
2672
2697
|
# The Amazon Inspector score to filter on.
|
2673
2698
|
# @return [Array<Types::NumberFilter>]
|
@@ -2749,6 +2774,7 @@ module Aws::Inspector2
|
|
2749
2774
|
:finding_status,
|
2750
2775
|
:finding_type,
|
2751
2776
|
:first_observed_at,
|
2777
|
+
:fix_available,
|
2752
2778
|
:inspector_score,
|
2753
2779
|
:last_observed_at,
|
2754
2780
|
:network_protocol,
|
@@ -2786,6 +2812,13 @@ module Aws::Inspector2
|
|
2786
2812
|
# The date and time that the finding was first observed.
|
2787
2813
|
# @return [Time]
|
2788
2814
|
#
|
2815
|
+
# @!attribute [rw] fix_available
|
2816
|
+
# Details on whether a fix is available through a version update. This
|
2817
|
+
# value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
|
2818
|
+
# some, but not all, of the packages identified in the finding have
|
2819
|
+
# fixes available through updated versions.
|
2820
|
+
# @return [String]
|
2821
|
+
#
|
2789
2822
|
# @!attribute [rw] inspector_score
|
2790
2823
|
# The Amazon Inspector score given to the finding.
|
2791
2824
|
# @return [Float]
|
@@ -2844,6 +2877,7 @@ module Aws::Inspector2
|
|
2844
2877
|
:description,
|
2845
2878
|
:finding_arn,
|
2846
2879
|
:first_observed_at,
|
2880
|
+
:fix_available,
|
2847
2881
|
:inspector_score,
|
2848
2882
|
:inspector_score_details,
|
2849
2883
|
:last_observed_at,
|
@@ -3985,6 +4019,12 @@ module Aws::Inspector2
|
|
3985
4019
|
# start_inclusive: Time.now,
|
3986
4020
|
# },
|
3987
4021
|
# ],
|
4022
|
+
# fix_available: [
|
4023
|
+
# {
|
4024
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
4025
|
+
# value: "StringInput", # required
|
4026
|
+
# },
|
4027
|
+
# ],
|
3988
4028
|
# inspector_score: [
|
3989
4029
|
# {
|
3990
4030
|
# lower_inclusive: 1.0,
|
@@ -5398,6 +5438,12 @@ module Aws::Inspector2
|
|
5398
5438
|
# start_inclusive: Time.now,
|
5399
5439
|
# },
|
5400
5440
|
# ],
|
5441
|
+
# fix_available: [
|
5442
|
+
# {
|
5443
|
+
# comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
|
5444
|
+
# value: "StringInput", # required
|
5445
|
+
# },
|
5446
|
+
# ],
|
5401
5447
|
# inspector_score: [
|
5402
5448
|
# {
|
5403
5449
|
# lower_inclusive: 1.0,
|
@@ -5724,6 +5770,11 @@ module Aws::Inspector2
|
|
5724
5770
|
# The release of the vulnerable package.
|
5725
5771
|
# @return [String]
|
5726
5772
|
#
|
5773
|
+
# @!attribute [rw] remediation
|
5774
|
+
# The code to run in your environment to update packages with a fix
|
5775
|
+
# available.
|
5776
|
+
# @return [String]
|
5777
|
+
#
|
5727
5778
|
# @!attribute [rw] source_layer_hash
|
5728
5779
|
# The source layer hash of the vulnerable package.
|
5729
5780
|
# @return [String]
|
@@ -5742,6 +5793,7 @@ module Aws::Inspector2
|
|
5742
5793
|
:name,
|
5743
5794
|
:package_manager,
|
5744
5795
|
:release,
|
5796
|
+
:remediation,
|
5745
5797
|
:source_layer_hash,
|
5746
5798
|
:version)
|
5747
5799
|
SENSITIVE = []
|
data/lib/aws-sdk-inspector2.rb
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.6.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: 2022-07
|
11
|
+
date: 2022-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|