mirror of https://github.com/infosecn1nja/HELK.git
test
parent
161f64cecd
commit
2cf3852187
|
@ -41,7 +41,8 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
|
|||
&& pip3 install -r requirements.txt \
|
||||
&& python3 setup.py install \
|
||||
# ********* Download SIGMA *******************
|
||||
&& git clone https://github.com/Cyb3rWard0g/sigma.git ${ESALERT_SIGMA_HOME} \
|
||||
#TODO:#TESTING
|
||||
&& git clone https://github.com/neu5ron/sigma.git ${ESALERT_SIGMA_HOME} \
|
||||
&& pip3 install -r ${ESALERT_SIGMA_HOME}/tools/requirements.txt
|
||||
|
||||
# ********* Copy Elastalert files **************
|
||||
|
|
|
@ -309,6 +309,7 @@ check_github(){
|
|||
|
||||
if [ $GIT_REPO_CLEAN == 1 ]; then
|
||||
if [[ -z "$(git remote | grep helk-repo)" ]]; then
|
||||
#TODO:#TESTING
|
||||
git remote add helk-repo https://github.com/neu5ron/HELK.git >> $LOGFILE 2>&1
|
||||
else
|
||||
echo "HELK repo exists" >> $LOGFILE 2>&1
|
||||
|
@ -351,7 +352,8 @@ check_github(){
|
|||
else
|
||||
cd ..
|
||||
git clean -d -fx . >> $LOGFILE 2>&1
|
||||
git remote add helk-repo https://github.com/Cyb3rWard0g/HELK.git >> $LOGFILE 2>&1
|
||||
#TODO:#TESTING
|
||||
git remote add helk-repo https://github.com/neu5ron/HELK.git >> $LOGFILE 2>&1
|
||||
git pull helk-repo master >> $LOGFILE 2>&1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue