Files
sigma-rules/detection_rules/etc/test_remote_cli.bash
T
Mika Ayenson f66da9d350 [FR] Update Python Dependency Versions (#3515)
(cherry picked from commit 5c3523954e)
2024-03-19 19:14:23 +00:00

16 lines
413 B
Bash
Executable File

#!/bin/bash
# Path to the virtual environment
VENV_PATH="./env/detection-rules-build"
# Activate the virtual environment
source "$VENV_PATH/bin/activate"
echo "Running detection-rules remote CLI tests..."
echo "Performing a quick rule alerts search..."
echo "Requires .detection-rules-cfg.json credentials file set."
python -m detection_rules kibana search-alerts
echo "Detection-rules CLI tests completed!"