Move auth

This commit is contained in:
Manuel Gutierrez
2020-08-20 19:02:04 +02:00
parent 8af39e3a56
commit b1e0f9b35e
+1 -1
View File
@@ -48,7 +48,7 @@ done
# remove default API entry (new in 3.11.0_7.5.1)
sed -ie '/- default:/,+4d' $kibana_config_file
CONFIG_CODE=$(curl -s -o /dev/null -w "%{http_code}" -XGET $el_url/.wazuh/_doc/1513629884013 ${auth})
CONFIG_CODE=$(curl ${auth} -s -o /dev/null -w "%{http_code}" -XGET $el_url/.wazuh/_doc/1513629884013)
grep -q 1513629884013 $kibana_config_file
_config_exists=$?