As an example, let’s look at setting action parameters for the user ID input form in the application (see Figure 272). Various user ID values are entered in this field, i.e. The value of this field can only be an integer.
Figure 272 – User ID entry form
To configure action parameters:
Create an action for the user ID input form (creating actions is described in the section 15 section). To edit the action parameters, you must click on “
” in the upper left corner of the created action (see Figure 273).

Figure 273 – Action parameters editor
Go to the action settings for the ID field (see Figure 274).

Figure 274 – Setting action parameters
Select the model class “Number” and click “Save” (see Figure 275).

Figure 275 – Editing the model for the ID field
The action with configured model parameters for the ID field is shown in Figure 276.

Figure 276 – Action with configured parameters
As a result, settings in subsequent requests that violate the generated model will cause ActionParameterValidator detector anomalies and the request will be blocked.
