Moving Firewalls in a Web Application Firewall Policy Between Compartments
Move a firewall contained within a web application firewall policy to a different compartment.
- On the Policies list page, select the WAF policy that contains the firewalls that you want to work with. If you need help finding the list page or the policy, see Listing Web Application Firewall Policies.
- On the WAF policy's details page, under Policy, select Firewalls.
- Select the firewall that you want to move.
- On the firewall's details page, select Move resource.
- In the Move resource dialog box, select the destination compartment from the list.
- Select Move resource.
Use the oci waf web-app-firewall change-compartment command and required parameters to move a firewall contained within a web application firewall policy between compartments:
oci waf web-app-firewall change-compartment --compartment-id compartment_ocid --web-app-firewall-id web_app_firewall_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeWebAppFirewallCompartment operation to move a firewall contained within a web application firewall policy between compartments.