aws-sdk-wafv2 1.111.0 → 1.112.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 +15 -1
- data/lib/aws-sdk-wafv2/client_api.rb +19 -0
- data/lib/aws-sdk-wafv2/types.rb +51 -2
- data/lib/aws-sdk-wafv2.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f2b82118c761852c3bd671c9ea7751795a391f1fffac5aed57008effbd31b2
|
4
|
+
data.tar.gz: 4aa4851f485e4b64403675cc0548564a12e4d3ee3cf3af3b2c3c5d81538eef65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1295c727e09911bca0c3565ce3e43d321985484a53f2ea96504a35ff41450a88522c6ce067a58d43ca69347f2f5dfbf919fdffa44b5b1f27c37d3f94e02bd2f4
|
7
|
+
data.tar.gz: 18bb26b7533f390adc09825f5e3bc1959eab077b4055ce4b5f79a62664c3721619603dbaa76d064138cb3f4808891e80f8345f00cda6f808815102434a64bb65
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.112.0 (2025-06-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS WAF can now suggest protection packs for you based on the application information you provide when you create a webACL.
|
8
|
+
|
4
9
|
1.111.0 (2025-06-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.112.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -2907,6 +2907,12 @@ module Aws::WAFV2
|
|
2907
2907
|
# protection in that web ACL will apply to all associated Application
|
2908
2908
|
# Load Balancers.
|
2909
2909
|
#
|
2910
|
+
# @option params [Types::ApplicationConfig] :application_config
|
2911
|
+
# Configures the ability for the WAF console to store and retrieve
|
2912
|
+
# application attributes during the web ACL creation process.
|
2913
|
+
# Application attributes help WAF give recommendations for protection
|
2914
|
+
# packs.
|
2915
|
+
#
|
2910
2916
|
# @return [Types::CreateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2911
2917
|
#
|
2912
2918
|
# * {Types::CreateWebACLResponse#summary #summary} => Types::WebACLSummary
|
@@ -3879,6 +3885,14 @@ module Aws::WAFV2
|
|
3879
3885
|
# on_source_d_do_s_protection_config: {
|
3880
3886
|
# alb_low_reputation_mode: "ACTIVE_UNDER_DDOS", # required, accepts ACTIVE_UNDER_DDOS, ALWAYS_ON
|
3881
3887
|
# },
|
3888
|
+
# application_config: {
|
3889
|
+
# attributes: [
|
3890
|
+
# {
|
3891
|
+
# name: "AttributeName",
|
3892
|
+
# values: ["AttributeValue"],
|
3893
|
+
# },
|
3894
|
+
# ],
|
3895
|
+
# },
|
3882
3896
|
# })
|
3883
3897
|
#
|
3884
3898
|
# @example Response structure
|
@@ -9578,7 +9592,7 @@ module Aws::WAFV2
|
|
9578
9592
|
tracer: tracer
|
9579
9593
|
)
|
9580
9594
|
context[:gem_name] = 'aws-sdk-wafv2'
|
9581
|
-
context[:gem_version] = '1.
|
9595
|
+
context[:gem_version] = '1.112.0'
|
9582
9596
|
Seahorse::Client::Request.new(handlers, context)
|
9583
9597
|
end
|
9584
9598
|
|
@@ -33,12 +33,18 @@ module Aws::WAFV2
|
|
33
33
|
AllQueryArguments = Shapes::StructureShape.new(name: 'AllQueryArguments')
|
34
34
|
AllowAction = Shapes::StructureShape.new(name: 'AllowAction')
|
35
35
|
AndStatement = Shapes::StructureShape.new(name: 'AndStatement')
|
36
|
+
ApplicationAttribute = Shapes::StructureShape.new(name: 'ApplicationAttribute')
|
37
|
+
ApplicationAttributes = Shapes::ListShape.new(name: 'ApplicationAttributes')
|
38
|
+
ApplicationConfig = Shapes::StructureShape.new(name: 'ApplicationConfig')
|
36
39
|
AsnList = Shapes::ListShape.new(name: 'AsnList')
|
37
40
|
AsnMatchStatement = Shapes::StructureShape.new(name: 'AsnMatchStatement')
|
38
41
|
AssociateWebACLRequest = Shapes::StructureShape.new(name: 'AssociateWebACLRequest')
|
39
42
|
AssociateWebACLResponse = Shapes::StructureShape.new(name: 'AssociateWebACLResponse')
|
40
43
|
AssociatedResourceType = Shapes::StringShape.new(name: 'AssociatedResourceType')
|
41
44
|
AssociationConfig = Shapes::StructureShape.new(name: 'AssociationConfig')
|
45
|
+
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
46
|
+
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
47
|
+
AttributeValues = Shapes::ListShape.new(name: 'AttributeValues')
|
42
48
|
BlockAction = Shapes::StructureShape.new(name: 'BlockAction')
|
43
49
|
Body = Shapes::StructureShape.new(name: 'Body')
|
44
50
|
BodyParsingFallbackBehavior = Shapes::StringShape.new(name: 'BodyParsingFallbackBehavior')
|
@@ -496,6 +502,15 @@ module Aws::WAFV2
|
|
496
502
|
AndStatement.add_member(:statements, Shapes::ShapeRef.new(shape: Statements, required: true, location_name: "Statements"))
|
497
503
|
AndStatement.struct_class = Types::AndStatement
|
498
504
|
|
505
|
+
ApplicationAttribute.add_member(:name, Shapes::ShapeRef.new(shape: AttributeName, location_name: "Name"))
|
506
|
+
ApplicationAttribute.add_member(:values, Shapes::ShapeRef.new(shape: AttributeValues, location_name: "Values"))
|
507
|
+
ApplicationAttribute.struct_class = Types::ApplicationAttribute
|
508
|
+
|
509
|
+
ApplicationAttributes.member = Shapes::ShapeRef.new(shape: ApplicationAttribute)
|
510
|
+
|
511
|
+
ApplicationConfig.add_member(:attributes, Shapes::ShapeRef.new(shape: ApplicationAttributes, location_name: "Attributes"))
|
512
|
+
ApplicationConfig.struct_class = Types::ApplicationConfig
|
513
|
+
|
499
514
|
AsnList.member = Shapes::ShapeRef.new(shape: ASN)
|
500
515
|
|
501
516
|
AsnMatchStatement.add_member(:asn_list, Shapes::ShapeRef.new(shape: AsnList, required: true, location_name: "AsnList"))
|
@@ -511,6 +526,8 @@ module Aws::WAFV2
|
|
511
526
|
AssociationConfig.add_member(:request_body, Shapes::ShapeRef.new(shape: RequestBody, location_name: "RequestBody"))
|
512
527
|
AssociationConfig.struct_class = Types::AssociationConfig
|
513
528
|
|
529
|
+
AttributeValues.member = Shapes::ShapeRef.new(shape: AttributeValue)
|
530
|
+
|
514
531
|
BlockAction.add_member(:custom_response, Shapes::ShapeRef.new(shape: CustomResponse, location_name: "CustomResponse"))
|
515
532
|
BlockAction.struct_class = Types::BlockAction
|
516
533
|
|
@@ -638,6 +655,7 @@ module Aws::WAFV2
|
|
638
655
|
CreateWebACLRequest.add_member(:token_domains, Shapes::ShapeRef.new(shape: TokenDomains, location_name: "TokenDomains"))
|
639
656
|
CreateWebACLRequest.add_member(:association_config, Shapes::ShapeRef.new(shape: AssociationConfig, location_name: "AssociationConfig"))
|
640
657
|
CreateWebACLRequest.add_member(:on_source_d_do_s_protection_config, Shapes::ShapeRef.new(shape: OnSourceDDoSProtectionConfig, location_name: "OnSourceDDoSProtectionConfig"))
|
658
|
+
CreateWebACLRequest.add_member(:application_config, Shapes::ShapeRef.new(shape: ApplicationConfig, location_name: "ApplicationConfig"))
|
641
659
|
CreateWebACLRequest.struct_class = Types::CreateWebACLRequest
|
642
660
|
|
643
661
|
CreateWebACLResponse.add_member(:summary, Shapes::ShapeRef.new(shape: WebACLSummary, location_name: "Summary"))
|
@@ -1776,6 +1794,7 @@ module Aws::WAFV2
|
|
1776
1794
|
WebACL.add_member(:association_config, Shapes::ShapeRef.new(shape: AssociationConfig, location_name: "AssociationConfig"))
|
1777
1795
|
WebACL.add_member(:retrofitted_by_firewall_manager, Shapes::ShapeRef.new(shape: Boolean, location_name: "RetrofittedByFirewallManager"))
|
1778
1796
|
WebACL.add_member(:on_source_d_do_s_protection_config, Shapes::ShapeRef.new(shape: OnSourceDDoSProtectionConfig, location_name: "OnSourceDDoSProtectionConfig"))
|
1797
|
+
WebACL.add_member(:application_config, Shapes::ShapeRef.new(shape: ApplicationConfig, location_name: "ApplicationConfig"))
|
1779
1798
|
WebACL.struct_class = Types::WebACL
|
1780
1799
|
|
1781
1800
|
WebACLSummaries.member = Shapes::ShapeRef.new(shape: WebACLSummary)
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
@@ -446,6 +446,42 @@ module Aws::WAFV2
|
|
446
446
|
include Aws::Structure
|
447
447
|
end
|
448
448
|
|
449
|
+
# Application details defined during the web ACL creation process.
|
450
|
+
# Application attributes help WAF give recommendations for protection
|
451
|
+
# packs.
|
452
|
+
#
|
453
|
+
# @!attribute [rw] name
|
454
|
+
# Specifies the attribute name.
|
455
|
+
# @return [String]
|
456
|
+
#
|
457
|
+
# @!attribute [rw] values
|
458
|
+
# Specifies the attribute value.
|
459
|
+
# @return [Array<String>]
|
460
|
+
#
|
461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ApplicationAttribute AWS API Documentation
|
462
|
+
#
|
463
|
+
class ApplicationAttribute < Struct.new(
|
464
|
+
:name,
|
465
|
+
:values)
|
466
|
+
SENSITIVE = []
|
467
|
+
include Aws::Structure
|
468
|
+
end
|
469
|
+
|
470
|
+
# A list of `ApplicationAttribute`s that contains information about the
|
471
|
+
# application.
|
472
|
+
#
|
473
|
+
# @!attribute [rw] attributes
|
474
|
+
# Contains the attribute name and a list of values for that attribute.
|
475
|
+
# @return [Array<Types::ApplicationAttribute>]
|
476
|
+
#
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ApplicationConfig AWS API Documentation
|
478
|
+
#
|
479
|
+
class ApplicationConfig < Struct.new(
|
480
|
+
:attributes)
|
481
|
+
SENSITIVE = []
|
482
|
+
include Aws::Structure
|
483
|
+
end
|
484
|
+
|
449
485
|
# A rule statement that inspects web traffic based on the Autonomous
|
450
486
|
# System Number (ASN) associated with the request's IP address.
|
451
487
|
#
|
@@ -1770,6 +1806,13 @@ module Aws::WAFV2
|
|
1770
1806
|
# Application Load Balancers.
|
1771
1807
|
# @return [Types::OnSourceDDoSProtectionConfig]
|
1772
1808
|
#
|
1809
|
+
# @!attribute [rw] application_config
|
1810
|
+
# Configures the ability for the WAF console to store and retrieve
|
1811
|
+
# application attributes during the web ACL creation process.
|
1812
|
+
# Application attributes help WAF give recommendations for protection
|
1813
|
+
# packs.
|
1814
|
+
# @return [Types::ApplicationConfig]
|
1815
|
+
#
|
1773
1816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateWebACLRequest AWS API Documentation
|
1774
1817
|
#
|
1775
1818
|
class CreateWebACLRequest < Struct.new(
|
@@ -1786,7 +1829,8 @@ module Aws::WAFV2
|
|
1786
1829
|
:challenge_config,
|
1787
1830
|
:token_domains,
|
1788
1831
|
:association_config,
|
1789
|
-
:on_source_d_do_s_protection_config
|
1832
|
+
:on_source_d_do_s_protection_config,
|
1833
|
+
:application_config)
|
1790
1834
|
SENSITIVE = []
|
1791
1835
|
include Aws::Structure
|
1792
1836
|
end
|
@@ -10681,6 +10725,10 @@ module Aws::WAFV2
|
|
10681
10725
|
# associated with Application Load Balancers.
|
10682
10726
|
# @return [Types::OnSourceDDoSProtectionConfig]
|
10683
10727
|
#
|
10728
|
+
# @!attribute [rw] application_config
|
10729
|
+
# Returns a list of `ApplicationAttribute`s.
|
10730
|
+
# @return [Types::ApplicationConfig]
|
10731
|
+
#
|
10684
10732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/WebACL AWS API Documentation
|
10685
10733
|
#
|
10686
10734
|
class WebACL < Struct.new(
|
@@ -10703,7 +10751,8 @@ module Aws::WAFV2
|
|
10703
10751
|
:token_domains,
|
10704
10752
|
:association_config,
|
10705
10753
|
:retrofitted_by_firewall_manager,
|
10706
|
-
:on_source_d_do_s_protection_config
|
10754
|
+
:on_source_d_do_s_protection_config,
|
10755
|
+
:application_config)
|
10707
10756
|
SENSITIVE = []
|
10708
10757
|
include Aws::Structure
|
10709
10758
|
end
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -2890,6 +2890,14 @@ module Aws
|
|
2890
2890
|
},
|
2891
2891
|
?on_source_d_do_s_protection_config: {
|
2892
2892
|
alb_low_reputation_mode: ("ACTIVE_UNDER_DDOS" | "ALWAYS_ON")
|
2893
|
+
},
|
2894
|
+
?application_config: {
|
2895
|
+
attributes: Array[
|
2896
|
+
{
|
2897
|
+
name: ::String?,
|
2898
|
+
values: Array[::String]?
|
2899
|
+
},
|
2900
|
+
]?
|
2893
2901
|
}
|
2894
2902
|
) -> _CreateWebACLResponseSuccess
|
2895
2903
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebACLResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -71,6 +71,17 @@ module Aws::WAFV2
|
|
71
71
|
SENSITIVE: []
|
72
72
|
end
|
73
73
|
|
74
|
+
class ApplicationAttribute
|
75
|
+
attr_accessor name: ::String
|
76
|
+
attr_accessor values: ::Array[::String]
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
80
|
+
class ApplicationConfig
|
81
|
+
attr_accessor attributes: ::Array[Types::ApplicationAttribute]
|
82
|
+
SENSITIVE: []
|
83
|
+
end
|
84
|
+
|
74
85
|
class AsnMatchStatement
|
75
86
|
attr_accessor asn_list: ::Array[::Integer]
|
76
87
|
attr_accessor forwarded_ip_config: Types::ForwardedIPConfig
|
@@ -263,6 +274,7 @@ module Aws::WAFV2
|
|
263
274
|
attr_accessor token_domains: ::Array[::String]
|
264
275
|
attr_accessor association_config: Types::AssociationConfig
|
265
276
|
attr_accessor on_source_d_do_s_protection_config: Types::OnSourceDDoSProtectionConfig
|
277
|
+
attr_accessor application_config: Types::ApplicationConfig
|
266
278
|
SENSITIVE: []
|
267
279
|
end
|
268
280
|
|
@@ -1720,6 +1732,7 @@ module Aws::WAFV2
|
|
1720
1732
|
attr_accessor association_config: Types::AssociationConfig
|
1721
1733
|
attr_accessor retrofitted_by_firewall_manager: bool
|
1722
1734
|
attr_accessor on_source_d_do_s_protection_config: Types::OnSourceDDoSProtectionConfig
|
1735
|
+
attr_accessor application_config: Types::ApplicationConfig
|
1723
1736
|
SENSITIVE: []
|
1724
1737
|
end
|
1725
1738
|
|