fmgr_pkg_header_policy
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_pkg_header_policy
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| bypass_validation | bool | false | ||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| pkg | str | yes | ||
| pkg_header_policy | dict | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| revision_note | str | |||
| state | str | yes | ||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_pkg_header_policy:
bypass_validation: false
pkg: ansible
pkg_header_policy:
action: accept
comments: ansible-comment
dstaddr: gall
dstintf: any
name: ansible-test-header
policyid: 1073741826
schedule: galways
service: gALL
srcaddr: gall
srcintf: any
status: disable
state: present
name: Configure IPv4 header policies.