Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

file signature

If you already have the SHA-1 (Secure Hash Algorithm 1) hash values of some known virus-infected files, you can add these values as file signatures and then, in the antivirus profile, enable the actions against these files. Use this command to add or edit the file signatures.

Syntax

config file signature

edit <signature_type>

config item <hexadecimal>

edit <signature_value>

next

set comments <string>

set status {enable | disable}

set type {sha1 | sha256}

end

Variable

Description

Default

<signature_type>

Enter the file signature ID.

 

comments <string>

Enter the general comments for the file signature.

 

status {enable | disable}

Enable or disable the signature check.

enable

type {sha1 | sha256}

Enter the type of signature.

sha1

file signature

If you already have the SHA-1 (Secure Hash Algorithm 1) hash values of some known virus-infected files, you can add these values as file signatures and then, in the antivirus profile, enable the actions against these files. Use this command to add or edit the file signatures.

Syntax

config file signature

edit <signature_type>

config item <hexadecimal>

edit <signature_value>

next

set comments <string>

set status {enable | disable}

set type {sha1 | sha256}

end

Variable

Description

Default

<signature_type>

Enter the file signature ID.

 

comments <string>

Enter the general comments for the file signature.

 

status {enable | disable}

Enable or disable the signature check.

enable

type {sha1 | sha256}

Enter the type of signature.

sha1