TheHive-Project / TheHive-Project/Cortex-Analyzers
[Bug] Wazuh responder problem with analyzer
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 490
- Forks
- 405
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 8
Description
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
How can I get the data from that field and pass to the payload to run the command firewalldrop
If I run the command like above this It works
When I change the code to the following the analyzer failed
what command or code I need to get that data from that field "agent_id " in this case 12079 ??
Work environment
- Client OS: Windows 11
- Browse type and version: Firefox
- Cortex version: 3.1.7
- Cortex Analyzer/Responder name: Wazuh 1.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Wazuh responder (version 1.0) and compare the working command with the failing change shown in the screenshots. Verify how the case observable's agent_id is supplied to the firewalldrop payload; done means the analyzer runs successfully and passes the value 12079.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100