set threat-prevention policy

In the R82.00.X releases, this command is available starting from the R82.00.00 version.

Description

Configures the policy for the Threat Prevention blades Anti-Virus, Anti-Bot and Threat Emulation (where applicable).

Syntax

set threat-prevention policy [ track {alert | log | none} ] [ profile <profile> ]

set threat-prevention policy advanced-settings fail-mode <fail-mode>

set threat-prevention policy advanced-settings block-requests-when-the-web-service-is {true | false}

Parameters

Parameter

Description

profile

Unified policy profile

fail-mode

 

track

Tracking options for Threat Prevention protections:

  • alert - Generate an alert

  • log - Generate a regular log

  • none - Do not track

Example Command

set threat-prevention policy high-confidence ask medium-confidence ask low-confidence ask performance-impact low track none

set threat-prevention policy advanced-settings fail-mode allow-all-requests

set threat-prevention policy advanced-settings block-requests-when-the-web-service-is true