aws-sdk-fms 1.67.0 → 1.68.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -226,7 +226,7 @@ module Aws
226
226
  interface _GetProtectionStatusResponseSuccess
227
227
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProtectionStatusResponse]
228
228
  def admin_account_id: () -> ::String
229
- def service_type: () -> ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")
229
+ def service_type: () -> ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")
230
230
  def next_token: () -> ::String
231
231
  end
232
232
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_protection_status-instance_method
@@ -455,7 +455,7 @@ module Aws
455
455
  all_regions_enabled: bool?
456
456
  }?,
457
457
  policy_type_scope: {
458
- policy_types: Array[("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")]?,
458
+ policy_types: Array[("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")]?,
459
459
  all_policy_types_enabled: bool?
460
460
  }?
461
461
  }
@@ -518,7 +518,7 @@ module Aws
518
518
  policy_name: ::String,
519
519
  policy_update_token: ::String?,
520
520
  security_service_policy_data: {
521
- type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL"),
521
+ type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON"),
522
522
  managed_service_data: ::String?,
523
523
  policy_option: {
524
524
  network_firewall_policy: {
@@ -526,6 +526,46 @@ module Aws
526
526
  }?,
527
527
  third_party_firewall_policy: {
528
528
  firewall_deployment_model: ("CENTRALIZED" | "DISTRIBUTED")?
529
+ }?,
530
+ network_acl_common_policy: {
531
+ network_acl_entry_set: {
532
+ first_entries: Array[
533
+ {
534
+ icmp_type_code: {
535
+ code: ::Integer?,
536
+ type: ::Integer?
537
+ }?,
538
+ protocol: ::String,
539
+ port_range: {
540
+ from: ::Integer?,
541
+ to: ::Integer?
542
+ }?,
543
+ cidr_block: ::String?,
544
+ ipv_6_cidr_block: ::String?,
545
+ rule_action: ("allow" | "deny"),
546
+ egress: bool
547
+ },
548
+ ]?,
549
+ force_remediate_for_first_entries: bool,
550
+ last_entries: Array[
551
+ {
552
+ icmp_type_code: {
553
+ code: ::Integer?,
554
+ type: ::Integer?
555
+ }?,
556
+ protocol: ::String,
557
+ port_range: {
558
+ from: ::Integer?,
559
+ to: ::Integer?
560
+ }?,
561
+ cidr_block: ::String?,
562
+ ipv_6_cidr_block: ::String?,
563
+ rule_action: ("allow" | "deny"),
564
+ egress: bool
565
+ },
566
+ ]?,
567
+ force_remediate_for_last_entries: bool
568
+ }
529
569
  }?
530
570
  }?
531
571
  },
data/sig/types.rbs CHANGED
@@ -123,17 +123,40 @@ module Aws::FMS
123
123
 
124
124
  class ComplianceViolator
125
125
  attr_accessor resource_id: ::String
