AWS network-firewall: Document IAM actions and least-privilege scoping for Next Generation policies
Summary
Adds a section describing the new V2 policy actions (CreateFirewallPolicyV2, UpdateFirewallPolicyV2, etc.), notes that rule groups reuse existing rule group actions, and explains dependent permissions (ListRuleGroups, ListTLSInspectionConfigurations, TagResource, AssociateFirewallPolicy) plus the ARN formats needed to scope them.
Security assessment
The added content is IAM least-privilege guidance: it enumerates the policy actions required for Next Generation policies and the implicit dependent permissions, and gives ARN formats so administrators can scope permissions narrowly instead of granting broad access. This is security documentation, not a fix for a specific vulnerability.
Evidence
When you grant least-privilege permissions for Next Generation policies, some actions authorize additional actions on the resources that they reference:
Diff
diff --git a/network-firewall/latest/developerguide/security_iam_service-with-iam.md b/network-firewall/latest/developerguide/security_iam_service-with-iam.md index 6e32983..a8ac0af 100644 --- a//network-firewall/latest/developerguide/security_iam_service-with-iam.md +++ b//network-firewall/latest/developerguide/security_iam_service-with-iam.md @@ -86,0 +87,24 @@ To view examples of Network Firewall identity-based policies, see [Identity-base +Network Firewall provides a distinct set of policy actions for working with Next Generation policies, in addition to the actions for Classic Network Firewall policies. These include `CreateFirewallPolicyV2`, `UpdateFirewallPolicyV2`, `DeleteFirewallPolicyV2`, `DescribeFirewallPolicyV2`, and `ListFirewallPoliciesV2`. To grant a principal permission to work with Next Generation policies, include these actions in your policy. For more information about Next Generation policies, see [Next Generation policies](./firewall-policies-v2.html). + +###### Note + +The rule groups that you use in a Next Generation policy—firewall rule groups and IPS rule groups—use the same rule group policy actions as Classic Network Firewall rule groups, such as `CreateRuleGroup`, `UpdateRuleGroup`, `DescribeRuleGroup`, `DeleteRuleGroup`, and `ListRuleGroups`. There are no separate policy actions for the firewall engine and IPS rule group types. + +When you grant least-privilege permissions for Next Generation policies, some actions authorize additional actions on the resources that they reference: + + * `CreateFirewallPolicyV2` and `UpdateFirewallPolicyV2` also authorize `network-firewall:ListRuleGroups` on each referenced `firewall-rulegroup/` and `ips-rulegroup/` ARN, and `network-firewall:ListTLSInspectionConfigurations` on the TLS inspection configuration ARN. + + * Passing `Tags` when you create a policy requires `network-firewall:TagResource` on the new `firewall-policy-v2/` ARN. + + * Attaching a Next Generation policy to a firewall requires `network-firewall:AssociateFirewallPolicy` on the `firewall-policy-v2/` resource. An IAM policy that is scoped only to Classic `firewall-policy/*` resources doesn't grant this permission. + + + + +To scope these permissions, use the following ARN formats: + + + arn:aws:network-firewall:region:account-id:firewall-policy-v2/name + arn:aws:network-firewall:region:account-id:firewall-rulegroup/name + arn:aws:network-firewall:region:account-id:ips-rulegroup/name +