fortios.filter/ssh.Profile
Explore with Pulumi AI
SSH filter profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.filter.ssh.Profile("trname", {
block: "x11",
defaultCommandLog: "enable",
log: "x11",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.filter.ssh.Profile("trname",
block="x11",
default_command_log="enable",
log="x11")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/filter"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filter.NewProfile(ctx, "trname", &filter.ProfileArgs{
Block: pulumi.String("x11"),
DefaultCommandLog: pulumi.String("enable"),
Log: pulumi.String("x11"),
})
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.Filter.Ssh.Profile("trname", new()
{
Block = "x11",
DefaultCommandLog = "enable",
Log = "x11",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.filter.Profile;
import com.pulumi.fortios.filter.ProfileArgs;
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 Profile("trname", ProfileArgs.builder()
.block("x11")
.defaultCommandLog("enable")
.log("x11")
.build());
}
}
resources:
trname:
type: fortios:filter/ssh:Profile
properties:
block: x11
defaultCommandLog: enable
log: x11
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: Optional[ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
block: Optional[str] = None,
default_command_log: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
file_filter: Optional[ProfileFileFilterArgs] = None,
get_all_tables: Optional[str] = None,
log: Optional[str] = None,
name: Optional[str] = None,
shell_commands: Optional[Sequence[ProfileShellCommandArgs]] = None,
vdomparam: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: fortios:filter/ssh/profile:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Profile 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 Profile resource accepts the following input properties:
- Block string
- SSH blocking options.
- Default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- File
Filter Pulumiverse.Fortios. Filter. Ssh. Inputs. Profile File Filter - File filter. The structure of
file_filter
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Log string
- SSH logging options.
- Name string
- SSH filter profile name.
- Shell
Commands List<Pulumiverse.Fortios. Filter. Ssh. Inputs. Profile Shell Command> - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- Block string
- SSH blocking options.
- Default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- File
Filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Log string
- SSH logging options.
- Name string
- SSH filter profile name.
- Shell
Commands []ProfileShell Command Args - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block String
- SSH blocking options.
- default
Command StringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log String
- SSH logging options.
- name String
- SSH filter profile name.
- shell
Commands List<ProfileShell Command> - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block string
- SSH blocking options.
- default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log string
- SSH logging options.
- name string
- SSH filter profile name.
- shell
Commands ProfileShell Command[] - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block str
- SSH blocking options.
- default_
command_ strlog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file_
filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log str
- SSH logging options.
- name str
- SSH filter profile name.
- shell_
commands Sequence[ProfileShell Command Args] - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block String
- SSH blocking options.
- default
Command StringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter Property Map - File filter. The structure of
file_filter
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log String
- SSH logging options.
- name String
- SSH filter profile name.
- shell
Commands List<Property Map> - SSH command filter. The structure of
shell_commands
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource
Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
block: Optional[str] = None,
default_command_log: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
file_filter: Optional[ProfileFileFilterArgs] = None,
get_all_tables: Optional[str] = None,
log: Optional[str] = None,
name: Optional[str] = None,
shell_commands: Optional[Sequence[ProfileShellCommandArgs]] = None,
vdomparam: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState 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.
- Block string
- SSH blocking options.
- Default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- File
Filter Pulumiverse.Fortios. Filter. Ssh. Inputs. Profile File Filter - File filter. The structure of
file_filter
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Log string
- SSH logging options.
- Name string
- SSH filter profile name.
- Shell
Commands List<Pulumiverse.Fortios. Filter. Ssh. Inputs. Profile Shell Command> - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- Block string
- SSH blocking options.
- Default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- File
Filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Log string
- SSH logging options.
- Name string
- SSH filter profile name.
- Shell
Commands []ProfileShell Command Args - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block String
- SSH blocking options.
- default
Command StringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log String
- SSH logging options.
- name String
- SSH filter profile name.
- shell
Commands List<ProfileShell Command> - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block string
- SSH blocking options.
- default
Command stringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log string
- SSH logging options.
- name string
- SSH filter profile name.
- shell
Commands ProfileShell Command[] - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block str
- SSH blocking options.
- default_
command_ strlog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file_
filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log str
- SSH logging options.
- name str
- SSH filter profile name.
- shell_
commands Sequence[ProfileShell Command Args] - SSH command filter. The structure of
shell_commands
block is documented below. - 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.
- block String
- SSH blocking options.
- default
Command StringLog - Enable/disable logging unmatched shell commands. Valid values:
enable
,disable
. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- file
Filter Property Map - File filter. The structure of
file_filter
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- log String
- SSH logging options.
- name String
- SSH filter profile name.
- shell
Commands List<Property Map> - SSH command filter. The structure of
shell_commands
block is documented below. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
ProfileFileFilter, ProfileFileFilterArgs
- Entries
List<Pulumiverse.
Fortios. Filter. Ssh. Inputs. Profile File Filter Entry> - File filter entries. The structure of
entries
block is documented below. - Log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - Scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - Status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- Entries
[]Profile
File Filter Entry - File filter entries. The structure of
entries
block is documented below. - Log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - Scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - Status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
List<Profile
File Filter Entry> - File filter entries. The structure of
entries
block is documented below. - log String
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive StringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status String
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
Profile
File Filter Entry[] - File filter entries. The structure of
entries
block is documented below. - log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
Sequence[Profile
File Filter Entry] - File filter entries. The structure of
entries
block is documented below. - log str
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan_
archive_ strcontents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status str
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries List<Property Map>
- File filter entries. The structure of
entries
block is documented below. - log String
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive StringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status String
- Enable/disable file filter. Valid values:
enable
,disable
.
ProfileFileFilterEntry, ProfileFileFilterEntryArgs
- 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:
incoming
,outgoing
,any
. - File
Types List<Pulumiverse.Fortios. Filter. Ssh. Inputs. Profile File Filter Entry File Type> - Select file type. The structure of
file_type
block is documented below. - Filter string
- Add a file filter.
- Password
Protected string - Match password-protected files. Valid values:
yes
,any
.
- 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:
incoming
,outgoing
,any
. - File
Types []ProfileFile Filter Entry File Type - Select file type. The structure of
file_type
block is documented below. - Filter string
- Add a file filter.
- Password
Protected string - Match password-protected files. Valid values:
yes
,any
.
- 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:
incoming
,outgoing
,any
. - file
Types List<ProfileFile Filter Entry File Type> - Select file type. The structure of
file_type
block is documented below. - filter String
- Add a file filter.
- password
Protected String - Match password-protected files. Valid values:
yes
,any
.
- 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:
incoming
,outgoing
,any
. - file
Types ProfileFile Filter Entry File Type[] - Select file type. The structure of
file_type
block is documented below. - filter string
- Add a file filter.
- password
Protected string - Match password-protected files. Valid values:
yes
,any
.
- 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:
incoming
,outgoing
,any
. - file_
types Sequence[ProfileFile Filter Entry File Type] - Select file type. The structure of
file_type
block is documented below. - filter str
- Add a file filter.
- password_
protected str - Match password-protected files. Valid values:
yes
,any
.
- 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:
incoming
,outgoing
,any
. - file
Types List<Property Map> - Select file type. The structure of
file_type
block is documented below. - filter String
- Add a file filter.
- password
Protected String - Match password-protected files. Valid values:
yes
,any
.
ProfileFileFilterEntryFileType, ProfileFileFilterEntryFileTypeArgs
- Name string
- File type name.
- Name string
- File type name.
- name String
- File type name.
- name string
- File type name.
- name str
- File type name.
- name String
- File type name.
ProfileShellCommand, ProfileShellCommandArgs
- Action string
- Action to take for URL filter matches. Valid values:
block
,allow
. - Alert string
- Enable/disable alert. Valid values:
enable
,disable
. - Id int
- Id.
- Log string
- Enable/disable logging. Valid values:
enable
,disable
. - Pattern string
- SSH shell command pattern.
- Severity string
- Log severity. Valid values:
low
,medium
,high
,critical
. - Type string
- Matching type. Valid values:
simple
,regex
.
- Action string
- Action to take for URL filter matches. Valid values:
block
,allow
. - Alert string
- Enable/disable alert. Valid values:
enable
,disable
. - Id int
- Id.
- Log string
- Enable/disable logging. Valid values:
enable
,disable
. - Pattern string
- SSH shell command pattern.
- Severity string
- Log severity. Valid values:
low
,medium
,high
,critical
. - Type string
- Matching type. Valid values:
simple
,regex
.
- action String
- Action to take for URL filter matches. Valid values:
block
,allow
. - alert String
- Enable/disable alert. Valid values:
enable
,disable
. - id Integer
- Id.
- log String
- Enable/disable logging. Valid values:
enable
,disable
. - pattern String
- SSH shell command pattern.
- severity String
- Log severity. Valid values:
low
,medium
,high
,critical
. - type String
- Matching type. Valid values:
simple
,regex
.
- action string
- Action to take for URL filter matches. Valid values:
block
,allow
. - alert string
- Enable/disable alert. Valid values:
enable
,disable
. - id number
- Id.
- log string
- Enable/disable logging. Valid values:
enable
,disable
. - pattern string
- SSH shell command pattern.
- severity string
- Log severity. Valid values:
low
,medium
,high
,critical
. - type string
- Matching type. Valid values:
simple
,regex
.
- action str
- Action to take for URL filter matches. Valid values:
block
,allow
. - alert str
- Enable/disable alert. Valid values:
enable
,disable
. - id int
- Id.
- log str
- Enable/disable logging. Valid values:
enable
,disable
. - pattern str
- SSH shell command pattern.
- severity str
- Log severity. Valid values:
low
,medium
,high
,critical
. - type str
- Matching type. Valid values:
simple
,regex
.
- action String
- Action to take for URL filter matches. Valid values:
block
,allow
. - alert String
- Enable/disable alert. Valid values:
enable
,disable
. - id Number
- Id.
- log String
- Enable/disable logging. Valid values:
enable
,disable
. - pattern String
- SSH shell command pattern.
- severity String
- Log severity. Valid values:
low
,medium
,high
,critical
. - type String
- Matching type. Valid values:
simple
,regex
.
Import
SshFilter Profile can be imported using any of these accepted formats:
$ pulumi import fortios:filter/ssh/profile:Profile labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:filter/ssh/profile:Profile 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.