fix var-ossec-etc-ossec-server.conf.j2, authd module and sub module force
This commit is contained in:
parent
2649a061c5
commit
f6b05e25da
@ -369,7 +369,9 @@
|
|||||||
<command>
|
<command>
|
||||||
<name>{{ command.name }}</name>
|
<name>{{ command.name }}</name>
|
||||||
<executable>{{ command.executable }}</executable>
|
<executable>{{ command.executable }}</executable>
|
||||||
<expect>{{ command.expect }}</expect>
|
{% if command.expect is defined %}
|
||||||
|
<expect>{{ command.expect }}</expect>
|
||||||
|
{% endif %}
|
||||||
{% if command.timeout_allowed is defined %}
|
{% if command.timeout_allowed is defined %}
|
||||||
<timeout_allowed>{{ command.timeout_allowed }}</timeout_allowed>
|
<timeout_allowed>{{ command.timeout_allowed }}</timeout_allowed>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -625,22 +627,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<force>
|
<force>
|
||||||
{% if wazuh_manager_config.authd.force.enabled is not none %}
|
{% if wazuh_manager_config.authd.force.enabled is not none %}
|
||||||
<enabled>{{wazuh_manager_config.authd.port}}</enabled>
|
<enabled>{{wazuh_manager_config.authd.force.enabled}}</enabled>
|
||||||
{% else %}
|
{% else %}
|
||||||
<enabledport>yes</enabled>
|
<enabledport>yes</enabled>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if wazuh_manager_config.authd.force.key_mismatch is not none %}
|
{% if wazuh_manager_config.authd.force.key_mismatch is not none %}
|
||||||
<key_mismatch>{{wazuh_manager_config.authd.port}}</key_mismatch>
|
<key_mismatch>{{wazuh_manager_config.authd.force.key_mismatch}}</key_mismatch>
|
||||||
{% else %}
|
{% else %}
|
||||||
<key_mismatch>yes</key_mismatch>
|
<key_mismatch>yes</key_mismatch>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if wazuh_manager_config.authd.force.disconnected_time is not none %}
|
{% if wazuh_manager_config.authd.force.disconnected_time is not none %}
|
||||||
<disconnected_time>{{wazuh_manager_config.authd.port}}</disconnected_time>
|
<disconnected_time enabled="yes">{{wazuh_manager_config.authd.force.disconnected_time}}</disconnected_time>
|
||||||
{% else %}
|
{% else %}
|
||||||
<disconnected_time>1h</disconnected_time>
|
<disconnected_time enabled="yes">1h</disconnected_time>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if wazuh_manager_config.authd.force.after_registration_time is not none %}
|
{% if wazuh_manager_config.authd.force.after_registration_time is not none %}
|
||||||
<after_registration_time>{{wazuh_manager_config.authd.port}}</after_registration_time>
|
<after_registration_time>{{wazuh_manager_config.authd.force.after_registration_time}}</after_registration_time>
|
||||||
{% else %}
|
{% else %}
|
||||||
<after_registration_time>1h</after_registration_time>
|
<after_registration_time>1h</after_registration_time>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user