126
- attr_accessor violation_reason: ("WEB_ACL_MISSING_RULE_GROUP" | "RESOURCE_MISSING_WEB_ACL" | "RESOURCE_INCORRECT_WEB_ACL" | "RESOURCE_MISSING_SHIELD_PROTECTION" | "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" | "RESOURCE_MISSING_SECURITY_GROUP" | "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" | "SECURITY_GROUP_UNUSED" | "SECURITY_GROUP_REDUNDANT" | "FMS_CREATED_SECURITY_GROUP_EDITED" | "MISSING_FIREWALL" | "MISSING_FIREWALL_SUBNET_IN_AZ" | "MISSING_EXPECTED_ROUTE_TABLE" | "NETWORK_FIREWALL_POLICY_MODIFIED" | "FIREWALL_SUBNET_IS_OUT_OF_SCOPE" | "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE" | "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE" | "UNEXPECTED_FIREWALL_ROUTES" | "UNEXPECTED_TARGET_GATEWAY_ROUTES" | "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY" | "INVALID_ROUTE_CONFIGURATION" | "MISSING_TARGET_GATEWAY" | "INTERNET_TRAFFIC_NOT_INSPECTED" | "BLACK_HOLE_ROUTE_DETECTED" | "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET" | "RESOURCE_MISSING_DNS_FIREWALL" | "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT" | "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT")
126
+ attr_accessor violation_reason: ("WEB_ACL_MISSING_RULE_GROUP" | "RESOURCE_MISSING_WEB_ACL" | "RESOURCE_INCORRECT_WEB_ACL" | "RESOURCE_MISSING_SHIELD_PROTECTION" | "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" | "RESOURCE_MISSING_SECURITY_GROUP" | "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" | "SECURITY_GROUP_UNUSED" | "SECURITY_GROUP_REDUNDANT" | "FMS_CREATED_SECURITY_GROUP_EDITED" | "MISSING_FIREWALL" | "MISSING_FIREWALL_SUBNET_IN_AZ" | "MISSING_EXPECTED_ROUTE_TABLE" | "NETWORK_FIREWALL_POLICY_MODIFIED" | "FIREWALL_SUBNET_IS_OUT_OF_SCOPE" | "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE" | "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE" | "UNEXPECTED_FIREWALL_ROUTES" | "UNEXPECTED_TARGET_GATEWAY_ROUTES" | "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY" | "INVALID_ROUTE_CONFIGURATION" | "MISSING_TARGET_GATEWAY" | "INTERNET_TRAFFIC_NOT_INSPECTED" | "BLACK_HOLE_ROUTE_DETECTED" | "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET" | "RESOURCE_MISSING_DNS_FIREWALL" | "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT" | "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT" | "INVALID_NETWORK_ACL_ENTRY")
127
127
  attr_accessor resource_type: ::String
128
128
  attr_accessor metadata: ::Hash[::String, ::String]
129
129
  SENSITIVE: []
130
130
  end
131
131
 
132
+ class CreateNetworkAclAction
133
+ attr_accessor description: ::String
134
+ attr_accessor vpc: Types::ActionTarget
135
+ attr_accessor fms_can_remediate: bool
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class CreateNetworkAclEntriesAction
140
+ attr_accessor description: ::String
141
+ attr_accessor network_acl_id: Types::ActionTarget
142
+ attr_accessor network_acl_entries_to_be_created: ::Array[Types::EntryDescription]
143
+ attr_accessor fms_can_remediate: bool
144
+ SENSITIVE: []
145
+ end
146
+
132
147
  class DeleteAppsListRequest
133
148
  attr_accessor list_id: ::String
134
149
  SENSITIVE: []
135
150
  end
136
151
 
152
+ class DeleteNetworkAclEntriesAction
153
+ attr_accessor description: ::String
154
+ attr_accessor network_acl_id: Types::ActionTarget
155
+ attr_accessor network_acl_entries_to_be_deleted: ::Array[Types::EntryDescription]
156
+ attr_accessor fms_can_remediate: bool
157
+ SENSITIVE: []
158
+ end
159
+
137
160
  class DeleteNotificationChannelRequest < Aws::EmptyStructure
138
161
  end
139
162
 
@@ -254,6 +277,23 @@ module Aws::FMS
254
277
  SENSITIVE: []
255
278
  end
256
279
 
280
+ class EntryDescription
281
+ attr_accessor entry_detail: Types::NetworkAclEntry
282
+ attr_accessor entry_rule_number: ::Integer
283
+ attr_accessor entry_type: ("FMS_MANAGED_FIRST_ENTRY" | "FMS_MANAGED_LAST_ENTRY" | "CUSTOM_ENTRY")
284
+ SENSITIVE: []
285
+ end
286
+
287
+ class EntryViolation
288
+ attr_accessor expected_entry: Types::EntryDescription
289
+ attr_accessor expected_evaluation_order: ::String
290
+ attr_accessor actual_evaluation_order: ::String
291
+ attr_accessor entry_at_expected_evaluation_order: Types::EntryDescription
292
+ attr_accessor entries_with_conflicts: ::Array[Types::EntryDescription]
293
+ attr_accessor entry_violation_reasons: ::Array[("MISSING_EXPECTED_ENTRY" | "INCORRECT_ENTRY_ORDER" | "ENTRY_CONFLICT")]
294
+ SENSITIVE: []
295
+ end
296
+
257
297
  class EvaluationResult
