Support all remote connection options. #41
This commit is contained in:
parent
7f5d5262e9
commit
b18019c929
@ -118,8 +118,21 @@
|
|||||||
<remote>
|
<remote>
|
||||||
{% for connection in wazuh_manager_config.connection %}
|
{% for connection in wazuh_manager_config.connection %}
|
||||||
<connection>{{ connection.type }}</connection>
|
<connection>{{ connection.type }}</connection>
|
||||||
<port>{{ connection.port }}</port>
|
{% if connection.port is defined %}<port>{{ connection.port }}</port>{% endif %}
|
||||||
<protocol>{{ connection.protocol }}</protocol>
|
{% if connection.protocol is defined %}<protocol>{{ connection.protocol }}</protocol>{% endif %}
|
||||||
|
{% if connection.allowed_ips is defined %}
|
||||||
|
{% for allowed_ip in connection.allowed_ips %}
|
||||||
|
<allowed-ips>{{ allowed_ip }}</allowed-ips>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if connection.denied_ips is defined %}
|
||||||
|
{% for denied_ip in connection.denied_ips %}
|
||||||
|
<denied-ips>{{ denied_ip }}</denied-ips>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if connection.local_ip is defined %}<local_ip>{{ connection.local_ip }}</local_ip>{% endif %}
|
||||||
|
{% if connection.ipv6 is defined %}<ipv6>{{ connection.ipv6 }}</ipv6>{% endif %}
|
||||||
|
{% if connection.queue_size is defined %}<queue_size>{{ connection.queue_size }}</queue_size>{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</remote>
|
</remote>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user