1. Packages
  2. Fortios
  3. API Docs
  4. log
  5. Setting
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.log.Setting

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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=[fortios.log.SettingCustomLogFieldArgs(
            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

    The Setting resource accepts the following input properties:

    AnonymizationHash string
    User name anonymization hash salt.
    BriefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    CustomLogFields List<Pulumiverse.Fortios.Log.Inputs.SettingCustomLogField>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    DaemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    ExpolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    ExtendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    FazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    Fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    FwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    GetAllTables string
    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.
    LocalInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    LocalInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    LocalInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    LocalOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    LocalOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    LogInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    LogPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    LogPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    LogUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    LongLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    NeighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    ResolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    ResolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    RestApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    RestApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    SyslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    UserAnonymize 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.
    AnonymizationHash string
    User name anonymization hash salt.
    BriefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    CustomLogFields []SettingCustomLogFieldArgs
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    DaemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    ExpolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    ExtendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    FazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    Fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    FwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    GetAllTables string
    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.
    LocalInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    LocalInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    LocalInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    LocalOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    LocalOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    LogInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    LogPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    LogPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    LogUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    LongLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    NeighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    ResolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    ResolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    RestApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    RestApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    SyslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    UserAnonymize 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.
    anonymizationHash String
    User name anonymization hash salt.
    briefTrafficFormat String
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields List<SettingCustomLogField>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog String
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    expolicyImplicitLog String
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog String
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride String
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog String
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog String
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables String
    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.
    localInAllow String
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast String
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast String
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut String
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection String
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket String
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment String
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName String
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper String
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat String
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent String
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp String
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort String
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet String
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet String
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride String
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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.
    anonymizationHash string
    User name anonymization hash salt.
    briefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields SettingCustomLogField[]
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable string
    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 ].
    expolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables string
    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.
    localInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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_format str
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    custom_log_fields Sequence[SettingCustomLogFieldArgs]
    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_subtable str
    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_log str
    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_log str
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicy_implicit_log str
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    get_all_tables str
    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.
    local_in_allow str
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    local_in_deny_broadcast str
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    local_in_deny_unicast str
    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_ioc_detection str
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    log_invalid_packet str
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    log_policy_comment str
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    log_policy_name str
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    log_user_in_upper str
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    long_live_session_stat str
    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_get str
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    rest_api_set str
    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.
    anonymizationHash String
    User name anonymization hash salt.
    briefTrafficFormat String
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields List<Property Map>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog String
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    expolicyImplicitLog String
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog String
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride String
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog String
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog String
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables String
    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.
    localInAllow String
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast String
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast String
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut String
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection String
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket String
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment String
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName String
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper String
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat String
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent String
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp String
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort String
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet String
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet String
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride String
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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.
    The following state arguments are supported:
    AnonymizationHash string
    User name anonymization hash salt.
    BriefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    CustomLogFields List<Pulumiverse.Fortios.Log.Inputs.SettingCustomLogField>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    DaemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    ExpolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    ExtendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    FazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    Fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    FwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    GetAllTables string
    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.
    LocalInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    LocalInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    LocalInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    LocalOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    LocalOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    LogInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    LogPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    LogPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    LogUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    LongLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    NeighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    ResolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    ResolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    RestApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    RestApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    SyslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    UserAnonymize 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.
    AnonymizationHash string
    User name anonymization hash salt.
    BriefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    CustomLogFields []SettingCustomLogFieldArgs
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    DaemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    ExpolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    ExtendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    FazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    Fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    FwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    GetAllTables string
    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.
    LocalInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    LocalInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    LocalInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    LocalOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    LocalOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    LogInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    LogPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    LogPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    LogUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    LongLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    NeighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    ResolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    ResolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    RestApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    RestApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    SyslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    UserAnonymize 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.
    anonymizationHash String
    User name anonymization hash salt.
    briefTrafficFormat String
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields List<SettingCustomLogField>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog String
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    expolicyImplicitLog String
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog String
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride String
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog String
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog String
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables String
    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.
    localInAllow String
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast String
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast String
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut String
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection String
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket String
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment String
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName String
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper String
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat String
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent String
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp String
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort String
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet String
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet String
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride String
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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.
    anonymizationHash string
    User name anonymization hash salt.
    briefTrafficFormat string
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields SettingCustomLogField[]
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog string
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable string
    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 ].
    expolicyImplicitLog string
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog string
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride string
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog string
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog string
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables string
    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.
    localInAllow string
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast string
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast string
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut string
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection string
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket string
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment string
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName string
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper string
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat string
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent string
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp string
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort string
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet string
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet string
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride string
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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_format str
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    custom_log_fields Sequence[SettingCustomLogFieldArgs]
    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_subtable str
    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_log str
    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_log str
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicy_implicit_log str
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    get_all_tables str
    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.
    local_in_allow str
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    local_in_deny_broadcast str
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    local_in_deny_unicast str
    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_ioc_detection str
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    log_invalid_packet str
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    log_policy_comment str
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    log_policy_name str
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    log_user_in_upper str
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    long_live_session_stat str
    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_get str
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    rest_api_set str
    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.
    anonymizationHash String
    User name anonymization hash salt.
    briefTrafficFormat String
    Enable/disable brief format traffic logging. Valid values: enable, disable.
    customLogFields List<Property Map>
    Custom fields to append to all log messages. The structure of custom_log_fields block is documented below.
    daemonLog String
    Enable/disable daemon logging. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    expolicyImplicitLog String
    Enable/disable explicit proxy firewall implicit policy logging. Valid values: enable, disable.
    extendedLog String
    Enable/disable extended traffic logging. Valid values: enable, disable.
    fazOverride String
    Enable/disable override FortiAnalyzer settings. Valid values: enable, disable.
    fwpolicy6ImplicitLog String
    Enable/disable implicit firewall policy6 logging. Valid values: enable, disable.
    fwpolicyImplicitLog String
    Enable/disable implicit firewall policy logging. Valid values: enable, disable.
    getAllTables String
    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.
    localInAllow String
    Enable/disable local-in-allow logging. Valid values: enable, disable.
    localInDenyBroadcast String
    Enable/disable local-in-deny-broadcast logging. Valid values: enable, disable.
    localInDenyUnicast String
    Enable/disable local-in-deny-unicast logging. Valid values: enable, disable.
    localOut String
    Enable/disable local-out logging. Valid values: enable, disable.
    localOutIocDetection String
    Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: enable, disable.
    logInvalidPacket String
    Enable/disable invalid packet traffic logging. Valid values: enable, disable.
    logPolicyComment String
    Enable/disable inserting policy comments into traffic logs. Valid values: enable, disable.
    logPolicyName String
    Enable/disable inserting policy name into traffic logs. Valid values: enable, disable.
    logUserInUpper String
    Enable/disable logs with user-in-upper. Valid values: enable, disable.
    longLiveSessionStat String
    Enable/disable long-live-session statistics logging. Valid values: enable, disable.
    neighborEvent String
    Enable/disable neighbor event logging. Valid values: enable, disable.
    resolveIp String
    Enable/disable adding resolved domain names to traffic logs if possible. Valid values: enable, disable.
    resolvePort String
    Enable/disable adding resolved service names to traffic logs. Valid values: enable, disable.
    restApiGet String
    Enable/disable REST API GET request logging. Valid values: enable, disable.
    restApiSet String
    Enable/disable REST API POST/PUT/DELETE request logging. Valid values: enable, disable.
    syslogOverride String
    Enable/disable override Syslog settings. Valid values: enable, disable.
    userAnonymize 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

    FieldId string
    Custom log field.
    FieldId string
    Custom log field.
    fieldId String
    Custom log field.
    fieldId string
    Custom log field.
    field_id str
    Custom log field.
    fieldId 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse