aws-sdk-securityhub 1.59.0 → 1.60.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-securityhub/client.rb +25 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87670a936ad9358845842a16792ee53e250af02aa6dc2757ccf18582df47a08a
|
4
|
+
data.tar.gz: 4bdf859a373d49a4dcaa804deb9222de8410b74ac0eb025e6f2446ab0d9e1f00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad74f23a4d532a0a438733c6eb56659f2e15220c6ba60b6f6ecb6c680206c63a7dd4714c413621e10bfea93492a8f387e0237c45362b72da8f6ea5e333dfc635
|
7
|
+
data.tar.gz: 37a9d9bf98f4a7addfa60185934d7b7b24bd43f98b6790d5f4a76555751456baa36bad4a48490995511baaf026c3987391dcfeeb0529d94574ddb44b2f184ef3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -3439,6 +3439,7 @@ module Aws::SecurityHub
|
|
3439
3439
|
# },
|
3440
3440
|
# types: ["NonEmptyString"],
|
3441
3441
|
# },
|
3442
|
+
# sample: false,
|
3442
3443
|
# },
|
3443
3444
|
# ],
|
3444
3445
|
# })
|
@@ -4392,6 +4393,11 @@ module Aws::SecurityHub
|
|
4392
4393
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4393
4394
|
# },
|
4394
4395
|
# ],
|
4396
|
+
# sample: [
|
4397
|
+
# {
|
4398
|
+
# value: false,
|
4399
|
+
# },
|
4400
|
+
# ],
|
4395
4401
|
# },
|
4396
4402
|
# group_by_attribute: "NonEmptyString", # required
|
4397
4403
|
# })
|
@@ -6003,6 +6009,11 @@ module Aws::SecurityHub
|
|
6003
6009
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
6004
6010
|
# },
|
6005
6011
|
# ],
|
6012
|
+
# sample: [
|
6013
|
+
# {
|
6014
|
+
# value: false,
|
6015
|
+
# },
|
6016
|
+
# ],
|
6006
6017
|
# },
|
6007
6018
|
# sort_criteria: [
|
6008
6019
|
# {
|
@@ -7882,6 +7893,7 @@ module Aws::SecurityHub
|
|
7882
7893
|
# resp.findings[0].finding_provider_fields.severity.original #=> String
|
7883
7894
|
# resp.findings[0].finding_provider_fields.types #=> Array
|
7884
7895
|
# resp.findings[0].finding_provider_fields.types[0] #=> String
|
7896
|
+
# resp.findings[0].sample #=> Boolean
|
7885
7897
|
# resp.next_token #=> String
|
7886
7898
|
#
|
7887
7899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings AWS API Documentation
|
@@ -8275,6 +8287,8 @@ module Aws::SecurityHub
|
|
8275
8287
|
# resp.insights[0].filters.finding_provider_fields_types #=> Array
|
8276
8288
|
# resp.insights[0].filters.finding_provider_fields_types[0].value #=> String
|
8277
8289
|
# resp.insights[0].filters.finding_provider_fields_types[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
8290
|
+
# resp.insights[0].filters.sample #=> Array
|
8291
|
+
# resp.insights[0].filters.sample[0].value #=> Boolean
|
8278
8292
|
# resp.insights[0].group_by_attribute #=> String
|
8279
8293
|
# resp.next_token #=> String
|
8280
8294
|
#
|
@@ -9512,6 +9526,11 @@ module Aws::SecurityHub
|
|
9512
9526
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
9513
9527
|
# },
|
9514
9528
|
# ],
|
9529
|
+
# sample: [
|
9530
|
+
# {
|
9531
|
+
# value: false,
|
9532
|
+
# },
|
9533
|
+
# ],
|
9515
9534
|
# },
|
9516
9535
|
# note: {
|
9517
9536
|
# text: "NonEmptyString", # required
|
@@ -10167,6 +10186,11 @@ module Aws::SecurityHub
|
|
10167
10186
|
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
10168
10187
|
# },
|
10169
10188
|
# ],
|
10189
|
+
# sample: [
|
10190
|
+
# {
|
10191
|
+
# value: false,
|
10192
|
+
# },
|
10193
|
+
# ],
|
10170
10194
|
# },
|
10171
10195
|
# group_by_attribute: "NonEmptyString",
|
10172
10196
|
# })
|
@@ -10282,7 +10306,7 @@ module Aws::SecurityHub
|
|
10282
10306
|
params: params,
|
10283
10307
|
config: config)
|
10284
10308
|
context[:gem_name] = 'aws-sdk-securityhub'
|
10285
|
-
context[:gem_version] = '1.
|
10309
|
+
context[:gem_version] = '1.60.0'
|
10286
10310
|
Seahorse::Client::Request.new(handlers, context)
|
10287
10311
|
end
|
10288
10312
|
|
@@ -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.60.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-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|