Moving a Web Application Firewall Network Address List Between Compartments

Move a network address list contained within a web application firewall (WAF) policy to a different compartment.

    1. Open the navigation menu and click Identity & Security. Under Web Application Firewall, click Policies.
    2. On the Policies page, select the compartment that contains the policy.
    3. (Optional) Filter the listed policies by name, status, policy type (WAF policy), or creation date.
    4. Click the name of the network address list that you want to move.
    5. On the network address list details page, click Move resource.
    6. In the Move resource dialog box, select the compartment to which you want to move the network address list.
    7. Click Move resource.
  • Use the oci waf network-address-list change-compartment command and required parameters to move a network address list contained within a web application firewall policy between compartments:

    oci waf network-address-list change-compartment --compartment-id compartment_ocid --network-address-list-id network_address_list_id [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ChangeNetworkAddressListCompartment operation to move a network address list between compartments.