thank you for your answer.
Anyway, I think that I should explain in a better way my needs.
In this particular use-case, an external public IP address (let’s say IP 1.1.1.1) has been authorized to perform multiple FTP connections against our FTP servers (they are all Wazuh agents).
So, I added this IP in my <white_list> list and, as you mentioned, no active responses can be executed for this IP.
Unfortunately, I’m still receiving a lot of alert messages (see the example below)
Wazuh Notification.
2021 May 23 12:36:12
Received From: (ftp_agent) 3.3.3.3->/var/log/vsftpd.log
Rule: 11452 fired (level 10) -> "vsftpd: Multiple FTP connection attempts from same source IP."
Src IP: ::ffff:1.1.1.1
Portion of the log(s):
Sun May 23 14:36:12 2021 [pid 84298] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:10 2021 [pid 84293] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:08 2021 [pid 84289] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:07 2021 [pid 84284] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:04 2021 [pid 84278] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:02 2021 [pid 84273] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:36:00 2021 [pid 84267] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:35:58 2021 [pid 84262] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:35:56 2021 [pid 84255] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:35:55 2021 [pid 84250] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:35:53 2021 [pid 84245] CONNECT: Client "::ffff:1.1.1.1"
Sun May 23 14:35:51 2021 [pid 84240] CONNECT: Client "::ffff:1.1.1.1”
This is my current email alerts setting.
<email_alerts>
<email_to>my_mail_address</email_to>
<level>8</level>
</email_alerts>
<email_alerts>
<email_to>my_team_mailing_list</email_to>
<level>10</level>
</email_alerts>
I don’t want to change the level of alerts or restrict to a particular event_location.
I would like to only avoid to receive this alert message when this rule is fired on “ftp_agent”.
Do you think that I can do it someway?
Many thanks for your availability.
Mauro