Forum Discussion
ScottA_6475
Mar 14, 2012Nimbostratus
Custom rule to detect no User-Agent:
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: ...
hooleylist
Mar 17, 2012Cirrostratus
Hi Scott,
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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects