nautobot / nautobot-app-firewall-models

Model Firewall policies in Nautobot
https://docs.nautobot.com/projects/firewall-models/en/latest/
Other
32 stars 12 forks source link

Policy Rule list view clone rule #247

Open collin-wicker opened 4 months ago

collin-wicker commented 4 months ago

Environment

Proposed Functionality

Add the ability to clone policy rules. I find that often times policy rules are very similar and require only one or two field adjustments for a new policy rule. It would be convenient to be able to clone other policy rules for this purpose.

Use Case

A user wishes to create a new policy rule that is very similar to an existing policy rule. Only one field needs to change for the new rule from an existing rule. The user selects the existing rule in the policy-rule list view, clicks the "Clone Selected" button which takes the user to the policy rule detail view for the new rule. The user then modifies the single field on the new rule, renames the rule, and saves. They now have a new policy rule which is the same as the cloned rule with the exception of the name and one field.