Hello. I’m trying to set up a filter for a group of agents.
It’s as follows:
<localfile>
<location>Security</location>
<log_format>eventchannel</log_format>
<query>
\<QueryList>
\<Query Id="0" Path="Microsoft-Windows-Security-Auditing">
\<Select Path="Microsoft-Windows-Security-Auditing">
*[System[(EventID=4674)]
and
(EventData/Data[@Name='SubjectUserName'] != 'sqlservicios')
and
(EventData/Data[@Name='PrivilegeList'] != 'SeBackupPrivilege')
and
(EventData/Data[@Name='ProcessName'] != 'D:\\Program Files\\Microsoft SQL Server\\150\\DTS\\Binn\\DTExec.exe')]
\</Select>
\</Query>
\</QueryList>
</query>
</localfile>
But it’s not working as expected, because when I apply it, I stop receiving all events from the Security channel.
Can you help me?
--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/7318d921-2c74-47cc-9d96-81f30cdba02cn%40googlegroups.com.