add threat-prevention anti-virus file-type

Description

Adds a new custom file type according to extension, to be handled by the Anti-Virus file type handling mechanism. An action for the Anti-Virus blade is also configured for this new custom file type.

Syntax

add threat-prevention anti-virus file-type extension <extension> [ action <action> ] [ description <description> ]

Parameters

Parameter

Description

action

Indicates the action when the file type is detected

Options: block, pass, scan

description

The file description

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

extension

File extension that represents this file type

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

Example

add threat-prevention anti-virus file-type extension "This is a comment." action block description This is a comment.