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. On the navigation menu, click Identity & Security. Under Firewalls, click Network Firewall Policies.
    2. In the Compartment list, select the compartment.
    3. Click the name of the policy.
    4. On the policy's details page, click Clone policy.
    5. Enter a name for the policy.
    6. To create the clone in another compartment, select the compartment.
    7. Click Create network firewall policy.
  • 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.