ltm rule command TAP scoreΒΆ

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

TAP::score
       Returns or updates risk score.

SYNOPSIS
       TAP::score (SCORE)?

DESCRIPTION
       If score specified sets supplied score. Returns previous score.

       Syntax

       TAP::score [score]

RETURN VALUE
       Returns an integer value from (0 to 100). If supplied score to set function returns previous score.

VALID DURING
       TAP_REQUEST

EXAMPLES
	when TAP_REQUEST {
	    if {    ([TAP::score] > 85) } {
		drop
	    }
	}

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

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