Hi rchung!
You can achieve this through the web by following next steps:
1st: Go to Wazuh Manager’s Website
2nd: Go to Wazuh -> Modules -> Security Events
3rd: In the “Search” Bar, on the Security Events’ Dashboard, copy & paste the following line:
rule.groups:sca AND data.sca.score:* AND agent.name:*
This will filter the whole list of events to those, of any agent, that are of the type “SCA” and contains a valid score field.
4th: Generate the report by clicking on the “Generate report” button on the upper right corner of the Security Events’ Dashboard.
5th: Go to Wazuh -> Management -> Status and reports -> Reporting
6th: You will see the list of generated reports, download the one you need.
7th: In order to get all the SCA failed items of a specific agent, just go through 1 to 6 again, but, in the step 3 use the following search rule:
rule.groups:sca AND agent.name:My-Custom-Agent-Name AND data.sca.check.result:failed
Where “My-Custom-Agent-Name” should be replaced by a valid agent name.
…
I hope our answer helped you! Please let us know if you need further help. I encourage you to open a new thread/conversation in the Google group if you have questions unrelated to this specific question.
Regards :)
Koremblum Nicolás Mariano



--
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 on the web visit https://groups.google.com/d/msgid/wazuh/bd2acc12-2b0a-4f07-8876-e039a146061fn%40googlegroups.com.