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, select Identity & Security. Go to Firewalls, select Network Firewall Policies.
    2. In the Compartment list, select the compartment.
    3. Select the policy.
    4. Select Clone policy.
    5. In the Name box, enter a name for the policy.
    6. To create the clone in another compartment, select the compartment.
    7. Review and change lists, mapped secrets, decryption profiles, and rules, if necessary.
    8. Select 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.