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

fortios.dlp.Fpdocsource

Explore with Pulumi AI

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

    Create a DLP fingerprint database by allowing the FortiGate to access a file server containing files from which to create fingerprints.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.dlp.Fpdocsource("trname", {
        date: 1,
        filePath: "/",
        filePattern: "*",
        keepModified: "enable",
        period: "none",
        removeDeleted: "enable",
        scanOnCreation: "enable",
        scanSubdirectories: "enable",
        server: "1.1.1.1",
        serverType: "samba",
        todHour: 1,
        todMin: 0,
        username: "sgh",
        vdom: "mgmt",
        weekday: "sunday",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.dlp.Fpdocsource("trname",
        date=1,
        file_path="/",
        file_pattern="*",
        keep_modified="enable",
        period="none",
        remove_deleted="enable",
        scan_on_creation="enable",
        scan_subdirectories="enable",
        server="1.1.1.1",
        server_type="samba",
        tod_hour=1,
        tod_min=0,
        username="sgh",
        vdom="mgmt",
        weekday="sunday")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dlp.NewFpdocsource(ctx, "trname", &dlp.FpdocsourceArgs{
    			Date:               pulumi.Int(1),
    			FilePath:           pulumi.String("/"),
    			FilePattern:        pulumi.String("*"),
    			KeepModified:       pulumi.String("enable"),
    			Period:             pulumi.String("none"),
    			RemoveDeleted:      pulumi.String("enable"),
    			ScanOnCreation:     pulumi.String("enable"),
    			ScanSubdirectories: pulumi.String("enable"),
    			Server:             pulumi.String("1.1.1.1"),
    			ServerType:         pulumi.String("samba"),
    			TodHour:            pulumi.Int(1),
    			TodMin:             pulumi.Int(0),
    			Username:           pulumi.String("sgh"),
    			Vdom:               pulumi.String("mgmt"),
    			Weekday:            pulumi.String("sunday"),
    		})
    		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.Dlp.Fpdocsource("trname", new()
        {
            Date = 1,
            FilePath = "/",
            FilePattern = "*",
            KeepModified = "enable",
            Period = "none",
            RemoveDeleted = "enable",
            ScanOnCreation = "enable",
            ScanSubdirectories = "enable",
            Server = "1.1.1.1",
            ServerType = "samba",
            TodHour = 1,
            TodMin = 0,
            Username = "sgh",
            Vdom = "mgmt",
            Weekday = "sunday",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.dlp.Fpdocsource;
    import com.pulumi.fortios.dlp.FpdocsourceArgs;
    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 Fpdocsource("trname", FpdocsourceArgs.builder()        
                .date(1)
                .filePath("/")
                .filePattern("*")
                .keepModified("enable")
                .period("none")
                .removeDeleted("enable")
                .scanOnCreation("enable")
                .scanSubdirectories("enable")
                .server("1.1.1.1")
                .serverType("samba")
                .todHour(1)
                .todMin(0)
                .username("sgh")
                .vdom("mgmt")
                .weekday("sunday")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:dlp:Fpdocsource
        properties:
          date: 1
          filePath: /
          filePattern: '*'
          keepModified: enable
          period: none
          removeDeleted: enable
          scanOnCreation: enable
          scanSubdirectories: enable
          server: 1.1.1.1
          serverType: samba
          todHour: 1
          todMin: 0
          username: sgh
          vdom: mgmt
          weekday: sunday
    

    Create Fpdocsource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Fpdocsource(name: string, args: FpdocsourceArgs, opts?: CustomResourceOptions);
    @overload
    def Fpdocsource(resource_name: str,
                    args: FpdocsourceArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Fpdocsource(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    server: Optional[str] = None,
                    username: Optional[str] = None,
                    server_type: Optional[str] = None,
                    name: Optional[str] = None,
                    sensitivity: Optional[str] = None,
                    password: Optional[str] = None,
                    period: Optional[str] = None,
                    remove_deleted: Optional[str] = None,
                    scan_on_creation: Optional[str] = None,
                    scan_subdirectories: Optional[str] = None,
                    date: Optional[int] = None,
                    keep_modified: Optional[str] = None,
                    file_pattern: Optional[str] = None,
                    tod_hour: Optional[int] = None,
                    tod_min: Optional[int] = None,
                    file_path: Optional[str] = None,
                    vdom: Optional[str] = None,
                    vdomparam: Optional[str] = None,
                    weekday: Optional[str] = None)
    func NewFpdocsource(ctx *Context, name string, args FpdocsourceArgs, opts ...ResourceOption) (*Fpdocsource, error)
    public Fpdocsource(string name, FpdocsourceArgs args, CustomResourceOptions? opts = null)
    public Fpdocsource(String name, FpdocsourceArgs args)
    public Fpdocsource(String name, FpdocsourceArgs args, CustomResourceOptions options)
    
    type: fortios:dlp:Fpdocsource
    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 FpdocsourceArgs
    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 FpdocsourceArgs
    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 FpdocsourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FpdocsourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FpdocsourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var fpdocsourceResource = new Fortios.Dlp.Fpdocsource("fpdocsourceResource", new()
    {
        Server = "string",
        Username = "string",
        ServerType = "string",
        Name = "string",
        Sensitivity = "string",
        Password = "string",
        Period = "string",
        RemoveDeleted = "string",
        ScanOnCreation = "string",
        ScanSubdirectories = "string",
        Date = 0,
        KeepModified = "string",
        FilePattern = "string",
        TodHour = 0,
        TodMin = 0,
        FilePath = "string",
        Vdom = "string",
        Vdomparam = "string",
        Weekday = "string",
    });
    
    example, err := dlp.NewFpdocsource(ctx, "fpdocsourceResource", &dlp.FpdocsourceArgs{
    	Server:             pulumi.String("string"),
    	Username:           pulumi.String("string"),
    	ServerType:         pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	Sensitivity:        pulumi.String("string"),
    	Password:           pulumi.String("string"),
    	Period:             pulumi.String("string"),
    	RemoveDeleted:      pulumi.String("string"),
    	ScanOnCreation:     pulumi.String("string"),
    	ScanSubdirectories: pulumi.String("string"),
    	Date:               pulumi.Int(0),
    	KeepModified:       pulumi.String("string"),
    	FilePattern:        pulumi.String("string"),
    	TodHour:            pulumi.Int(0),
    	TodMin:             pulumi.Int(0),
    	FilePath:           pulumi.String("string"),
    	Vdom:               pulumi.String("string"),
    	Vdomparam:          pulumi.String("string"),
    	Weekday:            pulumi.String("string"),
    })
    
    var fpdocsourceResource = new Fpdocsource("fpdocsourceResource", FpdocsourceArgs.builder()        
        .server("string")
        .username("string")
        .serverType("string")
        .name("string")
        .sensitivity("string")
        .password("string")
        .period("string")
        .removeDeleted("string")
        .scanOnCreation("string")
        .scanSubdirectories("string")
        .date(0)
        .keepModified("string")
        .filePattern("string")
        .todHour(0)
        .todMin(0)
        .filePath("string")
        .vdom("string")
        .vdomparam("string")
        .weekday("string")
        .build());
    
    fpdocsource_resource = fortios.dlp.Fpdocsource("fpdocsourceResource",
        server="string",
        username="string",
        server_type="string",
        name="string",
        sensitivity="string",
        password="string",
        period="string",
        remove_deleted="string",
        scan_on_creation="string",
        scan_subdirectories="string",
        date=0,
        keep_modified="string",
        file_pattern="string",
        tod_hour=0,
        tod_min=0,
        file_path="string",
        vdom="string",
        vdomparam="string",
        weekday="string")
    
    const fpdocsourceResource = new fortios.dlp.Fpdocsource("fpdocsourceResource", {
        server: "string",
        username: "string",
        serverType: "string",
        name: "string",
        sensitivity: "string",
        password: "string",
        period: "string",
        removeDeleted: "string",
        scanOnCreation: "string",
        scanSubdirectories: "string",
        date: 0,
        keepModified: "string",
        filePattern: "string",
        todHour: 0,
        todMin: 0,
        filePath: "string",
        vdom: "string",
        vdomparam: "string",
        weekday: "string",
    });
    
    type: fortios:dlp:Fpdocsource
    properties:
        date: 0
        filePath: string
        filePattern: string
        keepModified: string
        name: string
        password: string
        period: string
        removeDeleted: string
        scanOnCreation: string
        scanSubdirectories: string
        sensitivity: string
        server: string
        serverType: string
        todHour: 0
        todMin: 0
        username: string
        vdom: string
        vdomparam: string
        weekday: string
    

    Fpdocsource 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 Fpdocsource resource accepts the following input properties:

    Server string
    IPv4 or IPv6 address of the server.
    ServerType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    Username string
    User name required to log into the file server.
    Date int
    Day of the month on which to scan the server (1 - 31).
    FilePath string
    Path on the server to the fingerprint files (max 119 characters).
    FilePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    KeepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    Name string
    Name of the DLP fingerprint database.
    Password string
    Password required to log into the file server.
    Period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    RemoveDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    ScanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    ScanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    Sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    TodHour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    TodMin int
    Minute of the hour on which to scan the server (0 - 59).
    Vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    Weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    Server string
    IPv4 or IPv6 address of the server.
    ServerType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    Username string
    User name required to log into the file server.
    Date int
    Day of the month on which to scan the server (1 - 31).
    FilePath string
    Path on the server to the fingerprint files (max 119 characters).
    FilePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    KeepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    Name string
    Name of the DLP fingerprint database.
    Password string
    Password required to log into the file server.
    Period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    RemoveDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    ScanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    ScanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    Sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    TodHour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    TodMin int
    Minute of the hour on which to scan the server (0 - 59).
    Vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    Weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    server String
    IPv4 or IPv6 address of the server.
    serverType String
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    username String
    User name required to log into the file server.
    date Integer
    Day of the month on which to scan the server (1 - 31).
    filePath String
    Path on the server to the fingerprint files (max 119 characters).
    filePattern String
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified String
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name String
    Name of the DLP fingerprint database.
    password String
    Password required to log into the file server.
    period String
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted String
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation String
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories String
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity String
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    todHour Integer
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin Integer
    Minute of the hour on which to scan the server (0 - 59).
    vdom String
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday String
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    server string
    IPv4 or IPv6 address of the server.
    serverType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    username string
    User name required to log into the file server.
    date number
    Day of the month on which to scan the server (1 - 31).
    filePath string
    Path on the server to the fingerprint files (max 119 characters).
    filePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name string
    Name of the DLP fingerprint database.
    password string
    Password required to log into the file server.
    period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    todHour number
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin number
    Minute of the hour on which to scan the server (0 - 59).
    vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    server str
    IPv4 or IPv6 address of the server.
    server_type str
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    username str
    User name required to log into the file server.
    date int
    Day of the month on which to scan the server (1 - 31).
    file_path str
    Path on the server to the fingerprint files (max 119 characters).
    file_pattern str
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keep_modified str
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name str
    Name of the DLP fingerprint database.
    password str
    Password required to log into the file server.
    period str
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    remove_deleted str
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scan_on_creation str
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scan_subdirectories str
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity str
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    tod_hour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    tod_min int
    Minute of the hour on which to scan the server (0 - 59).
    vdom str
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday str
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    server String
    IPv4 or IPv6 address of the server.
    serverType String
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    username String
    User name required to log into the file server.
    date Number
    Day of the month on which to scan the server (1 - 31).
    filePath String
    Path on the server to the fingerprint files (max 119 characters).
    filePattern String
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified String
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name String
    Name of the DLP fingerprint database.
    password String
    Password required to log into the file server.
    period String
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted String
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation String
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories String
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity String
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    todHour Number
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin Number
    Minute of the hour on which to scan the server (0 - 59).
    vdom String
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday String
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Fpdocsource 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 Fpdocsource Resource

    Get an existing Fpdocsource 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?: FpdocsourceState, opts?: CustomResourceOptions): Fpdocsource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            date: Optional[int] = None,
            file_path: Optional[str] = None,
            file_pattern: Optional[str] = None,
            keep_modified: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            period: Optional[str] = None,
            remove_deleted: Optional[str] = None,
            scan_on_creation: Optional[str] = None,
            scan_subdirectories: Optional[str] = None,
            sensitivity: Optional[str] = None,
            server: Optional[str] = None,
            server_type: Optional[str] = None,
            tod_hour: Optional[int] = None,
            tod_min: Optional[int] = None,
            username: Optional[str] = None,
            vdom: Optional[str] = None,
            vdomparam: Optional[str] = None,
            weekday: Optional[str] = None) -> Fpdocsource
    func GetFpdocsource(ctx *Context, name string, id IDInput, state *FpdocsourceState, opts ...ResourceOption) (*Fpdocsource, error)
    public static Fpdocsource Get(string name, Input<string> id, FpdocsourceState? state, CustomResourceOptions? opts = null)
    public static Fpdocsource get(String name, Output<String> id, FpdocsourceState 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:
    Date int
    Day of the month on which to scan the server (1 - 31).
    FilePath string
    Path on the server to the fingerprint files (max 119 characters).
    FilePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    KeepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    Name string
    Name of the DLP fingerprint database.
    Password string
    Password required to log into the file server.
    Period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    RemoveDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    ScanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    ScanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    Sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    Server string
    IPv4 or IPv6 address of the server.
    ServerType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    TodHour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    TodMin int
    Minute of the hour on which to scan the server (0 - 59).
    Username string
    User name required to log into the file server.
    Vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    Weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    Date int
    Day of the month on which to scan the server (1 - 31).
    FilePath string
    Path on the server to the fingerprint files (max 119 characters).
    FilePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    KeepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    Name string
    Name of the DLP fingerprint database.
    Password string
    Password required to log into the file server.
    Period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    RemoveDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    ScanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    ScanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    Sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    Server string
    IPv4 or IPv6 address of the server.
    ServerType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    TodHour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    TodMin int
    Minute of the hour on which to scan the server (0 - 59).
    Username string
    User name required to log into the file server.
    Vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    Weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    date Integer
    Day of the month on which to scan the server (1 - 31).
    filePath String
    Path on the server to the fingerprint files (max 119 characters).
    filePattern String
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified String
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name String
    Name of the DLP fingerprint database.
    password String
    Password required to log into the file server.
    period String
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted String
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation String
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories String
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity String
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    server String
    IPv4 or IPv6 address of the server.
    serverType String
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    todHour Integer
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin Integer
    Minute of the hour on which to scan the server (0 - 59).
    username String
    User name required to log into the file server.
    vdom String
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday String
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    date number
    Day of the month on which to scan the server (1 - 31).
    filePath string
    Path on the server to the fingerprint files (max 119 characters).
    filePattern string
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified string
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name string
    Name of the DLP fingerprint database.
    password string
    Password required to log into the file server.
    period string
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted string
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation string
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories string
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity string
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    server string
    IPv4 or IPv6 address of the server.
    serverType string
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    todHour number
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin number
    Minute of the hour on which to scan the server (0 - 59).
    username string
    User name required to log into the file server.
    vdom string
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday string
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    date int
    Day of the month on which to scan the server (1 - 31).
    file_path str
    Path on the server to the fingerprint files (max 119 characters).
    file_pattern str
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keep_modified str
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name str
    Name of the DLP fingerprint database.
    password str
    Password required to log into the file server.
    period str
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    remove_deleted str
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scan_on_creation str
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scan_subdirectories str
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity str
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    server str
    IPv4 or IPv6 address of the server.
    server_type str
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    tod_hour int
    Hour of the day on which to scan the server (0 - 23, default = 1).
    tod_min int
    Minute of the hour on which to scan the server (0 - 59).
    username str
    User name required to log into the file server.
    vdom str
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday str
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    date Number
    Day of the month on which to scan the server (1 - 31).
    filePath String
    Path on the server to the fingerprint files (max 119 characters).
    filePattern String
    Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
    keepModified String
    Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: enable, disable.
    name String
    Name of the DLP fingerprint database.
    password String
    Password required to log into the file server.
    period String
    Frequency for which the FortiGate checks the server for new or changed files. Valid values: none, daily, weekly, monthly.
    removeDeleted String
    Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: enable, disable.
    scanOnCreation String
    Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: enable, disable.
    scanSubdirectories String
    Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: enable, disable.
    sensitivity String
    Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
    server String
    IPv4 or IPv6 address of the server.
    serverType String
    Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: samba.
    todHour Number
    Hour of the day on which to scan the server (0 - 23, default = 1).
    todMin Number
    Minute of the hour on which to scan the server (0 - 59).
    username String
    User name required to log into the file server.
    vdom String
    Select the VDOM that can communicate with the file server. Valid values: mgmt, current.
    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.
    weekday String
    Day of the week on which to scan the server. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.

    Import

    Dlp FpDocSource can be imported using any of these accepted formats:

    $ pulumi import fortios:dlp/fpdocsource:Fpdocsource labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:dlp/fpdocsource:Fpdocsource labelname {{name}}
    

    $ 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