Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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

Default

name

Name of table containing the file pattern list.

string

Maximum length: 63

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

Default

filter-type

Filter by file name pattern or by file type.

option

-

pattern

 

Option

Description

pattern

Filter by file name pattern.

type

Filter by file type.

file-type

Select a file type.

option

-

unknown

 

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.

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.

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.

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 special-file-23-support files.

msi

Match Windows Installer msi files.

mach-o

Match Mach object files.

dmg

Match Apple disk image files.

.net

Match .NET files.

xar

Match xar archive files.

chm

Match Windows compiled HTML help files.

iso

Match ISO archive files.

crx

Match Chrome extension files.

flac

Match flac files.

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

Default

name

Name of table containing the file pattern list.

string

Maximum length: 63

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

Default

filter-type

Filter by file name pattern or by file type.

option

-

pattern

 

Option

Description

pattern

Filter by file name pattern.

type

Filter by file type.

file-type

Select a file type.

option

-

unknown

 

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.

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.

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.

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 special-file-23-support files.

msi

Match Windows Installer msi files.

mach-o

Match Mach object files.

dmg

Match Apple disk image files.

.net

Match .NET files.

xar

Match xar archive files.

chm

Match Windows compiled HTML help files.

iso

Match ISO archive files.

crx

Match Chrome extension files.

flac

Match flac files.