security/wazuh: defaults are all required in the model

This commit is contained in:
Franco Fichtner 2024-11-15 08:17:55 +01:00
parent 0e7c12c9c0
commit 46ef70f242
4 changed files with 9 additions and 7 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= wazuh-agent
PLUGIN_VERSION= 1.1
PLUGIN_VERSION= 1.2
PLUGIN_COMMENT= Agent for the open source security platform Wazuh
PLUGIN_DEPENDS= wazuh-agent
PLUGIN_MAINTAINER= ad@opnsense.org

View file

@ -8,6 +8,10 @@ solution.
Plugin Changelog
================
1.2
* Implement options to change server ports (contributed by 999eagle)
1.1
* Add advanced option to specify transport protocol

View file

@ -1,9 +1,7 @@
<model>
<mount>//OPNsense/WazuhAgent</mount>
<version>1.0.2</version>
<description>
Wazuh Agent
</description>
<description>Wazuh Agent</description>
<items>
<general>
<enabled type="BooleanField">

View file

@ -2,12 +2,12 @@
<client>
<server>
<address>{{OPNsense.WazuhAgent.general.server_address}}</address>
<protocol>{{OPNsense.WazuhAgent.general.protocol|default('tcp')}}</protocol>
<port>{{OPNsense.WazuhAgent.general.port|default('1514')}}</port>
<protocol>{{OPNsense.WazuhAgent.general.protocol}}</protocol>
<port>{{OPNsense.WazuhAgent.general.port}}</port>
</server>
<crypto_method>aes</crypto_method>
<enrollment>
<port>{{OPNsense.WazuhAgent.auth.port|default('1515')}}</port>
<port>{{OPNsense.WazuhAgent.auth.port}}</port>
</enrollment>
</client>