mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-21 00:13:06 +01:00
Move container status check to so-common
This commit is contained in:
@@ -46,7 +46,7 @@ resp=$(curl -sk -XPOST -H "Authorization: Bearer $THEHIVE_KEY" -H "Content-Type:
|
||||
if [[ "$resp" =~ \"status\":\"Ok\" ]]; then
|
||||
echo "Successfully added user to TheHive."
|
||||
else
|
||||
echo "Failed to add user to TheHive. See API response below."
|
||||
echo "Failed to add user to TheHive."
|
||||
echo $resp
|
||||
exit 2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user