Create Security Rule
Creates a new security rule.
Basic Parameters
Parameter | Description |
---|---|
Action | Which action this rule should take when triggered. |
Destination | Comma-seperated list of destinations the rule will apply to, or any for all of them, or 'any' for all of them. |
From Zones | Comma-seperated list of source zone names that the rule will apply to, or 'any' for all of them. |
Name | The name of the resource. |
Source | Comma-seperated list of sources the rule will apply to, or any for all of them, or 'any' for all of them. |
To Zones | Comma-seperated list of destination zone names that the rule will apply to, or 'any' for all of them. |
Advanced Parameters
Parameter | Description |
---|---|
Applications | Comma-seperated list of application names the rule will apply to, or 'any' for all of them. |
Custom Fields | Any additional custom parameters to apply on the rule. |
Location | Which virtual system or device group to access. |
Location Type | The type of location to access. |
Services | Comma-seperated list of service names that the rule will apply to, or 'any' for all of them. |
Source Users | Comma-seperated list of source users the rule will apply to, or 'any' for all of them. |
Example Output
{
"@status": "success",
"@code": "20",
"msg": "command succeeded"
}
Workflow Library Example
Create Security Rule with Palo Alto Firewall and Send Results Via Email