Hi Miran! Hope you're doing great.
Most rules will trigger alerts instantly as soon as they are processed. Some specific rules, however, may use the options "frequency" and "timeframe" to not trigger an alert immediately but rather wait until the rule has been matched N times (defined in frequency) in M seconds (defined in timeframe). From the docs:
https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/rules.html#rulefrequency
- Definition: Number of times the rule must match before generating an alert.
- Allowed values: Any number from 2 to 9999
timeframe
- Definition: The timeframe in seconds. This option is intended to be used with the frequency option.
- Allowed values: Any number from 1 to 99999
There's a comment saying "If we see frequent wp-login POST's, it is likely a bot."
That specific rule will only trigger an alert if it gets matched 8 times within a 30 second window between the 1st and the 8th match.
Hope this helps!