Signed-off-by: DefensiveDepth <Josh@defensivedepth.com>
This commit is contained in:
DefensiveDepth
2024-05-28 10:03:31 -04:00
parent 2a2b86ebe6
commit f68ac23f0e

View File

@@ -697,7 +697,6 @@ playbook_migration() {
echo "Backing up the Elastalert rules..." echo "Backing up the Elastalert rules..."
rsync -av --stats /opt/so/rules/elastalert/playbook/*.{yaml,yml} /nsm/backup/detections-migration/elastalert/ rsync -av --stats /opt/so/rules/elastalert/playbook/*.{yaml,yml} /nsm/backup/detections-migration/elastalert/
fi
# Verify that rsync completed successfully # Verify that rsync completed successfully
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then