Skip to content

/AWS1/CL_WA2RULEACTION

The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_block TYPE REF TO /AWS1/CL_WA2BLOCKACTION /AWS1/CL_WA2BLOCKACTION

Instructs WAF to block the web request.

io_allow TYPE REF TO /AWS1/CL_WA2ALLOWACTION /AWS1/CL_WA2ALLOWACTION

Instructs WAF to allow the web request.

io_count TYPE REF TO /AWS1/CL_WA2COUNTACTION /AWS1/CL_WA2COUNTACTION

Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.

io_captcha TYPE REF TO /AWS1/CL_WA2CAPTCHAACTION /AWS1/CL_WA2CAPTCHAACTION

Instructs WAF to run a CAPTCHA check against the web request.

io_challenge TYPE REF TO /AWS1/CL_WA2CHALLENGEACTION /AWS1/CL_WA2CHALLENGEACTION

Instructs WAF to run a Challenge check against the web request.


Queryable Attributes

Block

Instructs WAF to block the web request.

Accessible with the following methods

Method Description
GET_BLOCK() Getter for BLOCK

Allow

Instructs WAF to allow the web request.

Accessible with the following methods

Method Description
GET_ALLOW() Getter for ALLOW

Count

Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.

Accessible with the following methods

Method Description
GET_COUNT() Getter for COUNT

Captcha

Instructs WAF to run a CAPTCHA check against the web request.

Accessible with the following methods

Method Description
GET_CAPTCHA() Getter for CAPTCHA

Challenge

Instructs WAF to run a Challenge check against the web request.

Accessible with the following methods

Method Description
GET_CHALLENGE() Getter for CHALLENGE