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.
- In the Compartment list, select the compartment.
- Select the policy.
- Select Clone policy.
- In the Name box, enter a name for the policy.
- To create the clone in another compartment, select the compartment.
- Review and change lists, mapped secrets, decryption profiles, and rules, if necessary.
- 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.