fortios_ips_custom
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_ips_custom
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 | ||
| ips_custom | dict | |||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token, fortios_custom_ips_signature.
- fortinet.fortios.fortios_ips_custom:
access_token: '{{ fortios_access_token }}'
ips_custom:
action: pass
comment: Comment.
log: disable
log_packet: disable
rule_id: "0"
signature: '{{ fortios_custom_ips_signature }}'
status: disable
tag: example-custom-signature
state: present
vdom: root
name: Configure IPS custom signature.