fortios.firewall/consolidated.Policy
Explore with Pulumi AI
Configure consolidated IPv4/IPv6 policies. Applies to FortiOS Version <= 6.4.0
.
Create Policy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Policy(name: string, args?: PolicyArgs, opts?: CustomResourceOptions);
@overload
def Policy(resource_name: str,
args: Optional[PolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Policy(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
app_categories: Optional[Sequence[PolicyAppCategoryArgs]] = None,
app_groups: Optional[Sequence[PolicyAppGroupArgs]] = None,
application_list: Optional[str] = None,
applications: Optional[Sequence[PolicyApplicationArgs]] = None,
auto_asic_offload: Optional[str] = None,
av_profile: Optional[str] = None,
captive_portal_exempt: Optional[str] = None,
cifs_profile: Optional[str] = None,
comments: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
dlp_sensor: Optional[str] = None,
dnsfilter_profile: Optional[str] = None,
dstaddr4s: Optional[Sequence[PolicyDstaddr4Args]] = None,
dstaddr6s: Optional[Sequence[PolicyDstaddr6Args]] = None,
dstaddr_negate: Optional[str] = None,
dstintfs: Optional[Sequence[PolicyDstintfArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
emailfilter_profile: Optional[str] = None,
fixedport: Optional[str] = None,
fsso_groups: Optional[Sequence[PolicyFssoGroupArgs]] = None,
get_all_tables: Optional[str] = None,
groups: Optional[Sequence[PolicyGroupArgs]] = None,
http_policy_redirect: Optional[str] = None,
icap_profile: Optional[str] = None,
inbound: Optional[str] = None,
inspection_mode: Optional[str] = None,
internet_service: Optional[str] = None,
internet_service_custom_groups: Optional[Sequence[PolicyInternetServiceCustomGroupArgs]] = None,
internet_service_customs: Optional[Sequence[PolicyInternetServiceCustomArgs]] = None,
internet_service_groups: Optional[Sequence[PolicyInternetServiceGroupArgs]] = None,
internet_service_ids: Optional[Sequence[PolicyInternetServiceIdArgs]] = None,
internet_service_names: Optional[Sequence[PolicyInternetServiceNameArgs]] = None,
internet_service_negate: Optional[str] = None,
internet_service_src: Optional[str] = None,
internet_service_src_custom_groups: Optional[Sequence[PolicyInternetServiceSrcCustomGroupArgs]] = None,
internet_service_src_customs: Optional[Sequence[PolicyInternetServiceSrcCustomArgs]] = None,
internet_service_src_groups: Optional[Sequence[PolicyInternetServiceSrcGroupArgs]] = None,
internet_service_src_ids: Optional[Sequence[PolicyInternetServiceSrcIdArgs]] = None,
internet_service_src_names: Optional[Sequence[PolicyInternetServiceSrcNameArgs]] = None,
internet_service_src_negate: Optional[str] = None,
ippool: Optional[str] = None,
ips_sensor: Optional[str] = None,
logtraffic: Optional[str] = None,
logtraffic_start: Optional[str] = None,
name: Optional[str] = None,
nat: Optional[str] = None,
outbound: Optional[str] = None,
per_ip_shaper: Optional[str] = None,
policyid: Optional[int] = None,
poolname4s: Optional[Sequence[PolicyPoolname4Args]] = None,
poolname6s: Optional[Sequence[PolicyPoolname6Args]] = None,
profile_group: Optional[str] = None,
profile_protocol_options: Optional[str] = None,
profile_type: Optional[str] = None,
schedule: Optional[str] = None,
service_negate: Optional[str] = None,
services: Optional[Sequence[PolicyServiceArgs]] = None,
session_ttl: Optional[int] = None,
spamfilter_profile: Optional[str] = None,
srcaddr4s: Optional[Sequence[PolicySrcaddr4Args]] = None,
srcaddr6s: Optional[Sequence[PolicySrcaddr6Args]] = None,
srcaddr_negate: Optional[str] = None,
srcintfs: Optional[Sequence[PolicySrcintfArgs]] = None,
ssh_filter_profile: Optional[str] = None,
ssh_policy_redirect: Optional[str] = None,
ssl_ssh_profile: Optional[str] = None,
status: Optional[str] = None,
tcp_mss_receiver: Optional[int] = None,
tcp_mss_sender: Optional[int] = None,
traffic_shaper: Optional[str] = None,
traffic_shaper_reverse: Optional[str] = None,
url_categories: Optional[Sequence[PolicyUrlCategoryArgs]] = None,
users: Optional[Sequence[PolicyUserArgs]] = None,
utm_status: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None,
voip_profile: Optional[str] = None,
vpntunnel: Optional[str] = None,
waf_profile: Optional[str] = None,
wanopt: Optional[str] = None,
wanopt_detection: Optional[str] = None,
wanopt_passive_opt: Optional[str] = None,
wanopt_peer: Optional[str] = None,
wanopt_profile: Optional[str] = None,
webcache: Optional[str] = None,
webcache_https: Optional[str] = None,
webfilter_profile: Optional[str] = None,
webproxy_forward_server: Optional[str] = None,
webproxy_profile: Optional[str] = None)
func NewPolicy(ctx *Context, name string, args *PolicyArgs, opts ...ResourceOption) (*Policy, error)
public Policy(string name, PolicyArgs? args = null, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: fortios:firewall/consolidated/policy:Policy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Policy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Policy resource accepts the following input properties:
- Action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - App
Categories List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy App Category> - Application category ID list. The structure of
app_category
block is documented below. - App
Groups List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy App Group> - Application group names. The structure of
app_group
block is documented below. - Application
List string - Name of an existing Application list.
- Applications
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Application> - Application ID list. The structure of
application
block is documented below. - Auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - Av
Profile string - Name of an existing Antivirus profile.
- Captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - Cifs
Profile string - Name of an existing CIFS profile.
- Comments string
- Comment.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dlp
Sensor string - Name of an existing DLP sensor.
- Dnsfilter
Profile string - Name of an existing DNS filter profile.
- Dstaddr4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstaddr4> - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - Dstaddr6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstaddr6> - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - Dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - Dstintfs
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstintf> - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Emailfilter
Profile string - Name of an existing email filter profile.
- Fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - Fsso
Groups List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy Fsso Group> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Groups
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Group> - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - Http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - Icap
Profile string - Name of an existing ICAP profile.
- Inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - Inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Custom Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Customs Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service List<Pulumiverse.Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service List<Pulumiverse.Ids Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service List<Pulumiverse.Names Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Name> - Internet Service name. The structure of
internet_service_name
block is documented below. - Internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Src Custom Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Src Customs Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service List<Pulumiverse.Src Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service List<Pulumiverse.Src Ids Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service List<Pulumiverse.Src Names Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - Ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - Ips
Sensor string - Name of an existing IPS sensor.
- Logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - Logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - Name string
- Policy name.
- Nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - Outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - Per
Ip stringShaper - Per-IP traffic shaper.
- Policyid int
- Policy ID.
- Poolname4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Poolname4> - IPv4 pool names. The structure of
poolname4
block is documented below. - Poolname6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Poolname6> - IPv6 pool names. The structure of
poolname6
block is documented below. - Profile
Group string - Name of profile group.
- Profile
Protocol stringOptions - Name of an existing Protocol options profile.
- Profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - Schedule string
- Schedule name.
- Service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - Services
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Service> - Service and service group names. The structure of
service
block is documented below. - Session
Ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- Spamfilter
Profile string - Name of an existing Spam filter profile.
- Srcaddr4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcaddr4> - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - Srcaddr6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcaddr6> - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - Srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - Srcintfs
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcintf> - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - Ssh
Filter stringProfile - Name of an existing SSH filter profile.
- Ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - Ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- Status string
- Enable or disable this policy. Valid values:
enable
,disable
. - Tcp
Mss intReceiver - Receiver TCP maximum segment size (MSS).
- Tcp
Mss intSender - Sender TCP maximum segment size (MSS).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Url
Categories List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy Url Category> - URL category ID list. The structure of
url_category
block is documented below. - Users
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy User> - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - Utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Voip
Profile string - Name of an existing VoIP profile.
- Vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- Waf
Profile string - Name of an existing Web application firewall profile.
- Wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - Wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - Wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - Wanopt
Peer string - WAN optimization peer.
- Wanopt
Profile string - WAN optimization profile.
- Webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - Webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - Webfilter
Profile string - Name of an existing Web filter profile.
- Webproxy
Forward stringServer - Webproxy forward server name.
- Webproxy
Profile string - Webproxy profile name.
- Action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - App
Categories []PolicyApp Category Args - Application category ID list. The structure of
app_category
block is documented below. - App
Groups []PolicyApp Group Args - Application group names. The structure of
app_group
block is documented below. - Application
List string - Name of an existing Application list.
- Applications
[]Policy
Application Args - Application ID list. The structure of
application
block is documented below. - Auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - Av
Profile string - Name of an existing Antivirus profile.
- Captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - Cifs
Profile string - Name of an existing CIFS profile.
- Comments string
- Comment.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dlp
Sensor string - Name of an existing DLP sensor.
- Dnsfilter
Profile string - Name of an existing DNS filter profile.
- Dstaddr4s
[]Policy
Dstaddr4Args - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - Dstaddr6s
[]Policy
Dstaddr6Args - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - Dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - Dstintfs
[]Policy
Dstintf Args - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Emailfilter
Profile string - Name of an existing email filter profile.
- Fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - Fsso
Groups []PolicyFsso Group Args - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Groups
[]Policy
Group Args - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - Http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - Icap
Profile string - Name of an existing ICAP profile.
- Inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - Inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service []PolicyCustom Groups Internet Service Custom Group Args - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service []PolicyCustoms Internet Service Custom Args - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service []PolicyGroups Internet Service Group Args - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service []PolicyIds Internet Service Id Args - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service []PolicyNames Internet Service Name Args - Internet Service name. The structure of
internet_service_name
block is documented below. - Internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service []PolicySrc Custom Groups Internet Service Src Custom Group Args - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service []PolicySrc Customs Internet Service Src Custom Args - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service []PolicySrc Groups Internet Service Src Group Args - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service []PolicySrc Ids Internet Service Src Id Args - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service []PolicySrc Names Internet Service Src Name Args - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - Ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - Ips
Sensor string - Name of an existing IPS sensor.
- Logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - Logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - Name string
- Policy name.
- Nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - Outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - Per
Ip stringShaper - Per-IP traffic shaper.
- Policyid int
- Policy ID.
- Poolname4s
[]Policy
Poolname4Args - IPv4 pool names. The structure of
poolname4
block is documented below. - Poolname6s
[]Policy
Poolname6Args - IPv6 pool names. The structure of
poolname6
block is documented below. - Profile
Group string - Name of profile group.
- Profile
Protocol stringOptions - Name of an existing Protocol options profile.
- Profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - Schedule string
- Schedule name.
- Service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - Services
[]Policy
Service Args - Service and service group names. The structure of
service
block is documented below. - Session
Ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- Spamfilter
Profile string - Name of an existing Spam filter profile.
- Srcaddr4s
[]Policy
Srcaddr4Args - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - Srcaddr6s
[]Policy
Srcaddr6Args - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - Srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - Srcintfs
[]Policy
Srcintf Args - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - Ssh
Filter stringProfile - Name of an existing SSH filter profile.
- Ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - Ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- Status string
- Enable or disable this policy. Valid values:
enable
,disable
. - Tcp
Mss intReceiver - Receiver TCP maximum segment size (MSS).
- Tcp
Mss intSender - Sender TCP maximum segment size (MSS).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Url
Categories []PolicyUrl Category Args - URL category ID list. The structure of
url_category
block is documented below. - Users
[]Policy
User Args - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - Utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Voip
Profile string - Name of an existing VoIP profile.
- Vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- Waf
Profile string - Name of an existing Web application firewall profile.
- Wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - Wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - Wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - Wanopt
Peer string - WAN optimization peer.
- Wanopt
Profile string - WAN optimization profile.
- Webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - Webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - Webfilter
Profile string - Name of an existing Web filter profile.
- Webproxy
Forward stringServer - Webproxy forward server name.
- Webproxy
Profile string - Webproxy profile name.
- action String
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories List<PolicyApp Category> - Application category ID list. The structure of
app_category
block is documented below. - app
Groups List<PolicyApp Group> - Application group names. The structure of
app_group
block is documented below. - application
List String - Name of an existing Application list.
- applications
List<Policy
Application> - Application ID list. The structure of
application
block is documented below. - auto
Asic StringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile String - Name of an existing Antivirus profile.
- captive
Portal StringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile String - Name of an existing CIFS profile.
- comments String
- Comment.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor String - Name of an existing DLP sensor.
- dnsfilter
Profile String - Name of an existing DNS filter profile.
- dstaddr4s
List<Policy
Dstaddr4> - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
List<Policy
Dstaddr6> - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate String - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
List<Policy
Dstintf> - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile String - Name of an existing email filter profile.
- fixedport String
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups List<PolicyFsso Group> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
List<Policy
Group> - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy StringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile String - Name of an existing ICAP profile.
- inbound String
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode String - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<PolicyCustom Groups Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<PolicyCustoms Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<PolicyGroups Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<PolicyIds Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<PolicyNames Internet Service Name> - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service StringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<PolicySrc Custom Groups Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<PolicySrc Customs Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<PolicySrc Groups Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<PolicySrc Ids Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<PolicySrc Names Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service StringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool String
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor String - Name of an existing IPS sensor.
- logtraffic String
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start String - Record logs when a session starts. Valid values:
enable
,disable
. - name String
- Policy name.
- nat String
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound String
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip StringShaper - Per-IP traffic shaper.
- policyid Integer
- Policy ID.
- poolname4s
List<Policy
Poolname4> - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
List<Policy
Poolname6> - IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group String - Name of profile group.
- profile
Protocol StringOptions - Name of an existing Protocol options profile.
- profile
Type String - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule String
- Schedule name.
- service
Negate String - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
List<Policy
Service> - Service and service group names. The structure of
service
block is documented below. - session
Ttl Integer - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile String - Name of an existing Spam filter profile.
- srcaddr4s
List<Policy
Srcaddr4> - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
List<Policy
Srcaddr6> - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate String - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
List<Policy
Srcintf> - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter StringProfile - Name of an existing SSH filter profile.
- ssh
Policy StringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh StringProfile - Name of an existing SSL SSH profile.
- status String
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss IntegerReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss IntegerSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- url
Categories List<PolicyUrl Category> - URL category ID list. The structure of
url_category
block is documented below. - users
List<Policy
User> - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status String - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile String - Name of an existing VoIP profile.
- vpntunnel String
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile String - Name of an existing Web application firewall profile.
- wanopt String
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection String - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive StringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer String - WAN optimization peer.
- wanopt
Profile String - WAN optimization profile.
- webcache String
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https String - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile String - Name of an existing Web filter profile.
- webproxy
Forward StringServer - Webproxy forward server name.
- webproxy
Profile String - Webproxy profile name.
- action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories PolicyApp Category[] - Application category ID list. The structure of
app_category
block is documented below. - app
Groups PolicyApp Group[] - Application group names. The structure of
app_group
block is documented below. - application
List string - Name of an existing Application list.
- applications
Policy
Application[] - Application ID list. The structure of
application
block is documented below. - auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile string - Name of an existing Antivirus profile.
- captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile string - Name of an existing CIFS profile.
- comments string
- Comment.
- diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward string - Change packet's DiffServ to this value.
- diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor string - Name of an existing DLP sensor.
- dnsfilter
Profile string - Name of an existing DNS filter profile.
- dstaddr4s
Policy
Dstaddr4[] - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
Policy
Dstaddr6[] - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
Policy
Dstintf[] - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile string - Name of an existing email filter profile.
- fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups PolicyFsso Group[] - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
Policy
Group[] - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile string - Name of an existing ICAP profile.
- inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service PolicyCustom Groups Internet Service Custom Group[] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service PolicyCustoms Internet Service Custom[] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service PolicyGroups Internet Service Group[] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service PolicyIds Internet Service Id[] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service PolicyNames Internet Service Name[] - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service PolicySrc Custom Groups Internet Service Src Custom Group[] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service PolicySrc Customs Internet Service Src Custom[] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service PolicySrc Groups Internet Service Src Group[] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service PolicySrc Ids Internet Service Src Id[] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service PolicySrc Names Internet Service Src Name[] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor string - Name of an existing IPS sensor.
- logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - name string
- Policy name.
- nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip stringShaper - Per-IP traffic shaper.
- policyid number
- Policy ID.
- poolname4s
Policy
Poolname4[] - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
Policy
Poolname6[] - IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group string - Name of profile group.
- profile
Protocol stringOptions - Name of an existing Protocol options profile.
- profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule string
- Schedule name.
- service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
Policy
Service[] - Service and service group names. The structure of
service
block is documented below. - session
Ttl number - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile string - Name of an existing Spam filter profile.
- srcaddr4s
Policy
Srcaddr4[] - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
Policy
Srcaddr6[] - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
Policy
Srcintf[] - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter stringProfile - Name of an existing SSH filter profile.
- ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- status string
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss numberReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss numberSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper string - Traffic shaper.
- traffic
Shaper stringReverse - Reverse traffic shaper.
- url
Categories PolicyUrl Category[] - URL category ID list. The structure of
url_category
block is documented below. - users
Policy
User[] - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile string - Name of an existing VoIP profile.
- vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile string - Name of an existing Web application firewall profile.
- wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer string - WAN optimization peer.
- wanopt
Profile string - WAN optimization profile.
- webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile string - Name of an existing Web filter profile.
- webproxy
Forward stringServer - Webproxy forward server name.
- webproxy
Profile string - Webproxy profile name.
- action str
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app_
categories Sequence[PolicyApp Category Args] - Application category ID list. The structure of
app_category
block is documented below. - app_
groups Sequence[PolicyApp Group Args] - Application group names. The structure of
app_group
block is documented below. - application_
list str - Name of an existing Application list.
- applications
Sequence[Policy
Application Args] - Application ID list. The structure of
application
block is documented below. - auto_
asic_ stroffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av_
profile str - Name of an existing Antivirus profile.
- captive_
portal_ strexempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs_
profile str - Name of an existing CIFS profile.
- comments str
- Comment.
- diffserv_
forward str - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode_
forward str - Change packet's DiffServ to this value.
- diffservcode_
rev str - Change packet's reverse (reply) DiffServ to this value.
- dlp_
sensor str - Name of an existing DLP sensor.
- dnsfilter_
profile str - Name of an existing DNS filter profile.
- dstaddr4s
Sequence[Policy
Dstaddr4Args] - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
Sequence[Policy
Dstaddr6Args] - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr_
negate str - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
Sequence[Policy
Dstintf Args] - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter_
profile str - Name of an existing email filter profile.
- fixedport str
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso_
groups Sequence[PolicyFsso Group Args] - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
Sequence[Policy
Group Args] - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http_
policy_ strredirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap_
profile str - Name of an existing ICAP profile.
- inbound str
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection_
mode str - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet_
service str - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Policycustom_ groups Internet Service Custom Group Args] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet_
service_ Sequence[Policycustoms Internet Service Custom Args] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet_
service_ Sequence[Policygroups Internet Service Group Args] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet_
service_ Sequence[Policyids Internet Service Id Args] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet_
service_ Sequence[Policynames Internet Service Name Args] - Internet Service name. The structure of
internet_service_name
block is documented below. - internet_
service_ strnegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet_
service_ strsrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Policysrc_ custom_ groups Internet Service Src Custom Group Args] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet_
service_ Sequence[Policysrc_ customs Internet Service Src Custom Args] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet_
service_ Sequence[Policysrc_ groups Internet Service Src Group Args] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet_
service_ Sequence[Policysrc_ ids Internet Service Src Id Args] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet_
service_ Sequence[Policysrc_ names Internet Service Src Name Args] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet_
service_ strsrc_ negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool str
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips_
sensor str - Name of an existing IPS sensor.
- logtraffic str
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic_
start str - Record logs when a session starts. Valid values:
enable
,disable
. - name str
- Policy name.
- nat str
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound str
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per_
ip_ strshaper - Per-IP traffic shaper.
- policyid int
- Policy ID.
- poolname4s
Sequence[Policy
Poolname4Args] - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
Sequence[Policy
Poolname6Args] - IPv6 pool names. The structure of
poolname6
block is documented below. - profile_
group str - Name of profile group.
- profile_
protocol_ stroptions - Name of an existing Protocol options profile.
- profile_
type str - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule str
- Schedule name.
- service_
negate str - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
Sequence[Policy
Service Args] - Service and service group names. The structure of
service
block is documented below. - session_
ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter_
profile str - Name of an existing Spam filter profile.
- srcaddr4s
Sequence[Policy
Srcaddr4Args] - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
Sequence[Policy
Srcaddr6Args] - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr_
negate str - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
Sequence[Policy
Srcintf Args] - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh_
filter_ strprofile - Name of an existing SSH filter profile.
- ssh_
policy_ strredirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl_
ssh_ strprofile - Name of an existing SSL SSH profile.
- status str
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp_
mss_ intreceiver - Receiver TCP maximum segment size (MSS).
- tcp_
mss_ intsender - Sender TCP maximum segment size (MSS).
- traffic_
shaper str - Traffic shaper.
- traffic_
shaper_ strreverse - Reverse traffic shaper.
- url_
categories Sequence[PolicyUrl Category Args] - URL category ID list. The structure of
url_category
block is documented below. - users
Sequence[Policy
User Args] - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm_
status str - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip_
profile str - Name of an existing VoIP profile.
- vpntunnel str
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf_
profile str - Name of an existing Web application firewall profile.
- wanopt str
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt_
detection str - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt_
passive_ stropt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt_
peer str - WAN optimization peer.
- wanopt_
profile str - WAN optimization profile.
- webcache str
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache_
https str - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter_
profile str - Name of an existing Web filter profile.
- webproxy_
forward_ strserver - Webproxy forward server name.
- webproxy_
profile str - Webproxy profile name.
- action String
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories List<Property Map> - Application category ID list. The structure of
app_category
block is documented below. - app
Groups List<Property Map> - Application group names. The structure of
app_group
block is documented below. - application
List String - Name of an existing Application list.
- applications List<Property Map>
- Application ID list. The structure of
application
block is documented below. - auto
Asic StringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile String - Name of an existing Antivirus profile.
- captive
Portal StringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile String - Name of an existing CIFS profile.
- comments String
- Comment.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor String - Name of an existing DLP sensor.
- dnsfilter
Profile String - Name of an existing DNS filter profile.
- dstaddr4s List<Property Map>
- Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s List<Property Map>
- Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate String - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs List<Property Map>
- Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile String - Name of an existing email filter profile.
- fixedport String
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups List<Property Map> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups List<Property Map>
- Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy StringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile String - Name of an existing ICAP profile.
- inbound String
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode String - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Custom Groups - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<Property Map>Customs - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<Property Map>Groups - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<Property Map>Ids - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<Property Map>Names - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service StringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Src Custom Groups - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<Property Map>Src Customs - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<Property Map>Src Groups - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<Property Map>Src Ids - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<Property Map>Src Names - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service StringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool String
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor String - Name of an existing IPS sensor.
- logtraffic String
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start String - Record logs when a session starts. Valid values:
enable
,disable
. - name String
- Policy name.
- nat String
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound String
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip StringShaper - Per-IP traffic shaper.
- policyid Number
- Policy ID.
- poolname4s List<Property Map>
- IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s List<Property Map>
- IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group String - Name of profile group.
- profile
Protocol StringOptions - Name of an existing Protocol options profile.
- profile
Type String - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule String
- Schedule name.
- service
Negate String - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services List<Property Map>
- Service and service group names. The structure of
service
block is documented below. - session
Ttl Number - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile String - Name of an existing Spam filter profile.
- srcaddr4s List<Property Map>
- Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s List<Property Map>
- Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate String - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs List<Property Map>
- Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter StringProfile - Name of an existing SSH filter profile.
- ssh
Policy StringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh StringProfile - Name of an existing SSL SSH profile.
- status String
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss NumberReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss NumberSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- url
Categories List<Property Map> - URL category ID list. The structure of
url_category
block is documented below. - users List<Property Map>
- Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status String - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile String - Name of an existing VoIP profile.
- vpntunnel String
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile String - Name of an existing Web application firewall profile.
- wanopt String
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection String - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive StringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer String - WAN optimization peer.
- wanopt
Profile String - WAN optimization profile.
- webcache String
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https String - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile String - Name of an existing Web filter profile.
- webproxy
Forward StringServer - Webproxy forward server name.
- webproxy
Profile String - Webproxy profile name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Policy Resource
Get an existing Policy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PolicyState, opts?: CustomResourceOptions): Policy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
app_categories: Optional[Sequence[PolicyAppCategoryArgs]] = None,
app_groups: Optional[Sequence[PolicyAppGroupArgs]] = None,
application_list: Optional[str] = None,
applications: Optional[Sequence[PolicyApplicationArgs]] = None,
auto_asic_offload: Optional[str] = None,
av_profile: Optional[str] = None,
captive_portal_exempt: Optional[str] = None,
cifs_profile: Optional[str] = None,
comments: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
dlp_sensor: Optional[str] = None,
dnsfilter_profile: Optional[str] = None,
dstaddr4s: Optional[Sequence[PolicyDstaddr4Args]] = None,
dstaddr6s: Optional[Sequence[PolicyDstaddr6Args]] = None,
dstaddr_negate: Optional[str] = None,
dstintfs: Optional[Sequence[PolicyDstintfArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
emailfilter_profile: Optional[str] = None,
fixedport: Optional[str] = None,
fsso_groups: Optional[Sequence[PolicyFssoGroupArgs]] = None,
get_all_tables: Optional[str] = None,
groups: Optional[Sequence[PolicyGroupArgs]] = None,
http_policy_redirect: Optional[str] = None,
icap_profile: Optional[str] = None,
inbound: Optional[str] = None,
inspection_mode: Optional[str] = None,
internet_service: Optional[str] = None,
internet_service_custom_groups: Optional[Sequence[PolicyInternetServiceCustomGroupArgs]] = None,
internet_service_customs: Optional[Sequence[PolicyInternetServiceCustomArgs]] = None,
internet_service_groups: Optional[Sequence[PolicyInternetServiceGroupArgs]] = None,
internet_service_ids: Optional[Sequence[PolicyInternetServiceIdArgs]] = None,
internet_service_names: Optional[Sequence[PolicyInternetServiceNameArgs]] = None,
internet_service_negate: Optional[str] = None,
internet_service_src: Optional[str] = None,
internet_service_src_custom_groups: Optional[Sequence[PolicyInternetServiceSrcCustomGroupArgs]] = None,
internet_service_src_customs: Optional[Sequence[PolicyInternetServiceSrcCustomArgs]] = None,
internet_service_src_groups: Optional[Sequence[PolicyInternetServiceSrcGroupArgs]] = None,
internet_service_src_ids: Optional[Sequence[PolicyInternetServiceSrcIdArgs]] = None,
internet_service_src_names: Optional[Sequence[PolicyInternetServiceSrcNameArgs]] = None,
internet_service_src_negate: Optional[str] = None,
ippool: Optional[str] = None,
ips_sensor: Optional[str] = None,
logtraffic: Optional[str] = None,
logtraffic_start: Optional[str] = None,
name: Optional[str] = None,
nat: Optional[str] = None,
outbound: Optional[str] = None,
per_ip_shaper: Optional[str] = None,
policyid: Optional[int] = None,
poolname4s: Optional[Sequence[PolicyPoolname4Args]] = None,
poolname6s: Optional[Sequence[PolicyPoolname6Args]] = None,
profile_group: Optional[str] = None,
profile_protocol_options: Optional[str] = None,
profile_type: Optional[str] = None,
schedule: Optional[str] = None,
service_negate: Optional[str] = None,
services: Optional[Sequence[PolicyServiceArgs]] = None,
session_ttl: Optional[int] = None,
spamfilter_profile: Optional[str] = None,
srcaddr4s: Optional[Sequence[PolicySrcaddr4Args]] = None,
srcaddr6s: Optional[Sequence[PolicySrcaddr6Args]] = None,
srcaddr_negate: Optional[str] = None,
srcintfs: Optional[Sequence[PolicySrcintfArgs]] = None,
ssh_filter_profile: Optional[str] = None,
ssh_policy_redirect: Optional[str] = None,
ssl_ssh_profile: Optional[str] = None,
status: Optional[str] = None,
tcp_mss_receiver: Optional[int] = None,
tcp_mss_sender: Optional[int] = None,
traffic_shaper: Optional[str] = None,
traffic_shaper_reverse: Optional[str] = None,
url_categories: Optional[Sequence[PolicyUrlCategoryArgs]] = None,
users: Optional[Sequence[PolicyUserArgs]] = None,
utm_status: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None,
voip_profile: Optional[str] = None,
vpntunnel: Optional[str] = None,
waf_profile: Optional[str] = None,
wanopt: Optional[str] = None,
wanopt_detection: Optional[str] = None,
wanopt_passive_opt: Optional[str] = None,
wanopt_peer: Optional[str] = None,
wanopt_profile: Optional[str] = None,
webcache: Optional[str] = None,
webcache_https: Optional[str] = None,
webfilter_profile: Optional[str] = None,
webproxy_forward_server: Optional[str] = None,
webproxy_profile: Optional[str] = None) -> Policy
func GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)
public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)
public static Policy get(String name, Output<String> id, PolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - App
Categories List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy App Category> - Application category ID list. The structure of
app_category
block is documented below. - App
Groups List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy App Group> - Application group names. The structure of
app_group
block is documented below. - Application
List string - Name of an existing Application list.
- Applications
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Application> - Application ID list. The structure of
application
block is documented below. - Auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - Av
Profile string - Name of an existing Antivirus profile.
- Captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - Cifs
Profile string - Name of an existing CIFS profile.
- Comments string
- Comment.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dlp
Sensor string - Name of an existing DLP sensor.
- Dnsfilter
Profile string - Name of an existing DNS filter profile.
- Dstaddr4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstaddr4> - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - Dstaddr6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstaddr6> - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - Dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - Dstintfs
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Dstintf> - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Emailfilter
Profile string - Name of an existing email filter profile.
- Fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - Fsso
Groups List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy Fsso Group> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Groups
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Group> - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - Http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - Icap
Profile string - Name of an existing ICAP profile.
- Inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - Inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Custom Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Customs Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service List<Pulumiverse.Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service List<Pulumiverse.Ids Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service List<Pulumiverse.Names Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Name> - Internet Service name. The structure of
internet_service_name
block is documented below. - Internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Src Custom Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Src Customs Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service List<Pulumiverse.Src Groups Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service List<Pulumiverse.Src Ids Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service List<Pulumiverse.Src Names Fortios. Firewall. Consolidated. Inputs. Policy Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - Ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - Ips
Sensor string - Name of an existing IPS sensor.
- Logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - Logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - Name string
- Policy name.
- Nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - Outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - Per
Ip stringShaper - Per-IP traffic shaper.
- Policyid int
- Policy ID.
- Poolname4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Poolname4> - IPv4 pool names. The structure of
poolname4
block is documented below. - Poolname6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Poolname6> - IPv6 pool names. The structure of
poolname6
block is documented below. - Profile
Group string - Name of profile group.
- Profile
Protocol stringOptions - Name of an existing Protocol options profile.
- Profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - Schedule string
- Schedule name.
- Service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - Services
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Service> - Service and service group names. The structure of
service
block is documented below. - Session
Ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- Spamfilter
Profile string - Name of an existing Spam filter profile.
- Srcaddr4s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcaddr4> - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - Srcaddr6s
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcaddr6> - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - Srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - Srcintfs
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy Srcintf> - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - Ssh
Filter stringProfile - Name of an existing SSH filter profile.
- Ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - Ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- Status string
- Enable or disable this policy. Valid values:
enable
,disable
. - Tcp
Mss intReceiver - Receiver TCP maximum segment size (MSS).
- Tcp
Mss intSender - Sender TCP maximum segment size (MSS).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Url
Categories List<Pulumiverse.Fortios. Firewall. Consolidated. Inputs. Policy Url Category> - URL category ID list. The structure of
url_category
block is documented below. - Users
List<Pulumiverse.
Fortios. Firewall. Consolidated. Inputs. Policy User> - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - Utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Voip
Profile string - Name of an existing VoIP profile.
- Vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- Waf
Profile string - Name of an existing Web application firewall profile.
- Wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - Wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - Wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - Wanopt
Peer string - WAN optimization peer.
- Wanopt
Profile string - WAN optimization profile.
- Webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - Webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - Webfilter
Profile string - Name of an existing Web filter profile.
- Webproxy
Forward stringServer - Webproxy forward server name.
- Webproxy
Profile string - Webproxy profile name.
- Action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - App
Categories []PolicyApp Category Args - Application category ID list. The structure of
app_category
block is documented below. - App
Groups []PolicyApp Group Args - Application group names. The structure of
app_group
block is documented below. - Application
List string - Name of an existing Application list.
- Applications
[]Policy
Application Args - Application ID list. The structure of
application
block is documented below. - Auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - Av
Profile string - Name of an existing Antivirus profile.
- Captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - Cifs
Profile string - Name of an existing CIFS profile.
- Comments string
- Comment.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dlp
Sensor string - Name of an existing DLP sensor.
- Dnsfilter
Profile string - Name of an existing DNS filter profile.
- Dstaddr4s
[]Policy
Dstaddr4Args - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - Dstaddr6s
[]Policy
Dstaddr6Args - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - Dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - Dstintfs
[]Policy
Dstintf Args - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Emailfilter
Profile string - Name of an existing email filter profile.
- Fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - Fsso
Groups []PolicyFsso Group Args - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Groups
[]Policy
Group Args - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - Http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - Icap
Profile string - Name of an existing ICAP profile.
- Inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - Inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service []PolicyCustom Groups Internet Service Custom Group Args - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service []PolicyCustoms Internet Service Custom Args - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service []PolicyGroups Internet Service Group Args - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service []PolicyIds Internet Service Id Args - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service []PolicyNames Internet Service Name Args - Internet Service name. The structure of
internet_service_name
block is documented below. - Internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service []PolicySrc Custom Groups Internet Service Src Custom Group Args - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service []PolicySrc Customs Internet Service Src Custom Args - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service []PolicySrc Groups Internet Service Src Group Args - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service []PolicySrc Ids Internet Service Src Id Args - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service []PolicySrc Names Internet Service Src Name Args - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - Ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - Ips
Sensor string - Name of an existing IPS sensor.
- Logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - Logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - Name string
- Policy name.
- Nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - Outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - Per
Ip stringShaper - Per-IP traffic shaper.
- Policyid int
- Policy ID.
- Poolname4s
[]Policy
Poolname4Args - IPv4 pool names. The structure of
poolname4
block is documented below. - Poolname6s
[]Policy
Poolname6Args - IPv6 pool names. The structure of
poolname6
block is documented below. - Profile
Group string - Name of profile group.
- Profile
Protocol stringOptions - Name of an existing Protocol options profile.
- Profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - Schedule string
- Schedule name.
- Service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - Services
[]Policy
Service Args - Service and service group names. The structure of
service
block is documented below. - Session
Ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- Spamfilter
Profile string - Name of an existing Spam filter profile.
- Srcaddr4s
[]Policy
Srcaddr4Args - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - Srcaddr6s
[]Policy
Srcaddr6Args - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - Srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - Srcintfs
[]Policy
Srcintf Args - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - Ssh
Filter stringProfile - Name of an existing SSH filter profile.
- Ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - Ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- Status string
- Enable or disable this policy. Valid values:
enable
,disable
. - Tcp
Mss intReceiver - Receiver TCP maximum segment size (MSS).
- Tcp
Mss intSender - Sender TCP maximum segment size (MSS).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Url
Categories []PolicyUrl Category Args - URL category ID list. The structure of
url_category
block is documented below. - Users
[]Policy
User Args - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - Utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Voip
Profile string - Name of an existing VoIP profile.
- Vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- Waf
Profile string - Name of an existing Web application firewall profile.
- Wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - Wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - Wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - Wanopt
Peer string - WAN optimization peer.
- Wanopt
Profile string - WAN optimization profile.
- Webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - Webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - Webfilter
Profile string - Name of an existing Web filter profile.
- Webproxy
Forward stringServer - Webproxy forward server name.
- Webproxy
Profile string - Webproxy profile name.
- action String
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories List<PolicyApp Category> - Application category ID list. The structure of
app_category
block is documented below. - app
Groups List<PolicyApp Group> - Application group names. The structure of
app_group
block is documented below. - application
List String - Name of an existing Application list.
- applications
List<Policy
Application> - Application ID list. The structure of
application
block is documented below. - auto
Asic StringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile String - Name of an existing Antivirus profile.
- captive
Portal StringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile String - Name of an existing CIFS profile.
- comments String
- Comment.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor String - Name of an existing DLP sensor.
- dnsfilter
Profile String - Name of an existing DNS filter profile.
- dstaddr4s
List<Policy
Dstaddr4> - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
List<Policy
Dstaddr6> - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate String - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
List<Policy
Dstintf> - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile String - Name of an existing email filter profile.
- fixedport String
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups List<PolicyFsso Group> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
List<Policy
Group> - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy StringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile String - Name of an existing ICAP profile.
- inbound String
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode String - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<PolicyCustom Groups Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<PolicyCustoms Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<PolicyGroups Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<PolicyIds Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<PolicyNames Internet Service Name> - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service StringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<PolicySrc Custom Groups Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<PolicySrc Customs Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<PolicySrc Groups Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<PolicySrc Ids Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<PolicySrc Names Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service StringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool String
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor String - Name of an existing IPS sensor.
- logtraffic String
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start String - Record logs when a session starts. Valid values:
enable
,disable
. - name String
- Policy name.
- nat String
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound String
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip StringShaper - Per-IP traffic shaper.
- policyid Integer
- Policy ID.
- poolname4s
List<Policy
Poolname4> - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
List<Policy
Poolname6> - IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group String - Name of profile group.
- profile
Protocol StringOptions - Name of an existing Protocol options profile.
- profile
Type String - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule String
- Schedule name.
- service
Negate String - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
List<Policy
Service> - Service and service group names. The structure of
service
block is documented below. - session
Ttl Integer - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile String - Name of an existing Spam filter profile.
- srcaddr4s
List<Policy
Srcaddr4> - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
List<Policy
Srcaddr6> - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate String - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
List<Policy
Srcintf> - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter StringProfile - Name of an existing SSH filter profile.
- ssh
Policy StringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh StringProfile - Name of an existing SSL SSH profile.
- status String
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss IntegerReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss IntegerSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- url
Categories List<PolicyUrl Category> - URL category ID list. The structure of
url_category
block is documented below. - users
List<Policy
User> - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status String - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile String - Name of an existing VoIP profile.
- vpntunnel String
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile String - Name of an existing Web application firewall profile.
- wanopt String
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection String - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive StringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer String - WAN optimization peer.
- wanopt
Profile String - WAN optimization profile.
- webcache String
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https String - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile String - Name of an existing Web filter profile.
- webproxy
Forward StringServer - Webproxy forward server name.
- webproxy
Profile String - Webproxy profile name.
- action string
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories PolicyApp Category[] - Application category ID list. The structure of
app_category
block is documented below. - app
Groups PolicyApp Group[] - Application group names. The structure of
app_group
block is documented below. - application
List string - Name of an existing Application list.
- applications
Policy
Application[] - Application ID list. The structure of
application
block is documented below. - auto
Asic stringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile string - Name of an existing Antivirus profile.
- captive
Portal stringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile string - Name of an existing CIFS profile.
- comments string
- Comment.
- diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward string - Change packet's DiffServ to this value.
- diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor string - Name of an existing DLP sensor.
- dnsfilter
Profile string - Name of an existing DNS filter profile.
- dstaddr4s
Policy
Dstaddr4[] - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
Policy
Dstaddr6[] - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate string - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
Policy
Dstintf[] - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile string - Name of an existing email filter profile.
- fixedport string
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups PolicyFsso Group[] - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
Policy
Group[] - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy stringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile string - Name of an existing ICAP profile.
- inbound string
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode string - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service PolicyCustom Groups Internet Service Custom Group[] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service PolicyCustoms Internet Service Custom[] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service PolicyGroups Internet Service Group[] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service PolicyIds Internet Service Id[] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service PolicyNames Internet Service Name[] - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service stringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service PolicySrc Custom Groups Internet Service Src Custom Group[] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service PolicySrc Customs Internet Service Src Custom[] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service PolicySrc Groups Internet Service Src Group[] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service PolicySrc Ids Internet Service Src Id[] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service PolicySrc Names Internet Service Src Name[] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service stringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool string
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor string - Name of an existing IPS sensor.
- logtraffic string
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start string - Record logs when a session starts. Valid values:
enable
,disable
. - name string
- Policy name.
- nat string
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound string
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip stringShaper - Per-IP traffic shaper.
- policyid number
- Policy ID.
- poolname4s
Policy
Poolname4[] - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
Policy
Poolname6[] - IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group string - Name of profile group.
- profile
Protocol stringOptions - Name of an existing Protocol options profile.
- profile
Type string - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule string
- Schedule name.
- service
Negate string - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
Policy
Service[] - Service and service group names. The structure of
service
block is documented below. - session
Ttl number - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile string - Name of an existing Spam filter profile.
- srcaddr4s
Policy
Srcaddr4[] - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
Policy
Srcaddr6[] - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate string - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
Policy
Srcintf[] - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter stringProfile - Name of an existing SSH filter profile.
- ssh
Policy stringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh stringProfile - Name of an existing SSL SSH profile.
- status string
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss numberReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss numberSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper string - Traffic shaper.
- traffic
Shaper stringReverse - Reverse traffic shaper.
- url
Categories PolicyUrl Category[] - URL category ID list. The structure of
url_category
block is documented below. - users
Policy
User[] - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status string - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile string - Name of an existing VoIP profile.
- vpntunnel string
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile string - Name of an existing Web application firewall profile.
- wanopt string
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection string - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive stringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer string - WAN optimization peer.
- wanopt
Profile string - WAN optimization profile.
- webcache string
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https string - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile string - Name of an existing Web filter profile.
- webproxy
Forward stringServer - Webproxy forward server name.
- webproxy
Profile string - Webproxy profile name.
- action str
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app_
categories Sequence[PolicyApp Category Args] - Application category ID list. The structure of
app_category
block is documented below. - app_
groups Sequence[PolicyApp Group Args] - Application group names. The structure of
app_group
block is documented below. - application_
list str - Name of an existing Application list.
- applications
Sequence[Policy
Application Args] - Application ID list. The structure of
application
block is documented below. - auto_
asic_ stroffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av_
profile str - Name of an existing Antivirus profile.
- captive_
portal_ strexempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs_
profile str - Name of an existing CIFS profile.
- comments str
- Comment.
- diffserv_
forward str - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode_
forward str - Change packet's DiffServ to this value.
- diffservcode_
rev str - Change packet's reverse (reply) DiffServ to this value.
- dlp_
sensor str - Name of an existing DLP sensor.
- dnsfilter_
profile str - Name of an existing DNS filter profile.
- dstaddr4s
Sequence[Policy
Dstaddr4Args] - Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s
Sequence[Policy
Dstaddr6Args] - Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr_
negate str - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs
Sequence[Policy
Dstintf Args] - Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter_
profile str - Name of an existing email filter profile.
- fixedport str
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso_
groups Sequence[PolicyFsso Group Args] - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups
Sequence[Policy
Group Args] - Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http_
policy_ strredirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap_
profile str - Name of an existing ICAP profile.
- inbound str
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection_
mode str - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet_
service str - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Policycustom_ groups Internet Service Custom Group Args] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet_
service_ Sequence[Policycustoms Internet Service Custom Args] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet_
service_ Sequence[Policygroups Internet Service Group Args] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet_
service_ Sequence[Policyids Internet Service Id Args] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet_
service_ Sequence[Policynames Internet Service Name Args] - Internet Service name. The structure of
internet_service_name
block is documented below. - internet_
service_ strnegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet_
service_ strsrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Policysrc_ custom_ groups Internet Service Src Custom Group Args] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet_
service_ Sequence[Policysrc_ customs Internet Service Src Custom Args] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet_
service_ Sequence[Policysrc_ groups Internet Service Src Group Args] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet_
service_ Sequence[Policysrc_ ids Internet Service Src Id Args] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet_
service_ Sequence[Policysrc_ names Internet Service Src Name Args] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet_
service_ strsrc_ negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool str
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips_
sensor str - Name of an existing IPS sensor.
- logtraffic str
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic_
start str - Record logs when a session starts. Valid values:
enable
,disable
. - name str
- Policy name.
- nat str
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound str
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per_
ip_ strshaper - Per-IP traffic shaper.
- policyid int
- Policy ID.
- poolname4s
Sequence[Policy
Poolname4Args] - IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s
Sequence[Policy
Poolname6Args] - IPv6 pool names. The structure of
poolname6
block is documented below. - profile_
group str - Name of profile group.
- profile_
protocol_ stroptions - Name of an existing Protocol options profile.
- profile_
type str - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule str
- Schedule name.
- service_
negate str - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services
Sequence[Policy
Service Args] - Service and service group names. The structure of
service
block is documented below. - session_
ttl int - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter_
profile str - Name of an existing Spam filter profile.
- srcaddr4s
Sequence[Policy
Srcaddr4Args] - Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s
Sequence[Policy
Srcaddr6Args] - Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr_
negate str - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs
Sequence[Policy
Srcintf Args] - Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh_
filter_ strprofile - Name of an existing SSH filter profile.
- ssh_
policy_ strredirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl_
ssh_ strprofile - Name of an existing SSL SSH profile.
- status str
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp_
mss_ intreceiver - Receiver TCP maximum segment size (MSS).
- tcp_
mss_ intsender - Sender TCP maximum segment size (MSS).
- traffic_
shaper str - Traffic shaper.
- traffic_
shaper_ strreverse - Reverse traffic shaper.
- url_
categories Sequence[PolicyUrl Category Args] - URL category ID list. The structure of
url_category
block is documented below. - users
Sequence[Policy
User Args] - Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm_
status str - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip_
profile str - Name of an existing VoIP profile.
- vpntunnel str
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf_
profile str - Name of an existing Web application firewall profile.
- wanopt str
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt_
detection str - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt_
passive_ stropt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt_
peer str - WAN optimization peer.
- wanopt_
profile str - WAN optimization profile.
- webcache str
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache_
https str - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter_
profile str - Name of an existing Web filter profile.
- webproxy_
forward_ strserver - Webproxy forward server name.
- webproxy_
profile str - Webproxy profile name.
- action String
- Policy action (allow/deny/ipsec). Valid values:
accept
,deny
,ipsec
. - app
Categories List<Property Map> - Application category ID list. The structure of
app_category
block is documented below. - app
Groups List<Property Map> - Application group names. The structure of
app_group
block is documented below. - application
List String - Name of an existing Application list.
- applications List<Property Map>
- Application ID list. The structure of
application
block is documented below. - auto
Asic StringOffload - Enable/disable policy traffic ASIC offloading. Valid values:
enable
,disable
. - av
Profile String - Name of an existing Antivirus profile.
- captive
Portal StringExempt - Enable exemption of some users from the captive portal. Valid values:
enable
,disable
. - cifs
Profile String - Name of an existing CIFS profile.
- comments String
- Comment.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dlp
Sensor String - Name of an existing DLP sensor.
- dnsfilter
Profile String - Name of an existing DNS filter profile.
- dstaddr4s List<Property Map>
- Destination IPv4 address name and address group names. The structure of
dstaddr4
block is documented below. - dstaddr6s List<Property Map>
- Destination IPv6 address name and address group names. The structure of
dstaddr6
block is documented below. - dstaddr
Negate String - When enabled dstaddr specifies what the destination address must NOT be. Valid values:
enable
,disable
. - dstintfs List<Property Map>
- Outgoing (egress) interface. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- emailfilter
Profile String - Name of an existing email filter profile.
- fixedport String
- Enable to prevent source NAT from changing a session's source port. Valid values:
enable
,disable
. - fsso
Groups List<Property Map> - Names of FSSO groups. The structure of
fsso_groups
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- groups List<Property Map>
- Names of user groups that can authenticate with this policy. The structure of
groups
block is documented below. - http
Policy StringRedirect - Redirect HTTP(S) traffic to matching transparent web proxy policy. Valid values:
enable
,disable
. - icap
Profile String - Name of an existing ICAP profile.
- inbound String
- Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN. Valid values:
enable
,disable
. - inspection
Mode String - Policy inspection mode (Flow/proxy). Default is Flow mode. Valid values:
proxy
,flow
. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Custom Groups - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<Property Map>Customs - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<Property Map>Groups - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<Property Map>Ids - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<Property Map>Names - Internet Service name. The structure of
internet_service_name
block is documented below. - internet
Service StringNegate - When enabled internet-service specifies what the service must NOT be. Valid values:
enable
,disable
. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Src Custom Groups - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<Property Map>Src Customs - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<Property Map>Src Groups - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<Property Map>Src Ids - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<Property Map>Src Names - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - internet
Service StringSrc Negate - When enabled internet-service-src specifies what the service must NOT be. Valid values:
enable
,disable
. - ippool String
- Enable to use IP Pools for source NAT. Valid values:
enable
,disable
. - ips
Sensor String - Name of an existing IPS sensor.
- logtraffic String
- Enable or disable logging. Log all sessions or security profile sessions. Valid values:
all
,utm
,disable
. - logtraffic
Start String - Record logs when a session starts. Valid values:
enable
,disable
. - name String
- Policy name.
- nat String
- Enable/disable source NAT. Valid values:
enable
,disable
. - outbound String
- Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN. Valid values:
enable
,disable
. - per
Ip StringShaper - Per-IP traffic shaper.
- policyid Number
- Policy ID.
- poolname4s List<Property Map>
- IPv4 pool names. The structure of
poolname4
block is documented below. - poolname6s List<Property Map>
- IPv6 pool names. The structure of
poolname6
block is documented below. - profile
Group String - Name of profile group.
- profile
Protocol StringOptions - Name of an existing Protocol options profile.
- profile
Type String - Determine whether the firewall policy allows security profile groups or single profiles only. Valid values:
single
,group
. - schedule String
- Schedule name.
- service
Negate String - When enabled service specifies what the service must NOT be. Valid values:
enable
,disable
. - services List<Property Map>
- Service and service group names. The structure of
service
block is documented below. - session
Ttl Number - TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).
- spamfilter
Profile String - Name of an existing Spam filter profile.
- srcaddr4s List<Property Map>
- Source IPv4 address name and address group names. The structure of
srcaddr4
block is documented below. - srcaddr6s List<Property Map>
- Source IPv6 address name and address group names. The structure of
srcaddr6
block is documented below. - srcaddr
Negate String - When enabled srcaddr specifies what the source address must NOT be. Valid values:
enable
,disable
. - srcintfs List<Property Map>
- Incoming (ingress) interface. The structure of
srcintf
block is documented below. - ssh
Filter StringProfile - Name of an existing SSH filter profile.
- ssh
Policy StringRedirect - Redirect SSH traffic to matching transparent proxy policy. Valid values:
enable
,disable
. - ssl
Ssh StringProfile - Name of an existing SSL SSH profile.
- status String
- Enable or disable this policy. Valid values:
enable
,disable
. - tcp
Mss NumberReceiver - Receiver TCP maximum segment size (MSS).
- tcp
Mss NumberSender - Sender TCP maximum segment size (MSS).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- url
Categories List<Property Map> - URL category ID list. The structure of
url_category
block is documented below. - users List<Property Map>
- Names of individual users that can authenticate with this policy. The structure of
users
block is documented below. - utm
Status String - Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy. Valid values:
enable
,disable
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- voip
Profile String - Name of an existing VoIP profile.
- vpntunnel String
- Policy-based IPsec VPN: name of the IPsec VPN Phase 1.
- waf
Profile String - Name of an existing Web application firewall profile.
- wanopt String
- Enable/disable WAN optimization. Valid values:
enable
,disable
. - wanopt
Detection String - WAN optimization auto-detection mode. Valid values:
active
,passive
,off
. - wanopt
Passive StringOpt - WAN optimization passive mode options. This option decides what IP address will be used to connect to server. Valid values:
default
,transparent
,non-transparent
. - wanopt
Peer String - WAN optimization peer.
- wanopt
Profile String - WAN optimization profile.
- webcache String
- Enable/disable web cache. Valid values:
enable
,disable
. - webcache
Https String - Enable/disable web cache for HTTPS. Valid values:
disable
,enable
. - webfilter
Profile String - Name of an existing Web filter profile.
- webproxy
Forward StringServer - Webproxy forward server name.
- webproxy
Profile String - Webproxy profile name.
Supporting Types
PolicyAppCategory, PolicyAppCategoryArgs
- Id int
- Category IDs.
- Id int
- Category IDs.
- id Integer
- Category IDs.
- id number
- Category IDs.
- id int
- Category IDs.
- id Number
- Category IDs.
PolicyAppGroup, PolicyAppGroupArgs
- Name string
- Application group names.
- Name string
- Application group names.
- name String
- Application group names.
- name string
- Application group names.
- name str
- Application group names.
- name String
- Application group names.
PolicyApplication, PolicyApplicationArgs
- Id int
- Application IDs.
- Id int
- Application IDs.
- id Integer
- Application IDs.
- id number
- Application IDs.
- id int
- Application IDs.
- id Number
- Application IDs.
PolicyDstaddr4, PolicyDstaddr4Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicyDstaddr6, PolicyDstaddr6Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicyDstintf, PolicyDstintfArgs
- Name string
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
PolicyFssoGroup, PolicyFssoGroupArgs
- Name string
- Names of FSSO groups.
- Name string
- Names of FSSO groups.
- name String
- Names of FSSO groups.
- name string
- Names of FSSO groups.
- name str
- Names of FSSO groups.
- name String
- Names of FSSO groups.
PolicyGroup, PolicyGroupArgs
- Name string
- Group name.
- Name string
- Group name.
- name String
- Group name.
- name string
- Group name.
- name str
- Group name.
- name String
- Group name.
PolicyInternetServiceCustom, PolicyInternetServiceCustomArgs
- Name string
- Custom Internet Service name.
- Name string
- Custom Internet Service name.
- name String
- Custom Internet Service name.
- name string
- Custom Internet Service name.
- name str
- Custom Internet Service name.
- name String
- Custom Internet Service name.
PolicyInternetServiceCustomGroup, PolicyInternetServiceCustomGroupArgs
- Name string
- Custom Internet Service group name.
- Name string
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
- name string
- Custom Internet Service group name.
- name str
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
PolicyInternetServiceGroup, PolicyInternetServiceGroupArgs
- Name string
- Internet Service group name.
- Name string
- Internet Service group name.
- name String
- Internet Service group name.
- name string
- Internet Service group name.
- name str
- Internet Service group name.
- name String
- Internet Service group name.
PolicyInternetServiceId, PolicyInternetServiceIdArgs
- Id int
- Internet Service ID.
- Id int
- Internet Service ID.
- id Integer
- Internet Service ID.
- id number
- Internet Service ID.
- id int
- Internet Service ID.
- id Number
- Internet Service ID.
PolicyInternetServiceName, PolicyInternetServiceNameArgs
- Name string
- Internet Service name.
- Name string
- Internet Service name.
- name String
- Internet Service name.
- name string
- Internet Service name.
- name str
- Internet Service name.
- name String
- Internet Service name.
PolicyInternetServiceSrcCustom, PolicyInternetServiceSrcCustomArgs
- Name string
- Custom Internet Service name.
- Name string
- Custom Internet Service name.
- name String
- Custom Internet Service name.
- name string
- Custom Internet Service name.
- name str
- Custom Internet Service name.
- name String
- Custom Internet Service name.
PolicyInternetServiceSrcCustomGroup, PolicyInternetServiceSrcCustomGroupArgs
- Name string
- Custom Internet Service group name.
- Name string
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
- name string
- Custom Internet Service group name.
- name str
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
PolicyInternetServiceSrcGroup, PolicyInternetServiceSrcGroupArgs
- Name string
- Internet Service group name.
- Name string
- Internet Service group name.
- name String
- Internet Service group name.
- name string
- Internet Service group name.
- name str
- Internet Service group name.
- name String
- Internet Service group name.
PolicyInternetServiceSrcId, PolicyInternetServiceSrcIdArgs
- Id int
- Internet Service ID.
- Id int
- Internet Service ID.
- id Integer
- Internet Service ID.
- id number
- Internet Service ID.
- id int
- Internet Service ID.
- id Number
- Internet Service ID.
PolicyInternetServiceSrcName, PolicyInternetServiceSrcNameArgs
- Name string
- Internet Service name.
- Name string
- Internet Service name.
- name String
- Internet Service name.
- name string
- Internet Service name.
- name str
- Internet Service name.
- name String
- Internet Service name.
PolicyPoolname4, PolicyPoolname4Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicyPoolname6, PolicyPoolname6Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicyService, PolicyServiceArgs
- Name string
- Service name.
- Name string
- Service name.
- name String
- Service name.
- name string
- Service name.
- name str
- Service name.
- name String
- Service name.
PolicySrcaddr4, PolicySrcaddr4Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicySrcaddr6, PolicySrcaddr6Args
- Name string
- Policy name.
- Name string
- Policy name.
- name String
- Policy name.
- name string
- Policy name.
- name str
- Policy name.
- name String
- Policy name.
PolicySrcintf, PolicySrcintfArgs
- Name string
- Interface name.
- Name string
- Interface name.
- name String
- Interface name.
- name string
- Interface name.
- name str
- Interface name.
- name String
- Interface name.
PolicyUrlCategory, PolicyUrlCategoryArgs
- Id int
- URL category ID.
- Id int
- URL category ID.
- id Integer
- URL category ID.
- id number
- URL category ID.
- id int
- URL category ID.
- id Number
- URL category ID.
PolicyUser, PolicyUserArgs
- Name string
- IPv6 pool name.
- Name string
- IPv6 pool name.
- name String
- IPv6 pool name.
- name string
- IPv6 pool name.
- name str
- IPv6 pool name.
- name String
- IPv6 pool name.
Import
FirewallConsolidated Policy can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/consolidated/policy:Policy labelname {{policyid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/consolidated/policy:Policy labelname {{policyid}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.