Creating and Managing Policies
page to add, modify, and manage security policies:
Adda new policy rule or select a rule on which to base a new rule and
Clone Rule. The copied rule, “rule
n” is inserted below the selected rule, where
nis the next available integer that makes the rule name unique. For details on cloning, see Move or Clone a Policy Rule.
Select a rule to modify its settings.
If the rule is pushed from Panorama, the rule is read-only on the firewall and you cannot edit it locally.
Revertactions pertain only to the default rules displayed at the bottom of the Security rulebase. These predefined rules—allow all intrazone traffic and deny all interzone traffic—instruct the firewall about how to handle traffic that does not match any other rule in the rulebase. Because they are part of the predefined configuration, you must
Overridethem to edit select policy settings. If you are using Panorama, you can also
Overridethe default rules and then push them to firewalls in a Device Group or Shared context. You can also
Revertthe default rules, which restores the predefined settings or the settings pushed from Panorama. For details, see Overriding or Reverting a Security Policy Rule.
Rules are evaluated from the top down and as they are enumerated on the
Policiespage. To change the order in which the rules are evaluated against network traffic, select a rule and
Move Bottom, or
Move to a different rulebase or device group. For details, see Move or Clone a Policy Rule.
Copy the UUID of the rule to the clipboard for use when searching the configuration or the logs.
Deletean existing rule.
To disable a rule, select and
Disableit; to enable a rule that is disabled, select and
Monitor Rule Usage
To identify rules that have not been used since the last time the firewall was restarted,
Highlight Unused Rules. You can then decide whether to
Disablea rule or
Deleteit. Rules not currently in use are displayed with a dotted yellow background. When policy rule hit count is enabled, the Hit Count data is used to determine whether a rule is unused.
Each firewall maintains a traffic flag for the rules that have a match. Because the flag is reset when a dataplane reset occurs on a reboot or a restart, it is best practice to monitor this list periodically to determine whether the rule had a match since the last check before you delete or disable it.
Reset rule Hit count
Hit Counttracks the total traffic hits for the policy rule. The total traffic hit count persists through reboot, upgrade, and data plane restart. To reset the hit count for a specific rule, expand the drop-down and
Reset Rule Hit Counter(bottom menu). To clear the hit count statistics, select
All Rulesor select specific rules and reset hit count statistics only for the
First Hitto identify when the Security policy was first hit. The date is formated as date hh:mm:ss year. You cannot reset this value.
Last Hitto identify when the Security policy was last used. The date is formated as date hh:mm:ss year. You cannot reset this value.
Show or hide the columns that display under
Policies. Select the column name to toggle the display.
To apply a filter to the list, select from the
Filter Rulesdrop-down. To define a filter, choose
Filterfrom the item drop-down.
The default rules are not part of rulebase filtering and always show up in the list of filtered rules.
To view the network sessions that were logged as matches against the policy, choose
Log Viewerfrom the rule name drop-down.
To display the current value, choose
Valuefrom the entry drop-down. You can also edit, filter, or remove items directly from the column menu. For example, to view addresses included in an address group, hover over the object in the
Addresscolumn and select
Valuefrom the drop-down. This allows you to quickly view the members and the corresponding IP addresses for the address group without having to navigate to the
To find objects used within a policy based on their name or IP address, use the filter. After you apply the filter, you will see only the items that match the filter. The filter also works with embedded objects. For example, when you filter on 10.1.4.8, only the policy that contains that address is displayed:
Preview rules (
Preview Rulesto view a list of the rules before you push the rules to the managed firewalls. Within each rulebase, the hierarchy of rules is visually demarcated for each device group (and managed firewall) to make it easier to scan through a large numbers of rules.
Export Configuration Table
Administrative roles with a minimum of read-only access can export the policy rulebase as
PDF/CSV. You can apply filters to create more specific table configuration outputs as needed, such as for audits. Only visible columns in the web interface will be exported. See Configuration Table Export.
Highlight Unused Rule
Highlight any policy rule with no traffic matches in the
Manage tag groups when you have the
View Rulebase as Groupsbox checked. You can perform the following actions:
View Rulebase as Groups
View Rulebase as Groupsto view the policy rulebase using the tag used in
Group Rules by Tag. The visible policy rules are those which belong to the selected tag group.
Test Policy Match
Perform a test of the protection policies for the selected policy rulebase to verify that the correct traffic is denied and allowed.