258
298
  attr_accessor compliance_status: ("COMPLIANT" | "NON_COMPLIANT")
259
299
  attr_accessor violator_count: ::Integer
@@ -375,7 +415,7 @@ module Aws::FMS
375
415
 
376
416
  class GetProtectionStatusResponse
377
417
  attr_accessor admin_account_id: ::String
378
- attr_accessor service_type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")
418
+ attr_accessor service_type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")
379
419
  attr_accessor data: ::String
380
420
  attr_accessor next_token: ::String
381
421
  SENSITIVE: []
@@ -438,6 +478,15 @@ module Aws::FMS
438
478
  SENSITIVE: []
439
479
  end
440
480
 
481
+ class InvalidNetworkAclEntriesViolation
482
+ attr_accessor vpc: ::String
483
+ attr_accessor subnet: ::String
484
+ attr_accessor subnet_availability_zone: ::String
485
+ attr_accessor current_associated_network_acl: ::String
486
+ attr_accessor entry_violations: ::Array[Types::EntryViolation]
487
+ SENSITIVE: []
488
+ end
489
+
441
490
  class InvalidOperationException
442
491
  attr_accessor message: ::String
443
492
  SENSITIVE: []
@@ -602,6 +651,42 @@ module Aws::FMS
602
651
  SENSITIVE: []
603
652
  end
604
653
 
654
+ class NetworkAclCommonPolicy
655
+ attr_accessor network_acl_entry_set: Types::NetworkAclEntrySet
656
+ SENSITIVE: []
657
+ end
658
+
659
+ class NetworkAclEntry
660
+ attr_accessor icmp_type_code: Types::NetworkAclIcmpTypeCode
661
+ attr_accessor protocol: ::String
662
+ attr_accessor port_range: Types::NetworkAclPortRange
663
+ attr_accessor cidr_block: ::String
664
+ attr_accessor ipv_6_cidr_block: ::String
665
+ attr_accessor rule_action: ("allow" | "deny")
666
+ attr_accessor egress: bool
667
+ SENSITIVE: []
668
+ end
669
+
670
+ class NetworkAclEntrySet
671
+ attr_accessor first_entries: ::Array[Types::NetworkAclEntry]
672
+ attr_accessor force_remediate_for_first_entries: bool
673
+ attr_accessor last_entries: ::Array[Types::NetworkAclEntry]
674
+ attr_accessor force_remediate_for_last_entries: bool
675
+ SENSITIVE: []
676
+ end
677
+
678
+ class NetworkAclIcmpTypeCode
679
+ attr_accessor code: ::Integer
680
+ attr_accessor type: ::Integer
681
+ SENSITIVE: []
682
+ end
683
+
684
+ class NetworkAclPortRange
685
+ attr_accessor from: ::Integer
686
+ attr_accessor to: ::Integer
687
+ SENSITIVE: []
688
+ end
689
+
605
690
  class NetworkFirewallBlackHoleRouteDetectedViolation
606
691
  attr_accessor violation_target: ::String
607
692
  attr_accessor route_table_id: ::String
@@ -783,6 +868,7 @@ module Aws::FMS
783
868
  class PolicyOption
784
869
  attr_accessor network_firewall_policy: Types::NetworkFirewallPolicy
785
870
  attr_accessor third_party_firewall_policy: Types::ThirdPartyFirewallPolicy
871
+ attr_accessor network_acl_common_policy: Types::NetworkAclCommonPolicy
786
872
  SENSITIVE: []
787
873
  end
788
874
 
@@ -791,7 +877,7 @@ module Aws::FMS
791
877
  attr_accessor policy_id: ::String
792
878
  attr_accessor policy_name: ::String
793
879
  attr_accessor resource_type: ::String
794
- attr_accessor security_service_type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")
880
+ attr_accessor security_service_type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")
795
881
  attr_accessor remediation_enabled: bool
796
882
  attr_accessor delete_unused_fm_managed_resources: bool
797
883
  attr_accessor policy_status: ("ACTIVE" | "OUT_OF_ADMIN_SCOPE")
