Cloning a Network Firewall Policy

Clone a network firewall policy in Oracle Cloud Infrastructure.

Cloning a policy creates a copy of it. By default, a copy contains all the lists, applications, services, mapped secrets, decryption profiles, and rules of the original policy. After you create a copy, you can edit the contents of the copy to make it unique. See Editing a Policy.

    1. Open the navigation menu and click Identity & Security. Under Firewalls, click Network Firewall Policies.
    2. Select the compartment that contains the policy that you want to clone.
    3. Click the name of the policy.
    4. On the policy's details page, click Clone policy.
    5. Enter a name for the policy that can help you identify it later. Avoid entering confidential information.
    6. To create the copy 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.