1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFilefilterProfile
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectFilefilterProfile

Explore with Pulumi AI

Configure file-filter profiles.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • rules: fortimanager.ObjectFilefilterProfileRules

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectFilefilterProfile("trname", {
    comment: "This is a Terraform example",
    extendedLog: "disable",
    featureSet: "flow",
    log: "enable",
    scanArchiveContents: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectFilefilterProfile("trname",
    comment="This is a Terraform example",
    extended_log="disable",
    feature_set="flow",
    log="enable",
    scan_archive_contents="enable")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectFilefilterProfile(ctx, "trname", &fortimanager.ObjectFilefilterProfileArgs{
			Comment:             pulumi.String("This is a Terraform example"),
			ExtendedLog:         pulumi.String("disable"),
			FeatureSet:          pulumi.String("flow"),
			Log:                 pulumi.String("enable"),
			ScanArchiveContents: pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectFilefilterProfile("trname", new()
    {
        Comment = "This is a Terraform example",
        ExtendedLog = "disable",
        FeatureSet = "flow",
        Log = "enable",
        ScanArchiveContents = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFilefilterProfile;
import com.pulumi.fortimanager.ObjectFilefilterProfileArgs;
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 ObjectFilefilterProfile("trname", ObjectFilefilterProfileArgs.builder()
            .comment("This is a Terraform example")
            .extendedLog("disable")
            .featureSet("flow")
            .log("enable")
            .scanArchiveContents("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectFilefilterProfile
    properties:
      comment: This is a Terraform example
      extendedLog: disable
      featureSet: flow
      log: enable
      scanArchiveContents: enable
Copy

Create ObjectFilefilterProfile Resource

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

Constructor syntax

new ObjectFilefilterProfile(name: string, args?: ObjectFilefilterProfileArgs, opts?: CustomResourceOptions);
@overload
def ObjectFilefilterProfile(resource_name: str,
                            args: Optional[ObjectFilefilterProfileArgs] = None,
                            opts: Optional[ResourceOptions] = None)

@overload
def ObjectFilefilterProfile(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            adom: Optional[str] = None,
                            comment: Optional[str] = None,
                            dynamic_sort_subtable: Optional[str] = None,
                            extended_log: Optional[str] = None,
                            feature_set: Optional[str] = None,
                            log: Optional[str] = None,
                            name: Optional[str] = None,
                            object_filefilter_profile_id: Optional[str] = None,
                            replacemsg_group: Optional[str] = None,
                            rules: Optional[Sequence[ObjectFilefilterProfileRuleArgs]] = None,
                            scan_archive_contents: Optional[str] = None,
                            scopetype: Optional[str] = None)
func NewObjectFilefilterProfile(ctx *Context, name string, args *ObjectFilefilterProfileArgs, opts ...ResourceOption) (*ObjectFilefilterProfile, error)
public ObjectFilefilterProfile(string name, ObjectFilefilterProfileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectFilefilterProfile(String name, ObjectFilefilterProfileArgs args)
public ObjectFilefilterProfile(String name, ObjectFilefilterProfileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFilefilterProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectFilefilterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectFilefilterProfileArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectFilefilterProfileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectFilefilterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectFilefilterProfileArgs
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 objectFilefilterProfileResource = new Fortimanager.ObjectFilefilterProfile("objectFilefilterProfileResource", new()
{
    Adom = "string",
    Comment = "string",
    DynamicSortSubtable = "string",
    ExtendedLog = "string",
    FeatureSet = "string",
    Log = "string",
    Name = "string",
    ObjectFilefilterProfileId = "string",
    ReplacemsgGroup = "string",
    Rules = new[]
    {
        new Fortimanager.Inputs.ObjectFilefilterProfileRuleArgs
        {
            Action = "string",
            Comment = "string",
            Direction = "string",
            FileTypes = new[]
            {
                "string",
            },
            Name = "string",
            PasswordProtected = "string",
            Protocols = new[]
            {
                "string",
            },
        },
    },
    ScanArchiveContents = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFilefilterProfile(ctx, "objectFilefilterProfileResource", &fortimanager.ObjectFilefilterProfileArgs{
	Adom:                      pulumi.String("string"),
	Comment:                   pulumi.String("string"),
	DynamicSortSubtable:       pulumi.String("string"),
	ExtendedLog:               pulumi.String("string"),
	FeatureSet:                pulumi.String("string"),
	Log:                       pulumi.String("string"),
	Name:                      pulumi.String("string"),
	ObjectFilefilterProfileId: pulumi.String("string"),
	ReplacemsgGroup:           pulumi.String("string"),
	Rules: fortimanager.ObjectFilefilterProfileRuleArray{
		&fortimanager.ObjectFilefilterProfileRuleArgs{
			Action:    pulumi.String("string"),
			Comment:   pulumi.String("string"),
			Direction: pulumi.String("string"),
			FileTypes: pulumi.StringArray{
				pulumi.String("string"),
			},
			Name:              pulumi.String("string"),
			PasswordProtected: pulumi.String("string"),
			Protocols: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ScanArchiveContents: pulumi.String("string"),
	Scopetype:           pulumi.String("string"),
})
Copy
var objectFilefilterProfileResource = new ObjectFilefilterProfile("objectFilefilterProfileResource", ObjectFilefilterProfileArgs.builder()
    .adom("string")
    .comment("string")
    .dynamicSortSubtable("string")
    .extendedLog("string")
    .featureSet("string")
    .log("string")
    .name("string")
    .objectFilefilterProfileId("string")
    .replacemsgGroup("string")
    .rules(ObjectFilefilterProfileRuleArgs.builder()
        .action("string")
        .comment("string")
        .direction("string")
        .fileTypes("string")
        .name("string")
        .passwordProtected("string")
        .protocols("string")
        .build())
    .scanArchiveContents("string")
    .scopetype("string")
    .build());
Copy
object_filefilter_profile_resource = fortimanager.ObjectFilefilterProfile("objectFilefilterProfileResource",
    adom="string",
    comment="string",
    dynamic_sort_subtable="string",
    extended_log="string",
    feature_set="string",
    log="string",
    name="string",
    object_filefilter_profile_id="string",
    replacemsg_group="string",
    rules=[{
        "action": "string",
        "comment": "string",
        "direction": "string",
        "file_types": ["string"],
        "name": "string",
        "password_protected": "string",
        "protocols": ["string"],
    }],
    scan_archive_contents="string",
    scopetype="string")
Copy
const objectFilefilterProfileResource = new fortimanager.ObjectFilefilterProfile("objectFilefilterProfileResource", {
    adom: "string",
    comment: "string",
    dynamicSortSubtable: "string",
    extendedLog: "string",
    featureSet: "string",
    log: "string",
    name: "string",
    objectFilefilterProfileId: "string",
    replacemsgGroup: "string",
    rules: [{
        action: "string",
        comment: "string",
        direction: "string",
        fileTypes: ["string"],
        name: "string",
        passwordProtected: "string",
        protocols: ["string"],
    }],
    scanArchiveContents: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFilefilterProfile
properties:
    adom: string
    comment: string
    dynamicSortSubtable: string
    extendedLog: string
    featureSet: string
    log: string
    name: string
    objectFilefilterProfileId: string
    replacemsgGroup: string
    rules:
        - action: string
          comment: string
          direction: string
          fileTypes:
            - string
          name: string
          passwordProtected: string
          protocols:
            - string
    scanArchiveContents: string
    scopetype: string
Copy

ObjectFilefilterProfile Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectFilefilterProfile resource accepts the following input properties:

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ExtendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
Log string
Enable/disable file-filter logging. Valid values: disable, enable.
Name string
Profile name.
ObjectFilefilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group
Rules List<ObjectFilefilterProfileRule>
Rules. The structure of rules block is documented below.
ScanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ExtendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
Log string
Enable/disable file-filter logging. Valid values: disable, enable.
Name string
Profile name.
ObjectFilefilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group
Rules []ObjectFilefilterProfileRuleArgs
Rules. The structure of rules block is documented below.
ScanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog String
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
log String
Enable/disable file-filter logging. Valid values: disable, enable.
name String
Profile name.
objectFilefilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group
rules List<ObjectFilefilterProfileRule>
Rules. The structure of rules block is documented below.
scanArchiveContents String
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet string
Flow/proxy feature set. Valid values: proxy, flow.
log string
Enable/disable file-filter logging. Valid values: disable, enable.
name string
Profile name.
objectFilefilterProfileId string
an identifier for the resource with format {{name}}.
replacemsgGroup string
Replacement message group
rules ObjectFilefilterProfileRule[]
Rules. The structure of rules block is documented below.
scanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extended_log str
Enable/disable file-filter extended logging. Valid values: disable, enable.
feature_set str
Flow/proxy feature set. Valid values: proxy, flow.
log str
Enable/disable file-filter logging. Valid values: disable, enable.
name str
Profile name.
object_filefilter_profile_id str
an identifier for the resource with format {{name}}.
replacemsg_group str
Replacement message group
rules Sequence[ObjectFilefilterProfileRuleArgs]
Rules. The structure of rules block is documented below.
scan_archive_contents str
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog String
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
log String
Enable/disable file-filter logging. Valid values: disable, enable.
name String
Profile name.
objectFilefilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group
rules List<Property Map>
Rules. The structure of rules block is documented below.
scanArchiveContents String
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectFilefilterProfile 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?: ObjectFilefilterProfileState, opts?: CustomResourceOptions): ObjectFilefilterProfile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        extended_log: Optional[str] = None,
        feature_set: Optional[str] = None,
        log: Optional[str] = None,
        name: Optional[str] = None,
        object_filefilter_profile_id: Optional[str] = None,
        replacemsg_group: Optional[str] = None,
        rules: Optional[Sequence[ObjectFilefilterProfileRuleArgs]] = None,
        scan_archive_contents: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectFilefilterProfile
func GetObjectFilefilterProfile(ctx *Context, name string, id IDInput, state *ObjectFilefilterProfileState, opts ...ResourceOption) (*ObjectFilefilterProfile, error)
public static ObjectFilefilterProfile Get(string name, Input<string> id, ObjectFilefilterProfileState? state, CustomResourceOptions? opts = null)
public static ObjectFilefilterProfile get(String name, Output<String> id, ObjectFilefilterProfileState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFilefilterProfile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ExtendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
Log string
Enable/disable file-filter logging. Valid values: disable, enable.
Name string
Profile name.
ObjectFilefilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group
Rules List<ObjectFilefilterProfileRule>
Rules. The structure of rules block is documented below.
ScanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ExtendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
Log string
Enable/disable file-filter logging. Valid values: disable, enable.
Name string
Profile name.
ObjectFilefilterProfileId string
an identifier for the resource with format {{name}}.
ReplacemsgGroup string
Replacement message group
Rules []ObjectFilefilterProfileRuleArgs
Rules. The structure of rules block is documented below.
ScanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog String
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
log String
Enable/disable file-filter logging. Valid values: disable, enable.
name String
Profile name.
objectFilefilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group
rules List<ObjectFilefilterProfileRule>
Rules. The structure of rules block is documented below.
scanArchiveContents String
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog string
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet string
Flow/proxy feature set. Valid values: proxy, flow.
log string
Enable/disable file-filter logging. Valid values: disable, enable.
name string
Profile name.
objectFilefilterProfileId string
an identifier for the resource with format {{name}}.
replacemsgGroup string
Replacement message group
rules ObjectFilefilterProfileRule[]
Rules. The structure of rules block is documented below.
scanArchiveContents string
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extended_log str
Enable/disable file-filter extended logging. Valid values: disable, enable.
feature_set str
Flow/proxy feature set. Valid values: proxy, flow.
log str
Enable/disable file-filter logging. Valid values: disable, enable.
name str
Profile name.
object_filefilter_profile_id str
an identifier for the resource with format {{name}}.
replacemsg_group str
Replacement message group
rules Sequence[ObjectFilefilterProfileRuleArgs]
Rules. The structure of rules block is documented below.
scan_archive_contents str
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
extendedLog String
Enable/disable file-filter extended logging. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
log String
Enable/disable file-filter logging. Valid values: disable, enable.
name String
Profile name.
objectFilefilterProfileId String
an identifier for the resource with format {{name}}.
replacemsgGroup String
Replacement message group
rules List<Property Map>
Rules. The structure of rules block is documented below.
scanArchiveContents String
Enable/disable archive contents scan. (Not for CIFS) Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectFilefilterProfileRule
, ObjectFilefilterProfileRuleArgs

Action string
Action taken for matched file. Valid values: log-only, block.
Comment string
Comment.
Direction string
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
FileTypes List<string>
Select file type.
Name string
File-filter rule name.
PasswordProtected string
Match password-protected files. Valid values: any, yes.
Protocols List<string>
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.
Action string
Action taken for matched file. Valid values: log-only, block.
Comment string
Comment.
Direction string
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
FileTypes []string
Select file type.
Name string
File-filter rule name.
PasswordProtected string
Match password-protected files. Valid values: any, yes.
Protocols []string
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.
action String
Action taken for matched file. Valid values: log-only, block.
comment String
Comment.
direction String
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
fileTypes List<String>
Select file type.
name String
File-filter rule name.
passwordProtected String
Match password-protected files. Valid values: any, yes.
protocols List<String>
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.
action string
Action taken for matched file. Valid values: log-only, block.
comment string
Comment.
direction string
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
fileTypes string[]
Select file type.
name string
File-filter rule name.
passwordProtected string
Match password-protected files. Valid values: any, yes.
protocols string[]
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.
action str
Action taken for matched file. Valid values: log-only, block.
comment str
Comment.
direction str
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
file_types Sequence[str]
Select file type.
name str
File-filter rule name.
password_protected str
Match password-protected files. Valid values: any, yes.
protocols Sequence[str]
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.
action String
Action taken for matched file. Valid values: log-only, block.
comment String
Comment.
direction String
Traffic direction. (HTTP, FTP, SSH, CIFS only) Valid values: any, incoming, outgoing.
fileTypes List<String>
Select file type.
name String
File-filter rule name.
passwordProtected String
Match password-protected files. Valid values: any, yes.
protocols List<String>
Protocols to apply rule to. Valid values: imap, smtp, pop3, http, ftp, mapi, cifs, ssh.

Import

ObjectFileFilter Profile can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFilefilterProfile:ObjectFilefilterProfile labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.