WAM::disable

Description

Disables the WAM/AAM plugin for the current TCP connection. WAM/AAM will remain disabled on the current TCP connection until it is closed or WAM::enable is called.
See this KB article for more details: https://support.f5.com/csp/article/K52245924

Syntax

WAM::disable

WAM::disable

  • Disables plugin processing for the duration of the TCP connection or until WAM::enable is called.

Note: WAM::disable deprecates PLUGIN::disable WAM

Examples

# Disable WAM for HTTP paths ending in .php
when HTTP_CLASS_SELECTED {
  if { [HTTP::path] ends_with ".php" } {
    WAM::disable
  } else {
    WAM::enable
  }
}