@@ -799,7 +885,7 @@ module Aws::FMS
799
885
  end
800
886
 
801
887
  class PolicyTypeScope
802
- attr_accessor policy_types: ::Array[("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")]
888
+ attr_accessor policy_types: ::Array[("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")]
803
889
  attr_accessor all_policy_types_enabled: bool
804
890
  SENSITIVE: []
805
891
  end
@@ -912,6 +998,10 @@ module Aws::FMS
912
998
  attr_accessor ec2_associate_route_table_action: Types::EC2AssociateRouteTableAction
913
999
  attr_accessor ec2_create_route_table_action: Types::EC2CreateRouteTableAction
914
1000
  attr_accessor fms_policy_update_firewall_creation_config_action: Types::FMSPolicyUpdateFirewallCreationConfigAction
1001
+ attr_accessor create_network_acl_action: Types::CreateNetworkAclAction
1002
+ attr_accessor replace_network_acl_association_action: Types::ReplaceNetworkAclAssociationAction
1003
+ attr_accessor create_network_acl_entries_action: Types::CreateNetworkAclEntriesAction
1004
+ attr_accessor delete_network_acl_entries_action: Types::DeleteNetworkAclEntriesAction
915
1005
  SENSITIVE: []
916
1006
  end
917
1007
 
@@ -921,6 +1011,14 @@ module Aws::FMS
921
1011
  SENSITIVE: []
922
1012
  end
923
1013
 
1014
+ class ReplaceNetworkAclAssociationAction
1015
+ attr_accessor description: ::String
1016
+ attr_accessor association_id: Types::ActionTarget
1017
+ attr_accessor network_acl_id: Types::ActionTarget
1018
+ attr_accessor fms_can_remediate: bool
1019
+ SENSITIVE: []
1020
+ end
1021
+
924
1022
  class Resource
925
1023
  attr_accessor uri: ::String
926
1024
  attr_accessor account_id: ::String
@@ -975,13 +1073,14 @@ module Aws::FMS
975
1073
  attr_accessor dns_rule_group_priority_conflict_violation: Types::DnsRuleGroupPriorityConflictViolation
976
1074
  attr_accessor dns_duplicate_rule_group_violation: Types::DnsDuplicateRuleGroupViolation
977
1075
  attr_accessor dns_rule_group_limit_exceeded_violation: Types::DnsRuleGroupLimitExceededViolation
978
- attr_accessor possible_remediation_actions: Types::PossibleRemediationActions
979
1076
  attr_accessor firewall_subnet_is_out_of_scope_violation: Types::FirewallSubnetIsOutOfScopeViolation
980
1077
  attr_accessor route_has_out_of_scope_endpoint_violation: Types::RouteHasOutOfScopeEndpointViolation
981
1078
  attr_accessor third_party_firewall_missing_firewall_violation: Types::ThirdPartyFirewallMissingFirewallViolation
982
1079
  attr_accessor third_party_firewall_missing_subnet_violation: Types::ThirdPartyFirewallMissingSubnetViolation
983
1080
  attr_accessor third_party_firewall_missing_expected_route_table_violation: Types::ThirdPartyFirewallMissingExpectedRouteTableViolation
984
1081
  attr_accessor firewall_subnet_missing_vpc_endpoint_violation: Types::FirewallSubnetMissingVPCEndpointViolation
1082
+ attr_accessor invalid_network_acl_entries_violation: Types::InvalidNetworkAclEntriesViolation
1083
+ attr_accessor possible_remediation_actions: Types::PossibleRemediationActions
985
1084
  SENSITIVE: []
986
1085
  end
987
1086
 
@@ -1028,7 +1127,7 @@ module Aws::FMS
1028
1127
  end
1029
1128
 
1030
1129
  class SecurityServicePolicyData
1031
- attr_accessor type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL")
1130
+ attr_accessor type: ("WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON")
1032
1131
  attr_accessor managed_service_data: ::String
1033
1132
  attr_accessor policy_option: Types::PolicyOption
1034
1133
  SENSITIVE: []
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.67.0
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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement