Commit 33ebb360 authored by Paul Graydon's avatar Paul Graydon

software/ors-amarisoft: Fix potential buildout code injections

parent 255eec35
Pipeline #37256 passed with stage
in 0 seconds
......@@ -60,7 +60,7 @@ md5sum = 52da9fe3a569199e35ad89ae1a44c30e
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = 7e7a0443f42c033285eb6871f6083ffb
md5sum = 3b3669a52596f1c690bf3e5faeb03c07
[template-ors-enb]
_update_hash_filename_ = instance-ors-enb.jinja2.cfg
......
......@@ -175,10 +175,10 @@ init =
recipe = slapos.recipe.template
output = ${directory:etc}/${:_buildout_section_name_}.cfg
logfile = ${xamari-xlog-script:logfile}
forward-host = {{ slapparameter_dict.xlog_fluentbit_forward_host }}
forward-port = {{ slapparameter_dict.xlog_fluentbit_forward_port }}
forward-shared-key = {{ slapparameter_dict.get('xlog_fluentbit_forward_shared_key', '') }}
forward-self-hostname = {{ comp_id['comp-id'] }}
forward-host = {{ dumps(slapparameter_dict.xlog_fluentbit_forward_host) }}
forward-port = {{ dumps(slapparameter_dict.xlog_fluentbit_forward_port) }}
forward-shared-key = {{ dumps(slapparameter_dict.get('xlog_fluentbit_forward_shared_key', '')) }}
forward-self-hostname = {{ dumps(comp_id['comp-id']) }}
inline =
[SERVICE]
flush 5
......@@ -212,7 +212,7 @@ hash-files = ${:fluentbit-config}
<= slap-connection
recipe = slapos.cookbook:requestoptional
name = Wendelin Telecom Registration
software-url = {{ slapparameter_dict.wendelin_telecom_software_release_url }}
software-url = {{ dumps(slapparameter_dict.wendelin_telecom_software_release_url) }}
shared = true
config-fluentbit-tag = ${xlog-fluentbit-tag:xlog-fluentbit-tag}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment