Commit Graph
14 Commits
Author SHA1 Message Date
mbedworthandGitHub d3cbedaa8e security/wazuh-agent: Fix active response duplicate key causing false aborts (#5104)
When multiple IPs trigger the same rule simultaneously, they were
sharing the same check_keys value (only rule ID), causing the manager
to abort all but the first execution.

Changed the key to include both rule_id and srcip to make it unique
per source IP, allowing multiple simultaneous blocks while still
preventing duplicate blocks of the same IP.

Fixes #4738
2025-12-28 10:23:52 +01:00
Ad Schellevis 87493655f7 security/wazuh-agent - wrong model path used for skip_alias, closes https://github.com/opnsense/plugins/issues/4896 2025-08-15 08:32:24 +02:00
KSandGitHub f8b9581270 wazuh: check if dir exists before creating it (#4874) 2025-08-05 19:23:19 +02:00
Franco Fichtner f240ec0fce plugins: run style-model 2025-07-02 10:46:07 +02:00
Andy BinderandGitHub a3a4a3b986 security/wazuh-agent: make agent_name configurable (#4657) 2025-04-25 09:42:41 +02:00
Franco Fichtner 46ef70f242 security/wazuh: defaults are all required in the model 2024-11-15 08:23:08 +01:00
sophie [⛧-440729]andGitHub 530e70cebc security/wazuh-agent: implement options to change server ports (#4346) 2024-11-11 18:03:00 +01:00
Franco Fichtner 3b55d0a012 security/wazuh-agent: wrap up next version 2024-10-16 07:51:58 +02:00
Ad Schellevis deebe03e41 security/wazuh-agent - add advanced option to specifify protocol. closes https://github.com/opnsense/plugins/issues/4289 2024-10-10 21:21:09 +02:00
Ad Schellevis 13b85f7145 security/wazuh-agent - change Phalcon\Messages\Message to native implementation 2024-05-02 16:55:17 +02:00
Franco Fichtner 85a27147c4 plugins: style sweep 2024-03-14 08:49:45 +01:00
Ad Schellevis f1b3c4216a security/wazuh-agent - prevent model usage in wazuhagent_services()
The wazuh model uses configd for additional info, which makes model initialization a bit slower than usual.
When only checking if the module is used, accessing the config object saves a lot of time.
2024-03-13 19:56:24 +01:00
Franco Fichtner caf466b7a7 security/wazuh-agent: fix style and permission 2023-08-17 12:01:42 +02:00
Ad Schellevis 551a452fdc security/wazuh-agent - add initial wazuh agent plugin.
features available in this version:

o Pluggable ossec.conf sections in /usr/local/opnsense/service/templates/OPNsense/WazuhAgent/ossec_config.d/
o Selectable syslog applications (flushed to it's own log file using a format Wazuh understands)
o Suricata (IDPS) log shipping using localfile json parser
o Optional Password authentication (as specified in https://documentation.wazuh.com/current/user-manual/agent-enrollment/security-options/using-password-authentication.html)
o Active response support, including a custom firewall action (opnsense-fw)
o Ignore list for opnsense-fw, using a standard alias which contains networks to skip
o Toggle standard modules (wodle_syscollector, rootcheck, syscheck)
o Log views and format parsers for local insights. (ossec.log, active-responses.log)
o When searching for issues, a debug toggle is available which changes all debug options at once to the requested level
2023-08-15 19:39:50 +02:00