fortimanager.ObjectSshfilterProfile
SSH filter profile.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
file_filter:fortimanager_object_sshfilter_profile_filefilter
shell_commands:fortimanager.ObjectSshfilterProfileShellcommands
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.ObjectSshfilterProfile("trname", {
    blocks: ["shell"],
    defaultCommandLog: "enable",
    logs: [
        "exec",
        "sftp",
    ],
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectSshfilterProfile("trname",
    blocks=["shell"],
    default_command_log="enable",
    logs=[
        "exec",
        "sftp",
    ])
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.NewObjectSshfilterProfile(ctx, "trname", &fortimanager.ObjectSshfilterProfileArgs{
			Blocks: pulumi.StringArray{
				pulumi.String("shell"),
			},
			DefaultCommandLog: pulumi.String("enable"),
			Logs: pulumi.StringArray{
				pulumi.String("exec"),
				pulumi.String("sftp"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectSshfilterProfile("trname", new()
    {
        Blocks = new[]
        {
            "shell",
        },
        DefaultCommandLog = "enable",
        Logs = new[]
        {
            "exec",
            "sftp",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSshfilterProfile;
import com.pulumi.fortimanager.ObjectSshfilterProfileArgs;
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 ObjectSshfilterProfile("trname", ObjectSshfilterProfileArgs.builder()
            .blocks("shell")
            .defaultCommandLog("enable")
            .logs(            
                "exec",
                "sftp")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:ObjectSshfilterProfile
    properties:
      blocks:
        - shell
      defaultCommandLog: enable
      logs:
        - exec
        - sftp
Create ObjectSshfilterProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectSshfilterProfile(name: string, args?: ObjectSshfilterProfileArgs, opts?: CustomResourceOptions);@overload
def ObjectSshfilterProfile(resource_name: str,
                           args: Optional[ObjectSshfilterProfileArgs] = None,
                           opts: Optional[ResourceOptions] = None)
@overload
def ObjectSshfilterProfile(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           adom: Optional[str] = None,
                           blocks: Optional[Sequence[str]] = None,
                           default_command_log: Optional[str] = None,
                           dynamic_sort_subtable: Optional[str] = None,
                           file_filter: Optional[ObjectSshfilterProfileFileFilterArgs] = None,
                           logs: Optional[Sequence[str]] = None,
                           name: Optional[str] = None,
                           object_sshfilter_profile_id: Optional[str] = None,
                           scopetype: Optional[str] = None,
                           shell_commands: Optional[Sequence[ObjectSshfilterProfileShellCommandArgs]] = None)func NewObjectSshfilterProfile(ctx *Context, name string, args *ObjectSshfilterProfileArgs, opts ...ResourceOption) (*ObjectSshfilterProfile, error)public ObjectSshfilterProfile(string name, ObjectSshfilterProfileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectSshfilterProfile(String name, ObjectSshfilterProfileArgs args)
public ObjectSshfilterProfile(String name, ObjectSshfilterProfileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSshfilterProfile
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 ObjectSshfilterProfileArgs
- 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 ObjectSshfilterProfileArgs
- 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 ObjectSshfilterProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectSshfilterProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectSshfilterProfileArgs
- 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 objectSshfilterProfileResource = new Fortimanager.ObjectSshfilterProfile("objectSshfilterProfileResource", new()
{
    Adom = "string",
    Blocks = new[]
    {
        "string",
    },
    DefaultCommandLog = "string",
    DynamicSortSubtable = "string",
    FileFilter = new Fortimanager.Inputs.ObjectSshfilterProfileFileFilterArgs
    {
        Entries = new[]
        {
            new Fortimanager.Inputs.ObjectSshfilterProfileFileFilterEntryArgs
            {
                Action = "string",
                Comment = "string",
                Direction = "string",
                FileTypes = new[]
                {
                    "string",
                },
                Filter = "string",
                PasswordProtected = "string",
                Protocols = new[]
                {
                    "string",
                },
            },
        },
        Log = "string",
        ScanArchiveContents = "string",
        Status = "string",
    },
    Logs = new[]
    {
        "string",
    },
    Name = "string",
    ObjectSshfilterProfileId = "string",
    Scopetype = "string",
    ShellCommands = new[]
    {
        new Fortimanager.Inputs.ObjectSshfilterProfileShellCommandArgs
        {
            Action = "string",
            Alert = "string",
            Id = 0,
            Log = "string",
            Pattern = "string",
            Severity = "string",
            Type = "string",
        },
    },
});
example, err := fortimanager.NewObjectSshfilterProfile(ctx, "objectSshfilterProfileResource", &fortimanager.ObjectSshfilterProfileArgs{
	Adom: pulumi.String("string"),
	Blocks: pulumi.StringArray{
		pulumi.String("string"),
	},
	DefaultCommandLog:   pulumi.String("string"),
	DynamicSortSubtable: pulumi.String("string"),
	FileFilter: &fortimanager.ObjectSshfilterProfileFileFilterArgs{
		Entries: fortimanager.ObjectSshfilterProfileFileFilterEntryArray{
			&fortimanager.ObjectSshfilterProfileFileFilterEntryArgs{
				Action:    pulumi.String("string"),
				Comment:   pulumi.String("string"),
				Direction: pulumi.String("string"),
				FileTypes: pulumi.StringArray{
					pulumi.String("string"),
				},
				Filter:            pulumi.String("string"),
				PasswordProtected: pulumi.String("string"),
				Protocols: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		Log:                 pulumi.String("string"),
		ScanArchiveContents: pulumi.String("string"),
		Status:              pulumi.String("string"),
	},
	Logs: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name:                     pulumi.String("string"),
	ObjectSshfilterProfileId: pulumi.String("string"),
	Scopetype:                pulumi.String("string"),
	ShellCommands: fortimanager.ObjectSshfilterProfileShellCommandArray{
		&fortimanager.ObjectSshfilterProfileShellCommandArgs{
			Action:   pulumi.String("string"),
			Alert:    pulumi.String("string"),
			Id:       pulumi.Float64(0),
			Log:      pulumi.String("string"),
			Pattern:  pulumi.String("string"),
			Severity: pulumi.String("string"),
			Type:     pulumi.String("string"),
		},
	},
})
var objectSshfilterProfileResource = new ObjectSshfilterProfile("objectSshfilterProfileResource", ObjectSshfilterProfileArgs.builder()
    .adom("string")
    .blocks("string")
    .defaultCommandLog("string")
    .dynamicSortSubtable("string")
    .fileFilter(ObjectSshfilterProfileFileFilterArgs.builder()
        .entries(ObjectSshfilterProfileFileFilterEntryArgs.builder()
            .action("string")
            .comment("string")
            .direction("string")
            .fileTypes("string")
            .filter("string")
            .passwordProtected("string")
            .protocols("string")
            .build())
        .log("string")
        .scanArchiveContents("string")
        .status("string")
        .build())
    .logs("string")
    .name("string")
    .objectSshfilterProfileId("string")
    .scopetype("string")
    .shellCommands(ObjectSshfilterProfileShellCommandArgs.builder()
        .action("string")
        .alert("string")
        .id(0.0)
        .log("string")
        .pattern("string")
        .severity("string")
        .type("string")
        .build())
    .build());
object_sshfilter_profile_resource = fortimanager.ObjectSshfilterProfile("objectSshfilterProfileResource",
    adom="string",
    blocks=["string"],
    default_command_log="string",
    dynamic_sort_subtable="string",
    file_filter={
        "entries": [{
            "action": "string",
            "comment": "string",
            "direction": "string",
            "file_types": ["string"],
            "filter": "string",
            "password_protected": "string",
            "protocols": ["string"],
        }],
        "log": "string",
        "scan_archive_contents": "string",
        "status": "string",
    },
    logs=["string"],
    name="string",
    object_sshfilter_profile_id="string",
    scopetype="string",
    shell_commands=[{
        "action": "string",
        "alert": "string",
        "id": 0,
        "log": "string",
        "pattern": "string",
        "severity": "string",
        "type": "string",
    }])
const objectSshfilterProfileResource = new fortimanager.ObjectSshfilterProfile("objectSshfilterProfileResource", {
    adom: "string",
    blocks: ["string"],
    defaultCommandLog: "string",
    dynamicSortSubtable: "string",
    fileFilter: {
        entries: [{
            action: "string",
            comment: "string",
            direction: "string",
            fileTypes: ["string"],
            filter: "string",
            passwordProtected: "string",
            protocols: ["string"],
        }],
        log: "string",
        scanArchiveContents: "string",
        status: "string",
    },
    logs: ["string"],
    name: "string",
    objectSshfilterProfileId: "string",
    scopetype: "string",
    shellCommands: [{
        action: "string",
        alert: "string",
        id: 0,
        log: "string",
        pattern: "string",
        severity: "string",
        type: "string",
    }],
});
type: fortimanager:ObjectSshfilterProfile
properties:
    adom: string
    blocks:
        - string
    defaultCommandLog: string
    dynamicSortSubtable: string
    fileFilter:
        entries:
            - action: string
              comment: string
              direction: string
              fileTypes:
                - string
              filter: string
              passwordProtected: string
              protocols:
                - string
        log: string
        scanArchiveContents: string
        status: string
    logs:
        - string
    name: string
    objectSshfilterProfileId: string
    scopetype: string
    shellCommands:
        - action: string
          alert: string
          id: 0
          log: string
          pattern: string
          severity: string
          type: string
ObjectSshfilterProfile 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 ObjectSshfilterProfile resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Blocks List<string>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- DefaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- DynamicSort stringSubtable 
- 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.
- FileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- Logs List<string>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- Name string
- SSH filter profile name.
- ObjectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ShellCommands List<ObjectSshfilter Profile Shell Command> 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Blocks []string
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- DefaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- DynamicSort stringSubtable 
- 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.
- FileFilter ObjectSshfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- Logs []string
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- Name string
- SSH filter profile name.
- ObjectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ShellCommands []ObjectSshfilter Profile Shell Command Args 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks List<String>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand StringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort StringSubtable 
- 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.
- fileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- logs List<String>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name String
- SSH filter profile name.
- objectSshfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands List<ObjectSshfilter Profile Shell Command> 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks string[]
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort stringSubtable 
- 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.
- fileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- logs string[]
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name string
- SSH filter profile name.
- objectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands ObjectSshfilter Profile Shell Command[] 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks Sequence[str]
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- default_command_ strlog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamic_sort_ strsubtable 
- 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.
- file_filter ObjectSshfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- logs Sequence[str]
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name str
- SSH filter profile name.
- object_sshfilter_ strprofile_ id 
- an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shell_commands Sequence[ObjectSshfilter Profile Shell Command Args] 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks List<String>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand StringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort StringSubtable 
- 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.
- fileFilter Property Map
- File-Filter. The structure of file_filterblock is documented below.
- logs List<String>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name String
- SSH filter profile name.
- objectSshfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands List<Property Map>
- Shell-Commands. The structure of shell_commandsblock is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectSshfilterProfile 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 ObjectSshfilterProfile Resource
Get an existing ObjectSshfilterProfile 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?: ObjectSshfilterProfileState, opts?: CustomResourceOptions): ObjectSshfilterProfile@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        blocks: Optional[Sequence[str]] = None,
        default_command_log: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        file_filter: Optional[ObjectSshfilterProfileFileFilterArgs] = None,
        logs: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        object_sshfilter_profile_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        shell_commands: Optional[Sequence[ObjectSshfilterProfileShellCommandArgs]] = None) -> ObjectSshfilterProfilefunc GetObjectSshfilterProfile(ctx *Context, name string, id IDInput, state *ObjectSshfilterProfileState, opts ...ResourceOption) (*ObjectSshfilterProfile, error)public static ObjectSshfilterProfile Get(string name, Input<string> id, ObjectSshfilterProfileState? state, CustomResourceOptions? opts = null)public static ObjectSshfilterProfile get(String name, Output<String> id, ObjectSshfilterProfileState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectSshfilterProfile    get:      id: ${id}- 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.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Blocks List<string>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- DefaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- DynamicSort stringSubtable 
- 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.
- FileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- Logs List<string>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- Name string
- SSH filter profile name.
- ObjectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ShellCommands List<ObjectSshfilter Profile Shell Command> 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Blocks []string
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- DefaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- DynamicSort stringSubtable 
- 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.
- FileFilter ObjectSshfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- Logs []string
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- Name string
- SSH filter profile name.
- ObjectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- ShellCommands []ObjectSshfilter Profile Shell Command Args 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks List<String>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand StringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort StringSubtable 
- 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.
- fileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- logs List<String>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name String
- SSH filter profile name.
- objectSshfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands List<ObjectSshfilter Profile Shell Command> 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks string[]
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand stringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort stringSubtable 
- 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.
- fileFilter ObjectSshfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- logs string[]
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name string
- SSH filter profile name.
- objectSshfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands ObjectSshfilter Profile Shell Command[] 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks Sequence[str]
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- default_command_ strlog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamic_sort_ strsubtable 
- 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.
- file_filter ObjectSshfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- logs Sequence[str]
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name str
- SSH filter profile name.
- object_sshfilter_ strprofile_ id 
- an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shell_commands Sequence[ObjectSshfilter Profile Shell Command Args] 
- Shell-Commands. The structure of shell_commandsblock is documented below.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- blocks List<String>
- SSH blocking options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- defaultCommand StringLog 
- Enable/disable logging unmatched shell commands. Valid values: disable,enable.
- dynamicSort StringSubtable 
- 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.
- fileFilter Property Map
- File-Filter. The structure of file_filterblock is documented below.
- logs List<String>
- SSH logging options. Valid values: x11,shell,exec,port-forward,tun-forward,sftp,unknown,scp.
- name String
- SSH filter profile name.
- objectSshfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shellCommands List<Property Map>
- Shell-Commands. The structure of shell_commandsblock is documented below.
Supporting Types
ObjectSshfilterProfileFileFilter, ObjectSshfilterProfileFileFilterArgs          
- Entries
List<ObjectSshfilter Profile File Filter Entry> 
- Entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: disable,enable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- Status string
- Enable/disable file filter. Valid values: disable,enable.
- Entries
[]ObjectSshfilter Profile File Filter Entry 
- Entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: disable,enable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- Status string
- Enable/disable file filter. Valid values: disable,enable.
- entries
List<ObjectSshfilter Profile File Filter Entry> 
- Entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status String
- Enable/disable file filter. Valid values: disable,enable.
- entries
ObjectSshfilter Profile File Filter Entry[] 
- Entries. The structure of entriesblock is documented below.
- log string
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status string
- Enable/disable file filter. Valid values: disable,enable.
- entries
Sequence[ObjectSshfilter Profile File Filter Entry] 
- Entries. The structure of entriesblock is documented below.
- log str
- Enable/disable file filter logging. Valid values: disable,enable.
- scan_archive_ strcontents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status str
- Enable/disable file filter. Valid values: disable,enable.
- entries List<Property Map>
- Entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status String
- Enable/disable file filter. Valid values: disable,enable.
ObjectSshfilterProfileFileFilterEntry, ObjectSshfilterProfileFileFilterEntryArgs            
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- Direction string
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- FileTypes List<string>
- Select file type.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: any,yes.
- Protocols List<string>
- Protocols to apply with. Valid values: ssh.
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- Direction string
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- FileTypes []string
- Select file type.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: any,yes.
- Protocols []string
- Protocols to apply with. Valid values: ssh.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- direction String
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- fileTypes List<String>
- Select file type.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: any,yes.
- protocols List<String>
- Protocols to apply with. Valid values: ssh.
- action string
- Action taken for matched file. Valid values: log,block.
- comment string
- Comment.
- direction string
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- fileTypes string[]
- Select file type.
- filter string
- Add a file filter.
- passwordProtected string
- Match password-protected files. Valid values: any,yes.
- protocols string[]
- Protocols to apply with. Valid values: ssh.
- action str
- Action taken for matched file. Valid values: log,block.
- comment str
- Comment.
- direction str
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- file_types Sequence[str]
- Select file type.
- filter str
- Add a file filter.
- password_protected str
- Match password-protected files. Valid values: any,yes.
- protocols Sequence[str]
- Protocols to apply with. Valid values: ssh.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- direction String
- Match files transmitted in the session's originating or reply direction. Valid values: any,incoming,outgoing.
- fileTypes List<String>
- Select file type.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: any,yes.
- protocols List<String>
- Protocols to apply with. Valid values: ssh.
ObjectSshfilterProfileShellCommand, ObjectSshfilterProfileShellCommandArgs          
- Action string
- Action to take for URL filter matches. Valid values: block,allow.
- Alert string
- Enable/disable alert. Valid values: disable,enable.
- Id double
- Id.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Pattern string
- SSH shell command pattern.
- Severity string
- Log severity. Valid values: low,medium,high,critical.
- Type string
- Matching type. Valid values: regex,simple.
- Action string
- Action to take for URL filter matches. Valid values: block,allow.
- Alert string
- Enable/disable alert. Valid values: disable,enable.
- Id float64
- Id.
- Log string
- Enable/disable logging. Valid values: disable,enable.
- Pattern string
- SSH shell command pattern.
- Severity string
- Log severity. Valid values: low,medium,high,critical.
- Type string
- Matching type. Valid values: regex,simple.
- action String
- Action to take for URL filter matches. Valid values: block,allow.
- alert String
- Enable/disable alert. Valid values: disable,enable.
- id Double
- Id.
- log String
- Enable/disable logging. Valid values: disable,enable.
- pattern String
- SSH shell command pattern.
- severity String
- Log severity. Valid values: low,medium,high,critical.
- type String
- Matching type. Valid values: regex,simple.
- action string
- Action to take for URL filter matches. Valid values: block,allow.
- alert string
- Enable/disable alert. Valid values: disable,enable.
- id number
- Id.
- log string
- Enable/disable logging. Valid values: disable,enable.
- pattern string
- SSH shell command pattern.
- severity string
- Log severity. Valid values: low,medium,high,critical.
- type string
- Matching type. Valid values: regex,simple.
- action str
- Action to take for URL filter matches. Valid values: block,allow.
- alert str
- Enable/disable alert. Valid values: disable,enable.
- id float
- Id.
- log str
- Enable/disable logging. Valid values: disable,enable.
- pattern str
- SSH shell command pattern.
- severity str
- Log severity. Valid values: low,medium,high,critical.
- type str
- Matching type. Valid values: regex,simple.
- action String
- Action to take for URL filter matches. Valid values: block,allow.
- alert String
- Enable/disable alert. Valid values: disable,enable.
- id Number
- Id.
- log String
- Enable/disable logging. Valid values: disable,enable.
- pattern String
- SSH shell command pattern.
- severity String
- Log severity. Valid values: low,medium,high,critical.
- type String
- Matching type. Valid values: regex,simple.
Import
ObjectSshFilter Profile can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectSshfilterProfile:ObjectSshfilterProfile labelname {{name}}
$ 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 fortimanagerTerraform Provider.
