aws-sdk-fms 1.68.0 → 1.70.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fms/client.rb +4 -2
- data/lib/aws-sdk-fms/client_api.rb +2 -0
- data/lib/aws-sdk-fms/types.rb +70 -16
- data/lib/aws-sdk-fms.rb +1 -1
- data/sig/types.rbs +1 -0
- 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: 503e75f6b2f6e52b3649c04c4d9f5b35f9587ec412085df25c6a1a8d09eb5aef
|
4
|
+
data.tar.gz: 0236dcf0419e19755c3d87a5eeb65d3522efdad988e190e01bb36aa7ee139a0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a29e3f48af7242ba40175a734ffecc7b9d4d1074eb5068d389ffabba431a30033ff4cb8b1503434da83d648c84a02365953fcf69872b5d3009c0bd6477f777e
|
7
|
+
data.tar.gz: b8112f43f0855ebf3eb986f4dae7d2a281e21e6fd89294b54c258d0793aacfa3ff26918c6eefba6b9acf58d6a6072eb3fd9a6907bd199cd7e24d3d6e68067676
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2024-05-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The policy scope resource tag is always a string value, either a non-empty string or an empty string.
|
8
|
+
|
9
|
+
1.69.0 (2024-04-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization.
|
13
|
+
|
4
14
|
1.68.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -1338,6 +1338,7 @@ module Aws::FMS
|
|
1338
1338
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.current_policy_description.stateful_default_actions #=> Array
|
1339
1339
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.current_policy_description.stateful_default_actions[0] #=> String
|
1340
1340
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.current_policy_description.stateful_engine_options.rule_order #=> String, one of "STRICT_ORDER", "DEFAULT_ACTION_ORDER"
|
1341
|
+
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.current_policy_description.stateful_engine_options.stream_exception_policy #=> String, one of "DROP", "CONTINUE", "REJECT", "FMS_IGNORE"
|
1341
1342
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateless_rule_groups #=> Array
|
1342
1343
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateless_rule_groups[0].rule_group_name #=> String
|
1343
1344
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateless_rule_groups[0].resource_id #=> String
|
@@ -1356,6 +1357,7 @@ module Aws::FMS
|
|
1356
1357
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateful_default_actions #=> Array
|
1357
1358
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateful_default_actions[0] #=> String
|
1358
1359
|
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateful_engine_options.rule_order #=> String, one of "STRICT_ORDER", "DEFAULT_ACTION_ORDER"
|
1360
|
+
# resp.violation_detail.resource_violations[0].network_firewall_policy_modified_violation.expected_policy_description.stateful_engine_options.stream_exception_policy #=> String, one of "DROP", "CONTINUE", "REJECT", "FMS_IGNORE"
|
1359
1361
|
# resp.violation_detail.resource_violations[0].network_firewall_internet_traffic_not_inspected_violation.subnet_id #=> String
|
1360
1362
|
# resp.violation_detail.resource_violations[0].network_firewall_internet_traffic_not_inspected_violation.subnet_availability_zone #=> String
|
1361
1363
|
# resp.violation_detail.resource_violations[0].network_firewall_internet_traffic_not_inspected_violation.route_table_id #=> String
|
@@ -2552,7 +2554,7 @@ module Aws::FMS
|
|
2552
2554
|
#
|
2553
2555
|
#
|
2554
2556
|
#
|
2555
|
-
# [1]:
|
2557
|
+
# [1]: http://aws.amazon.com/marketplace
|
2556
2558
|
#
|
2557
2559
|
# @option params [required, Types::Policy] :policy
|
2558
2560
|
# The details of the Firewall Manager policy to be created.
|
@@ -2908,7 +2910,7 @@ module Aws::FMS
|
|
2908
2910
|
params: params,
|
2909
2911
|
config: config)
|
2910
2912
|
context[:gem_name] = 'aws-sdk-fms'
|
2911
|
-
context[:gem_version] = '1.
|
2913
|
+
context[:gem_version] = '1.70.0'
|
2912
2914
|
Seahorse::Client::Request.new(handlers, context)
|
2913
2915
|
end
|
2914
2916
|
|
@@ -283,6 +283,7 @@ module Aws::FMS
|
|
283
283
|
StatelessRuleGroup = Shapes::StructureShape.new(name: 'StatelessRuleGroup')
|
284
284
|
StatelessRuleGroupList = Shapes::ListShape.new(name: 'StatelessRuleGroupList')
|
285
285
|
StatelessRuleGroupPriority = Shapes::IntegerShape.new(name: 'StatelessRuleGroupPriority')
|
286
|
+
StreamExceptionPolicy = Shapes::StringShape.new(name: 'StreamExceptionPolicy')
|
286
287
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
287
288
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
288
289
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -1226,6 +1227,7 @@ module Aws::FMS
|
|
1226
1227
|
SecurityServiceTypeList.member = Shapes::ShapeRef.new(shape: SecurityServiceType)
|
1227
1228
|
|
1228
1229
|
StatefulEngineOptions.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrder, location_name: "RuleOrder"))
|
1230
|
+
StatefulEngineOptions.add_member(:stream_exception_policy, Shapes::ShapeRef.new(shape: StreamExceptionPolicy, location_name: "StreamExceptionPolicy"))
|
1229
1231
|
StatefulEngineOptions.struct_class = Types::StatefulEngineOptions
|
1230
1232
|
|
1231
1233
|
StatefulRuleGroup.add_member(:rule_group_name, Shapes::ShapeRef.new(shape: NetworkFirewallResourceName, location_name: "RuleGroupName"))
|
data/lib/aws-sdk-fms/types.rb
CHANGED
@@ -2668,6 +2668,9 @@ module Aws::FMS
|
|
2668
2668
|
# network ACLs that it creates.
|
2669
2669
|
#
|
2670
2670
|
# </note>
|
2671
|
+
#
|
2672
|
+
# You must specify at least one first entry or one last entry in any
|
2673
|
+
# network ACL policy.
|
2671
2674
|
# @return [Array<Types::NetworkAclEntry>]
|
2672
2675
|
#
|
2673
2676
|
# @!attribute [rw] force_remediate_for_first_entries
|
@@ -2678,13 +2681,12 @@ module Aws::FMS
|
|
2678
2681
|
#
|
2679
2682
|
# If forced remediation is disabled, Firewall Manager marks the
|
2680
2683
|
# network ACL as noncompliant and does not try to remediate. For more
|
2681
|
-
# information about the remediation behavior, see [
|
2682
|
-
#
|
2683
|
-
# Guide*.
|
2684
|
+
# information about the remediation behavior, see [Remediation for
|
2685
|
+
# managed network ACLs][1] in the *Firewall Manager Developer Guide*.
|
2684
2686
|
#
|
2685
2687
|
#
|
2686
2688
|
#
|
2687
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html
|
2689
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation
|
2688
2690
|
# @return [Boolean]
|
2689
2691
|
#
|
2690
2692
|
# @!attribute [rw] last_entries
|
@@ -2696,6 +2698,9 @@ module Aws::FMS
|
|
2696
2698
|
# network ACLs that it creates.
|
2697
2699
|
#
|
2698
2700
|
# </note>
|
2701
|
+
#
|
2702
|
+
# You must specify at least one first entry or one last entry in any
|
2703
|
+
# network ACL policy.
|
2699
2704
|
# @return [Array<Types::NetworkAclEntry>]
|
2700
2705
|
#
|
2701
2706
|
# @!attribute [rw] force_remediate_for_last_entries
|
@@ -2706,13 +2711,12 @@ module Aws::FMS
|
|
2706
2711
|
#
|
2707
2712
|
# If forced remediation is disabled, Firewall Manager marks the
|
2708
2713
|
# network ACL as noncompliant and does not try to remediate. For more
|
2709
|
-
# information about the remediation behavior, see [
|
2710
|
-
#
|
2711
|
-
# Guide*.
|
2714
|
+
# information about the remediation behavior, see [Remediation for
|
2715
|
+
# managed network ACLs][1] in the *Firewall Manager Developer Guide*.
|
2712
2716
|
#
|
2713
2717
|
#
|
2714
2718
|
#
|
2715
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html
|
2719
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation
|
2716
2720
|
# @return [Boolean]
|
2717
2721
|
#
|
2718
2722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/NetworkAclEntrySet AWS API Documentation
|
@@ -3531,7 +3535,7 @@ module Aws::FMS
|
|
3531
3535
|
# @return [Array<String>]
|
3532
3536
|
#
|
3533
3537
|
# @!attribute [rw] policy_description
|
3534
|
-
#
|
3538
|
+
# Your description of the Firewall Manager policy.
|
3535
3539
|
# @return [String]
|
3536
3540
|
#
|
3537
3541
|
# @!attribute [rw] policy_status
|
@@ -4429,6 +4433,13 @@ module Aws::FMS
|
|
4429
4433
|
# specified tags to be included or excluded. For more information, see
|
4430
4434
|
# [Working with Tag Editor][1].
|
4431
4435
|
#
|
4436
|
+
# Every resource tag must have a string value, either a non-empty string
|
4437
|
+
# or an empty string. If you don't provide a value for a resource tag,
|
4438
|
+
# Firewall Manager saves the value as an empty string: "". When
|
4439
|
+
# Firewall Manager compares tags, it only matches two tags if they have
|
4440
|
+
# the same key and the same value. A tag with an empty string value only
|
4441
|
+
# matches with tags that also have an empty string value.
|
4442
|
+
#
|
4432
4443
|
#
|
4433
4444
|
#
|
4434
4445
|
# [1]: https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html
|
@@ -4438,7 +4449,8 @@ module Aws::FMS
|
|
4438
4449
|
# @return [String]
|
4439
4450
|
#
|
4440
4451
|
# @!attribute [rw] value
|
4441
|
-
# The resource tag value.
|
4452
|
+
# The resource tag value. To specify an empty string value, either
|
4453
|
+
# don't provide this or specify it as "".
|
4442
4454
|
# @return [String]
|
4443
4455
|
#
|
4444
4456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ResourceTag AWS API Documentation
|
@@ -5138,21 +5150,63 @@ module Aws::FMS
|
|
5138
5150
|
#
|
5139
5151
|
# @!attribute [rw] rule_order
|
5140
5152
|
# Indicates how to manage the order of stateful rule evaluation for
|
5141
|
-
# the policy.
|
5142
|
-
#
|
5143
|
-
#
|
5144
|
-
#
|
5145
|
-
#
|
5153
|
+
# the policy. Stateful rules are provided to the rule engine as
|
5154
|
+
# Suricata compatible strings, and Suricata evaluates them based on
|
5155
|
+
# certain settings. For more information, see [Evaluation order for
|
5156
|
+
# stateful rules][1] in the *Network Firewall Developer Guide*.
|
5157
|
+
#
|
5158
|
+
# Default: `DEFAULT_ACTION_ORDER`
|
5146
5159
|
#
|
5147
5160
|
#
|
5148
5161
|
#
|
5149
5162
|
# [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html
|
5150
5163
|
# @return [String]
|
5151
5164
|
#
|
5165
|
+
# @!attribute [rw] stream_exception_policy
|
5166
|
+
# Indicates how Network Firewall should handle traffic when a network
|
5167
|
+
# connection breaks midstream.
|
5168
|
+
#
|
5169
|
+
# * `DROP` - Fail closed and drop all subsequent traffic going to the
|
5170
|
+
# firewall.
|
5171
|
+
#
|
5172
|
+
# * `CONTINUE` - Continue to apply rules to subsequent traffic without
|
5173
|
+
# context from traffic before the break. This impacts the behavior
|
5174
|
+
# of rules that depend on context. For example, with a stateful rule
|
5175
|
+
# that drops HTTP traffic, Network Firewall won't match subsequent
|
5176
|
+
# traffic because the it won't have the context from session
|
5177
|
+
# initialization, which defines the application layer protocol as
|
5178
|
+
# HTTP. However, a TCP-layer rule using a `flow:stateless` rule
|
5179
|
+
# would still match, and so would the `aws:drop_strict` default
|
5180
|
+
# action.
|
5181
|
+
#
|
5182
|
+
# * `REJECT` - Fail closed and drop all subsequent traffic going to
|
5183
|
+
# the firewall. With this option, Network Firewall also sends a TCP
|
5184
|
+
# reject packet back to the client so the client can immediately
|
5185
|
+
# establish a new session. With the new session, Network Firewall
|
5186
|
+
# will have context and will apply rules appropriately.
|
5187
|
+
#
|
5188
|
+
# For applications that are reliant on long-lived TCP connections
|
5189
|
+
# that trigger Gateway Load Balancer idle timeouts, this is the
|
5190
|
+
# recommended setting.
|
5191
|
+
#
|
5192
|
+
# * `FMS_IGNORE` - Firewall Manager doesn't monitor or modify the
|
5193
|
+
# Network Firewall stream exception policy settings.
|
5194
|
+
#
|
5195
|
+
# For more information, see [Stream exception policy in your firewall
|
5196
|
+
# policy][1] in the *Network Firewall Developer Guide*.
|
5197
|
+
#
|
5198
|
+
# Default: `FMS_IGNORE`
|
5199
|
+
#
|
5200
|
+
#
|
5201
|
+
#
|
5202
|
+
# [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/stream-exception-policy.html
|
5203
|
+
# @return [String]
|
5204
|
+
#
|
5152
5205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/StatefulEngineOptions AWS API Documentation
|
5153
5206
|
#
|
5154
5207
|
class StatefulEngineOptions < Struct.new(
|
5155
|
-
:rule_order
|
5208
|
+
:rule_order,
|
5209
|
+
:stream_exception_policy)
|
5156
5210
|
SENSITIVE = []
|
5157
5211
|
include Aws::Structure
|
5158
5212
|
end
|
data/lib/aws-sdk-fms.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -1135,6 +1135,7 @@ module Aws::FMS
|
|
1135
1135
|
|
1136
1136
|
class StatefulEngineOptions
|
1137
1137
|
attr_accessor rule_order: ("STRICT_ORDER" | "DEFAULT_ACTION_ORDER")
|
1138
|
+
attr_accessor stream_exception_policy: ("DROP" | "CONTINUE" | "REJECT" | "FMS_IGNORE")
|
1138
1139
|
SENSITIVE: []
|
1139
1140
|
end
|
1140
1141
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-fms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.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: 2024-
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|