Moving a Web Application Firewall Policy Between Compartments
Move a web application firewall (WAF) policy to a different compartment.
- On the Policies list page, find the policy that you want to work with. If you need help finding the list page or the policy, see Listing Web Application Firewall Policies.
- From the for the WAF policy, 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-policy change-compartment command and required parameters to move a web application firewall policy between compartments:
oci waf web-app-firewall-policy change-compartment --compartment-id compartment_ocid --web-app-firewall-policy-id web_app_firewall_policy_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeWebAppFirewallPolicyCompartment operation to move a web application firewall policy between compartments.