Network Firewall was one of the namespaces the request-resources table left unread ("a later batch"), so every request
of it was checked on *: a grant scoped to a firewall's ARN never matched, a deny scoped to one never held, and an
aws:ResourceTag condition read nothing. network-firewall joins the table now, so each request is checked on the
resources the Service Reference gives its action, read from the request: a firewall or a firewall policy by its ARN
or by the name its ARN ends in (firewall/<name>, firewall-policy/<name>, as Floci mints them), a rule group by its ARN,
and a tag call on its ResourceArn. A rule group named by its name and type alone is checked on *, and CreateRuleGroup
on the rule group its SourceMetadata.SourceArn names or else on *, as the generated table reads them.
The generator stopped on network-firewall. with_through reads CreateFirewall's VpcId as naming a firewall, as the
model's VpcEndpointAssociation structure holds a VpcId beside a FirewallArn, and with_made then marked that through
row made, a key the table's own check refuses on a through row. A resource a create names through another member
exists already, as one it names by its ARN does, so with_made no longer marks a through row; no other namespace's rows
change. The VpcId row stands as generated: Network Firewall answers no through lookup, so it adds no resource.
NetworkFirewallStoredResourceArns answers the tags Network Firewall keeps on the firewall, firewall policy or rule
group an ARN names, read in the ARN's account without moving it, which an aws:ResourceTag condition reads. It finds
nothing: the table builds a firewall's or a policy's ARN from its name, the ARN Floci mints.
IamRequestResourceEnforcementIntegrationTest checks that with no grant a firewall's read is refused, that a grant on
one firewall's ARN reads it by its name and by its ARN and refuses another, that a deny on one refuses it beside an
allow on every resource, and that an aws:ResourceTag condition reads the tags of a firewall and of a firewall policy a
tag call names. It also checks that a grant on one rule group's ARN reads it and refuses another, and the same rule
group named by its name and type, and that CreateFirewall is refused on a grant on every firewall alone and runs with
one on the firewall policy it names beside it. NetworkFirewallStoredTagsTest checks the stored tags of each kind, in
another account too.
4.0 KiB
AWS Network Firewall
Protocol: AWS JSON 1.0
Signing name: network-firewall
Floci persists Network Firewall rule groups, firewall policies, firewalls, and
logging configurations. Firewall status is immediately READY; endpoint IDs are
stable control-plane identifiers derived from the firewall ARN and its configured
subnets. Floci does not run a packet-inspection data plane.
Supported Actions
| Action | Description |
|---|---|
CreateRuleGroup |
Creates a stateful or stateless rule group. |
DescribeRuleGroup |
Returns a rule group's definition and metadata. |
UpdateRuleGroup |
Updates a rule group's rules and settings. |
DeleteRuleGroup |
Deletes the specified rule group. |
ListRuleGroups |
Lists the rule groups in the account. |
CreateFirewallPolicy |
Creates a firewall policy referencing rule groups. |
DescribeFirewallPolicy |
Returns a firewall policy's definition and metadata. |
UpdateFirewallPolicy |
Updates a firewall policy's definition. |
DeleteFirewallPolicy |
Deletes the specified firewall policy. |
ListFirewallPolicies |
Lists the firewall policies in the account. |
CreateFirewall |
Creates a firewall; status is immediately READY with stable endpoint IDs. |
DescribeFirewall |
Returns the firewall's configuration and sync state. |
DeleteFirewall |
Deletes the specified firewall. |
ListFirewalls |
Lists the firewalls in the account. |
UpdateFirewallDeleteProtection |
Sets the firewall's delete-protection flag. |
UpdateFirewallPolicyChangeProtection |
Sets the firewall's policy-change-protection flag. |
UpdateSubnetChangeProtection |
Sets the firewall's subnet-change-protection flag. |
UpdateAvailabilityZoneChangeProtection |
Sets the firewall's Availability-Zone-change-protection flag. |
UpdateFirewallDescription |
Updates the firewall's description. |
UpdateFirewallAnalysisSettings |
Updates the firewall's traffic-analysis settings. |
AssociateSubnets |
Attaches subnets to the firewall, creating endpoint attachments. |
DisassociateSubnets |
Detaches subnets from the firewall. |
AssociateAvailabilityZones |
Attaches Availability Zones to the firewall. |
DisassociateAvailabilityZones |
Detaches Availability Zones from the firewall. |
UpdateLoggingConfiguration |
Creates or updates the firewall's logging configuration. |
DescribeLoggingConfiguration |
Returns the firewall's logging configuration. |
AssociateFirewallPolicy |
Sets Firewall.FirewallPolicyArn on the stored firewall. |
TagResource |
Adds or replaces tags on a rule group, firewall policy or firewall. |
UntagResource |
Removes tags by key from a rule group, firewall policy or firewall. |
ListTagsForResource |
Lists a resource's tags; MaxResults and NextToken are ignored (the full list is returned). |
With IAM enforcement on, each action is checked on the resources the AWS Service Authorization
Reference lists for it, read from the request: a firewall by its FirewallArn or its FirewallName
and a firewall policy by its FirewallPolicyArn or its FirewallPolicyName, as
arn:aws:network-firewall:<region>:<account>:firewall/<name> and firewall-policy/<name>, the ARNs
Network Firewall mints, a rule group by its RuleGroupArn, and a tag call on its ResourceArn.
CreateFirewall and CreateFirewallPolicy are checked on the ARN they make, CreateFirewall also on
the policy its FirewallPolicyArn names. A rule group named by its RuleGroupName and Type alone is
checked on *, and CreateRuleGroup on the rule group its SourceMetadata.SourceArn names or else on
*, as the generated table reads them. An aws:ResourceTag condition reads the tags Floci keeps on the
firewall, firewall policy or rule group.
Limitations
AssociateFirewallPolicydoes not validateFirewallPolicyChangeProtection. AWS rejects the call when the firewall has policy-change protection enabled; Floci applies the newFirewallPolicyArnunconditionally.