Remove header

This commit is contained in:
DefensiveDepth
2025-11-29 17:45:22 -05:00
parent e96cfd35f7
commit bda83a47a2

View File

@@ -1125,7 +1125,6 @@ if [[ -f /opt/so/conf/soc/so-detections-backup.py ]]; then
# Verify backup by comparing counts
echo "Verifying detection overrides backup..."
es_override_count=$(/sbin/so-elasticsearch-query 'so-detection/_count' \
-H 'Content-Type: application/json' \
-d '{"query": {"bool": {"must": [{"exists": {"field": "so_detection.overrides"}}]}}}' | jq -r '.count') || {
echo " Error: Failed to query Elasticsearch for override count"
exit 1