User-Agent rules

IskWaf1 min readPage 8 of 13

User-Agent rules

Apply actions based on the User-Agent string.

  • Fields: User-Agent pattern, Pattern type ('contains', 'exact', 'regex'), Rule type (action), Description, Active.
Pattern examples for User-Agent pattern:
  • Type: contains, pattern: AhrefsBot
  • Type: regex, pattern: /^EvilCorp Crawler\/[0-9\.]+/i