Fortinet black logo

CLI Reference

file filter

file filter

File filters are used in the attachment scan rules. File filters defines the email attachment file types and file extensions to be scanned.

Syntax

config file filter

edit <filter_type>

set description

set extension

set mime-type

end

Variable

Description

Default

<filter_type>

Enter the file attachment executable type to filter by.

No default.

description

Enter the description of the attachment filter.

No default.

extension

Enter the file extension, such as .exe or .dll.

mime-type

Enter the mime type such as image or png.

file filter

File filters are used in the attachment scan rules. File filters defines the email attachment file types and file extensions to be scanned.

Syntax

config file filter

edit <filter_type>

set description

set extension

set mime-type

end

Variable

Description

Default

<filter_type>

Enter the file attachment executable type to filter by.

No default.

description

Enter the description of the attachment filter.

No default.

extension

Enter the file extension, such as .exe or .dll.

mime-type

Enter the mime type such as image or png.