fortios.log.Setting
Explore with Pulumi AI
Configure general log settings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.log.Setting("trname", {
briefTrafficFormat: "disable",
daemonLog: "disable",
expolicyImplicitLog: "disable",
fazOverride: "disable",
fwpolicy6ImplicitLog: "disable",
fwpolicyImplicitLog: "disable",
localInAllow: "disable",
localInDenyBroadcast: "disable",
localInDenyUnicast: "disable",
localOut: "disable",
logInvalidPacket: "disable",
logPolicyComment: "disable",
logPolicyName: "disable",
logUserInUpper: "disable",
neighborEvent: "disable",
resolveIp: "disable",
resolvePort: "enable",
syslogOverride: "disable",
userAnonymize: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.log.Setting("trname",
brief_traffic_format="disable",
daemon_log="disable",
expolicy_implicit_log="disable",
faz_override="disable",
fwpolicy6_implicit_log="disable",
fwpolicy_implicit_log="disable",
local_in_allow="disable",
local_in_deny_broadcast="disable",
local_in_deny_unicast="disable",
local_out="disable",
log_invalid_packet="disable",
log_policy_comment="disable",
log_policy_name="disable",
log_user_in_upper="disable",
neighbor_event="disable",
resolve_ip="disable",
resolve_port="enable",
syslog_override="disable",
user_anonymize="disable")
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.NewSetting(ctx, "trname", &log.SettingArgs{
BriefTrafficFormat: pulumi.String("disable"),
DaemonLog: pulumi.String("disable"),
ExpolicyImplicitLog: pulumi.String("disable"),
FazOverride: pulumi.String("disable"),
Fwpolicy6ImplicitLog: pulumi.String("disable"),
FwpolicyImplicitLog: pulumi.String("disable"),
LocalInAllow: pulumi.String("disable"),
LocalInDenyBroadcast: pulumi.String("disable"),
LocalInDenyUnicast: pulumi.String("disable"),
LocalOut: pulumi.String("disable"),
LogInvalidPacket: pulumi.String("disable"),
LogPolicyComment: pulumi.String("disable"),
LogPolicyName: pulumi.String("disable"),
LogUserInUpper: pulumi.String("disable"),
NeighborEvent: pulumi.String("disable"),
ResolveIp: pulumi.String("disable"),
ResolvePort: pulumi.String("enable"),
SyslogOverride: pulumi.String("disable"),
UserAnonymize: pulumi.String("disable"),
})
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.Setting("trname", new()
{
BriefTrafficFormat = "disable",
DaemonLog = "disable",
ExpolicyImplicitLog = "disable",
FazOverride = "disable",
Fwpolicy6ImplicitLog = "disable",
FwpolicyImplicitLog = "disable",
LocalInAllow = "disable",
LocalInDenyBroadcast = "disable",
LocalInDenyUnicast = "disable",
LocalOut = "disable",
LogInvalidPacket = "disable",
LogPolicyComment = "disable",
LogPolicyName = "disable",
LogUserInUpper = "disable",
NeighborEvent = "disable",
ResolveIp = "disable",
ResolvePort = "enable",
SyslogOverride = "disable",
UserAnonymize = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.log.Setting;
import com.pulumi.fortios.log.SettingArgs;
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 Setting("trname", SettingArgs.builder()
.briefTrafficFormat("disable")
.daemonLog("disable")
.expolicyImplicitLog("disable")
.fazOverride("disable")
.fwpolicy6ImplicitLog("disable")
.fwpolicyImplicitLog("disable")
.localInAllow("disable")
.localInDenyBroadcast("disable")
.localInDenyUnicast("disable")
.localOut("disable")
.logInvalidPacket("disable")
.logPolicyComment("disable")
.logPolicyName("disable")
.logUserInUpper("disable")
.neighborEvent("disable")
.resolveIp("disable")
.resolvePort("enable")
.syslogOverride("disable")
.userAnonymize("disable")
.build());
}
}
resources:
trname:
type: fortios:log:Setting
properties:
briefTrafficFormat: disable
daemonLog: disable
expolicyImplicitLog: disable
fazOverride: disable
fwpolicy6ImplicitLog: disable
fwpolicyImplicitLog: disable
localInAllow: disable
localInDenyBroadcast: disable
localInDenyUnicast: disable
localOut: disable
logInvalidPacket: disable
logPolicyComment: disable
logPolicyName: disable
logUserInUpper: disable
neighborEvent: disable
resolveIp: disable
resolvePort: enable
syslogOverride: disable
userAnonymize: disable
Create Setting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Setting(name: string, args?: SettingArgs, opts?: CustomResourceOptions);
@overload
def Setting(resource_name: str,
args: Optional[SettingArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Setting(resource_name: str,
opts: Optional[ResourceOptions] = None,
anonymization_hash: Optional[str] = None,
brief_traffic_format: Optional[str] = None,
custom_log_fields: Optional[Sequence[SettingCustomLogFieldArgs]] = None,
daemon_log: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
expolicy_implicit_log: Optional[str] = None,
extended_log: Optional[str] = None,
faz_override: Optional[str] = None,
fwpolicy6_implicit_log: Optional[str] = None,
fwpolicy_implicit_log: Optional[str] = None,
get_all_tables: Optional[str] = None,
local_in_allow: Optional[str] = None,
local_in_deny_broadcast: Optional[str] = None,
local_in_deny_unicast: Optional[str] = None,
local_out: Optional[str] = None,
local_out_ioc_detection: Optional[str] = None,
log_invalid_packet: Optional[str] = None,
log_policy_comment: Optional[str] = None,
log_policy_name: Optional[str] = None,
log_user_in_upper: Optional[str] = None,
long_live_session_stat: Optional[str] = None,
neighbor_event: Optional[str] = None,
resolve_ip: Optional[str] = None,
resolve_port: Optional[str] = None,
rest_api_get: Optional[str] = None,
rest_api_set: Optional[str] = None,
syslog_override: Optional[str] = None,
user_anonymize: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewSetting(ctx *Context, name string, args *SettingArgs, opts ...ResourceOption) (*Setting, error)
public Setting(string name, SettingArgs? args = null, CustomResourceOptions? opts = null)
public Setting(String name, SettingArgs args)
public Setting(String name, SettingArgs args, CustomResourceOptions options)
type: fortios:log:Setting
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 SettingArgs
- 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 SettingArgs
- 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 SettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SettingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplesettingResourceResourceFromLogsetting = new Fortios.Log.Setting("examplesettingResourceResourceFromLogsetting", new()
{
AnonymizationHash = "string",
BriefTrafficFormat = "string",
CustomLogFields = new[]
{
new Fortios.Log.Inputs.SettingCustomLogFieldArgs
{
FieldId = "string",
},
},
DaemonLog = "string",
DynamicSortSubtable = "string",
ExpolicyImplicitLog = "string",
ExtendedLog = "string",
FazOverride = "string",
Fwpolicy6ImplicitLog = "string",
FwpolicyImplicitLog = "string",
GetAllTables = "string",
LocalInAllow = "string",
LocalInDenyBroadcast = "string",
LocalInDenyUnicast = "string",
LocalOut = "string",
LocalOutIocDetection = "string",
LogInvalidPacket = "string",
LogPolicyComment = "string",
LogPolicyName = "string",
LogUserInUpper = "string",
LongLiveSessionStat = "string",
NeighborEvent = "string",
ResolveIp = "string",
ResolvePort = "string",
RestApiGet = "string",
RestApiSet = "string",
SyslogOverride = "string",
UserAnonymize = "string",
Vdomparam = "string",
});
example, err := log.NewSetting(ctx, "examplesettingResourceResourceFromLogsetting", &log.SettingArgs{
AnonymizationHash: pulumi.String("string"),
BriefTrafficFormat: pulumi.String("string"),
CustomLogFields: log.SettingCustomLogFieldArray{
&log.SettingCustomLogFieldArgs{
FieldId: pulumi.String("string"),
},
},
DaemonLog: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
ExpolicyImplicitLog: pulumi.String("string"),
ExtendedLog: pulumi.String("string"),
FazOverride: pulumi.String("string"),
Fwpolicy6ImplicitLog: pulumi.String("string"),
FwpolicyImplicitLog: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
LocalInAllow: pulumi.String("string"),
LocalInDenyBroadcast: pulumi.String("string"),
LocalInDenyUnicast: pulumi.String("string"),
LocalOut: pulumi.String("string"),
LocalOutIocDetection: pulumi.String("string"),
LogInvalidPacket: pulumi.String("string"),
LogPolicyComment: pulumi.String("string"),
LogPolicyName: pulumi.String("string"),
LogUserInUpper: pulumi.String("string"),
LongLiveSessionStat: pulumi.String("string"),
NeighborEvent: pulumi.String("string"),
ResolveIp: pulumi.String("string"),
ResolvePort: pulumi.String("string"),
RestApiGet: pulumi.String("string"),
RestApiSet: pulumi.String("string"),
SyslogOverride: pulumi.String("string"),
UserAnonymize: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var examplesettingResourceResourceFromLogsetting = new Setting("examplesettingResourceResourceFromLogsetting", SettingArgs.builder()
.anonymizationHash("string")
.briefTrafficFormat("string")
.customLogFields(SettingCustomLogFieldArgs.builder()
.fieldId("string")
.build())
.daemonLog("string")
.dynamicSortSubtable("string")
.expolicyImplicitLog("string")
.extendedLog("string")
.fazOverride("string")
.fwpolicy6ImplicitLog("string")
.fwpolicyImplicitLog("string")
.getAllTables("string")
.localInAllow("string")
.localInDenyBroadcast("string")
.localInDenyUnicast("string")
.localOut("string")
.localOutIocDetection("string")
.logInvalidPacket("string")
.logPolicyComment("string")
.logPolicyName("string")
.logUserInUpper("string")
.longLiveSessionStat("string")
.neighborEvent("string")
.resolveIp("string")
.resolvePort("string")
.restApiGet("string")
.restApiSet("string")
.syslogOverride("string")
.userAnonymize("string")
.vdomparam("string")
.build());
examplesetting_resource_resource_from_logsetting = fortios.log.Setting("examplesettingResourceResourceFromLogsetting",
anonymization_hash="string",
brief_traffic_format="string",
custom_log_fields=[{
"field_id": "string",
}],
daemon_log="string",
dynamic_sort_subtable="string",
expolicy_implicit_log="string",
extended_log="string",
faz_override="string",
fwpolicy6_implicit_log="string",
fwpolicy_implicit_log="string",
get_all_tables="string",
local_in_allow="string",
local_in_deny_broadcast="string",
local_in_deny_unicast="string",
local_out="string",
local_out_ioc_detection="string",
log_invalid_packet="string",
log_policy_comment="string",
log_policy_name="string",
log_user_in_upper="string",
long_live_session_stat="string",
neighbor_event="string",
resolve_ip="string",
resolve_port="string",
rest_api_get="string",
rest_api_set="string",
syslog_override="string",
user_anonymize="string",
vdomparam="string")
const examplesettingResourceResourceFromLogsetting = new fortios.log.Setting("examplesettingResourceResourceFromLogsetting", {
anonymizationHash: "string",
briefTrafficFormat: "string",
customLogFields: [{
fieldId: "string",
}],
daemonLog: "string",
dynamicSortSubtable: "string",
expolicyImplicitLog: "string",
extendedLog: "string",
fazOverride: "string",
fwpolicy6ImplicitLog: "string",
fwpolicyImplicitLog: "string",
getAllTables: "string",
localInAllow: "string",
localInDenyBroadcast: "string",
localInDenyUnicast: "string",
localOut: "string",
localOutIocDetection: "string",
logInvalidPacket: "string",
logPolicyComment: "string",
logPolicyName: "string",
logUserInUpper: "string",
longLiveSessionStat: "string",
neighborEvent: "string",
resolveIp: "string",
resolvePort: "string",
restApiGet: "string",
restApiSet: "string",
syslogOverride: "string",
userAnonymize: "string",
vdomparam: "string",
});
type: fortios:log:Setting
properties:
anonymizationHash: string
briefTrafficFormat: string
customLogFields:
- fieldId: string
daemonLog: string
dynamicSortSubtable: string
expolicyImplicitLog: string
extendedLog: string
fazOverride: string
fwpolicy6ImplicitLog: string
fwpolicyImplicitLog: string
getAllTables: string
localInAllow: string
localInDenyBroadcast: string
localInDenyUnicast: string
localOut: string
localOutIocDetection: string
logInvalidPacket: string
logPolicyComment: string
logPolicyName: string
logUserInUpper: string
longLiveSessionStat: string
neighborEvent: string
resolveIp: string
resolvePort: string
restApiGet: string
restApiSet: string
syslogOverride: string
userAnonymize: string
vdomparam: string
Setting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Setting resource accepts the following input properties:
- Anonymization
Hash string - User name anonymization hash salt.
- Brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - Custom
Log List<Pulumiverse.Fields Fortios. Log. Inputs. Setting Custom Log Field> - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - Daemon
Log string - Enable/disable daemon 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 ].
- Expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - Extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - Faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - Fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - Fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - Local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - Local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - Local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - Local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - Log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - Log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - Log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - Log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - Long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - Neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - Resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - Resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - Rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - Rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - Syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - User
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- Anonymization
Hash string - User name anonymization hash salt.
- Brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - Custom
Log []SettingFields Custom Log Field Args - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - Daemon
Log string - Enable/disable daemon 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 ].
- Expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - Extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - Faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - Fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - Fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - Local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - Local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - Local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - Local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - Log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - Log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - Log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - Log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - Long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - Neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - Resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - Resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - Rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - Rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - Syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - User
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash String - User name anonymization hash salt.
- brief
Traffic StringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log List<SettingFields Custom Log Field> - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log String - Enable/disable daemon 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 ].
- expolicy
Implicit StringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log String - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override String - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log String - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit StringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In StringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In StringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In StringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out String - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out StringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid StringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy StringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy StringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User StringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live StringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event String - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip String - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port String - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api StringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api StringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override String - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize String - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash string - User name anonymization hash salt.
- brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log SettingFields Custom Log Field[] - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log string - Enable/disable daemon 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 ].
- expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- anonymization_
hash str - User name anonymization hash salt.
- brief_
traffic_ strformat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom_
log_ Sequence[Settingfields Custom Log Field Args] - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon_
log str - Enable/disable daemon 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 ].
- expolicy_
implicit_ strlog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended_
log str - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz_
override str - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6_
implicit_ strlog - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy_
implicit_ strlog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local_
in_ strallow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local_
in_ strdeny_ broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local_
in_ strdeny_ unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local_
out str - Enable/disable local-out logging. Valid values:
enable
,disable
. - local_
out_ strioc_ detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log_
invalid_ strpacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log_
policy_ strcomment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log_
policy_ strname - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log_
user_ strin_ upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long_
live_ strsession_ stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor_
event str - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve_
ip str - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve_
port str - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest_
api_ strget - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest_
api_ strset - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog_
override str - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user_
anonymize str - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash String - User name anonymization hash salt.
- brief
Traffic StringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log List<Property Map>Fields - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log String - Enable/disable daemon 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 ].
- expolicy
Implicit StringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log String - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override String - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log String - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit StringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In StringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In StringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In StringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out String - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out StringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid StringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy StringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy StringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User StringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live StringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event String - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip String - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port String - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api StringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api StringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override String - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize String - Enable/disable anonymizing user names in log messages. 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Setting 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 Setting Resource
Get an existing Setting 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?: SettingState, opts?: CustomResourceOptions): Setting
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anonymization_hash: Optional[str] = None,
brief_traffic_format: Optional[str] = None,
custom_log_fields: Optional[Sequence[SettingCustomLogFieldArgs]] = None,
daemon_log: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
expolicy_implicit_log: Optional[str] = None,
extended_log: Optional[str] = None,
faz_override: Optional[str] = None,
fwpolicy6_implicit_log: Optional[str] = None,
fwpolicy_implicit_log: Optional[str] = None,
get_all_tables: Optional[str] = None,
local_in_allow: Optional[str] = None,
local_in_deny_broadcast: Optional[str] = None,
local_in_deny_unicast: Optional[str] = None,
local_out: Optional[str] = None,
local_out_ioc_detection: Optional[str] = None,
log_invalid_packet: Optional[str] = None,
log_policy_comment: Optional[str] = None,
log_policy_name: Optional[str] = None,
log_user_in_upper: Optional[str] = None,
long_live_session_stat: Optional[str] = None,
neighbor_event: Optional[str] = None,
resolve_ip: Optional[str] = None,
resolve_port: Optional[str] = None,
rest_api_get: Optional[str] = None,
rest_api_set: Optional[str] = None,
syslog_override: Optional[str] = None,
user_anonymize: Optional[str] = None,
vdomparam: Optional[str] = None) -> Setting
func GetSetting(ctx *Context, name string, id IDInput, state *SettingState, opts ...ResourceOption) (*Setting, error)
public static Setting Get(string name, Input<string> id, SettingState? state, CustomResourceOptions? opts = null)
public static Setting get(String name, Output<String> id, SettingState 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.
- Anonymization
Hash string - User name anonymization hash salt.
- Brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - Custom
Log List<Pulumiverse.Fields Fortios. Log. Inputs. Setting Custom Log Field> - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - Daemon
Log string - Enable/disable daemon 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 ].
- Expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - Extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - Faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - Fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - Fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - Local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - Local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - Local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - Local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - Log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - Log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - Log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - Log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - Long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - Neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - Resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - Resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - Rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - Rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - Syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - User
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- Anonymization
Hash string - User name anonymization hash salt.
- Brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - Custom
Log []SettingFields Custom Log Field Args - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - Daemon
Log string - Enable/disable daemon 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 ].
- Expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - Extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - Faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - Fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - Fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - Local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - Local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - Local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - Local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - Log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - Log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - Log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - Log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - Long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - Neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - Resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - Resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - Rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - Rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - Syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - User
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash String - User name anonymization hash salt.
- brief
Traffic StringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log List<SettingFields Custom Log Field> - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log String - Enable/disable daemon 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 ].
- expolicy
Implicit StringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log String - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override String - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log String - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit StringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In StringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In StringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In StringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out String - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out StringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid StringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy StringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy StringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User StringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live StringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event String - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip String - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port String - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api StringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api StringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override String - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize String - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash string - User name anonymization hash salt.
- brief
Traffic stringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log SettingFields Custom Log Field[] - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log string - Enable/disable daemon 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 ].
- expolicy
Implicit stringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log string - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override string - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log string - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit stringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In stringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In stringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In stringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out string - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out stringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid stringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy stringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy stringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User stringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live stringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event string - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip string - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port string - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api stringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api stringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override string - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize string - Enable/disable anonymizing user names in log messages. 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.
- anonymization_
hash str - User name anonymization hash salt.
- brief_
traffic_ strformat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom_
log_ Sequence[Settingfields Custom Log Field Args] - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon_
log str - Enable/disable daemon 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 ].
- expolicy_
implicit_ strlog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended_
log str - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz_
override str - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6_
implicit_ strlog - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy_
implicit_ strlog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local_
in_ strallow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local_
in_ strdeny_ broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local_
in_ strdeny_ unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local_
out str - Enable/disable local-out logging. Valid values:
enable
,disable
. - local_
out_ strioc_ detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log_
invalid_ strpacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log_
policy_ strcomment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log_
policy_ strname - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log_
user_ strin_ upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long_
live_ strsession_ stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor_
event str - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve_
ip str - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve_
port str - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest_
api_ strget - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest_
api_ strset - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog_
override str - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user_
anonymize str - Enable/disable anonymizing user names in log messages. 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.
- anonymization
Hash String - User name anonymization hash salt.
- brief
Traffic StringFormat - Enable/disable brief format traffic logging. Valid values:
enable
,disable
. - custom
Log List<Property Map>Fields - Custom fields to append to all log messages. The structure of
custom_log_fields
block is documented below. - daemon
Log String - Enable/disable daemon 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 ].
- expolicy
Implicit StringLog - Enable/disable explicit proxy firewall implicit policy logging. Valid values:
enable
,disable
. - extended
Log String - Enable/disable extended traffic logging. Valid values:
enable
,disable
. - faz
Override String - Enable/disable override FortiAnalyzer settings. Valid values:
enable
,disable
. - fwpolicy6Implicit
Log String - Enable/disable implicit firewall policy6 logging. Valid values:
enable
,disable
. - fwpolicy
Implicit StringLog - Enable/disable implicit firewall policy logging. Valid values:
enable
,disable
. - 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- local
In StringAllow - Enable/disable local-in-allow logging. Valid values:
enable
,disable
. - local
In StringDeny Broadcast - Enable/disable local-in-deny-broadcast logging. Valid values:
enable
,disable
. - local
In StringDeny Unicast - Enable/disable local-in-deny-unicast logging. Valid values:
enable
,disable
. - local
Out String - Enable/disable local-out logging. Valid values:
enable
,disable
. - local
Out StringIoc Detection - Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values:
enable
,disable
. - log
Invalid StringPacket - Enable/disable invalid packet traffic logging. Valid values:
enable
,disable
. - log
Policy StringComment - Enable/disable inserting policy comments into traffic logs. Valid values:
enable
,disable
. - log
Policy StringName - Enable/disable inserting policy name into traffic logs. Valid values:
enable
,disable
. - log
User StringIn Upper - Enable/disable logs with user-in-upper. Valid values:
enable
,disable
. - long
Live StringSession Stat - Enable/disable long-live-session statistics logging. Valid values:
enable
,disable
. - neighbor
Event String - Enable/disable neighbor event logging. Valid values:
enable
,disable
. - resolve
Ip String - Enable/disable adding resolved domain names to traffic logs if possible. Valid values:
enable
,disable
. - resolve
Port String - Enable/disable adding resolved service names to traffic logs. Valid values:
enable
,disable
. - rest
Api StringGet - Enable/disable REST API GET request logging. Valid values:
enable
,disable
. - rest
Api StringSet - Enable/disable REST API POST/PUT/DELETE request logging. Valid values:
enable
,disable
. - syslog
Override String - Enable/disable override Syslog settings. Valid values:
enable
,disable
. - user
Anonymize String - Enable/disable anonymizing user names in log messages. 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.
Supporting Types
SettingCustomLogField, SettingCustomLogFieldArgs
- Field
Id string - Custom log field.
- Field
Id string - Custom log field.
- field
Id String - Custom log field.
- field
Id string - Custom log field.
- field_
id str - Custom log field.
- field
Id String - Custom log field.
Import
Log Setting can be imported using any of these accepted formats:
$ pulumi import fortios:log/setting:Setting labelname LogSetting
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:log/setting:Setting labelname LogSetting
$ 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.