Clone a Firewall Policy

Create a new firewall policy by cloning an existing firewall policy.

Cloning duplicates all firewall policy lists, applications, services, mapped secrets, decryption profiles, and rules of the original policy. After you create a clone, you can change the contents to make it unique.

When you create a firewall policy, usual Network Firewall service limits and restrictions apply.

    1. Open the navigation menu, and select Identity & Security. Under Firewalls, select Network Firewall policies.
    2. Select the compartment that contains the policy that you want to clone.
    3. Select the policy.
    4. Select the Actions menu, and then select Clone policy.
    5. In the Name box, enter a name for the policy. Avoid entering confidential information.
    6. To create the clone in another compartment, select that compartment.
    7. Remove, change, or add tags as necessary.
    8. Select Create Network Firewall policy.
    9. As needed, review and change the new policy's components, such rules, lists, mapped secrets, and decryption profiles.
  • Use the network-firewall network-firewall-policy clone command and required parameters to clone a policy.
    oci network-firewall network-firewall-policy clone 
    --network-firewall-policy-id network_firewall_polich_OCID ...[OPTIONS]

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

  • Use the CloneNetworkFirewallPolicy operation to clone a policy.