Automatic creation of actions

WAF has the ability to automatically add actions based on machine learning. This module is enabled by default and can be additionally configured from the WAF web interface. To do this, go to the “Applications” -> “Actions” -> “Automatic Analysis” tab and edit the “Marking application actions” task (see Figure 158) by clicking on the pencil icon.

image272

Figure 158 – Automatic analysis

When you click on the highlighted icon (see Figure 158), the “Training Options” window opens (see Figure 159).

image273

Figure 159 – “Training parameters” window

The description of the fields of this window is presented in the table section 16

Table 16 – Description of fields

Field

Description

Training interval

Task start interval

Enable analysis based on distances between parse trees

Currently not in use. Leave default value: tree node classification

Enter the received actions with predicates into the database

Enters an action into the database to prevent duplicate actions from appearing

Create parameters for all added actions that correspond to the paths from the check for the presence of predicate paths

Creates an action model

Use only transactions with the “Skip” solution

Ignores all transactions with a status other than “Skip”

Lower threshold for the number of transactions for marking

A lower threshold is set for the number of transactions from different sources with the same structure, upon reaching which an action will be created. No more than 10000

Number of transactions used in each analysis iteration

The threshold of analyzed transactions is set at each analysis iteration. No more than 10000

Maximum transaction age

Sets the depth of transaction analysis. Only for periodic job