We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83574be commit 147c0b0Copy full SHA for 147c0b0
register_agent.py
@@ -64,7 +64,7 @@ def http_codes_serializer(response, status_code):
64
def create_config_file():
65
logger.info(f"Create Wazuh agent configuration for node {node_name}")
66
with open("ossec.jinja2") as file_:
67
- template = Template(file_.read())
+ template = Template(file_.read(), autoescape=True)
68
config = template.render(
69
join_manager_hostname=join_manager_worker,
70
join_manager_port=join_manager_port,
0 commit comments