Auto update of the taxonomies.

pull/4/head
Cédric Bonhomme 2017-07-19 10:52:06 +02:00
parent d33c40f0f1
commit e5a1139a95
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 4 additions and 0 deletions

View File

@ -320,6 +320,10 @@ AUTH_KEY=$(mysql -u $DBUSER_MISP -p$DBPASSWORD_MISP misp -e "SELECT authkey FROM
curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v http://127.0.0.1/galaxies/update > /dev/null curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v http://127.0.0.1/galaxies/update > /dev/null
echo -e "\n--- Updating the taxonomies... ---\n"
curl -k -X POST -H "Authorization: $AUTH_KEY" -H "Accept: application/xml" -v http://127.0.0.1/taxonomies/update
# echo -e "\n--- Enabling MISP new pub/sub feature (ZeroMQ)... ---\n" # echo -e "\n--- Enabling MISP new pub/sub feature (ZeroMQ)... ---\n"
# # ZeroMQ depends on the Python client for Redis # # ZeroMQ depends on the Python client for Redis
# pip install redis > /dev/null 2>&1 # pip install redis > /dev/null 2>&1