fortios_virtual_patch_profile
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_virtual_patch_profile
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 | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root | ||
| virtual_patch_profile | dict |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_virtual_patch_profile:
access_token: '{{ fortios_access_token }}'
state: present
vdom: root
virtual_patch_profile:
action: pass
comment: Comment.
exemption:
- id: "8"
rule:
- id: "10"
status: enable
log: enable
name: default_name_13
severity: info
name: Configure virtual-patch profile.