aws-sdk-securityhub 1.113.0 → 1.115.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +117 -86
- data/lib/aws-sdk-securityhub/client_api.rb +1 -1
- data/lib/aws-sdk-securityhub/types.rb +74 -61
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +89 -88
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +1 -1
- metadata +4 -4
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::SecurityHub
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::SecurityHub::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::SecurityHub
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -881,15 +893,15 @@ module Aws::SecurityHub
|
|
881
893
|
# resp.rules[0].criteria.confidence #=> Array
|
882
894
|
# resp.rules[0].criteria.confidence[0].gte #=> Float
|
883
895
|
# resp.rules[0].criteria.confidence[0].lte #=> Float
|
896
|
+
# resp.rules[0].criteria.confidence[0].eq #=> Float
|
884
897
|
# resp.rules[0].criteria.confidence[0].gt #=> Float
|
885
898
|
# resp.rules[0].criteria.confidence[0].lt #=> Float
|
886
|
-
# resp.rules[0].criteria.confidence[0].eq #=> Float
|
887
899
|
# resp.rules[0].criteria.criticality #=> Array
|
888
900
|
# resp.rules[0].criteria.criticality[0].gte #=> Float
|
889
901
|
# resp.rules[0].criteria.criticality[0].lte #=> Float
|
902
|
+
# resp.rules[0].criteria.criticality[0].eq #=> Float
|
890
903
|
# resp.rules[0].criteria.criticality[0].gt #=> Float
|
891
904
|
# resp.rules[0].criteria.criticality[0].lt #=> Float
|
892
|
-
# resp.rules[0].criteria.criticality[0].eq #=> Float
|
893
905
|
# resp.rules[0].criteria.title #=> Array
|
894
906
|
# resp.rules[0].criteria.title[0].value #=> String
|
895
907
|
# resp.rules[0].criteria.title[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
@@ -1589,18 +1601,18 @@ module Aws::SecurityHub
|
|
1589
1601
|
# {
|
1590
1602
|
# gte: 1.0,
|
1591
1603
|
# lte: 1.0,
|
1604
|
+
# eq: 1.0,
|
1592
1605
|
# gt: 1.0,
|
1593
1606
|
# lt: 1.0,
|
1594
|
-
# eq: 1.0,
|
1595
1607
|
# },
|
1596
1608
|
# ],
|
1597
1609
|
# criticality: [
|
1598
1610
|
# {
|
1599
1611
|
# gte: 1.0,
|
1600
1612
|
# lte: 1.0,
|
1613
|
+
# eq: 1.0,
|
1601
1614
|
# gt: 1.0,
|
1602
1615
|
# lt: 1.0,
|
1603
|
-
# eq: 1.0,
|
1604
1616
|
# },
|
1605
1617
|
# ],
|
1606
1618
|
# title: [
|
@@ -2400,18 +2412,18 @@ module Aws::SecurityHub
|
|
2400
2412
|
# {
|
2401
2413
|
# gte: 1.0,
|
2402
2414
|
# lte: 1.0,
|
2415
|
+
# eq: 1.0,
|
2403
2416
|
# gt: 1.0,
|
2404
2417
|
# lt: 1.0,
|
2405
|
-
# eq: 1.0,
|
2406
2418
|
# },
|
2407
2419
|
# ],
|
2408
2420
|
# criticality: [
|
2409
2421
|
# {
|
2410
2422
|
# gte: 1.0,
|
2411
2423
|
# lte: 1.0,
|
2424
|
+
# eq: 1.0,
|
2412
2425
|
# gt: 1.0,
|
2413
2426
|
# lt: 1.0,
|
2414
|
-
# eq: 1.0,
|
2415
2427
|
# },
|
2416
2428
|
# ],
|
2417
2429
|
# title: [
|
@@ -2847,21 +2859,24 @@ module Aws::SecurityHub
|
|
2847
2859
|
#
|
2848
2860
|
# The options are as follows:
|
2849
2861
|
#
|
2850
|
-
# * `ALL_REGIONS` -
|
2851
|
-
#
|
2852
|
-
#
|
2853
|
-
#
|
2862
|
+
# * `ALL_REGIONS` - Aggregates findings from all of the Regions where
|
2863
|
+
# Security Hub is enabled. When you choose this option, Security Hub
|
2864
|
+
# also automatically aggregates findings from new Regions as Security
|
2865
|
+
# Hub supports them and you opt into them.
|
2854
2866
|
#
|
2855
|
-
# * `ALL_REGIONS_EXCEPT_SPECIFIED` -
|
2856
|
-
#
|
2857
|
-
#
|
2858
|
-
#
|
2859
|
-
#
|
2867
|
+
# * `ALL_REGIONS_EXCEPT_SPECIFIED` - Aggregates findings from all of the
|
2868
|
+
# Regions where Security Hub is enabled, except for the Regions listed
|
2869
|
+
# in the `Regions` parameter. When you choose this option, Security
|
2870
|
+
# Hub also automatically aggregates findings from new Regions as
|
2871
|
+
# Security Hub supports them and you opt into them.
|
2860
2872
|
#
|
2861
|
-
# * `SPECIFIED_REGIONS` -
|
2862
|
-
#
|
2873
|
+
# * `SPECIFIED_REGIONS` - Aggregates findings only from the Regions
|
2874
|
+
# listed in the `Regions` parameter. Security Hub does not
|
2863
2875
|
# automatically aggregate findings from new Regions.
|
2864
2876
|
#
|
2877
|
+
# * `NO_REGIONS` - Aggregates no data because no Regions are selected as
|
2878
|
+
# linked Regions.
|
2879
|
+
#
|
2865
2880
|
# @option params [Array<String>] :regions
|
2866
2881
|
# If `RegionLinkingMode` is `ALL_REGIONS_EXCEPT_SPECIFIED`, then this is
|
2867
2882
|
# a space-separated list of Regions that do not aggregate findings to
|
@@ -2871,6 +2886,9 @@ module Aws::SecurityHub
|
|
2871
2886
|
# space-separated list of Regions that do aggregate findings to the
|
2872
2887
|
# aggregation Region.
|
2873
2888
|
#
|
2889
|
+
# An `InvalidInputException` error results if you populate this field
|
2890
|
+
# while `RegionLinkingMode` is `NO_REGIONS`.
|
2891
|
+
#
|
2874
2892
|
# @return [Types::CreateFindingAggregatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2875
2893
|
#
|
2876
2894
|
# * {Types::CreateFindingAggregatorResponse#finding_aggregator_arn #finding_aggregator_arn} => String
|
@@ -3066,18 +3084,18 @@ module Aws::SecurityHub
|
|
3066
3084
|
# {
|
3067
3085
|
# gte: 1.0,
|
3068
3086
|
# lte: 1.0,
|
3087
|
+
# eq: 1.0,
|
3069
3088
|
# gt: 1.0,
|
3070
3089
|
# lt: 1.0,
|
3071
|
-
# eq: 1.0,
|
3072
3090
|
# },
|
3073
3091
|
# ],
|
3074
3092
|
# severity_normalized: [
|
3075
3093
|
# {
|
3076
3094
|
# gte: 1.0,
|
3077
3095
|
# lte: 1.0,
|
3096
|
+
# eq: 1.0,
|
3078
3097
|
# gt: 1.0,
|
3079
3098
|
# lt: 1.0,
|
3080
|
-
# eq: 1.0,
|
3081
3099
|
# },
|
3082
3100
|
# ],
|
3083
3101
|
# severity_label: [
|
@@ -3090,18 +3108,18 @@ module Aws::SecurityHub
|
|
3090
3108
|
# {
|
3091
3109
|
# gte: 1.0,
|
3092
3110
|
# lte: 1.0,
|
3111
|
+
# eq: 1.0,
|
3093
3112
|
# gt: 1.0,
|
3094
3113
|
# lt: 1.0,
|
3095
|
-
# eq: 1.0,
|
3096
3114
|
# },
|
3097
3115
|
# ],
|
3098
3116
|
# criticality: [
|
3099
3117
|
# {
|
3100
3118
|
# gte: 1.0,
|
3101
3119
|
# lte: 1.0,
|
3120
|
+
# eq: 1.0,
|
3102
3121
|
# gt: 1.0,
|
3103
3122
|
# lt: 1.0,
|
3104
|
-
# eq: 1.0,
|
3105
3123
|
# },
|
3106
3124
|
# ],
|
3107
3125
|
# title: [
|
@@ -3204,9 +3222,9 @@ module Aws::SecurityHub
|
|
3204
3222
|
# {
|
3205
3223
|
# gte: 1.0,
|
3206
3224
|
# lte: 1.0,
|
3225
|
+
# eq: 1.0,
|
3207
3226
|
# gt: 1.0,
|
3208
3227
|
# lt: 1.0,
|
3209
|
-
# eq: 1.0,
|
3210
3228
|
# },
|
3211
3229
|
# ],
|
3212
3230
|
# network_source_domain: [
|
@@ -3235,9 +3253,9 @@ module Aws::SecurityHub
|
|
3235
3253
|
# {
|
3236
3254
|
# gte: 1.0,
|
3237
3255
|
# lte: 1.0,
|
3256
|
+
# eq: 1.0,
|
3238
3257
|
# gt: 1.0,
|
3239
3258
|
# lt: 1.0,
|
3240
|
-
# eq: 1.0,
|
3241
3259
|
# },
|
3242
3260
|
# ],
|
3243
3261
|
# network_destination_domain: [
|
@@ -3262,18 +3280,18 @@ module Aws::SecurityHub
|
|
3262
3280
|
# {
|
3263
3281
|
# gte: 1.0,
|
3264
3282
|
# lte: 1.0,
|
3283
|
+
# eq: 1.0,
|
3265
3284
|
# gt: 1.0,
|
3266
3285
|
# lt: 1.0,
|
3267
|
-
# eq: 1.0,
|
3268
3286
|
# },
|
3269
3287
|
# ],
|
3270
3288
|
# process_parent_pid: [
|
3271
3289
|
# {
|
3272
3290
|
# gte: 1.0,
|
3273
3291
|
# lte: 1.0,
|
3292
|
+
# eq: 1.0,
|
3274
3293
|
# gt: 1.0,
|
3275
3294
|
# lt: 1.0,
|
3276
|
-
# eq: 1.0,
|
3277
3295
|
# },
|
3278
3296
|
# ],
|
3279
3297
|
# process_launched_at: [
|
@@ -3577,18 +3595,18 @@ module Aws::SecurityHub
|
|
3577
3595
|
# {
|
3578
3596
|
# gte: 1.0,
|
3579
3597
|
# lte: 1.0,
|
3598
|
+
# eq: 1.0,
|
3580
3599
|
# gt: 1.0,
|
3581
3600
|
# lt: 1.0,
|
3582
|
-
# eq: 1.0,
|
3583
3601
|
# },
|
3584
3602
|
# ],
|
3585
3603
|
# finding_provider_fields_criticality: [
|
3586
3604
|
# {
|
3587
3605
|
# gte: 1.0,
|
3588
3606
|
# lte: 1.0,
|
3607
|
+
# eq: 1.0,
|
3589
3608
|
# gt: 1.0,
|
3590
3609
|
# lt: 1.0,
|
3591
|
-
# eq: 1.0,
|
3592
3610
|
# },
|
3593
3611
|
# ],
|
3594
3612
|
# finding_provider_fields_related_findings_id: [
|
@@ -5751,18 +5769,18 @@ module Aws::SecurityHub
|
|
5751
5769
|
# {
|
5752
5770
|
# gte: 1.0,
|
5753
5771
|
# lte: 1.0,
|
5772
|
+
# eq: 1.0,
|
5754
5773
|
# gt: 1.0,
|
5755
5774
|
# lt: 1.0,
|
5756
|
-
# eq: 1.0,
|
5757
5775
|
# },
|
5758
5776
|
# ],
|
5759
5777
|
# severity_normalized: [
|
5760
5778
|
# {
|
5761
5779
|
# gte: 1.0,
|
5762
5780
|
# lte: 1.0,
|
5781
|
+
# eq: 1.0,
|
5763
5782
|
# gt: 1.0,
|
5764
5783
|
# lt: 1.0,
|
5765
|
-
# eq: 1.0,
|
5766
5784
|
# },
|
5767
5785
|
# ],
|
5768
5786
|
# severity_label: [
|
@@ -5775,18 +5793,18 @@ module Aws::SecurityHub
|
|
5775
5793
|
# {
|
5776
5794
|
# gte: 1.0,
|
5777
5795
|
# lte: 1.0,
|
5796
|
+
# eq: 1.0,
|
5778
5797
|
# gt: 1.0,
|
5779
5798
|
# lt: 1.0,
|
5780
|
-
# eq: 1.0,
|
5781
5799
|
# },
|
5782
5800
|
# ],
|
5783
5801
|
# criticality: [
|
5784
5802
|
# {
|
5785
5803
|
# gte: 1.0,
|
5786
5804
|
# lte: 1.0,
|
5805
|
+
# eq: 1.0,
|
5787
5806
|
# gt: 1.0,
|
5788
5807
|
# lt: 1.0,
|
5789
|
-
# eq: 1.0,
|
5790
5808
|
# },
|
5791
5809
|
# ],
|
5792
5810
|
# title: [
|
@@ -5889,9 +5907,9 @@ module Aws::SecurityHub
|
|
5889
5907
|
# {
|
5890
5908
|
# gte: 1.0,
|
5891
5909
|
# lte: 1.0,
|
5910
|
+
# eq: 1.0,
|
5892
5911
|
# gt: 1.0,
|
5893
5912
|
# lt: 1.0,
|
5894
|
-
# eq: 1.0,
|
5895
5913
|
# },
|
5896
5914
|
# ],
|
5897
5915
|
# network_source_domain: [
|
@@ -5920,9 +5938,9 @@ module Aws::SecurityHub
|
|
5920
5938
|
# {
|
5921
5939
|
# gte: 1.0,
|
5922
5940
|
# lte: 1.0,
|
5941
|
+
# eq: 1.0,
|
5923
5942
|
# gt: 1.0,
|
5924
5943
|
# lt: 1.0,
|
5925
|
-
# eq: 1.0,
|
5926
5944
|
# },
|
5927
5945
|
# ],
|
5928
5946
|
# network_destination_domain: [
|
@@ -5947,18 +5965,18 @@ module Aws::SecurityHub
|
|
5947
5965
|
# {
|
5948
5966
|
# gte: 1.0,
|
5949
5967
|
# lte: 1.0,
|
5968
|
+
# eq: 1.0,
|
5950
5969
|
# gt: 1.0,
|
5951
5970
|
# lt: 1.0,
|
5952
|
-
# eq: 1.0,
|
5953
5971
|
# },
|
5954
5972
|
# ],
|
5955
5973
|
# process_parent_pid: [
|
5956
5974
|
# {
|
5957
5975
|
# gte: 1.0,
|
5958
5976
|
# lte: 1.0,
|
5977
|
+
# eq: 1.0,
|
5959
5978
|
# gt: 1.0,
|
5960
5979
|
# lt: 1.0,
|
5961
|
-
# eq: 1.0,
|
5962
5980
|
# },
|
5963
5981
|
# ],
|
5964
5982
|
# process_launched_at: [
|
@@ -6262,18 +6280,18 @@ module Aws::SecurityHub
|
|
6262
6280
|
# {
|
6263
6281
|
# gte: 1.0,
|
6264
6282
|
# lte: 1.0,
|
6283
|
+
# eq: 1.0,
|
6265
6284
|
# gt: 1.0,
|
6266
6285
|
# lt: 1.0,
|
6267
|
-
# eq: 1.0,
|
6268
6286
|
# },
|
6269
6287
|
# ],
|
6270
6288
|
# finding_provider_fields_criticality: [
|
6271
6289
|
# {
|
6272
6290
|
# gte: 1.0,
|
6273
6291
|
# lte: 1.0,
|
6292
|
+
# eq: 1.0,
|
6274
6293
|
# gt: 1.0,
|
6275
6294
|
# lt: 1.0,
|
6276
|
-
# eq: 1.0,
|
6277
6295
|
# },
|
6278
6296
|
# ],
|
6279
6297
|
# finding_provider_fields_related_findings_id: [
|
@@ -6560,30 +6578,30 @@ module Aws::SecurityHub
|
|
6560
6578
|
# resp.insights[0].filters.severity_product #=> Array
|
6561
6579
|
# resp.insights[0].filters.severity_product[0].gte #=> Float
|
6562
6580
|
# resp.insights[0].filters.severity_product[0].lte #=> Float
|
6581
|
+
# resp.insights[0].filters.severity_product[0].eq #=> Float
|
6563
6582
|
# resp.insights[0].filters.severity_product[0].gt #=> Float
|
6564
6583
|
# resp.insights[0].filters.severity_product[0].lt #=> Float
|
6565
|
-
# resp.insights[0].filters.severity_product[0].eq #=> Float
|
6566
6584
|
# resp.insights[0].filters.severity_normalized #=> Array
|
6567
6585
|
# resp.insights[0].filters.severity_normalized[0].gte #=> Float
|
6568
6586
|
# resp.insights[0].filters.severity_normalized[0].lte #=> Float
|
6587
|
+
# resp.insights[0].filters.severity_normalized[0].eq #=> Float
|
6569
6588
|
# resp.insights[0].filters.severity_normalized[0].gt #=> Float
|
6570
6589
|
# resp.insights[0].filters.severity_normalized[0].lt #=> Float
|
6571
|
-
# resp.insights[0].filters.severity_normalized[0].eq #=> Float
|
6572
6590
|
# resp.insights[0].filters.severity_label #=> Array
|
6573
6591
|
# resp.insights[0].filters.severity_label[0].value #=> String
|
6574
6592
|
# resp.insights[0].filters.severity_label[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
6575
6593
|
# resp.insights[0].filters.confidence #=> Array
|
6576
6594
|
# resp.insights[0].filters.confidence[0].gte #=> Float
|
6577
6595
|
# resp.insights[0].filters.confidence[0].lte #=> Float
|
6596
|
+
# resp.insights[0].filters.confidence[0].eq #=> Float
|
6578
6597
|
# resp.insights[0].filters.confidence[0].gt #=> Float
|
6579
6598
|
# resp.insights[0].filters.confidence[0].lt #=> Float
|
6580
|
-
# resp.insights[0].filters.confidence[0].eq #=> Float
|
6581
6599
|
# resp.insights[0].filters.criticality #=> Array
|
6582
6600
|
# resp.insights[0].filters.criticality[0].gte #=> Float
|
6583
6601
|
# resp.insights[0].filters.criticality[0].lte #=> Float
|
6602
|
+
# resp.insights[0].filters.criticality[0].eq #=> Float
|
6584
6603
|
# resp.insights[0].filters.criticality[0].gt #=> Float
|
6585
6604
|
# resp.insights[0].filters.criticality[0].lt #=> Float
|
6586
|
-
# resp.insights[0].filters.criticality[0].eq #=> Float
|
6587
6605
|
# resp.insights[0].filters.title #=> Array
|
6588
6606
|
# resp.insights[0].filters.title[0].value #=> String
|
6589
6607
|
# resp.insights[0].filters.title[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
@@ -6635,9 +6653,9 @@ module Aws::SecurityHub
|
|
6635
6653
|
# resp.insights[0].filters.network_source_port #=> Array
|
6636
6654
|
# resp.insights[0].filters.network_source_port[0].gte #=> Float
|
6637
6655
|
# resp.insights[0].filters.network_source_port[0].lte #=> Float
|
6656
|
+
# resp.insights[0].filters.network_source_port[0].eq #=> Float
|
6638
6657
|
# resp.insights[0].filters.network_source_port[0].gt #=> Float
|
6639
6658
|
# resp.insights[0].filters.network_source_port[0].lt #=> Float
|
6640
|
-
# resp.insights[0].filters.network_source_port[0].eq #=> Float
|
6641
6659
|
# resp.insights[0].filters.network_source_domain #=> Array
|
6642
6660
|
# resp.insights[0].filters.network_source_domain[0].value #=> String
|
6643
6661
|
# resp.insights[0].filters.network_source_domain[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
@@ -6651,9 +6669,9 @@ module Aws::SecurityHub
|
|
6651
6669
|
# resp.insights[0].filters.network_destination_port #=> Array
|
6652
6670
|
# resp.insights[0].filters.network_destination_port[0].gte #=> Float
|
6653
6671
|
# resp.insights[0].filters.network_destination_port[0].lte #=> Float
|
6672
|
+
# resp.insights[0].filters.network_destination_port[0].eq #=> Float
|
6654
6673
|
# resp.insights[0].filters.network_destination_port[0].gt #=> Float
|
6655
6674
|
# resp.insights[0].filters.network_destination_port[0].lt #=> Float
|
6656
|
-
# resp.insights[0].filters.network_destination_port[0].eq #=> Float
|
6657
6675
|
# resp.insights[0].filters.network_destination_domain #=> Array
|
6658
6676
|
# resp.insights[0].filters.network_destination_domain[0].value #=> String
|
6659
6677
|
# resp.insights[0].filters.network_destination_domain[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
@@ -6666,15 +6684,15 @@ module Aws::SecurityHub
|
|
6666
6684
|
# resp.insights[0].filters.process_pid #=> Array
|
6667
6685
|
# resp.insights[0].filters.process_pid[0].gte #=> Float
|
6668
6686
|
# resp.insights[0].filters.process_pid[0].lte #=> Float
|
6687
|
+
# resp.insights[0].filters.process_pid[0].eq #=> Float
|
6669
6688
|
# resp.insights[0].filters.process_pid[0].gt #=> Float
|
6670
6689
|
# resp.insights[0].filters.process_pid[0].lt #=> Float
|
6671
|
-
# resp.insights[0].filters.process_pid[0].eq #=> Float
|
6672
6690
|
# resp.insights[0].filters.process_parent_pid #=> Array
|
6673
6691
|
# resp.insights[0].filters.process_parent_pid[0].gte #=> Float
|
6674
6692
|
# resp.insights[0].filters.process_parent_pid[0].lte #=> Float
|
6693
|
+
# resp.insights[0].filters.process_parent_pid[0].eq #=> Float
|
6675
6694
|
# resp.insights[0].filters.process_parent_pid[0].gt #=> Float
|
6676
6695
|
# resp.insights[0].filters.process_parent_pid[0].lt #=> Float
|
6677
|
-
# resp.insights[0].filters.process_parent_pid[0].eq #=> Float
|
6678
6696
|
# resp.insights[0].filters.process_launched_at #=> Array
|
6679
6697
|
# resp.insights[0].filters.process_launched_at[0].start #=> String
|
6680
6698
|
# resp.insights[0].filters.process_launched_at[0].end #=> String
|
@@ -6826,15 +6844,15 @@ module Aws::SecurityHub
|
|
6826
6844
|
# resp.insights[0].filters.finding_provider_fields_confidence #=> Array
|
6827
6845
|
# resp.insights[0].filters.finding_provider_fields_confidence[0].gte #=> Float
|
6828
6846
|
# resp.insights[0].filters.finding_provider_fields_confidence[0].lte #=> Float
|
6847
|
+
# resp.insights[0].filters.finding_provider_fields_confidence[0].eq #=> Float
|
6829
6848
|
# resp.insights[0].filters.finding_provider_fields_confidence[0].gt #=> Float
|
6830
6849
|
# resp.insights[0].filters.finding_provider_fields_confidence[0].lt #=> Float
|
6831
|
-
# resp.insights[0].filters.finding_provider_fields_confidence[0].eq #=> Float
|
6832
6850
|
# resp.insights[0].filters.finding_provider_fields_criticality #=> Array
|
6833
6851
|
# resp.insights[0].filters.finding_provider_fields_criticality[0].gte #=> Float
|
6834
6852
|
# resp.insights[0].filters.finding_provider_fields_criticality[0].lte #=> Float
|
6853
|
+
# resp.insights[0].filters.finding_provider_fields_criticality[0].eq #=> Float
|
6835
6854
|
# resp.insights[0].filters.finding_provider_fields_criticality[0].gt #=> Float
|
6836
6855
|
# resp.insights[0].filters.finding_provider_fields_criticality[0].lt #=> Float
|
6837
|
-
# resp.insights[0].filters.finding_provider_fields_criticality[0].eq #=> Float
|
6838
6856
|
# resp.insights[0].filters.finding_provider_fields_related_findings_id #=> Array
|
6839
6857
|
# resp.insights[0].filters.finding_provider_fields_related_findings_id[0].value #=> String
|
6840
6858
|
# resp.insights[0].filters.finding_provider_fields_related_findings_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS"
|
@@ -8588,21 +8606,24 @@ module Aws::SecurityHub
|
|
8588
8606
|
#
|
8589
8607
|
# The options are as follows:
|
8590
8608
|
#
|
8591
|
-
# * `ALL_REGIONS` -
|
8592
|
-
#
|
8593
|
-
#
|
8594
|
-
#
|
8609
|
+
# * `ALL_REGIONS` - Aggregates findings from all of the Regions where
|
8610
|
+
# Security Hub is enabled. When you choose this option, Security Hub
|
8611
|
+
# also automatically aggregates findings from new Regions as Security
|
8612
|
+
# Hub supports them and you opt into them.
|
8595
8613
|
#
|
8596
|
-
# * `ALL_REGIONS_EXCEPT_SPECIFIED` -
|
8597
|
-
#
|
8598
|
-
#
|
8599
|
-
#
|
8600
|
-
#
|
8614
|
+
# * `ALL_REGIONS_EXCEPT_SPECIFIED` - Aggregates findings from all of the
|
8615
|
+
# Regions where Security Hub is enabled, except for the Regions listed
|
8616
|
+
# in the `Regions` parameter. When you choose this option, Security
|
8617
|
+
# Hub also automatically aggregates findings from new Regions as
|
8618
|
+
# Security Hub supports them and you opt into them.
|
8601
8619
|
#
|
8602
|
-
# * `SPECIFIED_REGIONS` -
|
8603
|
-
#
|
8620
|
+
# * `SPECIFIED_REGIONS` - Aggregates findings only from the Regions
|
8621
|
+
# listed in the `Regions` parameter. Security Hub does not
|
8604
8622
|
# automatically aggregate findings from new Regions.
|
8605
8623
|
#
|
8624
|
+
# * `NO_REGIONS` - Aggregates no data because no Regions are selected as
|
8625
|
+
# linked Regions.
|
8626
|
+
#
|
8606
8627
|
# @option params [Array<String>] :regions
|
8607
8628
|
# If `RegionLinkingMode` is `ALL_REGIONS_EXCEPT_SPECIFIED`, then this is
|
8608
8629
|
# a space-separated list of Regions that do not aggregate findings to
|
@@ -8612,6 +8633,9 @@ module Aws::SecurityHub
|
|
8612
8633
|
# space-separated list of Regions that do aggregate findings to the
|
8613
8634
|
# aggregation Region.
|
8614
8635
|
#
|
8636
|
+
# An `InvalidInputException` error results if you populate this field
|
8637
|
+
# while `RegionLinkingMode` is `NO_REGIONS`.
|
8638
|
+
#
|
8615
8639
|
# @return [Types::UpdateFindingAggregatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8616
8640
|
#
|
8617
8641
|
# * {Types::UpdateFindingAggregatorResponse#finding_aggregator_arn #finding_aggregator_arn} => String
|
@@ -8674,13 +8698,15 @@ module Aws::SecurityHub
|
|
8674
8698
|
# `UpdateFindings` is a deprecated operation. Instead of
|
8675
8699
|
# `UpdateFindings`, use the `BatchUpdateFindings` operation.
|
8676
8700
|
#
|
8677
|
-
#
|
8678
|
-
# findings that the filter attributes
|
8679
|
-
# can view the finding also
|
8701
|
+
# The `UpdateFindings` operation updates the `Note` and `RecordState` of
|
8702
|
+
# the Security Hub aggregated findings that the filter attributes
|
8703
|
+
# specify. Any member account that can view the finding can also see the
|
8704
|
+
# update to the finding.
|
8680
8705
|
#
|
8681
|
-
# Finding updates made with `UpdateFindings`
|
8682
|
-
#
|
8683
|
-
# `BatchImportFindings` operation.
|
8706
|
+
# Finding updates made with `UpdateFindings` aren't persisted if the
|
8707
|
+
# same finding is later updated by the finding provider through the
|
8708
|
+
# `BatchImportFindings` operation. In addition, Security Hub doesn't
|
8709
|
+
# record updates made with `UpdateFindings` in the finding history.
|
8684
8710
|
#
|
8685
8711
|
# @option params [required, Types::AwsSecurityFindingFilters] :filters
|
8686
8712
|
# A collection of attributes that specify which findings you want to
|
@@ -8778,18 +8804,18 @@ module Aws::SecurityHub
|
|
8778
8804
|
# {
|
8779
8805
|
# gte: 1.0,
|
8780
8806
|
# lte: 1.0,
|
8807
|
+
# eq: 1.0,
|
8781
8808
|
# gt: 1.0,
|
8782
8809
|
# lt: 1.0,
|
8783
|
-
# eq: 1.0,
|
8784
8810
|
# },
|
8785
8811
|
# ],
|
8786
8812
|
# severity_normalized: [
|
8787
8813
|
# {
|
8788
8814
|
# gte: 1.0,
|
8789
8815
|
# lte: 1.0,
|
8816
|
+
# eq: 1.0,
|
8790
8817
|
# gt: 1.0,
|
8791
8818
|
# lt: 1.0,
|
8792
|
-
# eq: 1.0,
|
8793
8819
|
# },
|
8794
8820
|
# ],
|
8795
8821
|
# severity_label: [
|
@@ -8802,18 +8828,18 @@ module Aws::SecurityHub
|
|
8802
8828
|
# {
|
8803
8829
|
# gte: 1.0,
|
8804
8830
|
# lte: 1.0,
|
8831
|
+
# eq: 1.0,
|
8805
8832
|
# gt: 1.0,
|
8806
8833
|
# lt: 1.0,
|
8807
|
-
# eq: 1.0,
|
8808
8834
|
# },
|
8809
8835
|
# ],
|
8810
8836
|
# criticality: [
|
8811
8837
|
# {
|
8812
8838
|
# gte: 1.0,
|
8813
8839
|
# lte: 1.0,
|
8840
|
+
# eq: 1.0,
|
8814
8841
|
# gt: 1.0,
|
8815
8842
|
# lt: 1.0,
|
8816
|
-
# eq: 1.0,
|
8817
8843
|
# },
|
8818
8844
|
# ],
|
8819
8845
|
# title: [
|
@@ -8916,9 +8942,9 @@ module Aws::SecurityHub
|
|
8916
8942
|
# {
|
8917
8943
|
# gte: 1.0,
|
8918
8944
|
# lte: 1.0,
|
8945
|
+
# eq: 1.0,
|
8919
8946
|
# gt: 1.0,
|
8920
8947
|
# lt: 1.0,
|
8921
|
-
# eq: 1.0,
|
8922
8948
|
# },
|
8923
8949
|
# ],
|
8924
8950
|
# network_source_domain: [
|
@@ -8947,9 +8973,9 @@ module Aws::SecurityHub
|
|
8947
8973
|
# {
|
8948
8974
|
# gte: 1.0,
|
8949
8975
|
# lte: 1.0,
|
8976
|
+
# eq: 1.0,
|
8950
8977
|
# gt: 1.0,
|
8951
8978
|
# lt: 1.0,
|
8952
|
-
# eq: 1.0,
|
8953
8979
|
# },
|
8954
8980
|
# ],
|
8955
8981
|
# network_destination_domain: [
|
@@ -8974,18 +9000,18 @@ module Aws::SecurityHub
|
|
8974
9000
|
# {
|
8975
9001
|
# gte: 1.0,
|
8976
9002
|
# lte: 1.0,
|
9003
|
+
# eq: 1.0,
|
8977
9004
|
# gt: 1.0,
|
8978
9005
|
# lt: 1.0,
|
8979
|
-
# eq: 1.0,
|
8980
9006
|
# },
|
8981
9007
|
# ],
|
8982
9008
|
# process_parent_pid: [
|
8983
9009
|
# {
|
8984
9010
|
# gte: 1.0,
|
8985
9011
|
# lte: 1.0,
|
9012
|
+
# eq: 1.0,
|
8986
9013
|
# gt: 1.0,
|
8987
9014
|
# lt: 1.0,
|
8988
|
-
# eq: 1.0,
|
8989
9015
|
# },
|
8990
9016
|
# ],
|
8991
9017
|
# process_launched_at: [
|
@@ -9289,18 +9315,18 @@ module Aws::SecurityHub
|
|
9289
9315
|
# {
|
9290
9316
|
# gte: 1.0,
|
9291
9317
|
# lte: 1.0,
|
9318
|
+
# eq: 1.0,
|
9292
9319
|
# gt: 1.0,
|
9293
9320
|
# lt: 1.0,
|
9294
|
-
# eq: 1.0,
|
9295
9321
|
# },
|
9296
9322
|
# ],
|
9297
9323
|
# finding_provider_fields_criticality: [
|
9298
9324
|
# {
|
9299
9325
|
# gte: 1.0,
|
9300
9326
|
# lte: 1.0,
|
9327
|
+
# eq: 1.0,
|
9301
9328
|
# gt: 1.0,
|
9302
9329
|
# lt: 1.0,
|
9303
|
-
# eq: 1.0,
|
9304
9330
|
# },
|
9305
9331
|
# ],
|
9306
9332
|
# finding_provider_fields_related_findings_id: [
|
@@ -9536,18 +9562,18 @@ module Aws::SecurityHub
|
|
9536
9562
|
# {
|
9537
9563
|
# gte: 1.0,
|
9538
9564
|
# lte: 1.0,
|
9565
|
+
# eq: 1.0,
|
9539
9566
|
# gt: 1.0,
|
9540
9567
|
# lt: 1.0,
|
9541
|
-
# eq: 1.0,
|
9542
9568
|
# },
|
9543
9569
|
# ],
|
9544
9570
|
# severity_normalized: [
|
9545
9571
|
# {
|
9546
9572
|
# gte: 1.0,
|
9547
9573
|
# lte: 1.0,
|
9574
|
+
# eq: 1.0,
|
9548
9575
|
# gt: 1.0,
|
9549
9576
|
# lt: 1.0,
|
9550
|
-
# eq: 1.0,
|
9551
9577
|
# },
|
9552
9578
|
# ],
|
9553
9579
|
# severity_label: [
|
@@ -9560,18 +9586,18 @@ module Aws::SecurityHub
|
|
9560
9586
|
# {
|
9561
9587
|
# gte: 1.0,
|
9562
9588
|
# lte: 1.0,
|
9589
|
+
# eq: 1.0,
|
9563
9590
|
# gt: 1.0,
|
9564
9591
|
# lt: 1.0,
|
9565
|
-
# eq: 1.0,
|
9566
9592
|
# },
|
9567
9593
|
# ],
|
9568
9594
|
# criticality: [
|
9569
9595
|
# {
|
9570
9596
|
# gte: 1.0,
|
9571
9597
|
# lte: 1.0,
|
9598
|
+
# eq: 1.0,
|
9572
9599
|
# gt: 1.0,
|
9573
9600
|
# lt: 1.0,
|
9574
|
-
# eq: 1.0,
|
9575
9601
|
# },
|
9576
9602
|
# ],
|
9577
9603
|
# title: [
|
@@ -9674,9 +9700,9 @@ module Aws::SecurityHub
|
|
9674
9700
|
# {
|
9675
9701
|
# gte: 1.0,
|
9676
9702
|
# lte: 1.0,
|
9703
|
+
# eq: 1.0,
|
9677
9704
|
# gt: 1.0,
|
9678
9705
|
# lt: 1.0,
|
9679
|
-
# eq: 1.0,
|
9680
9706
|
# },
|
9681
9707
|
# ],
|
9682
9708
|
# network_source_domain: [
|
@@ -9705,9 +9731,9 @@ module Aws::SecurityHub
|
|
9705
9731
|
# {
|
9706
9732
|
# gte: 1.0,
|
9707
9733
|
# lte: 1.0,
|
9734
|
+
# eq: 1.0,
|
9708
9735
|
# gt: 1.0,
|
9709
9736
|
# lt: 1.0,
|
9710
|
-
# eq: 1.0,
|
9711
9737
|
# },
|
9712
9738
|
# ],
|
9713
9739
|
# network_destination_domain: [
|
@@ -9732,18 +9758,18 @@ module Aws::SecurityHub
|
|
9732
9758
|
# {
|
9733
9759
|
# gte: 1.0,
|
9734
9760
|
# lte: 1.0,
|
9761
|
+
# eq: 1.0,
|
9735
9762
|
# gt: 1.0,
|
9736
9763
|
# lt: 1.0,
|
9737
|
-
# eq: 1.0,
|
9738
9764
|
# },
|
9739
9765
|
# ],
|
9740
9766
|
# process_parent_pid: [
|
9741
9767
|
# {
|
9742
9768
|
# gte: 1.0,
|
9743
9769
|
# lte: 1.0,
|
9770
|
+
# eq: 1.0,
|
9744
9771
|
# gt: 1.0,
|
9745
9772
|
# lt: 1.0,
|
9746
|
-
# eq: 1.0,
|
9747
9773
|
# },
|
9748
9774
|
# ],
|
9749
9775
|
# process_launched_at: [
|
@@ -10047,18 +10073,18 @@ module Aws::SecurityHub
|
|
10047
10073
|
# {
|
10048
10074
|
# gte: 1.0,
|
10049
10075
|
# lte: 1.0,
|
10076
|
+
# eq: 1.0,
|
10050
10077
|
# gt: 1.0,
|
10051
10078
|
# lt: 1.0,
|
10052
|
-
# eq: 1.0,
|
10053
10079
|
# },
|
10054
10080
|
# ],
|
10055
10081
|
# finding_provider_fields_criticality: [
|
10056
10082
|
# {
|
10057
10083
|
# gte: 1.0,
|
10058
10084
|
# lte: 1.0,
|
10085
|
+
# eq: 1.0,
|
10059
10086
|
# gt: 1.0,
|
10060
10087
|
# lt: 1.0,
|
10061
|
-
# eq: 1.0,
|
10062
10088
|
# },
|
10063
10089
|
# ],
|
10064
10090
|
# finding_provider_fields_related_findings_id: [
|
@@ -10412,14 +10438,19 @@ module Aws::SecurityHub
|
|
10412
10438
|
# @api private
|
10413
10439
|
def build_request(operation_name, params = {})
|
10414
10440
|
handlers = @handlers.for(operation_name)
|
10441
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
10442
|
+
Aws::Telemetry.module_to_tracer_name('Aws::SecurityHub')
|
10443
|
+
)
|
10415
10444
|
context = Seahorse::Client::RequestContext.new(
|
10416
10445
|
operation_name: operation_name,
|
10417
10446
|
operation: config.api.operation(operation_name),
|
10418
10447
|
client: self,
|
10419
10448
|
params: params,
|
10420
|
-
config: config
|
10449
|
+
config: config,
|
10450
|
+
tracer: tracer
|
10451
|
+
)
|
10421
10452
|
context[:gem_name] = 'aws-sdk-securityhub'
|
10422
|
-
context[:gem_version] = '1.
|
10453
|
+
context[:gem_version] = '1.115.0'
|
10423
10454
|
Seahorse::Client::Request.new(handlers, context)
|
10424
10455
|
end
|
10425
10456
|
|