fortios_firewall_internet_service_fortiguard
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_internet_service_fortiguard
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 | ||
| firewall_internet_service_fortiguard | dict | |||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_internet_service_fortiguard:
access_token: '{{ fortios_access_token }}'
firewall_internet_service_fortiguard:
comment: Comment.
entry:
- addr_mode: ipv4
dst:
- name: default_name_7 (source firewall.address.name firewall.addrgrp.name)
dst6:
- name: default_name_9 (source firewall.address6.name firewall.addrgrp6.name)
id: "10"
port_range:
- end_port: "65535"
id: "13"
start_port: "1"
protocol: "0"
name: default_name_16
state: present
vdom: root
name: Configure FortiGuard Internet Services.