Forum Discussion

Jonathan_c's avatar
Aug 24, 2023

Custom attack signature syntax for multiple user agents

Hi,

I want to create a custom attack signature that will block requests that contains specific user agents.

I've already created a signature that blocks Python user agent, but I'm not sure how to add multiple ones to the same signature.

Under "Rule" section, I use the Simple Edit Mode and I have set:
Matched Element: Header
Matched Criteria: Matches regular expression
Keyword: User-Agent:.*[Pp]ython.*

How do I add more user agents?

Thanks