PARALLAX

fortios_ips_rule

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_rule

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

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
ips_ruledict
member_pathstr
member_statestr
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_ips_rule:
    access_token: '{{ fortios_access_token }}'
    ips_rule:
        action: pass
        date: "0"
        log: disable
        log_packet: disable
        metadata:
            - id: "11"
              metaid: "0"
              valueid: "0"
        name: default_name_14
        rev: "0"
        rule_id: "0"
        status: disable
    state: present
    vdom: root
  name: Configure IPS rules.
Search
    ↑ ↓ move↵ openesc close