update_firewall_policy
Modify an existing FortiGate firewall policy to change rules, addresses, services, or other settings. Use it to adjust policy configuration on a specified device and virtual domain.
Instructions
Update an existing firewall policy on a FortiGate device.
This tool modifies the configuration of an existing firewall policy, allowing changes to rules, addresses, services, and other settings.
Parameters:
device_id: Identifier of the FortiGate device
policy_id: ID of the policy to update
policy_data: Updated policy configuration as JSON object
vdom: Virtual Domain name (optional, uses device default)
Returns:
Update status
Configuration changes applied
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| policy_id | Yes | Policy ID to update | |
| policy_data | Yes | Updated policy configuration |