Fortinet black logo

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>

set comments

set status {enable | disable}

set type

end

Variable

Description

Default

<signature_type>

Enter the file signature ID.

No default.

comments

Enter the general comments for the file signature.

No default.

status {enable | disable}

Enable or disable the signature check.

type

Enter the type of 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>

set comments

set status {enable | disable}

set type

end

Variable

Description

Default

<signature_type>

Enter the file signature ID.

No default.

comments

Enter the general comments for the file signature.

No default.

status {enable | disable}

Enable or disable the signature check.

type

Enter the type of signature.