aws-sdk-fms 1.39.0 → 1.43.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fms/client.rb +14 -1
- data/lib/aws-sdk-fms/client_api.rb +2 -0
- data/lib/aws-sdk-fms/types.rb +30 -2
- data/lib/aws-sdk-fms.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 289318abe4d524870dc40b0aa24e9b4baa2d1d8b8453956a3a3ba59624b5bfe7
|
4
|
+
data.tar.gz: ae232a88f7e060e0d31adb346c4fafbeb68dfeab25d2a0f8d6fccad322975601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10834ec6a172e46b7ce3a50bd04cabbcad46c9bb8832533b57b1628cf295c32a5f5a539d1f018ce2b516f66f08f432dd57bcbbcc26ed2ac7514dec12736acc49
|
7
|
+
data.tar.gz: 4d20f316e9cff2767087c54baddc62c055bf554e598867ad3ce3eee83ac26ec1046b5762a9f87dbf7380b079b8ebcdd86d4a0ad6e4a74d113ad1da587b456531
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.42.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.41.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.40.0 (2021-08-25)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - AWS Firewall Manager now supports triggering resource cleanup workflow when account or resource goes out of policy scope for AWS WAF, Security group, AWS Network Firewall, and Amazon Route 53 Resolver DNS Firewall policies.
|
23
|
+
|
4
24
|
1.39.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -285,6 +285,15 @@ module Aws::FMS
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -693,6 +702,7 @@ module Aws::FMS
|
|
693
702
|
# resp.policy.resource_tags[0].value #=> String
|
694
703
|
# resp.policy.exclude_resource_tags #=> Boolean
|
695
704
|
# resp.policy.remediation_enabled #=> Boolean
|
705
|
+
# resp.policy.delete_unused_fm_managed_resources #=> Boolean
|
696
706
|
# resp.policy.include_map #=> Hash
|
697
707
|
# resp.policy.include_map["CustomerPolicyScopeIdType"] #=> Array
|
698
708
|
# resp.policy.include_map["CustomerPolicyScopeIdType"][0] #=> String
|
@@ -1349,6 +1359,7 @@ module Aws::FMS
|
|
1349
1359
|
# resp.policy_list[0].resource_type #=> String
|
1350
1360
|
# resp.policy_list[0].security_service_type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT", "NETWORK_FIREWALL", "DNS_FIREWALL"
|
1351
1361
|
# resp.policy_list[0].remediation_enabled #=> Boolean
|
1362
|
+
# resp.policy_list[0].delete_unused_fm_managed_resources #=> Boolean
|
1352
1363
|
# resp.next_token #=> String
|
1353
1364
|
#
|
1354
1365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListPolicies AWS API Documentation
|
@@ -1628,6 +1639,7 @@ module Aws::FMS
|
|
1628
1639
|
# ],
|
1629
1640
|
# exclude_resource_tags: false, # required
|
1630
1641
|
# remediation_enabled: false, # required
|
1642
|
+
# delete_unused_fm_managed_resources: false,
|
1631
1643
|
# include_map: {
|
1632
1644
|
# "ACCOUNT" => ["CustomerPolicyScopeId"],
|
1633
1645
|
# },
|
@@ -1658,6 +1670,7 @@ module Aws::FMS
|
|
1658
1670
|
# resp.policy.resource_tags[0].value #=> String
|
1659
1671
|
# resp.policy.exclude_resource_tags #=> Boolean
|
1660
1672
|
# resp.policy.remediation_enabled #=> Boolean
|
1673
|
+
# resp.policy.delete_unused_fm_managed_resources #=> Boolean
|
1661
1674
|
# resp.policy.include_map #=> Hash
|
1662
1675
|
# resp.policy.include_map["CustomerPolicyScopeIdType"] #=> Array
|
1663
1676
|
# resp.policy.include_map["CustomerPolicyScopeIdType"][0] #=> String
|
@@ -1807,7 +1820,7 @@ module Aws::FMS
|
|
1807
1820
|
params: params,
|
1808
1821
|
config: config)
|
1809
1822
|
context[:gem_name] = 'aws-sdk-fms'
|
1810
|
-
context[:gem_version] = '1.
|
1823
|
+
context[:gem_version] = '1.43.0'
|
1811
1824
|
Seahorse::Client::Request.new(handlers, context)
|
1812
1825
|
end
|
1813
1826
|
|
@@ -593,6 +593,7 @@ module Aws::FMS
|
|
593
593
|
Policy.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "ResourceTags"))
|
594
594
|
Policy.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ExcludeResourceTags"))
|
595
595
|
Policy.add_member(:remediation_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RemediationEnabled"))
|
596
|
+
Policy.add_member(:delete_unused_fm_managed_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteUnusedFMManagedResources"))
|
596
597
|
Policy.add_member(:include_map, Shapes::ShapeRef.new(shape: CustomerPolicyScopeMap, location_name: "IncludeMap"))
|
597
598
|
Policy.add_member(:exclude_map, Shapes::ShapeRef.new(shape: CustomerPolicyScopeMap, location_name: "ExcludeMap"))
|
598
599
|
Policy.struct_class = Types::Policy
|
@@ -623,6 +624,7 @@ module Aws::FMS
|
|
623
624
|
PolicySummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
624
625
|
PolicySummary.add_member(:security_service_type, Shapes::ShapeRef.new(shape: SecurityServiceType, location_name: "SecurityServiceType"))
|
625
626
|
PolicySummary.add_member(:remediation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "RemediationEnabled"))
|
627
|
+
PolicySummary.add_member(:delete_unused_fm_managed_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteUnusedFMManagedResources"))
|
626
628
|
PolicySummary.struct_class = Types::PolicySummary
|
627
629
|
|
628
630
|
PolicySummaryList.member = Shapes::ShapeRef.new(shape: PolicySummary)
|
data/lib/aws-sdk-fms/types.rb
CHANGED
@@ -2115,6 +2115,7 @@ module Aws::FMS
|
|
2115
2115
|
# ],
|
2116
2116
|
# exclude_resource_tags: false, # required
|
2117
2117
|
# remediation_enabled: false, # required
|
2118
|
+
# delete_unused_fm_managed_resources: false,
|
2118
2119
|
# include_map: {
|
2119
2120
|
# "ACCOUNT" => ["CustomerPolicyScopeId"],
|
2120
2121
|
# },
|
@@ -2189,6 +2190,15 @@ module Aws::FMS
|
|
2189
2190
|
# resources.
|
2190
2191
|
# @return [Boolean]
|
2191
2192
|
#
|
2193
|
+
# @!attribute [rw] delete_unused_fm_managed_resources
|
2194
|
+
# Indicates whether Firewall Manager should delete Firewall Manager
|
2195
|
+
# managed resources, such as web ACLs and security groups, when they
|
2196
|
+
# are not in use by the Firewall Manager policy. By default, Firewall
|
2197
|
+
# Manager doesn't delete unused Firewall Manager managed resources.
|
2198
|
+
# This option is not available for Shield Advanced or WAF Classic
|
2199
|
+
# policies.
|
2200
|
+
# @return [Boolean]
|
2201
|
+
#
|
2192
2202
|
# @!attribute [rw] include_map
|
2193
2203
|
# Specifies the Amazon Web Services account IDs and Organizations
|
2194
2204
|
# organizational units (OUs) to include in the policy. Specifying an
|
@@ -2261,6 +2271,7 @@ module Aws::FMS
|
|
2261
2271
|
:resource_tags,
|
2262
2272
|
:exclude_resource_tags,
|
2263
2273
|
:remediation_enabled,
|
2274
|
+
:delete_unused_fm_managed_resources,
|
2264
2275
|
:include_map,
|
2265
2276
|
:exclude_map)
|
2266
2277
|
SENSITIVE = []
|
@@ -2415,6 +2426,15 @@ module Aws::FMS
|
|
2415
2426
|
# resources.
|
2416
2427
|
# @return [Boolean]
|
2417
2428
|
#
|
2429
|
+
# @!attribute [rw] delete_unused_fm_managed_resources
|
2430
|
+
# Indicates whether Firewall Manager should delete Firewall Manager
|
2431
|
+
# managed resources, such as web ACLs and security groups, when they
|
2432
|
+
# are not in use by the Firewall Manager policy. By default, Firewall
|
2433
|
+
# Manager doesn't delete unused Firewall Manager managed resources.
|
2434
|
+
# This option is not available for Shield Advanced or WAF Classic
|
2435
|
+
# policies.
|
2436
|
+
# @return [Boolean]
|
2437
|
+
#
|
2418
2438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PolicySummary AWS API Documentation
|
2419
2439
|
#
|
2420
2440
|
class PolicySummary < Struct.new(
|
@@ -2423,7 +2443,8 @@ module Aws::FMS
|
|
2423
2443
|
:policy_name,
|
2424
2444
|
:resource_type,
|
2425
2445
|
:security_service_type,
|
2426
|
-
:remediation_enabled
|
2446
|
+
:remediation_enabled,
|
2447
|
+
:delete_unused_fm_managed_resources)
|
2427
2448
|
SENSITIVE = []
|
2428
2449
|
include Aws::Structure
|
2429
2450
|
end
|
@@ -2682,6 +2703,7 @@ module Aws::FMS
|
|
2682
2703
|
# ],
|
2683
2704
|
# exclude_resource_tags: false, # required
|
2684
2705
|
# remediation_enabled: false, # required
|
2706
|
+
# delete_unused_fm_managed_resources: false,
|
2685
2707
|
# include_map: {
|
2686
2708
|
# "ACCOUNT" => ["CustomerPolicyScopeId"],
|
2687
2709
|
# },
|
@@ -3157,6 +3179,12 @@ module Aws::FMS
|
|
3157
3179
|
#
|
3158
3180
|
# `"\{"type":"DNS_FIREWALL","preProcessRuleGroups":[\{"ruleGroupId":"rslvr-frg-1","priority":10\}],"postProcessRuleGroups":[\{"ruleGroupId":"rslvr-frg-2","priority":9911\}]\}"`
|
3159
3181
|
#
|
3182
|
+
# <note markdown="1"> Valid values for `preProcessRuleGroups` are between 1 and 99.
|
3183
|
+
# Valid values for `postProcessRuleGroups` are between 9901 and
|
3184
|
+
# 10000.
|
3185
|
+
#
|
3186
|
+
# </note>
|
3187
|
+
#
|
3160
3188
|
# * Example: `NETWORK_FIREWALL`
|
3161
3189
|
#
|
3162
3190
|
# `"\{"type":"NETWORK_FIREWALL","networkFirewallStatelessRuleGroupReferences":[\{"resourceARN":"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2","priority":10\}],"networkFirewallStatelessDefaultActions":["aws:pass","custom1"],"networkFirewallStatelessFragmentDefaultActions":["custom2","aws:pass"],"networkFirewallStatelessCustomActions":[\{"actionName":"custom1","actionDefinition":\{"publishMetricAction":\{"dimensions":[\{"value":"dimension1"\}]\}\}\},\{"actionName":"custom2","actionDefinition":\{"publishMetricAction":\{"dimensions":[\{"value":"dimension2"\}]\}\}\}],"networkFirewallStatefulRuleGroupReferences":[\{"resourceARN":"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1"\}],"networkFirewallOrchestrationConfig":\{"singleFirewallEndpointPerVPC":true,"allowedIPV4CidrList":["10.24.34.0/28"]\}
|
@@ -3164,7 +3192,7 @@ module Aws::FMS
|
|
3164
3192
|
#
|
3165
3193
|
# * Example: `WAFV2`
|
3166
3194
|
#
|
3167
|
-
# `"\{"type":"WAFV2","preProcessRuleGroups":[\{"ruleGroupArn":null,"overrideAction":\{"type":"NONE"\},"managedRuleGroupIdentifier":\{"version":null,"vendorName":"AWS","managedRuleGroupName":"AWSManagedRulesAmazonIpReputationList"\},"ruleGroupType":"ManagedRuleGroup","excludeRules":[]\}],"postProcessRuleGroups":[],"defaultAction":\{"type":"ALLOW"\},"overrideCustomerWebACLAssociation":false,"loggingConfiguration":\{"logDestinationConfigs":["arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination"],"redactedFields":[\{"redactedFieldType":"SingleHeader","redactedFieldValue":"Cookies"\},\{"redactedFieldType":"Method"\}]\}\}"`
|
3195
|
+
# `"\{"type":"WAFV2","preProcessRuleGroups":[\{"ruleGroupArn":null,"overrideAction":\{"type":"NONE"\},"managedRuleGroupIdentifier":\{"version":null,"vendorName":"AWS","managedRuleGroupName":"AWSManagedRulesAmazonIpReputationList"\},"ruleGroupType":"ManagedRuleGroup","excludeRules":[\{"name":"NoUserAgent_HEADER"\}]\}],"postProcessRuleGroups":[],"defaultAction":\{"type":"ALLOW"\},"overrideCustomerWebACLAssociation":false,"loggingConfiguration":\{"logDestinationConfigs":["arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination"],"redactedFields":[\{"redactedFieldType":"SingleHeader","redactedFieldValue":"Cookies"\},\{"redactedFieldType":"Method"\}]\}\}"`
|
3168
3196
|
#
|
3169
3197
|
# In the `loggingConfiguration`, you can specify one
|
3170
3198
|
# `logDestinationConfigs`, you can optionally provide up to 20
|
data/lib/aws-sdk-fms.rb
CHANGED
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.43.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: 2021-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|