PARALLAX

fortios_authentication_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_authentication_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
authentication_ruledict
enable_logboolfalse
member_pathstr
member_statestr
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_authentication_rule:
    access_token: '{{ fortios_access_token }}'
    authentication_rule:
        cert_auth_cookie: enable
        cors_depth: "3"
        cors_stateful: enable
        dstaddr:
            - name: default_name_9 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system .external-resource.name)
        dstaddr6:
            - name: default_name_11 (source firewall.address6.name firewall.addrgrp6.name)
        ip_based: enable
        name: default_name_13
        protocol: http
        session_logout: enable
        srcaddr:
            - name: default_name_17 (source firewall.address.name firewall.addrgrp.name firewall.proxy-address.name firewall.proxy-addrgrp.name system .external-resource.name)
        srcaddr6:
            - name: default_name_19 (source firewall.address6.name firewall.addrgrp6.name)
        srcintf:
            - name: default_name_21 (source system.interface.name system.zone.name system.sdwan.zone.name)
        status: enable
        transaction_based: enable
        web_auth_cookie: enable
        web_portal: enable
    state: present
    vdom: root
  name: Configure Authentication Rules.
Search
    ↑ ↓ move↵ openesc close