fortios_firewall_policy
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_firewall_policy
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| action | str | |||
| after | str | |||
| before | str | |||
| enable_log | bool | false | ||
| firewall_policy | dict | |||
| member_path | str | |||
| member_state | str | |||
| self | str | |||
| state | str | |||
| vdom | str | root |
Example
yaml
- name: Disable the example firewall policy
fortinet.fortios.fortios_firewall_policy:
state: present
firewall_policy:
policyid: 100
status: disable