Parameter |
Choices/Defaults |
Comments |
action
|
Default:
allow
|
Action to apply once rules maches.
|
antivirus
|
|
Name of the already defined antivirus profile.
|
api_key
|
|
API key that can be used instead of username/password credentials.
|
application
|
Default:
any
|
List of applications.
|
commit
bool |
|
Commit configuration if changed.
|
data_filtering
|
|
Name of the already defined data_filtering profile.
|
description
|
|
Description for the security rule.
|
destination_ip
|
Default:
any
|
List of destination addresses.
|
destination_zone
|
Default:
any
|
List of destination zones.
|
devicegroup
|
|
- Device groups are used for the Panorama interaction with Firewall(s). The group must exists on Panorama. If device group is not define we assume that we are contacting Firewall.
|
file_blocking
|
|
Name of the already defined file_blocking profile.
|
group_profile
|
|
- Security profile group that is already defined in the system. This property supersedes antivirus, vulnerability, spyware, url_filtering, file_blocking, data_filtering, and wildfire_analysis properties.
|
hip_profiles
|
Default:
any
|
- If you are using GlobalProtect with host information profile (HIP) enabled, you can also base the policy on information collected by GlobalProtect. For example, the user access level can be determined HIP that notifies the firewall about the user's local configuration.
|
ip_address
required |
|
IP address (or hostname) of PAN-OS device being configured.
|
log_end
|
Default:
yes
|
Whether to log at session end.
|
log_start
|
|
Whether to log at session start.
|
operation
|
Default:
add
|
The action to be taken. Supported values are add/update/find/delete.
|
password
required |
|
Password credentials to use for auth unless api_key is set.
|
rule_name
required |
|
Name of the security rule.
|
rule_type
|
Default:
universal
|
Type of security rule (version 6.1 of PanOS and above).
|
service
|
Default:
application-default
|
List of services.
|
source_ip
|
Default:
any
|
List of source addresses.
|
source_user
|
Default:
any
|
Use users to enforce policy for individual users or a group of users.
|
source_zone
|
Default:
any
|
List of source zones.
|
spyware
|
|
Name of the already defined spyware profile.
|
tag_name
|
|
Administrative tags that can be added to the rule. Note, tags must be already defined.
|
url_filtering
|
|
Name of the already defined url_filtering profile.
|
username
|
Default:
admin
|
Username credentials to use for auth unless api_key is set.
|
vulnerability
|
|
Name of the already defined vulnerability profile.
|
wildfire_analysis
|
|
Name of the already defined wildfire_analysis profile.
|