Forum Discussion
Eric_Frankenfie
Jul 07, 2010Nimbostratus
So, would I just call the data group (testapiAllowList) by name like this?
when HTTP_REQUEST {
if { [matchclass [string tolower [HTTP::path]] contains '/testapi.aspx'] } {
if { !([matchclass [IP::client_addr] equals testapiAllowList])} {
discard
} else {
}
}