mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/wazuh-agent - add advanced option to specifify protocol. closes https://github.com/opnsense/plugins/issues/4289
This commit is contained in:
+7
@@ -15,6 +15,13 @@
|
||||
<type>text</type>
|
||||
<help>Specifies the IP address or the hostname of the Wazuh manager.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>agent.general.protocol</id>
|
||||
<label>Protocol</label>
|
||||
<type>dropdown</type>
|
||||
<advanced>true</advanced>
|
||||
<help>Specifies the IP protocol to use.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>agent.logcollector.syslog_programs</id>
|
||||
<label>Applications</label>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<model>
|
||||
<mount>//OPNsense/WazuhAgent</mount>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
<description>
|
||||
Wazuh Agent
|
||||
</description>
|
||||
@@ -14,6 +14,14 @@
|
||||
<Required>Y</Required>
|
||||
<IpAllowed>Y</IpAllowed>
|
||||
</server_address>
|
||||
<protocol type="OptionField">
|
||||
<default>tcp</default>
|
||||
<Required>Y</Required>
|
||||
<OptionValues>
|
||||
<tcp>TCP</tcp>
|
||||
<udp>UDP</udp>
|
||||
</OptionValues>
|
||||
</protocol>
|
||||
<debug_level type="OptionField">
|
||||
<default>0</default>
|
||||
<Required>Y</Required>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<client>
|
||||
<server>
|
||||
<address>{{OPNsense.WazuhAgent.general.server_address}}</address>
|
||||
<protocol>{{OPNsense.WazuhAgent.general.protocol|default('tcp')}}</protocol>
|
||||
</server>
|
||||
<crypto_method>aes</crypto_method>
|
||||
</client>
|
||||
|
||||
Reference in New Issue
Block a user