Forum Discussion
1 Reply
Sort By
- hooleylistCirrostratusHi Scott,
I am trying to create a custom ASM rule to determine if no user-agent string has been defined in the HTTP header. This seems like a simple task, but I can't get it to work. Here is what I have:
content:!"User-Agent|3A|";
The simplest option I can think of is to set User-Agent as a required header (under Policy | Headers | Mandatory Headers).
If you want to block if the User-Agent (and all other) header(s) are present with no value, you could set 'Header name with no header value' for blocking.
Aaron