fortios.log/disk.Filter
Explore with Pulumi AI
Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.log.disk.Filter("trname", {
anomaly: "enable",
dlpArchive: "enable",
dns: "enable",
filterType: "include",
forwardTraffic: "enable",
gtp: "enable",
localTraffic: "enable",
multicastTraffic: "enable",
severity: "information",
snifferTraffic: "enable",
ssh: "enable",
voip: "enable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.log.disk.Filter("trname",
anomaly="enable",
dlp_archive="enable",
dns="enable",
filter_type="include",
forward_traffic="enable",
gtp="enable",
local_traffic="enable",
multicast_traffic="enable",
severity="information",
sniffer_traffic="enable",
ssh="enable",
voip="enable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/log"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := log.NewFilter(ctx, "trname", &log.FilterArgs{
Anomaly: pulumi.String("enable"),
DlpArchive: pulumi.String("enable"),
Dns: pulumi.String("enable"),
FilterType: pulumi.String("include"),
ForwardTraffic: pulumi.String("enable"),
Gtp: pulumi.String("enable"),
LocalTraffic: pulumi.String("enable"),
MulticastTraffic: pulumi.String("enable"),
Severity: pulumi.String("information"),
SnifferTraffic: pulumi.String("enable"),
Ssh: pulumi.String("enable"),
Voip: pulumi.String("enable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Log.Disk.Filter("trname", new()
{
Anomaly = "enable",
DlpArchive = "enable",
Dns = "enable",
FilterType = "include",
ForwardTraffic = "enable",
Gtp = "enable",
LocalTraffic = "enable",
MulticastTraffic = "enable",
Severity = "information",
SnifferTraffic = "enable",
Ssh = "enable",
Voip = "enable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.log.Filter;
import com.pulumi.fortios.log.FilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Filter("trname", FilterArgs.builder()
.anomaly("enable")
.dlpArchive("enable")
.dns("enable")
.filterType("include")
.forwardTraffic("enable")
.gtp("enable")
.localTraffic("enable")
.multicastTraffic("enable")
.severity("information")
.snifferTraffic("enable")
.ssh("enable")
.voip("enable")
.build());
}
}
resources:
trname:
type: fortios:log/disk:Filter
properties:
anomaly: enable
dlpArchive: enable
dns: enable
filterType: include
forwardTraffic: enable
gtp: enable
localTraffic: enable
multicastTraffic: enable
severity: information
snifferTraffic: enable
ssh: enable
voip: enable
Create Filter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Filter(name: string, args?: FilterArgs, opts?: CustomResourceOptions);
@overload
def Filter(resource_name: str,
args: Optional[FilterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Filter(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin: Optional[str] = None,
anomaly: Optional[str] = None,
auth: Optional[str] = None,
cpu_memory_usage: Optional[str] = None,
dhcp: Optional[str] = None,
dlp_archive: Optional[str] = None,
dns: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
event: Optional[str] = None,
filter: Optional[str] = None,
filter_type: Optional[str] = None,
forti_switch: Optional[str] = None,
forward_traffic: Optional[str] = None,
free_styles: Optional[Sequence[FilterFreeStyleArgs]] = None,
get_all_tables: Optional[str] = None,
gtp: Optional[str] = None,
ha: Optional[str] = None,
ipsec: Optional[str] = None,
ldb_monitor: Optional[str] = None,
local_traffic: Optional[str] = None,
multicast_traffic: Optional[str] = None,
netscan_discovery: Optional[str] = None,
netscan_vulnerability: Optional[str] = None,
pattern: Optional[str] = None,
ppp: Optional[str] = None,
radius: Optional[str] = None,
severity: Optional[str] = None,
sniffer_traffic: Optional[str] = None,
ssh: Optional[str] = None,
sslvpn_log_adm: Optional[str] = None,
sslvpn_log_auth: Optional[str] = None,
sslvpn_log_session: Optional[str] = None,
system: Optional[str] = None,
vdomparam: Optional[str] = None,
vip_ssl: Optional[str] = None,
voip: Optional[str] = None,
wan_opt: Optional[str] = None,
wireless_activity: Optional[str] = None,
ztna_traffic: Optional[str] = None)
func NewFilter(ctx *Context, name string, args *FilterArgs, opts ...ResourceOption) (*Filter, error)
public Filter(string name, FilterArgs? args = null, CustomResourceOptions? opts = null)
public Filter(String name, FilterArgs args)
public Filter(String name, FilterArgs args, CustomResourceOptions options)
type: fortios:log/disk/filter:Filter
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 FilterArgs
- 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 FilterArgs
- 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 FilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FilterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Filter 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 Filter resource accepts the following input properties:
- Admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - Anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - Cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - Definition string
- Disk log filter.
- Dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - Dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - Dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- Event string
- Enable/disable event logging. Valid values:
enable
,disable
. - Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles List<Pulumiverse.Fortios. Log. Disk. Inputs. Filter Free Style> - Free Style Filters The structure of
free_style
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.
- Gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - Ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - Ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - Ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - Ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - Radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - Severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - Ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - Sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - System string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- Vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - Voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - Wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - Wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - Ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- Admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - Anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - Cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - Dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - Dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - Dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- Event string
- Enable/disable event logging. Valid values:
enable
,disable
. - Filter string
- Disk log filter.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles []FilterFree Style Args - Free Style Filters The structure of
free_style
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.
- Gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - Ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - Ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - Ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - Ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - Radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - Severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - Ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - Sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - System string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- Vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - Voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - Wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - Wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - Ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin String
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth String
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory StringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp String
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive String - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns String
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event String
- Enable/disable event logging. Valid values:
enable
,disable
. - filter String
- Disk log filter.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<FilterFree Style> - Free Style Filters The structure of
free_style
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.
- gtp String
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha String
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec String
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor String - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- pattern String
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp String
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius String
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity String
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic String - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh String
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log StringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log StringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log StringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system String
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl String - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip String
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt String - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity String - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic String - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event string
- Enable/disable event logging. Valid values:
enable
,disable
. - filter string
- Disk log filter.
- filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles FilterFree Style[] - Free Style Filters The structure of
free_style
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.
- gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery string - Enable/disable netscan discovery event logging.
- netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin str
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly str
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth str
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu_
memory_ strusage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp str
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp_
archive str - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns str
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event str
- Enable/disable event logging. Valid values:
enable
,disable
. - filter str
- Disk log filter.
- filter_
type str - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti_
switch str - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward_
traffic str - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free_
styles Sequence[FilterFree Style Args] - Free Style Filters The structure of
free_style
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.
- gtp str
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha str
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec str
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb_
monitor str - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local_
traffic str - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast_
traffic str - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan_
discovery str - Enable/disable netscan discovery event logging.
- netscan_
vulnerability str - Enable/disable netscan vulnerability event logging.
- pattern str
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp str
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius str
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity str
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer_
traffic str - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh str
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn_
log_ stradm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn_
log_ strauth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn_
log_ strsession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system str
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip_
ssl str - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip str
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan_
opt str - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless_
activity str - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna_
traffic str - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin String
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth String
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory StringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp String
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive String - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns String
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event String
- Enable/disable event logging. Valid values:
enable
,disable
. - filter String
- Disk log filter.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<Property Map> - Free Style Filters The structure of
free_style
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.
- gtp String
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha String
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec String
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor String - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- pattern String
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp String
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius String
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity String
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic String - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh String
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log StringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log StringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log StringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system String
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl String - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip String
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt String - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity String - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic String - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Filter 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 Filter Resource
Get an existing Filter 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?: FilterState, opts?: CustomResourceOptions): Filter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin: Optional[str] = None,
anomaly: Optional[str] = None,
auth: Optional[str] = None,
cpu_memory_usage: Optional[str] = None,
dhcp: Optional[str] = None,
dlp_archive: Optional[str] = None,
dns: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
event: Optional[str] = None,
filter: Optional[str] = None,
filter_type: Optional[str] = None,
forti_switch: Optional[str] = None,
forward_traffic: Optional[str] = None,
free_styles: Optional[Sequence[FilterFreeStyleArgs]] = None,
get_all_tables: Optional[str] = None,
gtp: Optional[str] = None,
ha: Optional[str] = None,
ipsec: Optional[str] = None,
ldb_monitor: Optional[str] = None,
local_traffic: Optional[str] = None,
multicast_traffic: Optional[str] = None,
netscan_discovery: Optional[str] = None,
netscan_vulnerability: Optional[str] = None,
pattern: Optional[str] = None,
ppp: Optional[str] = None,
radius: Optional[str] = None,
severity: Optional[str] = None,
sniffer_traffic: Optional[str] = None,
ssh: Optional[str] = None,
sslvpn_log_adm: Optional[str] = None,
sslvpn_log_auth: Optional[str] = None,
sslvpn_log_session: Optional[str] = None,
system: Optional[str] = None,
vdomparam: Optional[str] = None,
vip_ssl: Optional[str] = None,
voip: Optional[str] = None,
wan_opt: Optional[str] = None,
wireless_activity: Optional[str] = None,
ztna_traffic: Optional[str] = None) -> Filter
func GetFilter(ctx *Context, name string, id IDInput, state *FilterState, opts ...ResourceOption) (*Filter, error)
public static Filter Get(string name, Input<string> id, FilterState? state, CustomResourceOptions? opts = null)
public static Filter get(String name, Output<String> id, FilterState 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.
- Admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - Anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - Cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - Definition string
- Disk log filter.
- Dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - Dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - Dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- Event string
- Enable/disable event logging. Valid values:
enable
,disable
. - Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles List<Pulumiverse.Fortios. Log. Disk. Inputs. Filter Free Style> - Free Style Filters The structure of
free_style
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.
- Gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - Ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - Ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - Ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - Ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - Radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - Severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - Ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - Sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - System string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- Vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - Voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - Wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - Wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - Ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- Admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - Anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - Cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - Dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - Dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - Dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- Event string
- Enable/disable event logging. Valid values:
enable
,disable
. - Filter string
- Disk log filter.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles []FilterFree Style Args - Free Style Filters The structure of
free_style
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.
- Gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - Ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - Ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - Ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - Ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - Radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - Severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - Ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - Sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - Sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - System string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- Vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - Voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - Wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - Wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - Ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin String
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth String
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory StringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp String
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive String - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns String
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event String
- Enable/disable event logging. Valid values:
enable
,disable
. - filter String
- Disk log filter.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<FilterFree Style> - Free Style Filters The structure of
free_style
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.
- gtp String
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha String
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec String
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor String - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- pattern String
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp String
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius String
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity String
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic String - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh String
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log StringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log StringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log StringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system String
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl String - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip String
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt String - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity String - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic String - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin string
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth string
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory stringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp string
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive string - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns string
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event string
- Enable/disable event logging. Valid values:
enable
,disable
. - filter string
- Disk log filter.
- filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles FilterFree Style[] - Free Style Filters The structure of
free_style
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.
- gtp string
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha string
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec string
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor string - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery string - Enable/disable netscan discovery event logging.
- netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- pattern string
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp string
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius string
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity string
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic string - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh string
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log stringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log stringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log stringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system string
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl string - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip string
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt string - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity string - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic string - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin str
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly str
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth str
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu_
memory_ strusage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp str
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp_
archive str - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns str
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event str
- Enable/disable event logging. Valid values:
enable
,disable
. - filter str
- Disk log filter.
- filter_
type str - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti_
switch str - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward_
traffic str - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free_
styles Sequence[FilterFree Style Args] - Free Style Filters The structure of
free_style
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.
- gtp str
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha str
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec str
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb_
monitor str - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local_
traffic str - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast_
traffic str - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan_
discovery str - Enable/disable netscan discovery event logging.
- netscan_
vulnerability str - Enable/disable netscan vulnerability event logging.
- pattern str
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp str
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius str
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity str
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer_
traffic str - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh str
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn_
log_ stradm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn_
log_ strauth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn_
log_ strsession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system str
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip_
ssl str - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip str
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan_
opt str - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless_
activity str - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna_
traffic str - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
- admin String
- Enable/disable admin login/logout logging. Valid values:
enable
,disable
. - anomaly String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - auth String
- Enable/disable firewall authentication logging. Valid values:
enable
,disable
. - cpu
Memory StringUsage - Enable/disable CPU & memory usage logging every 5 minutes. Valid values:
enable
,disable
. - dhcp String
- Enable/disable DHCP service messages logging. Valid values:
enable
,disable
. - dlp
Archive String - Enable/disable DLP archive logging. Valid values:
enable
,disable
. - dns String
- Enable/disable detailed DNS event logging. Valid values:
enable
,disable
. - 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 ].
- event String
- Enable/disable event logging. Valid values:
enable
,disable
. - filter String
- Disk log filter.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<Property Map> - Free Style Filters The structure of
free_style
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.
- gtp String
- Enable/disable GTP messages logging. Valid values:
enable
,disable
. - ha String
- Enable/disable HA logging. Valid values:
enable
,disable
. - ipsec String
- Enable/disable IPsec negotiation messages logging. Valid values:
enable
,disable
. - ldb
Monitor String - Enable/disable VIP real server health monitoring logging. Valid values:
enable
,disable
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- pattern String
- Enable/disable pattern update logging. Valid values:
enable
,disable
. - ppp String
- Enable/disable L2TP/PPTP/PPPoE logging. Valid values:
enable
,disable
. - radius String
- Enable/disable RADIUS messages logging. Valid values:
enable
,disable
. - severity String
- Log to disk every message above and including this severity level. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic String - Enable/disable sniffer traffic logging. Valid values:
enable
,disable
. - ssh String
- Enable/disable SSH logging. Valid values:
enable
,disable
. - sslvpn
Log StringAdm - Enable/disable SSL administrator login logging. Valid values:
enable
,disable
. - sslvpn
Log StringAuth - Enable/disable SSL user authentication logging. Valid values:
enable
,disable
. - sslvpn
Log StringSession - Enable/disable SSL session logging. Valid values:
enable
,disable
. - system String
- Enable/disable system activity logging. Valid values:
enable
,disable
. - 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.
- vip
Ssl String - Enable/disable VIP SSL logging. Valid values:
enable
,disable
. - voip String
- Enable/disable VoIP logging. Valid values:
enable
,disable
. - wan
Opt String - Enable/disable WAN optimization event logging. Valid values:
enable
,disable
. - wireless
Activity String - Enable/disable wireless activity event logging. Valid values:
enable
,disable
. - ztna
Traffic String - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
Supporting Types
FilterFreeStyle, FilterFreeStyleArgs
- Category string
- Log category.
- Filter string
- Free style filter string.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Id int
- Entry ID.
- Category string
- Log category.
- Filter string
- Free style filter string.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Id int
- Entry ID.
- category String
- Log category.
- filter String
- Free style filter string.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - id Integer
- Entry ID.
- category string
- Log category.
- filter string
- Free style filter string.
- filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - id number
- Entry ID.
- category str
- Log category.
- filter str
- Free style filter string.
- filter_
type str - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - id int
- Entry ID.
- category String
- Log category.
- filter String
- Free style filter string.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - id Number
- Entry ID.
Import
LogDisk Filter can be imported using any of these accepted formats:
$ pulumi import fortios:log/disk/filter:Filter labelname LogDiskFilter
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:log/disk/filter:Filter labelname LogDiskFilter
$ 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.