aws-sdk-securityhub 1.59.0 → 1.62.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +29 -1
- data/lib/aws-sdk-securityhub/client_api.rb +9 -0
- data/lib/aws-sdk-securityhub/types.rb +61 -2
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ef269a63f4f5e4964422d21c34394e1bb2c3d9e167dfd2f385e40956e96650
|
4
|
+
data.tar.gz: 675595e3e23f91cf4571ffc1f85aa7bb68c4b591ee07bf8849cdeb978caf1afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cce191dc409d440115d647aca9a8191a3739d41b22c8cab24a6946e04393e0051d2db6b4d575b3d31a9d8b62c8b86f29bbd9b6ad3c9627498369c357851d2e58
|
7
|
+
data.tar.gz: 61607087f34ed30bd3de929f74360fba6011f715f84104cb4758ea98baff2914fca8472da9f041e5abd9c43f302beb26be9b2f26aa1ffe37fa39f628e724d2db
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.62.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.61.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.60.0 (2022-01-26)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adding top level Sample boolean field
|
18
|
+
|
4
19
|
1.59.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::SecurityHub
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -3439,6 +3443,7 @@ module Aws::SecurityHub
|
|
3439
3443
|
# },
|
3440
3444
|
# types: ["NonEmptyString"],
|
3441
3445
|
# },
|
3446
|
+
# sample: false,
|
3442
3447
|
# },
|
3443
3448
|
# ],
|
3444
3449
|
# })
|
@@ -4392,6 +4397,11 @@ module Aws::SecurityHub
|
|
4392
4397
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4393
4398
|
# },
|
4394
4399
|
# ],
|
4400
|
+
# sample: [
|
4401
|
+
# {
|
4402
|
+
# value: false,
|
4403
|
+
# },
|
4404
|
+
# ],
|
4395
4405
|
# },
|
4396
4406
|
# group_by_attribute: "NonEmptyString", # required
|
4397
4407
|
# })
|
@@ -6003,6 +6013,11 @@ module Aws::SecurityHub
|
|
6003
6013
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
6004
6014
|
# },
|
6005
6015
|
# ],
|
6016
|
+
# sample: [
|
6017
|
+
# {
|
6018
|
+
# value: false,
|
6019
|
+
# },
|
6020
|
+
# ],
|
6006
6021
|
# },
|
6007
6022
|
# sort_criteria: [
|
6008
6023
|
# {
|
@@ -7882,6 +7897,7 @@ module Aws::SecurityHub
|
|
7882
7897
|
# resp.findings[0].finding_provider_fields.severity.original #=> String
|
7883
7898
|
# resp.findings[0].finding_provider_fields.types #=> Array
|
7884
7899
|
# resp.findings[0].finding_provider_fields.types[0] #=> String
|
7900
|
+
# resp.findings[0].sample #=> Boolean
|
7885
7901
|
# resp.next_token #=> String
|
7886
7902
|
#
|
7887
7903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings AWS API Documentation
|
@@ -8275,6 +8291,8 @@ module Aws::SecurityHub
|
|
8275
8291
|
# resp.insights[0].filters.finding_provider_fields_types #=> Array
|
8276
8292
|
# resp.insights[0].filters.finding_provider_fields_types[0].value #=> String
|
8277
8293
|
# resp.insights[0].filters.finding_provider_fields_types[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
8294
|
+
# resp.insights[0].filters.sample #=> Array
|
8295
|
+
# resp.insights[0].filters.sample[0].value #=> Boolean
|
8278
8296
|
# resp.insights[0].group_by_attribute #=> String
|
8279
8297
|
# resp.next_token #=> String
|
8280
8298
|
#
|
@@ -9512,6 +9530,11 @@ module Aws::SecurityHub
|
|
9512
9530
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
9513
9531
|
# },
|
9514
9532
|
# ],
|
9533
|
+
# sample: [
|
9534
|
+
# {
|
9535
|
+
# value: false,
|
9536
|
+
# },
|
9537
|
+
# ],
|
9515
9538
|
# },
|
9516
9539
|
# note: {
|
9517
9540
|
# text: "NonEmptyString", # required
|
@@ -10167,6 +10190,11 @@ module Aws::SecurityHub
|
|
10167
10190
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
10168
10191
|
# },
|
10169
10192
|
# ],
|
10193
|
+
# sample: [
|
10194
|
+
# {
|
10195
|
+
# value: false,
|
10196
|
+
# },
|
10197
|
+
# ],
|
10170
10198
|
# },
|
10171
10199
|
# group_by_attribute: "NonEmptyString",
|
10172
10200
|
# })
|
@@ -10282,7 +10310,7 @@ module Aws::SecurityHub
|
|
10282
10310
|
params: params,
|
10283
10311
|
config: config)
|
10284
10312
|
context[:gem_name] = 'aws-sdk-securityhub'
|
10285
|
-
context[:gem_version] = '1.
|
10313
|
+
context[:gem_version] = '1.62.0'
|
10286
10314
|
Seahorse::Client::Request.new(handlers, context)
|
10287
10315
|
end
|
10288
10316
|
|
@@ -472,6 +472,8 @@ module Aws::SecurityHub
|
|
472
472
|
BatchUpdateFindingsUnprocessedFinding = Shapes::StructureShape.new(name: 'BatchUpdateFindingsUnprocessedFinding')
|
473
473
|
BatchUpdateFindingsUnprocessedFindingsList = Shapes::ListShape.new(name: 'BatchUpdateFindingsUnprocessedFindingsList')
|
474
474
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
475
|
+
BooleanFilter = Shapes::StructureShape.new(name: 'BooleanFilter')
|
476
|
+
BooleanFilterList = Shapes::ListShape.new(name: 'BooleanFilterList')
|
475
477
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
476
478
|
Cell = Shapes::StructureShape.new(name: 'Cell')
|
477
479
|
Cells = Shapes::ListShape.new(name: 'Cells')
|
@@ -3132,6 +3134,7 @@ module Aws::SecurityHub
|
|
3132
3134
|
AwsSecurityFinding.add_member(:patch_summary, Shapes::ShapeRef.new(shape: PatchSummary, location_name: "PatchSummary"))
|
3133
3135
|
AwsSecurityFinding.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
3134
3136
|
AwsSecurityFinding.add_member(:finding_provider_fields, Shapes::ShapeRef.new(shape: FindingProviderFields, location_name: "FindingProviderFields"))
|
3137
|
+
AwsSecurityFinding.add_member(:sample, Shapes::ShapeRef.new(shape: Boolean, location_name: "Sample"))
|
3135
3138
|
AwsSecurityFinding.struct_class = Types::AwsSecurityFinding
|
3136
3139
|
|
3137
3140
|
AwsSecurityFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
@@ -3228,6 +3231,7 @@ module Aws::SecurityHub
|
|
3228
3231
|
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityLabel"))
|
3229
3232
|
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_original, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityOriginal"))
|
3230
3233
|
AwsSecurityFindingFilters.add_member(:finding_provider_fields_types, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsTypes"))
|
3234
|
+
AwsSecurityFindingFilters.add_member(:sample, Shapes::ShapeRef.new(shape: BooleanFilterList, location_name: "Sample"))
|
3231
3235
|
AwsSecurityFindingFilters.struct_class = Types::AwsSecurityFindingFilters
|
3232
3236
|
|
3233
3237
|
AwsSecurityFindingIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
@@ -3378,6 +3382,11 @@ module Aws::SecurityHub
|
|
3378
3382
|
|
3379
3383
|
BatchUpdateFindingsUnprocessedFindingsList.member = Shapes::ShapeRef.new(shape: BatchUpdateFindingsUnprocessedFinding)
|
3380
3384
|
|
3385
|
+
BooleanFilter.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
|
3386
|
+
BooleanFilter.struct_class = Types::BooleanFilter
|
3387
|
+
|
3388
|
+
BooleanFilterList.member = Shapes::ShapeRef.new(shape: BooleanFilter)
|
3389
|
+
|
3381
3390
|
CategoryList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
3382
3391
|
|
3383
3392
|
Cell.add_member(:column, Shapes::ShapeRef.new(shape: Long, location_name: "Column"))
|
@@ -20349,6 +20349,7 @@ module Aws::SecurityHub
|
|
20349
20349
|
# },
|
20350
20350
|
# types: ["NonEmptyString"],
|
20351
20351
|
# },
|
20352
|
+
# sample: false,
|
20352
20353
|
# }
|
20353
20354
|
#
|
20354
20355
|
# @!attribute [rw] schema_version
|
@@ -20623,6 +20624,10 @@ module Aws::SecurityHub
|
|
20623
20624
|
# confidence, criticality, related findings, severity, and types.
|
20624
20625
|
# @return [Types::FindingProviderFields]
|
20625
20626
|
#
|
20627
|
+
# @!attribute [rw] sample
|
20628
|
+
# Indicates whether the finding is a sample finding.
|
20629
|
+
# @return [Boolean]
|
20630
|
+
#
|
20626
20631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFinding AWS API Documentation
|
20627
20632
|
#
|
20628
20633
|
class AwsSecurityFinding < Struct.new(
|
@@ -20664,7 +20669,8 @@ module Aws::SecurityHub
|
|
20664
20669
|
:vulnerabilities,
|
20665
20670
|
:patch_summary,
|
20666
20671
|
:action,
|
20667
|
-
:finding_provider_fields
|
20672
|
+
:finding_provider_fields,
|
20673
|
+
:sample)
|
20668
20674
|
SENSITIVE = []
|
20669
20675
|
include Aws::Structure
|
20670
20676
|
end
|
@@ -21295,6 +21301,11 @@ module Aws::SecurityHub
|
|
21295
21301
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
21296
21302
|
# },
|
21297
21303
|
# ],
|
21304
|
+
# sample: [
|
21305
|
+
# {
|
21306
|
+
# value: false,
|
21307
|
+
# },
|
21308
|
+
# ],
|
21298
21309
|
# }
|
21299
21310
|
#
|
21300
21311
|
# @!attribute [rw] product_arn
|
@@ -21795,6 +21806,11 @@ module Aws::SecurityHub
|
|
21795
21806
|
# Identifications
|
21796
21807
|
# @return [Array<Types::StringFilter>]
|
21797
21808
|
#
|
21809
|
+
# @!attribute [rw] sample
|
21810
|
+
# Indicates whether or not sample findings are included in the filter
|
21811
|
+
# results.
|
21812
|
+
# @return [Array<Types::BooleanFilter>]
|
21813
|
+
#
|
21798
21814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFindingFilters AWS API Documentation
|
21799
21815
|
#
|
21800
21816
|
class AwsSecurityFindingFilters < Struct.new(
|
@@ -21891,7 +21907,8 @@ module Aws::SecurityHub
|
|
21891
21907
|
:finding_provider_fields_related_findings_product_arn,
|
21892
21908
|
:finding_provider_fields_severity_label,
|
21893
21909
|
:finding_provider_fields_severity_original,
|
21894
|
-
:finding_provider_fields_types
|
21910
|
+
:finding_provider_fields_types,
|
21911
|
+
:sample)
|
21895
21912
|
SENSITIVE = []
|
21896
21913
|
include Aws::Structure
|
21897
21914
|
end
|
@@ -25587,6 +25604,7 @@ module Aws::SecurityHub
|
|
25587
25604
|
# },
|
25588
25605
|
# types: ["NonEmptyString"],
|
25589
25606
|
# },
|
25607
|
+
# sample: false,
|
25590
25608
|
# },
|
25591
25609
|
# ],
|
25592
25610
|
# }
|
@@ -25810,6 +25828,27 @@ module Aws::SecurityHub
|
|
25810
25828
|
include Aws::Structure
|
25811
25829
|
end
|
25812
25830
|
|
25831
|
+
# Boolean filter for querying findings.
|
25832
|
+
#
|
25833
|
+
# @note When making an API call, you may pass BooleanFilter
|
25834
|
+
# data as a hash:
|
25835
|
+
#
|
25836
|
+
# {
|
25837
|
+
# value: false,
|
25838
|
+
# }
|
25839
|
+
#
|
25840
|
+
# @!attribute [rw] value
|
25841
|
+
# The value of the boolean.
|
25842
|
+
# @return [Boolean]
|
25843
|
+
#
|
25844
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BooleanFilter AWS API Documentation
|
25845
|
+
#
|
25846
|
+
class BooleanFilter < Struct.new(
|
25847
|
+
:value)
|
25848
|
+
SENSITIVE = []
|
25849
|
+
include Aws::Structure
|
25850
|
+
end
|
25851
|
+
|
25813
25852
|
# An occurrence of sensitive data detected in a Microsoft Excel
|
25814
25853
|
# workbook, comma-separated value (CSV) file, or tab-separated value
|
25815
25854
|
# (TSV) file.
|
@@ -26995,6 +27034,11 @@ module Aws::SecurityHub
|
|
26995
27034
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
26996
27035
|
# },
|
26997
27036
|
# ],
|
27037
|
+
# sample: [
|
27038
|
+
# {
|
27039
|
+
# value: false,
|
27040
|
+
# },
|
27041
|
+
# ],
|
26998
27042
|
# },
|
26999
27043
|
# group_by_attribute: "NonEmptyString", # required
|
27000
27044
|
# }
|
@@ -29249,6 +29293,11 @@ module Aws::SecurityHub
|
|
29249
29293
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
29250
29294
|
# },
|
29251
29295
|
# ],
|
29296
|
+
# sample: [
|
29297
|
+
# {
|
29298
|
+
# value: false,
|
29299
|
+
# },
|
29300
|
+
# ],
|
29252
29301
|
# },
|
29253
29302
|
# sort_criteria: [
|
29254
29303
|
# {
|
@@ -39492,6 +39541,11 @@ module Aws::SecurityHub
|
|
39492
39541
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
39493
39542
|
# },
|
39494
39543
|
# ],
|
39544
|
+
# sample: [
|
39545
|
+
# {
|
39546
|
+
# value: false,
|
39547
|
+
# },
|
39548
|
+
# ],
|
39495
39549
|
# },
|
39496
39550
|
# note: {
|
39497
39551
|
# text: "NonEmptyString", # required
|
@@ -40149,6 +40203,11 @@ module Aws::SecurityHub
|
|
40149
40203
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
40150
40204
|
# },
|
40151
40205
|
# ],
|
40206
|
+
# sample: [
|
40207
|
+
# {
|
40208
|
+
# value: false,
|
40209
|
+
# },
|
40210
|
+
# ],
|
40152
40211
|
# },
|
40153
40212
|
# group_by_attribute: "NonEmptyString",
|
40154
40213
|
# }
|
data/lib/aws-sdk-securityhub.rb
CHANGED
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.62.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:
|
11
|
+
date: 2022-02-24 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.
|
22
|
+
version: 3.127.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.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|