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.
- Select the compartment that contains the policy that you want to clone.
- Select the policy.
- Select the Actions menu, and then select Clone policy.
- In the Name box, enter a name for the policy. Avoid entering confidential information.
- To create the clone in another compartment, select that compartment.
- Remove, change, or add tags as necessary.
- Select Create Network Firewall policy.
- 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.