PARALLAX

fortios_firewall_on_demand_sniffer

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_on_demand_sniffer

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
firewall_on_demand_snifferdict
member_pathstr
member_statestr
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_on_demand_sniffer:
    access_token: '{{ fortios_access_token }}'
    firewall_on_demand_sniffer:
        hosts:
            - host: myhostname
        max_packet_count: "0"
        name: default_name_8
        non_ip_packet: enable
        ports:
            - port: 1
        protocols:
            - protocol: 1
    state: present
    vdom: root
  name: Configure on-demand packet sniffer.
Search
    ↑ ↓ move↵ openesc close