-
Notifications
You must be signed in to change notification settings - Fork 3
Policy
This page will help to show you how the CSV file is formatted when used to import and update rules in a policy.
When importing a CSV to create rules or modify them, the file MUST have the following fields in this order:
Name,Type,Description,Tags,SourceZones,SourceAddresses,NegateSource,SourceUsers,HipProfiles,DestinationZones,DestinationAddresses,NegateDestination,Applications,Services,Categories,Action,LogSetting,LogStart,LogEnd,Disabled,Schedule,IcmpUnreachable,DisableServerResponseInspection,Group,Targets,NegateTarget,Virus,Spyware,Vulnerability,UrlFiltering,FileBlocking,WildFireAnalysis,DataFiltering
The easiest way to make the modifications all while adhering to this order, is to export the policy first (using the --action export
), and then modifying that file.
Here is an example CSV file of a policy that has been exported:
When you import (create) rules, or want to modify existing values of a rule, you DO NOT need to have every column that is listed above filled out with a value. You still NEED them to be defined/listed, but they can be empty.
Any field that you want to add or modify you need to have a value there, but at the very least, you MUST have values in the following fields:
Name
, Type
, Action