aws-sdk-wafv2 1.67.0 → 1.68.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +9 -3
- data/lib/aws-sdk-wafv2/client_api.rb +1 -0
- data/lib/aws-sdk-wafv2/types.rb +59 -30
- data/lib/aws-sdk-wafv2.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: 55bfda004eba480991c75c6b64ae9e27a276f5634a2a642a5fb5250b1b528c75
|
|
4
|
+
data.tar.gz: 6be1ea7c0b782202a5eeb080fc572df75da8fb2c56cb16d886ce65fa6ed2aaad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ede4328b57c11dfdc743583e0ebff19b960a04426ffaf0b8b35d975e68b4e53eff3272e3e979583eaa286ad09adec2a69b5c78f8ea981b66683d80687789403
|
|
7
|
+
data.tar.gz: ae1f655544dd8bb38e75cde4079ff7bc9bb75abb57abdd6b81e3377e7ad68dd31dd46a6c2650b508872672c07dfaf087369e89dc4f874620c4fdafa578195c8d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.68.0 (2023-09-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The targeted protection level of the Bot Control managed rule group now provides optional, machine-learning analysis of traffic statistics to detect some bot-related activity. You can enable or disable the machine learning functionality through the API.
|
|
8
|
+
|
|
4
9
|
1.67.0 (2023-07-19)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.68.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
|
@@ -1025,6 +1025,7 @@ module Aws::WAFV2
|
|
|
1025
1025
|
# },
|
|
1026
1026
|
# aws_managed_rules_bot_control_rule_set: {
|
|
1027
1027
|
# inspection_level: "COMMON", # required, accepts COMMON, TARGETED
|
|
1028
|
+
# enable_machine_learning: false,
|
|
1028
1029
|
# },
|
|
1029
1030
|
# aws_managed_rules_atp_rule_set: {
|
|
1030
1031
|
# login_path: "String", # required
|
|
@@ -2184,6 +2185,7 @@ module Aws::WAFV2
|
|
|
2184
2185
|
# },
|
|
2185
2186
|
# aws_managed_rules_bot_control_rule_set: {
|
|
2186
2187
|
# inspection_level: "COMMON", # required, accepts COMMON, TARGETED
|
|
2188
|
+
# enable_machine_learning: false,
|
|
2187
2189
|
# },
|
|
2188
2190
|
# aws_managed_rules_atp_rule_set: {
|
|
2189
2191
|
# login_path: "String", # required
|
|
@@ -2623,7 +2625,7 @@ module Aws::WAFV2
|
|
|
2623
2625
|
#
|
|
2624
2626
|
# Use this to customize the maximum size of the request body that your
|
|
2625
2627
|
# protected CloudFront distributions forward to WAF for inspection. The
|
|
2626
|
-
# default is 16 KB (16,384
|
|
2628
|
+
# default is 16 KB (16,384 bytes).
|
|
2627
2629
|
#
|
|
2628
2630
|
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
|
2629
2631
|
# body sizes that are larger than the default. For more information, see
|
|
@@ -3172,6 +3174,7 @@ module Aws::WAFV2
|
|
|
3172
3174
|
# },
|
|
3173
3175
|
# aws_managed_rules_bot_control_rule_set: {
|
|
3174
3176
|
# inspection_level: "COMMON", # required, accepts COMMON, TARGETED
|
|
3177
|
+
# enable_machine_learning: false,
|
|
3175
3178
|
# },
|
|
3176
3179
|
# aws_managed_rules_atp_rule_set: {
|
|
3177
3180
|
# login_path: "String", # required
|
|
@@ -4909,6 +4912,7 @@ module Aws::WAFV2
|
|
|
4909
4912
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
|
4910
4913
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
|
4911
4914
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].aws_managed_rules_bot_control_rule_set.inspection_level #=> String, one of "COMMON", "TARGETED"
|
|
4915
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].aws_managed_rules_bot_control_rule_set.enable_machine_learning #=> Boolean
|
|
4912
4916
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].aws_managed_rules_atp_rule_set.login_path #=> String
|
|
4913
4917
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].aws_managed_rules_atp_rule_set.request_inspection.payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
|
4914
4918
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].aws_managed_rules_atp_rule_set.request_inspection.username_field.identifier #=> String
|
|
@@ -7433,6 +7437,7 @@ module Aws::WAFV2
|
|
|
7433
7437
|
# },
|
|
7434
7438
|
# aws_managed_rules_bot_control_rule_set: {
|
|
7435
7439
|
# inspection_level: "COMMON", # required, accepts COMMON, TARGETED
|
|
7440
|
+
# enable_machine_learning: false,
|
|
7436
7441
|
# },
|
|
7437
7442
|
# aws_managed_rules_atp_rule_set: {
|
|
7438
7443
|
# login_path: "String", # required
|
|
@@ -7905,7 +7910,7 @@ module Aws::WAFV2
|
|
|
7905
7910
|
#
|
|
7906
7911
|
# Use this to customize the maximum size of the request body that your
|
|
7907
7912
|
# protected CloudFront distributions forward to WAF for inspection. The
|
|
7908
|
-
# default is 16 KB (16,384
|
|
7913
|
+
# default is 16 KB (16,384 bytes).
|
|
7909
7914
|
#
|
|
7910
7915
|
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
|
7911
7916
|
# body sizes that are larger than the default. For more information, see
|
|
@@ -8455,6 +8460,7 @@ module Aws::WAFV2
|
|
|
8455
8460
|
# },
|
|
8456
8461
|
# aws_managed_rules_bot_control_rule_set: {
|
|
8457
8462
|
# inspection_level: "COMMON", # required, accepts COMMON, TARGETED
|
|
8463
|
+
# enable_machine_learning: false,
|
|
8458
8464
|
# },
|
|
8459
8465
|
# aws_managed_rules_atp_rule_set: {
|
|
8460
8466
|
# login_path: "String", # required
|
|
@@ -8812,7 +8818,7 @@ module Aws::WAFV2
|
|
|
8812
8818
|
params: params,
|
|
8813
8819
|
config: config)
|
|
8814
8820
|
context[:gem_name] = 'aws-sdk-wafv2'
|
|
8815
|
-
context[:gem_version] = '1.
|
|
8821
|
+
context[:gem_version] = '1.68.0'
|
|
8816
8822
|
Seahorse::Client::Request.new(handlers, context)
|
|
8817
8823
|
end
|
|
8818
8824
|
|
|
@@ -439,6 +439,7 @@ module Aws::WAFV2
|
|
|
439
439
|
AWSManagedRulesATPRuleSet.struct_class = Types::AWSManagedRulesATPRuleSet
|
|
440
440
|
|
|
441
441
|
AWSManagedRulesBotControlRuleSet.add_member(:inspection_level, Shapes::ShapeRef.new(shape: InspectionLevel, required: true, location_name: "InspectionLevel"))
|
|
442
|
+
AWSManagedRulesBotControlRuleSet.add_member(:enable_machine_learning, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableMachineLearning"))
|
|
442
443
|
AWSManagedRulesBotControlRuleSet.struct_class = Types::AWSManagedRulesBotControlRuleSet
|
|
443
444
|
|
|
444
445
|
ActionCondition.add_member(:action, Shapes::ShapeRef.new(shape: ActionValue, required: true, location_name: "Action"))
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
|
@@ -183,10 +183,31 @@ module Aws::WAFV2
|
|
|
183
183
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html
|
|
184
184
|
# @return [String]
|
|
185
185
|
#
|
|
186
|
+
# @!attribute [rw] enable_machine_learning
|
|
187
|
+
# Applies only to the targeted inspection level.
|
|
188
|
+
#
|
|
189
|
+
# Determines whether to use machine learning (ML) to analyze your web
|
|
190
|
+
# traffic for bot-related activity. Machine learning is required for
|
|
191
|
+
# the Bot Control rules `TGT_ML_CoordinatedActivityLow` and
|
|
192
|
+
# `TGT_ML_CoordinatedActivityMedium`, which inspect for anomalous
|
|
193
|
+
# behavior that might indicate distributed, coordinated bot activity.
|
|
194
|
+
#
|
|
195
|
+
# For more information about this choice, see the listing for these
|
|
196
|
+
# rules in the table at [Bot Control rules listing][1] in the *WAF
|
|
197
|
+
# Developer Guide*.
|
|
198
|
+
#
|
|
199
|
+
# Default: `TRUE`
|
|
200
|
+
#
|
|
201
|
+
#
|
|
202
|
+
#
|
|
203
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html#aws-managed-rule-groups-bot-rules
|
|
204
|
+
# @return [Boolean]
|
|
205
|
+
#
|
|
186
206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AWSManagedRulesBotControlRuleSet AWS API Documentation
|
|
187
207
|
#
|
|
188
208
|
class AWSManagedRulesBotControlRuleSet < Struct.new(
|
|
189
|
-
:inspection_level
|
|
209
|
+
:inspection_level,
|
|
210
|
+
:enable_machine_learning)
|
|
190
211
|
SENSITIVE = []
|
|
191
212
|
include Aws::Structure
|
|
192
213
|
end
|
|
@@ -379,7 +400,7 @@ module Aws::WAFV2
|
|
|
379
400
|
#
|
|
380
401
|
# Use this to customize the maximum size of the request body that your
|
|
381
402
|
# protected CloudFront distributions forward to WAF for inspection. The
|
|
382
|
-
# default is 16 KB (16,384
|
|
403
|
+
# default is 16 KB (16,384 bytes).
|
|
383
404
|
#
|
|
384
405
|
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
|
385
406
|
# body sizes that are larger than the default. For more information, see
|
|
@@ -394,7 +415,7 @@ module Aws::WAFV2
|
|
|
394
415
|
# @!attribute [rw] request_body
|
|
395
416
|
# Customizes the maximum size of the request body that your protected
|
|
396
417
|
# CloudFront distributions forward to WAF for inspection. The default
|
|
397
|
-
# size is 16 KB (16,384
|
|
418
|
+
# size is 16 KB (16,384 bytes).
|
|
398
419
|
#
|
|
399
420
|
# <note markdown="1"> You are charged additional fees when your protected resources
|
|
400
421
|
# forward body sizes that are larger than the default. For more
|
|
@@ -455,9 +476,9 @@ module Aws::WAFV2
|
|
|
455
476
|
# forwards the contents that are below the limit to WAF for
|
|
456
477
|
# inspection.
|
|
457
478
|
#
|
|
458
|
-
# The default limit is 8 KB (8,192
|
|
459
|
-
#
|
|
460
|
-
#
|
|
479
|
+
# The default limit is 8 KB (8,192 bytes) for regional resources and
|
|
480
|
+
# 16 KB (16,384 bytes) for CloudFront distributions. For CloudFront
|
|
481
|
+
# distributions, you can increase the limit in the web ACL
|
|
461
482
|
# `AssociationConfig`, for additional processing fees.
|
|
462
483
|
#
|
|
463
484
|
# The options for oversize handling are the following:
|
|
@@ -1417,7 +1438,7 @@ module Aws::WAFV2
|
|
|
1417
1438
|
#
|
|
1418
1439
|
# Use this to customize the maximum size of the request body that your
|
|
1419
1440
|
# protected CloudFront distributions forward to WAF for inspection.
|
|
1420
|
-
# The default is 16 KB (16,384
|
|
1441
|
+
# The default is 16 KB (16,384 bytes).
|
|
1421
1442
|
#
|
|
1422
1443
|
# <note markdown="1"> You are charged additional fees when your protected resources
|
|
1423
1444
|
# forward body sizes that are larger than the default. For more
|
|
@@ -2293,10 +2314,10 @@ module Aws::WAFV2
|
|
|
2293
2314
|
#
|
|
2294
2315
|
# A limited amount of the request body is forwarded to WAF for
|
|
2295
2316
|
# inspection by the underlying host service. For regional resources,
|
|
2296
|
-
# the limit is 8 KB (8,192
|
|
2297
|
-
#
|
|
2298
|
-
#
|
|
2299
|
-
#
|
|
2317
|
+
# the limit is 8 KB (8,192 bytes) and for CloudFront distributions,
|
|
2318
|
+
# the limit is 16 KB (16,384 bytes). For CloudFront distributions, you
|
|
2319
|
+
# can increase the limit in the web ACL's `AssociationConfig`, for
|
|
2320
|
+
# additional processing fees.
|
|
2300
2321
|
#
|
|
2301
2322
|
# For information about how to handle oversized request bodies, see
|
|
2302
2323
|
# the `Body` object configuration.
|
|
@@ -2315,10 +2336,10 @@ module Aws::WAFV2
|
|
|
2315
2336
|
#
|
|
2316
2337
|
# A limited amount of the request body is forwarded to WAF for
|
|
2317
2338
|
# inspection by the underlying host service. For regional resources,
|
|
2318
|
-
# the limit is 8 KB (8,192
|
|
2319
|
-
#
|
|
2320
|
-
#
|
|
2321
|
-
#
|
|
2339
|
+
# the limit is 8 KB (8,192 bytes) and for CloudFront distributions,
|
|
2340
|
+
# the limit is 16 KB (16,384 bytes). For CloudFront distributions, you
|
|
2341
|
+
# can increase the limit in the web ACL's `AssociationConfig`, for
|
|
2342
|
+
# additional processing fees.
|
|
2322
2343
|
#
|
|
2323
2344
|
# For information about how to handle oversized request bodies, see
|
|
2324
2345
|
# the `JsonBody` object configuration.
|
|
@@ -3849,9 +3870,9 @@ module Aws::WAFV2
|
|
|
3849
3870
|
# forwards the contents that are below the limit to WAF for
|
|
3850
3871
|
# inspection.
|
|
3851
3872
|
#
|
|
3852
|
-
# The default limit is 8 KB (8,192
|
|
3853
|
-
#
|
|
3854
|
-
#
|
|
3873
|
+
# The default limit is 8 KB (8,192 bytes) for regional resources and
|
|
3874
|
+
# 16 KB (16,384 bytes) for CloudFront distributions. For CloudFront
|
|
3875
|
+
# distributions, you can increase the limit in the web ACL
|
|
3855
3876
|
# `AssociationConfig`, for additional processing fees.
|
|
3856
3877
|
#
|
|
3857
3878
|
# The options for oversize handling are the following:
|
|
@@ -6642,7 +6663,7 @@ module Aws::WAFV2
|
|
|
6642
6663
|
|
|
6643
6664
|
# Customizes the maximum size of the request body that your protected
|
|
6644
6665
|
# CloudFront distributions forward to WAF for inspection. The default
|
|
6645
|
-
# size is 16 KB (16,384
|
|
6666
|
+
# size is 16 KB (16,384 bytes).
|
|
6646
6667
|
#
|
|
6647
6668
|
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
|
6648
6669
|
# body sizes that are larger than the default. For more information, see
|
|
@@ -6662,7 +6683,7 @@ module Aws::WAFV2
|
|
|
6662
6683
|
# inspection. This applies to statements in the web ACL that inspect
|
|
6663
6684
|
# the body or JSON body.
|
|
6664
6685
|
#
|
|
6665
|
-
# Default: `16 KB (16,384
|
|
6686
|
+
# Default: `16 KB (16,384 bytes)`
|
|
6666
6687
|
# @return [String]
|
|
6667
6688
|
#
|
|
6668
6689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/RequestBodyAssociatedResourceTypeConfig AWS API Documentation
|
|
@@ -7155,8 +7176,12 @@ module Aws::WAFV2
|
|
|
7155
7176
|
# web requests, and parameters that govern how WAF handles them.
|
|
7156
7177
|
#
|
|
7157
7178
|
# @!attribute [rw] name
|
|
7158
|
-
# The name of the rule.
|
|
7159
|
-
#
|
|
7179
|
+
# The name of the rule.
|
|
7180
|
+
#
|
|
7181
|
+
# If you change the name of a `Rule` after you create it and you want
|
|
7182
|
+
# the rule's metric name to reflect the change, update the metric
|
|
7183
|
+
# name in the rule's `VisibilityConfig` settings. WAF doesn't
|
|
7184
|
+
# automatically update the metric name when you update the rule name.
|
|
7160
7185
|
# @return [String]
|
|
7161
7186
|
#
|
|
7162
7187
|
# @!attribute [rw] priority
|
|
@@ -7239,6 +7264,10 @@ module Aws::WAFV2
|
|
|
7239
7264
|
# @!attribute [rw] visibility_config
|
|
7240
7265
|
# Defines and enables Amazon CloudWatch metrics and web request sample
|
|
7241
7266
|
# collection.
|
|
7267
|
+
#
|
|
7268
|
+
# If you change the name of a `Rule` after you create it and you want
|
|
7269
|
+
# the rule's metric name to reflect the change, update the metric
|
|
7270
|
+
# name as well. WAF doesn't automatically update the metric name.
|
|
7242
7271
|
# @return [Types::VisibilityConfig]
|
|
7243
7272
|
#
|
|
7244
7273
|
# @!attribute [rw] captcha_config
|
|
@@ -7716,9 +7745,9 @@ module Aws::WAFV2
|
|
|
7716
7745
|
#
|
|
7717
7746
|
# If you configure WAF to inspect the request body, WAF inspects only
|
|
7718
7747
|
# the number of bytes of the body up to the limit for the web ACL. By
|
|
7719
|
-
# default, for regional web ACLs, this limit is 8 KB (8,192
|
|
7720
|
-
#
|
|
7721
|
-
#
|
|
7748
|
+
# default, for regional web ACLs, this limit is 8 KB (8,192 bytes) and
|
|
7749
|
+
# for CloudFront web ACLs, this limit is 16 KB (16,384 bytes). For
|
|
7750
|
+
# CloudFront web ACLs, you can increase the limit in the web ACL
|
|
7722
7751
|
# `AssociationConfig`, for additional fees. If you know that the request
|
|
7723
7752
|
# body for your web requests should never exceed the inspection limit,
|
|
7724
7753
|
# you could use a size constraint statement to block requests that have
|
|
@@ -7851,9 +7880,9 @@ module Aws::WAFV2
|
|
|
7851
7880
|
#
|
|
7852
7881
|
# If you configure WAF to inspect the request body, WAF inspects only
|
|
7853
7882
|
# the number of bytes of the body up to the limit for the web ACL. By
|
|
7854
|
-
# default, for regional web ACLs, this limit is 8 KB (8,192
|
|
7855
|
-
#
|
|
7856
|
-
#
|
|
7883
|
+
# default, for regional web ACLs, this limit is 8 KB (8,192 bytes) and
|
|
7884
|
+
# for CloudFront web ACLs, this limit is 16 KB (16,384 bytes). For
|
|
7885
|
+
# CloudFront web ACLs, you can increase the limit in the web ACL
|
|
7857
7886
|
# `AssociationConfig`, for additional fees. If you know that the
|
|
7858
7887
|
# request body for your web requests should never exceed the
|
|
7859
7888
|
# inspection limit, you could use a size constraint statement to block
|
|
@@ -8927,7 +8956,7 @@ module Aws::WAFV2
|
|
|
8927
8956
|
#
|
|
8928
8957
|
# Use this to customize the maximum size of the request body that your
|
|
8929
8958
|
# protected CloudFront distributions forward to WAF for inspection.
|
|
8930
|
-
# The default is 16 KB (16,384
|
|
8959
|
+
# The default is 16 KB (16,384 bytes).
|
|
8931
8960
|
#
|
|
8932
8961
|
# <note markdown="1"> You are charged additional fees when your protected resources
|
|
8933
8962
|
# forward body sizes that are larger than the default. For more
|
|
@@ -9623,7 +9652,7 @@ module Aws::WAFV2
|
|
|
9623
9652
|
#
|
|
9624
9653
|
# Use this to customize the maximum size of the request body that your
|
|
9625
9654
|
# protected CloudFront distributions forward to WAF for inspection.
|
|
9626
|
-
# The default is 16 KB (16,384
|
|
9655
|
+
# The default is 16 KB (16,384 bytes).
|
|
9627
9656
|
#
|
|
9628
9657
|
# <note markdown="1"> You are charged additional fees when your protected resources
|
|
9629
9658
|
# forward body sizes that are larger than the default. For more
|
data/lib/aws-sdk-wafv2.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-wafv2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.68.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: 2023-
|
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|