Moving a Web Application Firewall Network Address List to a Different Compartment

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

    1. On the Network address lists list page, select the network address list that you want to work with. If you need help finding the list page or the policy, see Listing Web Application Firewall Network Address Lists.
      The network address list's details page opens.
    2. From the Actions menu (three dots) for the network address list, select , Move resource.
    3. In the Move resource dialog box, select the destination compartment from the list.
      The Move resource panel opens.
    4. In the Move resource panel, select the destination compartment from the list.
    5. Select 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 parameters and values for CLI commands, see the CLI Command Reference.

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