Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

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 Name Description Type Size
name Name of table containing the file pattern list. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
filter-type Filter by file name pattern or by file type.
pattern: Filter by file name pattern.
type: Filter by file type.
option -
file-type Select a file type.
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.
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 hibun 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.
option -

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 Name Description Type Size
name Name of table containing the file pattern list. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
filter-type Filter by file name pattern or by file type.
pattern: Filter by file name pattern.
type: Filter by file type.
option -
file-type Select a file type.
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.
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 hibun 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.
option -