aws-sdk-wafv2 1.33.0 → 1.36.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-wafv2/client.rb +287 -8
- data/lib/aws-sdk-wafv2/client_api.rb +106 -0
- data/lib/aws-sdk-wafv2/types.rb +602 -19
- data/lib/aws-sdk-wafv2.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: 1d973a73831a330731946dc07a6c2b3e29bbc307195b41420305996b5b7ad65e
|
4
|
+
data.tar.gz: 8021de5c4a20e79659c8108941d6e3fbce250760e793735e75051bfca3eb5930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 370322bdb3c2f6c1f6eded02b34194c6750ae1a506bcd38653a437141cab66704cca355994b2130b02b01277eca8d7bb2fee3998476ec223b550fac2c53f7575
|
7
|
+
data.tar.gz: 5ea7f55d8403ddec9a0e6c72fd2a8016de84409ed2b68a740ed93f89a3ee37ded64f612ee7550d1f7ce616d80aad30495bb59de00a95723be3b0547ee624d3d3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.36.0 (2022-02-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated descriptions for logging configuration.
|
8
|
+
|
9
|
+
1.35.0 (2022-02-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for AWS WAF Fraud Control account takeover prevention (ATP), with configuration options for the new managed rule group AWSManagedRulesATPRuleSet and support for application integration SDKs for Android and iOS mobile apps.
|
13
|
+
|
14
|
+
1.34.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.33.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.36.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -28,6 +28,7 @@ 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
30
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
34
|
|
@@ -75,6 +76,7 @@ module Aws::WAFV2
|
|
75
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
78
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
82
|
|
@@ -698,6 +700,18 @@ module Aws::WAFV2
|
|
698
700
|
# scope_down_statement: {
|
699
701
|
# # recursive Statement
|
700
702
|
# },
|
703
|
+
# managed_rule_group_configs: [
|
704
|
+
# {
|
705
|
+
# login_path: "LoginPathString",
|
706
|
+
# payload_type: "JSON", # accepts JSON, FORM_ENCODED
|
707
|
+
# username_field: {
|
708
|
+
# identifier: "FieldIdentifier", # required
|
709
|
+
# },
|
710
|
+
# password_field: {
|
711
|
+
# identifier: "FieldIdentifier", # required
|
712
|
+
# },
|
713
|
+
# },
|
714
|
+
# ],
|
701
715
|
# },
|
702
716
|
# label_match_statement: {
|
703
717
|
# scope: "LABEL", # required, accepts LABEL, NAMESPACE
|
@@ -861,11 +875,11 @@ module Aws::WAFV2
|
|
861
875
|
# The version of the IP addresses, either `IPV4` or `IPV6`.
|
862
876
|
#
|
863
877
|
# @option params [required, Array<String>] :addresses
|
864
|
-
# Contains an array of strings that
|
865
|
-
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
878
|
+
# Contains an array of strings that specifies zero or more IP addresses
|
879
|
+
# or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
866
880
|
# notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
|
867
881
|
#
|
868
|
-
#
|
882
|
+
# Example address strings:
|
869
883
|
#
|
870
884
|
# * To configure WAF to allow, block, or count requests that originated
|
871
885
|
# from the IP address 192.0.2.44, specify `192.0.2.44/32`.
|
@@ -886,6 +900,17 @@ module Aws::WAFV2
|
|
886
900
|
# For more information about CIDR notation, see the Wikipedia entry
|
887
901
|
# [Classless Inter-Domain Routing][1].
|
888
902
|
#
|
903
|
+
# Example JSON `Addresses` specifications:
|
904
|
+
#
|
905
|
+
# * Empty array: `"Addresses": []`
|
906
|
+
#
|
907
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
908
|
+
#
|
909
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
910
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
911
|
+
#
|
912
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
913
|
+
#
|
889
914
|
#
|
890
915
|
#
|
891
916
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
@@ -1340,6 +1365,18 @@ module Aws::WAFV2
|
|
1340
1365
|
# scope_down_statement: {
|
1341
1366
|
# # recursive Statement
|
1342
1367
|
# },
|
1368
|
+
# managed_rule_group_configs: [
|
1369
|
+
# {
|
1370
|
+
# login_path: "LoginPathString",
|
1371
|
+
# payload_type: "JSON", # accepts JSON, FORM_ENCODED
|
1372
|
+
# username_field: {
|
1373
|
+
# identifier: "FieldIdentifier", # required
|
1374
|
+
# },
|
1375
|
+
# password_field: {
|
1376
|
+
# identifier: "FieldIdentifier", # required
|
1377
|
+
# },
|
1378
|
+
# },
|
1379
|
+
# ],
|
1343
1380
|
# },
|
1344
1381
|
# label_match_statement: {
|
1345
1382
|
# scope: "LABEL", # required, accepts LABEL, NAMESPACE
|
@@ -1853,6 +1890,18 @@ module Aws::WAFV2
|
|
1853
1890
|
# scope_down_statement: {
|
1854
1891
|
# # recursive Statement
|
1855
1892
|
# },
|
1893
|
+
# managed_rule_group_configs: [
|
1894
|
+
# {
|
1895
|
+
# login_path: "LoginPathString",
|
1896
|
+
# payload_type: "JSON", # accepts JSON, FORM_ENCODED
|
1897
|
+
# username_field: {
|
1898
|
+
# identifier: "FieldIdentifier", # required
|
1899
|
+
# },
|
1900
|
+
# password_field: {
|
1901
|
+
# identifier: "FieldIdentifier", # required
|
1902
|
+
# },
|
1903
|
+
# },
|
1904
|
+
# ],
|
1856
1905
|
# },
|
1857
1906
|
# label_match_statement: {
|
1858
1907
|
# scope: "LABEL", # required, accepts LABEL, NAMESPACE
|
@@ -2458,6 +2507,50 @@ module Aws::WAFV2
|
|
2458
2507
|
req.send_request(options)
|
2459
2508
|
end
|
2460
2509
|
|
2510
|
+
# Generates a presigned download URL for the specified release of the
|
2511
|
+
# mobile SDK.
|
2512
|
+
#
|
2513
|
+
# The mobile SDK is not generally available. Customers who have access
|
2514
|
+
# to the mobile SDK can use it to establish and manage Security Token
|
2515
|
+
# Service (STS) security tokens for use in HTTP(S) requests from a
|
2516
|
+
# mobile device to WAF. For more information, see [WAF client
|
2517
|
+
# application integration][1] in the *WAF Developer Guide*.
|
2518
|
+
#
|
2519
|
+
#
|
2520
|
+
#
|
2521
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
2522
|
+
#
|
2523
|
+
# @option params [required, String] :platform
|
2524
|
+
# The device platform.
|
2525
|
+
#
|
2526
|
+
# @option params [required, String] :release_version
|
2527
|
+
# The release version. For the latest available version, specify
|
2528
|
+
# `LATEST`.
|
2529
|
+
#
|
2530
|
+
# @return [Types::GenerateMobileSdkReleaseUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2531
|
+
#
|
2532
|
+
# * {Types::GenerateMobileSdkReleaseUrlResponse#url #url} => String
|
2533
|
+
#
|
2534
|
+
# @example Request syntax with placeholder values
|
2535
|
+
#
|
2536
|
+
# resp = client.generate_mobile_sdk_release_url({
|
2537
|
+
# platform: "IOS", # required, accepts IOS, ANDROID
|
2538
|
+
# release_version: "VersionKeyString", # required
|
2539
|
+
# })
|
2540
|
+
#
|
2541
|
+
# @example Response structure
|
2542
|
+
#
|
2543
|
+
# resp.url #=> String
|
2544
|
+
#
|
2545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl AWS API Documentation
|
2546
|
+
#
|
2547
|
+
# @overload generate_mobile_sdk_release_url(params = {})
|
2548
|
+
# @param [Hash] params ({})
|
2549
|
+
def generate_mobile_sdk_release_url(params = {}, options = {})
|
2550
|
+
req = build_request(:generate_mobile_sdk_release_url, params)
|
2551
|
+
req.send_request(options)
|
2552
|
+
end
|
2553
|
+
|
2461
2554
|
# Retrieves the specified IPSet.
|
2462
2555
|
#
|
2463
2556
|
# @option params [required, String] :name
|
@@ -2640,6 +2733,55 @@ module Aws::WAFV2
|
|
2640
2733
|
req.send_request(options)
|
2641
2734
|
end
|
2642
2735
|
|
2736
|
+
# Retrieves information for the specified mobile SDK release, including
|
2737
|
+
# release notes and tags.
|
2738
|
+
#
|
2739
|
+
# The mobile SDK is not generally available. Customers who have access
|
2740
|
+
# to the mobile SDK can use it to establish and manage Security Token
|
2741
|
+
# Service (STS) security tokens for use in HTTP(S) requests from a
|
2742
|
+
# mobile device to WAF. For more information, see [WAF client
|
2743
|
+
# application integration][1] in the *WAF Developer Guide*.
|
2744
|
+
#
|
2745
|
+
#
|
2746
|
+
#
|
2747
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
2748
|
+
#
|
2749
|
+
# @option params [required, String] :platform
|
2750
|
+
# The device platform.
|
2751
|
+
#
|
2752
|
+
# @option params [required, String] :release_version
|
2753
|
+
# The release version. For the latest available version, specify
|
2754
|
+
# `LATEST`.
|
2755
|
+
#
|
2756
|
+
# @return [Types::GetMobileSdkReleaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2757
|
+
#
|
2758
|
+
# * {Types::GetMobileSdkReleaseResponse#mobile_sdk_release #mobile_sdk_release} => Types::MobileSdkRelease
|
2759
|
+
#
|
2760
|
+
# @example Request syntax with placeholder values
|
2761
|
+
#
|
2762
|
+
# resp = client.get_mobile_sdk_release({
|
2763
|
+
# platform: "IOS", # required, accepts IOS, ANDROID
|
2764
|
+
# release_version: "VersionKeyString", # required
|
2765
|
+
# })
|
2766
|
+
#
|
2767
|
+
# @example Response structure
|
2768
|
+
#
|
2769
|
+
# resp.mobile_sdk_release.release_version #=> String
|
2770
|
+
# resp.mobile_sdk_release.timestamp #=> Time
|
2771
|
+
# resp.mobile_sdk_release.release_notes #=> String
|
2772
|
+
# resp.mobile_sdk_release.tags #=> Array
|
2773
|
+
# resp.mobile_sdk_release.tags[0].key #=> String
|
2774
|
+
# resp.mobile_sdk_release.tags[0].value #=> String
|
2775
|
+
#
|
2776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease AWS API Documentation
|
2777
|
+
#
|
2778
|
+
# @overload get_mobile_sdk_release(params = {})
|
2779
|
+
# @param [Hash] params ({})
|
2780
|
+
def get_mobile_sdk_release(params = {}, options = {})
|
2781
|
+
req = build_request(:get_mobile_sdk_release, params)
|
2782
|
+
req.send_request(options)
|
2783
|
+
end
|
2784
|
+
|
2643
2785
|
# Returns the IAM policy that is attached to the specified rule group.
|
2644
2786
|
#
|
2645
2787
|
# You must be the owner of the rule group to perform this operation.
|
@@ -2943,6 +3085,11 @@ module Aws::WAFV2
|
|
2943
3085
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
2944
3086
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
2945
3087
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
3088
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3089
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3090
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3091
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3092
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
2946
3093
|
# resp.rule_group.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
|
2947
3094
|
# resp.rule_group.rules[0].statement.label_match_statement.key #=> String
|
2948
3095
|
# resp.rule_group.rules[0].statement.regex_match_statement.regex_string #=> String
|
@@ -3136,6 +3283,7 @@ module Aws::WAFV2
|
|
3136
3283
|
#
|
3137
3284
|
# * {Types::GetWebACLResponse#web_acl #web_acl} => Types::WebACL
|
3138
3285
|
# * {Types::GetWebACLResponse#lock_token #lock_token} => String
|
3286
|
+
# * {Types::GetWebACLResponse#application_integration_url #application_integration_url} => String
|
3139
3287
|
#
|
3140
3288
|
# @example Request syntax with placeholder values
|
3141
3289
|
#
|
@@ -3239,6 +3387,11 @@ module Aws::WAFV2
|
|
3239
3387
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
3240
3388
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3241
3389
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
3390
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3391
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3392
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3393
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3394
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3242
3395
|
# resp.web_acl.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
|
3243
3396
|
# resp.web_acl.rules[0].statement.label_match_statement.key #=> String
|
3244
3397
|
# resp.web_acl.rules[0].statement.regex_match_statement.regex_string #=> String
|
@@ -3370,6 +3523,11 @@ module Aws::WAFV2
|
|
3370
3523
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
|
3371
3524
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
|
3372
3525
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
|
3526
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3527
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3528
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3529
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3530
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3373
3531
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
|
3374
3532
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
|
3375
3533
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
|
@@ -3471,6 +3629,11 @@ module Aws::WAFV2
|
|
3471
3629
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
|
3472
3630
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
|
3473
3631
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
|
3632
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3633
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3634
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3635
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3636
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3474
3637
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
|
3475
3638
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
|
3476
3639
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
|
@@ -3487,6 +3650,7 @@ module Aws::WAFV2
|
|
3487
3650
|
# resp.web_acl.custom_response_bodies["EntityName"].content #=> String
|
3488
3651
|
# resp.web_acl.captcha_config.immunity_time_property.immunity_time #=> Integer
|
3489
3652
|
# resp.lock_token #=> String
|
3653
|
+
# resp.application_integration_url #=> String
|
3490
3654
|
#
|
3491
3655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL AWS API Documentation
|
3492
3656
|
#
|
@@ -3606,6 +3770,11 @@ module Aws::WAFV2
|
|
3606
3770
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
3607
3771
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3608
3772
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
3773
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3774
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3775
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3776
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3777
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3609
3778
|
# resp.web_acl.rules[0].statement.label_match_statement.scope #=> String, one of "LABEL", "NAMESPACE"
|
3610
3779
|
# resp.web_acl.rules[0].statement.label_match_statement.key #=> String
|
3611
3780
|
# resp.web_acl.rules[0].statement.regex_match_statement.regex_string #=> String
|
@@ -3737,6 +3906,11 @@ module Aws::WAFV2
|
|
3737
3906
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
|
3738
3907
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
|
3739
3908
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
|
3909
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
3910
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
3911
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
3912
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
3913
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3740
3914
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
|
3741
3915
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
|
3742
3916
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
|
@@ -3838,6 +4012,11 @@ module Aws::WAFV2
|
|
3838
4012
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations #=> Array
|
3839
4013
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].priority #=> Integer
|
3840
4014
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.regex_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
|
4015
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs #=> Array
|
4016
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].login_path #=> String
|
4017
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].payload_type #=> String, one of "JSON", "FORM_ENCODED"
|
4018
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].username_field.identifier #=> String
|
4019
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.managed_rule_group_configs[0].password_field.identifier #=> String
|
3841
4020
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
|
3842
4021
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
|
3843
4022
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
|
@@ -4203,6 +4382,64 @@ module Aws::WAFV2
|
|
4203
4382
|
req.send_request(options)
|
4204
4383
|
end
|
4205
4384
|
|
4385
|
+
# Retrieves a list of the available releases for the mobile SDK and the
|
4386
|
+
# specified device platform.
|
4387
|
+
#
|
4388
|
+
# The mobile SDK is not generally available. Customers who have access
|
4389
|
+
# to the mobile SDK can use it to establish and manage Security Token
|
4390
|
+
# Service (STS) security tokens for use in HTTP(S) requests from a
|
4391
|
+
# mobile device to WAF. For more information, see [WAF client
|
4392
|
+
# application integration][1] in the *WAF Developer Guide*.
|
4393
|
+
#
|
4394
|
+
#
|
4395
|
+
#
|
4396
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
4397
|
+
#
|
4398
|
+
# @option params [required, String] :platform
|
4399
|
+
# The device platform to retrieve the list for.
|
4400
|
+
#
|
4401
|
+
# @option params [String] :next_marker
|
4402
|
+
# When you request a list of objects with a `Limit` setting, if the
|
4403
|
+
# number of objects that are still available for retrieval exceeds the
|
4404
|
+
# limit, WAF returns a `NextMarker` value in the response. To retrieve
|
4405
|
+
# the next batch of objects, provide the marker from the prior call in
|
4406
|
+
# your next request.
|
4407
|
+
#
|
4408
|
+
# @option params [Integer] :limit
|
4409
|
+
# The maximum number of objects that you want WAF to return for this
|
4410
|
+
# request. If more objects are available, in the response, WAF provides
|
4411
|
+
# a `NextMarker` value that you can use in a subsequent call to get the
|
4412
|
+
# next batch of objects.
|
4413
|
+
#
|
4414
|
+
# @return [Types::ListMobileSdkReleasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4415
|
+
#
|
4416
|
+
# * {Types::ListMobileSdkReleasesResponse#release_summaries #release_summaries} => Array<Types::ReleaseSummary>
|
4417
|
+
# * {Types::ListMobileSdkReleasesResponse#next_marker #next_marker} => String
|
4418
|
+
#
|
4419
|
+
# @example Request syntax with placeholder values
|
4420
|
+
#
|
4421
|
+
# resp = client.list_mobile_sdk_releases({
|
4422
|
+
# platform: "IOS", # required, accepts IOS, ANDROID
|
4423
|
+
# next_marker: "NextMarker",
|
4424
|
+
# limit: 1,
|
4425
|
+
# })
|
4426
|
+
#
|
4427
|
+
# @example Response structure
|
4428
|
+
#
|
4429
|
+
# resp.release_summaries #=> Array
|
4430
|
+
# resp.release_summaries[0].release_version #=> String
|
4431
|
+
# resp.release_summaries[0].timestamp #=> Time
|
4432
|
+
# resp.next_marker #=> String
|
4433
|
+
#
|
4434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases AWS API Documentation
|
4435
|
+
#
|
4436
|
+
# @overload list_mobile_sdk_releases(params = {})
|
4437
|
+
# @param [Hash] params ({})
|
4438
|
+
def list_mobile_sdk_releases(params = {}, options = {})
|
4439
|
+
req = build_request(:list_mobile_sdk_releases, params)
|
4440
|
+
req.send_request(options)
|
4441
|
+
end
|
4442
|
+
|
4206
4443
|
# Retrieves an array of RegexPatternSetSummary objects for the regex
|
4207
4444
|
# pattern sets that you manage.
|
4208
4445
|
#
|
@@ -4487,7 +4724,11 @@ module Aws::WAFV2
|
|
4487
4724
|
# Enables the specified LoggingConfiguration, to start logging from a
|
4488
4725
|
# web ACL, according to the configuration provided.
|
4489
4726
|
#
|
4490
|
-
# You can
|
4727
|
+
# <note markdown="1"> You can define one logging destination per web ACL.
|
4728
|
+
#
|
4729
|
+
# </note>
|
4730
|
+
#
|
4731
|
+
# You can access information about the traffic that WAF inspects using
|
4491
4732
|
# the following steps:
|
4492
4733
|
#
|
4493
4734
|
# 1. Create your logging destination. You can use an Amazon CloudWatch
|
@@ -4507,6 +4748,9 @@ module Aws::WAFV2
|
|
4507
4748
|
# Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis
|
4508
4749
|
# Data Firehose, WAF creates a service-linked role.
|
4509
4750
|
#
|
4751
|
+
# For additional information about web ACL logging, see [Logging web ACL
|
4752
|
+
# traffic information][1] in the *WAF Developer Guide*.
|
4753
|
+
#
|
4510
4754
|
# <note markdown="1"> This operation completely replaces the mutable specifications that you
|
4511
4755
|
# already have for the logging configuration with the ones that you
|
4512
4756
|
# provide to this call. To modify the logging configuration, retrieve it
|
@@ -4889,11 +5133,11 @@ module Aws::WAFV2
|
|
4889
5133
|
# A description of the IP set that helps with identification.
|
4890
5134
|
#
|
4891
5135
|
# @option params [required, Array<String>] :addresses
|
4892
|
-
# Contains an array of strings that
|
4893
|
-
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
5136
|
+
# Contains an array of strings that specifies zero or more IP addresses
|
5137
|
+
# or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
4894
5138
|
# notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
|
4895
5139
|
#
|
4896
|
-
#
|
5140
|
+
# Example address strings:
|
4897
5141
|
#
|
4898
5142
|
# * To configure WAF to allow, block, or count requests that originated
|
4899
5143
|
# from the IP address 192.0.2.44, specify `192.0.2.44/32`.
|
@@ -4914,6 +5158,17 @@ module Aws::WAFV2
|
|
4914
5158
|
# For more information about CIDR notation, see the Wikipedia entry
|
4915
5159
|
# [Classless Inter-Domain Routing][1].
|
4916
5160
|
#
|
5161
|
+
# Example JSON `Addresses` specifications:
|
5162
|
+
#
|
5163
|
+
# * Empty array: `"Addresses": []`
|
5164
|
+
#
|
5165
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
5166
|
+
#
|
5167
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
5168
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
5169
|
+
#
|
5170
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
5171
|
+
#
|
4917
5172
|
#
|
4918
5173
|
#
|
4919
5174
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
@@ -5474,6 +5729,18 @@ module Aws::WAFV2
|
|
5474
5729
|
# scope_down_statement: {
|
5475
5730
|
# # recursive Statement
|
5476
5731
|
# },
|
5732
|
+
# managed_rule_group_configs: [
|
5733
|
+
# {
|
5734
|
+
# login_path: "LoginPathString",
|
5735
|
+
# payload_type: "JSON", # accepts JSON, FORM_ENCODED
|
5736
|
+
# username_field: {
|
5737
|
+
# identifier: "FieldIdentifier", # required
|
5738
|
+
# },
|
5739
|
+
# password_field: {
|
5740
|
+
# identifier: "FieldIdentifier", # required
|
5741
|
+
# },
|
5742
|
+
# },
|
5743
|
+
# ],
|
5477
5744
|
# },
|
5478
5745
|
# label_match_statement: {
|
5479
5746
|
# scope: "LABEL", # required, accepts LABEL, NAMESPACE
|
@@ -5999,6 +6266,18 @@ module Aws::WAFV2
|
|
5999
6266
|
# scope_down_statement: {
|
6000
6267
|
# # recursive Statement
|
6001
6268
|
# },
|
6269
|
+
# managed_rule_group_configs: [
|
6270
|
+
# {
|
6271
|
+
# login_path: "LoginPathString",
|
6272
|
+
# payload_type: "JSON", # accepts JSON, FORM_ENCODED
|
6273
|
+
# username_field: {
|
6274
|
+
# identifier: "FieldIdentifier", # required
|
6275
|
+
# },
|
6276
|
+
# password_field: {
|
6277
|
+
# identifier: "FieldIdentifier", # required
|
6278
|
+
# },
|
6279
|
+
# },
|
6280
|
+
# ],
|
6002
6281
|
# },
|
6003
6282
|
# label_match_statement: {
|
6004
6283
|
# scope: "LABEL", # required, accepts LABEL, NAMESPACE
|
@@ -6161,7 +6440,7 @@ module Aws::WAFV2
|
|
6161
6440
|
params: params,
|
6162
6441
|
config: config)
|
6163
6442
|
context[:gem_name] = 'aws-sdk-wafv2'
|
6164
|
-
context[:gem_version] = '1.
|
6443
|
+
context[:gem_version] = '1.36.0'
|
6165
6444
|
Seahorse::Client::Request.new(handlers, context)
|
6166
6445
|
end
|
6167
6446
|
|