TheHive-Project / Cortex-Analyzers

Cortex Analyzers Repository
https://TheHive-Project.github.io/Cortex-Analyzers/
GNU Affero General Public License v3.0
423 stars 372 forks source link

[Bug] Wazuh responder problem with analyzer #1243

Open romarito90 opened 5 months ago

romarito90 commented 5 months ago

Hello everyone I'm trying to get fix the problem in the wazuh responder

How can I get the data from an artifact or observable in a case ?

I created one new observable "agent_id" this is visible in my list of observables in the case in Thehive

imagen

How can I get the data from that field and pass to the payload to run the command firewalldrop

imagen

imagen

If I run the command like above this It works imagen

When I change the code to the following the analyzer failed

imagen

imagen

what command or code I need to get that data from that field "agent_id " in this case 12079 ??

Work environment