ltm rule command BOTDEFENSE micro serviceΒΆ

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

BOTDEFENSE::micro_service
       Returns the micro-service that matched the current request.

SYNOPSIS
       BOTDEFENSE::micro_service (name | type)

DESCRIPTION
       Returns the micro-service that matched the current request.

       Syntax

       BOTDEFENSE::micro_service [ name | type ]

RETURN VALUE
       Returns the name or type of the micro-service found for the current request

       BOTDEFENSE::micro_service name Returns the name of the detected micro-service or empty string if no micro-service matched.

       BOTDEFENSE::micro_service type Returns the type of the detected micro-service or "N/A" if no micro-service matched.

VALID DURING
       BOTDEFENSE_ACTION

EXAMPLES
	when BOTDEFENSE_ACTION {
	    set ms [BOTDEFENSE::micro_service name]
	    if { $ms neq ""} {
		log.local0. "Request to micro_service $ms of type [BOTDEFENSE::micro_service type]
	    }
	}

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

BIG-IP							    2022-04-12							  iRule(1)