ASM_RESPONSE_LOGIN

Description

This event is triggered for a request that matched a login page URL in the policy
and was actually handled as a login attempt.

Examples

This example displays logged_in status of a user for an ASM request.
    when ASM_REQUEST_DONE {
        set is_in_login 0
        if {[ASM::login_status] eq "logging_in" } {
            set is_in_login 1
        }
    }
    when ASM_RESPONSE_LOGIN {
        log local0. "User [ASM::username] tried to log in and status is [ASM::login_status]."
    }
    when ASM_RESPONSE_VIOLATION {
        if { $is_in_login eq 1 } {
            log local0. "User [ASM::username] tried to log in and status is [ASM::login_status]."
        }
    }

  • Introduced: BIGIP-17.0.0

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.