ltm rule command TAP actionΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

TAP::action
       Returns or updates security token action.

SYNOPSIS
       TAP::action (allow | alarm | basicPolicy | strictPolicy | jsInjection | captcha | block | tcpReset | deception
       | conviction)?

DESCRIPTION
       Returns action supplied by TAP service. If supplied new action to set function returns previous action.

       Syntax

       TAP::action [action]

RETURN VALUE
       Returns one of the following actions: allow, alarm, basicPolicy, strictPolicy, jsInection, captcha, block,
       tcpReset, deception.

VALID DURING
       TAP_REQUEST

EXAMPLES
	when TAP_REQUEST {
	    if {    ([TAP::action] eq "block") } {
		drop
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-15.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)