Moving a Web Application Firewall Policy Between Compartments

Move a web application firewall (WAF) policy to a different compartment.

    1. 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.
    2. From the Actions menu (Actions Menu) for the WAF policy, select Move resource.
    3. In the Move resource dialog box, select the destination compartment from the list.
    4. 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.