Fortinet white logo
Fortinet white logo

CLI Reference

config dlp filepattern

config dlp filepattern

Configure file patterns used by DLP blocking.

config dlp filepattern
    Description: Configure file patterns used by DLP blocking.
    edit <id>
        set name {string}
        set comment {var-string}
        config entries
            Description: Configure file patterns used by DLP blocking.
            edit <pattern>
                set filter-type [pattern|type]
                set file-type [7z|arj|...]
            next
        end
    next
end

config dlp filepattern

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

name

Name of table containing the file pattern list.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

filter-type

Filter by file name pattern or by file type.

option

-

Option

Description

pattern

Filter by file name pattern.

type

Filter by file type.

pattern

Add a file name pattern.

string

Maximum length: 79

file-type

Select a file type.

option

-

Option

Description

7z

Match 7-zip files.

arj

Match arj compressed files.

cab

Match Windows cab files.

lzh

Match lzh compressed files.

rar

Match rar archives.

tar

Match tar files.

zip

Match zip files.

bzip

Match bzip files.

gzip

Match gzip files.

bzip2

Match bzip2 files.

xz

Match xz files.

bat

Match Windows batch files.

msc

Match msc files.

uue

Match uue files.

mime

Match mime files.

base64

Match base64 files.

binhex

Match binhex files.

elf

Match elf files.

exe

Match Windows executable files.

hta

Match hta files.

html

Match html files.

jad

Match jad files.

class

Match class files.

cod

Match cod files.

javascript

Match javascript files.

msoffice

Match MS-Office files. For example, doc, xls, ppt, and so on.

msofficex

Match MS-Office XML files. For example, docx, xlsx, pptx, and so on.

fsg

Match fsg files.

upx

Match upx files.

petite

Match petite files.

aspack

Match aspack files.

prc

Match prc files.

sis

Match sis files.

hlp

Match Windows help files.

activemime

Match activemime files.

jpeg

Match jpeg files.

gif

Match gif files.

tiff

Match tiff files.

png

Match png files.

bmp

Match bmp files.

ignored

Match ignored files.

unknown

Match unknown files.

mpeg

Match mpeg files.

mov

Match mov files.

mp3

Match mp3 files.

wma

Match wma files.

wav

Match wav files.

pdf

Match Acrobat pdf files.

avi

Match avi files.

rm

Match rm files.

torrent

Match torrent files.

hibun

Match hibun files.

msi

Match Windows Installer msi files.

config dlp filepattern

config dlp filepattern

Configure file patterns used by DLP blocking.

config dlp filepattern
    Description: Configure file patterns used by DLP blocking.
    edit <id>
        set name {string}
        set comment {var-string}
        config entries
            Description: Configure file patterns used by DLP blocking.
            edit <pattern>
                set filter-type [pattern|type]
                set file-type [7z|arj|...]
            next
        end
    next
end

config dlp filepattern

Parameter

Description

Type

Size

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

name

Name of table containing the file pattern list.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

filter-type

Filter by file name pattern or by file type.

option

-

Option

Description

pattern

Filter by file name pattern.

type

Filter by file type.

pattern

Add a file name pattern.

string

Maximum length: 79

file-type

Select a file type.

option

-

Option

Description

7z

Match 7-zip files.

arj

Match arj compressed files.

cab

Match Windows cab files.

lzh

Match lzh compressed files.

rar

Match rar archives.

tar

Match tar files.

zip

Match zip files.

bzip

Match bzip files.

gzip

Match gzip files.

bzip2

Match bzip2 files.

xz

Match xz files.

bat

Match Windows batch files.

msc

Match msc files.

uue

Match uue files.

mime

Match mime files.

base64

Match base64 files.

binhex

Match binhex files.

elf

Match elf files.

exe

Match Windows executable files.

hta

Match hta files.

html

Match html files.

jad

Match jad files.

class

Match class files.

cod

Match cod files.

javascript

Match javascript files.

msoffice

Match MS-Office files. For example, doc, xls, ppt, and so on.

msofficex

Match MS-Office XML files. For example, docx, xlsx, pptx, and so on.

fsg

Match fsg files.

upx

Match upx files.

petite

Match petite files.

aspack

Match aspack files.

prc

Match prc files.

sis

Match sis files.

hlp

Match Windows help files.

activemime

Match activemime files.

jpeg

Match jpeg files.

gif

Match gif files.

tiff

Match tiff files.

png

Match png files.

bmp

Match bmp files.

ignored

Match ignored files.

unknown

Match unknown files.

mpeg

Match mpeg files.

mov

Match mov files.

mp3

Match mp3 files.

wma

Match wma files.

wav

Match wav files.

pdf

Match Acrobat pdf files.

avi

Match avi files.

rm

Match rm files.

torrent

Match torrent files.

hibun

Match hibun files.

msi

Match Windows Installer msi files.