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

config dlp filepattern

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table containing the file pattern list.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

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 legacy MS-Office files. doc, ppt, and xls.

msofficex

Match MS-Office XML files. docm, docx, pptm, pptx, xlsm, and xlsx.

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.

registry

Match registry files.

hwp

Match hwp files.

rpm

Match rpm files.

c/cpp

Match c/cpp files.

pfile

Match pfile files.

lzip

Match lzip files.

wasm

Match WebAssembly files.

sylk

Match Microsoft symbolic link files.

shellscript

Match shell script files.

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.

pattern

Add a file name pattern.

string

Maximum length: 79

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

config dlp filepattern

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table containing the file pattern list.

string

Maximum length: 63

config entries

Parameter

Description

Type

Size

Default

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 legacy MS-Office files. doc, ppt, and xls.

msofficex

Match MS-Office XML files. docm, docx, pptm, pptx, xlsm, and xlsx.

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.

registry

Match registry files.

hwp

Match hwp files.

rpm

Match rpm files.

c/cpp

Match c/cpp files.

pfile

Match pfile files.

lzip

Match lzip files.

wasm

Match WebAssembly files.

sylk

Match Microsoft symbolic link files.

shellscript

Match shell script files.

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.

pattern

Add a file name pattern.

string

Maximum length: 79