You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"checkpoint_management_access_rule" {
source=[]
# action - (optional) is a type of stringaction=null# action_settings - (optional) is a type of map of stringaction_settings={}
# comments - (optional) is a type of stringcomments=null# content - (optional) is a type of set of stringcontent=[]
# content_direction - (optional) is a type of stringcontent_direction=null# content_negate - (optional) is a type of boolcontent_negate=null# custom_fields - (optional) is a type of map of stringcustom_fields={}
# destination - (optional) is a type of set of stringdestination=[]
# destination_negate - (optional) is a type of booldestination_negate=null# enabled - (optional) is a type of boolenabled=null# ignore_errors - (optional) is a type of boolignore_errors=null# ignore_warnings - (optional) is a type of boolignore_warnings=null# inline_layer - (optional) is a type of stringinline_layer=null# install_on - (optional) is a type of set of stringinstall_on=[]
# layer - (required) is a type of stringlayer=null# name - (required) is a type of stringname=null# position - (required) is a type of map of stringposition={}
# service - (optional) is a type of set of stringservice=[]
# service_negate - (optional) is a type of boolservice_negate=null# source - (optional) is a type of set of string# source_negate - (optional) is a type of boolsource_negate=null# time - (optional) is a type of set of stringtime=[]
# track - (optional) is a type of map of stringtrack={}
# vpn - (optional) is a type of stringvpn=nulluser_check=[{
confirm =null
custom_frequency = [{
every =null
unit =null
}]
frequency =null
interaction =null
}]
}
variable"action" {
description="(optional) - \"Accept\", \"Drop\", \"Ask\", \"Inform\", \"Reject\", \"User Auth\", \"Client Auth\", \"Apply Layer\"."type=stringdefault=null
}
variable"action_settings" {
description="(optional) - Action settings."type=map(string)
default=null
}
variable"comments" {
description="(optional) - Comments string."type=stringdefault=null
}
variable"content" {
description="(optional) - List of processed file types that this rule applies on."type=set(string)
default=null
}
variable"content_direction" {
description="(optional) - On which direction the file types processing is applied."type=stringdefault=null
}
variable"content_negate" {
description="(optional) - True if negate is set for data."type=booldefault=null
}
variable"custom_fields" {
description="(optional) - Custom fields."type=map(string)
default=null
}
variable"destination" {
description="(optional) - Collection of Network objects identified by the name or UID."type=set(string)
default=null
}
variable"destination_negate" {
description="(optional) - True if negate is set for destination."type=booldefault=null
}
variable"enabled" {
description="(optional) - Enable/Disable the rule."type=booldefault=null
}
variable"ignore_errors" {
description="(optional) - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored."type=booldefault=null
}
variable"ignore_warnings" {
description="(optional) - Apply changes ignoring warnings."type=booldefault=null
}
variable"inline_layer" {
description="(optional) - Inline Layer identified by the name or UID. Relevant only if \"Action\" was set to \"Apply Layer\"."type=stringdefault=null
}
variable"install_on" {
description="(optional) - Which Gateways identified by the name or UID to install the policy on."type=set(string)
default=null
}
variable"layer" {
description="(required) - Layer that the rule belongs to identified by the name or UID."type=string
}
variable"name" {
description="(required) - Rule name."type=string
}
variable"position" {
description="(required) - Position in the rulebase."type=map(string)
}
variable"service" {
description="(optional) - Collection of Network objects identified by the name or UID."type=set(string)
default=null
}
variable"service_negate" {
description="(optional) - True if negate is set for service."type=booldefault=null
}
variable"source" {
description="(optional) - Collection of Network objects identified by the name or UID."type=set(string)
default=null
}
variable"source_negate" {
description="(optional) - True if negate is set for source."type=booldefault=null
}
variable"time" {
description="(optional) - List of time objects. For example: \"Weekend\", \"Off-Work\", \"Every-Day\"."type=set(string)
default=null
}
variable"track" {
description="(optional) - Track Settings."type=map(string)
default=null
}
variable"vpn" {
description="(optional) - Communities or Directional."type=stringdefault=null
}
variable"user_check" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
confirm =string
custom_frequency =list(object(
{
every =number
unit =string
}
))
frequency =string
interaction =string
}
))
default=[]
}
resource"checkpoint_management_access_rule""this" {
# action - (optional) is a type of stringaction=var.action# action_settings - (optional) is a type of map of stringaction_settings=var.action_settings# comments - (optional) is a type of stringcomments=var.comments# content - (optional) is a type of set of stringcontent=var.content# content_direction - (optional) is a type of stringcontent_direction=var.content_direction# content_negate - (optional) is a type of boolcontent_negate=var.content_negate# custom_fields - (optional) is a type of map of stringcustom_fields=var.custom_fields# destination - (optional) is a type of set of stringdestination=var.destination# destination_negate - (optional) is a type of booldestination_negate=var.destination_negate# enabled - (optional) is a type of boolenabled=var.enabled# ignore_errors - (optional) is a type of boolignore_errors=var.ignore_errors# ignore_warnings - (optional) is a type of boolignore_warnings=var.ignore_warnings# inline_layer - (optional) is a type of stringinline_layer=var.inline_layer# install_on - (optional) is a type of set of stringinstall_on=var.install_on# layer - (required) is a type of stringlayer=var.layer# name - (required) is a type of stringname=var.name# position - (required) is a type of map of stringposition=var.position# service - (optional) is a type of set of stringservice=var.service# service_negate - (optional) is a type of boolservice_negate=var.service_negate# source - (optional) is a type of set of stringsource=var.source# source_negate - (optional) is a type of boolsource_negate=var.source_negate# time - (optional) is a type of set of stringtime=var.time# track - (optional) is a type of map of stringtrack=var.track# vpn - (optional) is a type of stringvpn=var.vpndynamic"user_check" {
for_each=var.user_checkcontent {
# confirm - (optional) is a type of stringconfirm=user_check.value["confirm"]
# frequency - (optional) is a type of stringfrequency=user_check.value["frequency"]
# interaction - (optional) is a type of stringinteraction=user_check.value["interaction"]
dynamic"custom_frequency" {
for_each=user_check.value.custom_frequencycontent {
# every - (optional) is a type of numberevery=custom_frequency.value["every"]
# unit - (optional) is a type of stringunit=custom_frequency.value["unit"]
}
}
}
}
}