aws-sdk-securityhub 1.32.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/lib/aws-sdk-securityhub/client.rb +25 -1
- data/lib/aws-sdk-securityhub/client_api.rb +15 -0
- data/lib/aws-sdk-securityhub/types.rb +140 -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: 044b98daacefbf08d79f31eea0c5bc38596eee7122af53622f5fce13adaee572
|
4
|
+
data.tar.gz: '062139cefe127da175584b148d6700dbf5c224e7a4e2a59d8954aba434352192'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2248cd714085932c5e5ec72f993f7e5b94713d1ab827726251aeab4a40a5e6c55bff4efd9cba6de1eb163ef821fcc17f02bc23376064f7a513efd1fd452c934
|
7
|
+
data.tar.gz: 6914439573c7b7e05eef6e4aa8dd49028dc9e86c7d8236046185ce7052f05c3e703e89e537ccd467c303a4cc9cbd75a2a30ac3285c40081795a43d3ec17c70c5
|
data/lib/aws-sdk-securityhub.rb
CHANGED
@@ -1520,6 +1520,19 @@ module Aws::SecurityHub
|
|
1520
1520
|
# reference_urls: ["NonEmptyString"],
|
1521
1521
|
# },
|
1522
1522
|
# ],
|
1523
|
+
# patch_summary: {
|
1524
|
+
# id: "NonEmptyString", # required
|
1525
|
+
# installed_count: 1,
|
1526
|
+
# missing_count: 1,
|
1527
|
+
# failed_count: 1,
|
1528
|
+
# installed_other_count: 1,
|
1529
|
+
# installed_rejected_count: 1,
|
1530
|
+
# installed_pending_reboot: 1,
|
1531
|
+
# operation_start_time: "NonEmptyString",
|
1532
|
+
# operation_end_time: "NonEmptyString",
|
1533
|
+
# reboot_option: "NonEmptyString",
|
1534
|
+
# operation: "NonEmptyString",
|
1535
|
+
# },
|
1523
1536
|
# },
|
1524
1537
|
# ],
|
1525
1538
|
# })
|
@@ -4337,6 +4350,17 @@ module Aws::SecurityHub
|
|
4337
4350
|
# resp.findings[0].vulnerabilities[0].vendor.vendor_updated_at #=> String
|
4338
4351
|
# resp.findings[0].vulnerabilities[0].reference_urls #=> Array
|
4339
4352
|
# resp.findings[0].vulnerabilities[0].reference_urls[0] #=> String
|
4353
|
+
# resp.findings[0].patch_summary.id #=> String
|
4354
|
+
# resp.findings[0].patch_summary.installed_count #=> Integer
|
4355
|
+
# resp.findings[0].patch_summary.missing_count #=> Integer
|
4356
|
+
# resp.findings[0].patch_summary.failed_count #=> Integer
|
4357
|
+
# resp.findings[0].patch_summary.installed_other_count #=> Integer
|
4358
|
+
# resp.findings[0].patch_summary.installed_rejected_count #=> Integer
|
4359
|
+
# resp.findings[0].patch_summary.installed_pending_reboot #=> Integer
|
4360
|
+
# resp.findings[0].patch_summary.operation_start_time #=> String
|
4361
|
+
# resp.findings[0].patch_summary.operation_end_time #=> String
|
4362
|
+
# resp.findings[0].patch_summary.reboot_option #=> String
|
4363
|
+
# resp.findings[0].patch_summary.operation #=> String
|
4340
4364
|
# resp.next_token #=> String
|
4341
4365
|
#
|
4342
4366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings AWS API Documentation
|
@@ -6354,7 +6378,7 @@ module Aws::SecurityHub
|
|
6354
6378
|
params: params,
|
6355
6379
|
config: config)
|
6356
6380
|
context[:gem_name] = 'aws-sdk-securityhub'
|
6357
|
-
context[:gem_version] = '1.
|
6381
|
+
context[:gem_version] = '1.33.0'
|
6358
6382
|
Seahorse::Client::Request.new(handlers, context)
|
6359
6383
|
end
|
6360
6384
|
|
@@ -294,6 +294,7 @@ module Aws::SecurityHub
|
|
294
294
|
NumberFilter = Shapes::StructureShape.new(name: 'NumberFilter')
|
295
295
|
NumberFilterList = Shapes::ListShape.new(name: 'NumberFilterList')
|
296
296
|
Partition = Shapes::StringShape.new(name: 'Partition')
|
297
|
+
PatchSummary = Shapes::StructureShape.new(name: 'PatchSummary')
|
297
298
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
298
299
|
PortRangeList = Shapes::ListShape.new(name: 'PortRangeList')
|
299
300
|
ProcessDetails = Shapes::StructureShape.new(name: 'ProcessDetails')
|
@@ -1186,6 +1187,7 @@ module Aws::SecurityHub
|
|
1186
1187
|
AwsSecurityFinding.add_member(:related_findings, Shapes::ShapeRef.new(shape: RelatedFindingList, location_name: "RelatedFindings"))
|
1187
1188
|
AwsSecurityFinding.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "Note"))
|
1188
1189
|
AwsSecurityFinding.add_member(:vulnerabilities, Shapes::ShapeRef.new(shape: VulnerabilityList, location_name: "Vulnerabilities"))
|
1190
|
+
AwsSecurityFinding.add_member(:patch_summary, Shapes::ShapeRef.new(shape: PatchSummary, location_name: "PatchSummary"))
|
1189
1191
|
AwsSecurityFinding.struct_class = Types::AwsSecurityFinding
|
1190
1192
|
|
1191
1193
|
AwsSecurityFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
@@ -1759,6 +1761,19 @@ module Aws::SecurityHub
|
|
1759
1761
|
|
1760
1762
|
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
|
1761
1763
|
|
1764
|
+
PatchSummary.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
1765
|
+
PatchSummary.add_member(:installed_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledCount"))
|
1766
|
+
PatchSummary.add_member(:missing_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MissingCount"))
|
1767
|
+
PatchSummary.add_member(:failed_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedCount"))
|
1768
|
+
PatchSummary.add_member(:installed_other_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledOtherCount"))
|
1769
|
+
PatchSummary.add_member(:installed_rejected_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledRejectedCount"))
|
1770
|
+
PatchSummary.add_member(:installed_pending_reboot, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledPendingReboot"))
|
1771
|
+
PatchSummary.add_member(:operation_start_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OperationStartTime"))
|
1772
|
+
PatchSummary.add_member(:operation_end_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OperationEndTime"))
|
1773
|
+
PatchSummary.add_member(:reboot_option, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RebootOption"))
|
1774
|
+
PatchSummary.add_member(:operation, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Operation"))
|
1775
|
+
PatchSummary.struct_class = Types::PatchSummary
|
1776
|
+
|
1762
1777
|
PortRange.add_member(:begin, Shapes::ShapeRef.new(shape: Integer, location_name: "Begin"))
|
1763
1778
|
PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Integer, location_name: "End"))
|
1764
1779
|
PortRange.struct_class = Types::PortRange
|
@@ -6582,6 +6582,19 @@ module Aws::SecurityHub
|
|
6582
6582
|
# reference_urls: ["NonEmptyString"],
|
6583
6583
|
# },
|
6584
6584
|
# ],
|
6585
|
+
# patch_summary: {
|
6586
|
+
# id: "NonEmptyString", # required
|
6587
|
+
# installed_count: 1,
|
6588
|
+
# missing_count: 1,
|
6589
|
+
# failed_count: 1,
|
6590
|
+
# installed_other_count: 1,
|
6591
|
+
# installed_rejected_count: 1,
|
6592
|
+
# installed_pending_reboot: 1,
|
6593
|
+
# operation_start_time: "NonEmptyString",
|
6594
|
+
# operation_end_time: "NonEmptyString",
|
6595
|
+
# reboot_option: "NonEmptyString",
|
6596
|
+
# operation: "NonEmptyString",
|
6597
|
+
# },
|
6585
6598
|
# }
|
6586
6599
|
#
|
6587
6600
|
# @!attribute [rw] schema_version
|
@@ -6792,6 +6805,11 @@ module Aws::SecurityHub
|
|
6792
6805
|
# Provides a list of vulnerabilities associated with the findings.
|
6793
6806
|
# @return [Array<Types::Vulnerability>]
|
6794
6807
|
#
|
6808
|
+
# @!attribute [rw] patch_summary
|
6809
|
+
# Provides an overview of the patch compliance status for an instance
|
6810
|
+
# against a selected compliance standard.
|
6811
|
+
# @return [Types::PatchSummary]
|
6812
|
+
#
|
6795
6813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFinding AWS API Documentation
|
6796
6814
|
#
|
6797
6815
|
class AwsSecurityFinding < Struct.new(
|
@@ -6827,7 +6845,8 @@ module Aws::SecurityHub
|
|
6827
6845
|
:record_state,
|
6828
6846
|
:related_findings,
|
6829
6847
|
:note,
|
6830
|
-
:vulnerabilities
|
6848
|
+
:vulnerabilities,
|
6849
|
+
:patch_summary)
|
6831
6850
|
SENSITIVE = []
|
6832
6851
|
include Aws::Structure
|
6833
6852
|
end
|
@@ -9271,6 +9290,19 @@ module Aws::SecurityHub
|
|
9271
9290
|
# reference_urls: ["NonEmptyString"],
|
9272
9291
|
# },
|
9273
9292
|
# ],
|
9293
|
+
# patch_summary: {
|
9294
|
+
# id: "NonEmptyString", # required
|
9295
|
+
# installed_count: 1,
|
9296
|
+
# missing_count: 1,
|
9297
|
+
# failed_count: 1,
|
9298
|
+
# installed_other_count: 1,
|
9299
|
+
# installed_rejected_count: 1,
|
9300
|
+
# installed_pending_reboot: 1,
|
9301
|
+
# operation_start_time: "NonEmptyString",
|
9302
|
+
# operation_end_time: "NonEmptyString",
|
9303
|
+
# reboot_option: "NonEmptyString",
|
9304
|
+
# operation: "NonEmptyString",
|
9305
|
+
# },
|
9274
9306
|
# },
|
9275
9307
|
# ],
|
9276
9308
|
# }
|
@@ -12858,6 +12890,113 @@ module Aws::SecurityHub
|
|
12858
12890
|
include Aws::Structure
|
12859
12891
|
end
|
12860
12892
|
|
12893
|
+
# Provides an overview of the patch compliance status for an instance
|
12894
|
+
# against a selected compliance standard.
|
12895
|
+
#
|
12896
|
+
# @note When making an API call, you may pass PatchSummary
|
12897
|
+
# data as a hash:
|
12898
|
+
#
|
12899
|
+
# {
|
12900
|
+
# id: "NonEmptyString", # required
|
12901
|
+
# installed_count: 1,
|
12902
|
+
# missing_count: 1,
|
12903
|
+
# failed_count: 1,
|
12904
|
+
# installed_other_count: 1,
|
12905
|
+
# installed_rejected_count: 1,
|
12906
|
+
# installed_pending_reboot: 1,
|
12907
|
+
# operation_start_time: "NonEmptyString",
|
12908
|
+
# operation_end_time: "NonEmptyString",
|
12909
|
+
# reboot_option: "NonEmptyString",
|
12910
|
+
# operation: "NonEmptyString",
|
12911
|
+
# }
|
12912
|
+
#
|
12913
|
+
# @!attribute [rw] id
|
12914
|
+
# The identifier of the compliance standard that was used to determine
|
12915
|
+
# the patch compliance status.
|
12916
|
+
# @return [String]
|
12917
|
+
#
|
12918
|
+
# @!attribute [rw] installed_count
|
12919
|
+
# The number of patches from the compliance standard that were
|
12920
|
+
# installed successfully.
|
12921
|
+
# @return [Integer]
|
12922
|
+
#
|
12923
|
+
# @!attribute [rw] missing_count
|
12924
|
+
# The number of patches that are part of the compliance standard but
|
12925
|
+
# are not installed. The count includes patches that failed to
|
12926
|
+
# install.
|
12927
|
+
# @return [Integer]
|
12928
|
+
#
|
12929
|
+
# @!attribute [rw] failed_count
|
12930
|
+
# The number of patches from the compliance standard that failed to
|
12931
|
+
# install.
|
12932
|
+
# @return [Integer]
|
12933
|
+
#
|
12934
|
+
# @!attribute [rw] installed_other_count
|
12935
|
+
# The number of installed patches that are not part of the compliance
|
12936
|
+
# standard.
|
12937
|
+
# @return [Integer]
|
12938
|
+
#
|
12939
|
+
# @!attribute [rw] installed_rejected_count
|
12940
|
+
# The number of patches that are installed but are also on a list of
|
12941
|
+
# patches that the customer rejected.
|
12942
|
+
# @return [Integer]
|
12943
|
+
#
|
12944
|
+
# @!attribute [rw] installed_pending_reboot
|
12945
|
+
# The number of patches that were installed since the last time the
|
12946
|
+
# instance was rebooted.
|
12947
|
+
# @return [Integer]
|
12948
|
+
#
|
12949
|
+
# @!attribute [rw] operation_start_time
|
12950
|
+
# Indicates when the operation started.
|
12951
|
+
#
|
12952
|
+
# Uses the `date-time` format specified in [RFC 3339 section 5.6,
|
12953
|
+
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
12954
|
+
# example, `2020-03-22T13:22:13.933Z`.
|
12955
|
+
#
|
12956
|
+
#
|
12957
|
+
#
|
12958
|
+
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
12959
|
+
# @return [String]
|
12960
|
+
#
|
12961
|
+
# @!attribute [rw] operation_end_time
|
12962
|
+
# Indicates when the operation completed.
|
12963
|
+
#
|
12964
|
+
# Uses the `date-time` format specified in [RFC 3339 section 5.6,
|
12965
|
+
# Internet Date/Time Format][1]. The value cannot contain spaces. For
|
12966
|
+
# example, `2020-03-22T13:22:13.933Z`.
|
12967
|
+
#
|
12968
|
+
#
|
12969
|
+
#
|
12970
|
+
# [1]: https://tools.ietf.org/html/rfc3339#section-5.6
|
12971
|
+
# @return [String]
|
12972
|
+
#
|
12973
|
+
# @!attribute [rw] reboot_option
|
12974
|
+
# The reboot option specified for the instance.
|
12975
|
+
# @return [String]
|
12976
|
+
#
|
12977
|
+
# @!attribute [rw] operation
|
12978
|
+
# The type of patch operation performed. For Patch Manager, the values
|
12979
|
+
# are `SCAN` and `INSTALL`.
|
12980
|
+
# @return [String]
|
12981
|
+
#
|
12982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/PatchSummary AWS API Documentation
|
12983
|
+
#
|
12984
|
+
class PatchSummary < Struct.new(
|
12985
|
+
:id,
|
12986
|
+
:installed_count,
|
12987
|
+
:missing_count,
|
12988
|
+
:failed_count,
|
12989
|
+
:installed_other_count,
|
12990
|
+
:installed_rejected_count,
|
12991
|
+
:installed_pending_reboot,
|
12992
|
+
:operation_start_time,
|
12993
|
+
:operation_end_time,
|
12994
|
+
:reboot_option,
|
12995
|
+
:operation)
|
12996
|
+
SENSITIVE = []
|
12997
|
+
include Aws::Structure
|
12998
|
+
end
|
12999
|
+
|
12861
13000
|
# A range of ports.
|
12862
13001
|
#
|
12863
13002
|
# @note When making an API call, you may pass PortRange
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-securityhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.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: 2020-
|
11
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|