зеркало из https://github.com/mozilla/MozDef.git
Modify cron scripts to use /opt dir
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
This commit is contained in:
Родитель
81a07bc2d5
Коммит
ddcbfb1db6
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/auditDAlerts.py -c /home/mozdef/envs/mozdef/cron/auditDAlerts.conf
|
||||
/home/mozdef/envs/mozdef/cron/auditDFileAlerts.py -c /home/mozdef/envs/mozdef/cron/auditDAlerts.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/auditDAlerts.py -c /opt/mozdef/envs/mozdef/cron/auditDAlerts.conf
|
||||
/opt/mozdef/envs/mozdef/cron/auditDFileAlerts.py -c /opt/mozdef/envs/mozdef/cron/auditDAlerts.conf
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
# Author: gdestuynder@mozilla.com
|
||||
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/auth02mozdef.py
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/auth02mozdef.py
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
# Contributors:
|
||||
# Anthony Verez averez@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/backupSnapshot.py -c /home/mozdef/envs/mozdef/cron/backup.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/backupSnapshot.py -c /opt/mozdef/envs/mozdef/cron/backup.conf
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/cloudTrailAlerts.py -c /home/mozdef/envs/mozdef/cron/cloudTrailAlerts.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/cloudTrailAlerts.py -c /opt/mozdef/envs/mozdef/cron/cloudTrailAlerts.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.py -c /home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/cloudtrail2mozdef.py -c /opt/mozdef/envs/mozdef/cron/cloudtrail2mozdef.conf
|
||||
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/collectAttackers.py -c /home/mozdef/envs/mozdef/cron/collectAttackers.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/collectAttackers.py -c /opt/mozdef/envs/mozdef/cron/collectAttackers.conf
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/collectSSHFingerprints.py -c /home/mozdef/envs/mozdef/cron/collectSSHFingerprints.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/collectSSHFingerprints.py -c /opt/mozdef/envs/mozdef/cron/collectSSHFingerprints.conf
|
||||
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/compromisedCreds2fxa.py -c /home/mozdef/envs/mozdef/cron/compromisedCreds2fxa.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/compromisedCreds2fxa.py -c /opt/mozdef/envs/mozdef/cron/compromisedCreds2fxa.conf
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/correlateUserMacAddress.py -c /home/mozdef/envs/mozdef/cron/correlateUserMacAddress.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/correlateUserMacAddress.py -c /opt/mozdef/envs/mozdef/cron/correlateUserMacAddress.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/createIPBlockList.py -c /home/mozdef/envs/mozdef/cron/createIPBlockList.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/createIPBlockList.py -c /opt/mozdef/envs/mozdef/cron/createIPBlockList.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/rotateIndexes.py -c /home/mozdef/envs/mozdef/cron/backup.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/rotateIndexes.py -c /opt/mozdef/envs/mozdef/cron/backup.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.py -c /home/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.py -c /opt/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/google2mozdef.py -c /home/mozdef/envs/mozdef/cron/google2mozdef.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/google2mozdef.py -c /opt/mozdef/envs/mozdef/cron/google2mozdef.conf
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/healthAndStatus.py -c /home/mozdef/envs/mozdef/cron/healthAndStatus.conf
|
||||
/home/mozdef/envs/mozdef/cron/healthToMongo.py -c /home/mozdef/envs/mozdef/cron/healthToMongo.conf
|
||||
/home/mozdef/envs/mozdef/cron/esCacheMaint.py -c /home/mozdef/envs/mozdef/cron/esCacheMaint.conf
|
||||
/home/mozdef/envs/mozdef/cron/eventStats.py -c /home/mozdef/envs/mozdef/cron/eventStats.conf
|
||||
/home/mozdef/envs/mozdef/cron/eventStatsAlerts.py -c /home/mozdef/envs/mozdef/cron/eventStatsAlerts.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/healthAndStatus.py -c /opt/mozdef/envs/mozdef/cron/healthAndStatus.conf
|
||||
/opt/mozdef/envs/mozdef/cron/healthToMongo.py -c /opt/mozdef/envs/mozdef/cron/healthToMongo.conf
|
||||
/opt/mozdef/envs/mozdef/cron/esCacheMaint.py -c /opt/mozdef/envs/mozdef/cron/esCacheMaint.conf
|
||||
/opt/mozdef/envs/mozdef/cron/eventStats.py -c /opt/mozdef/envs/mozdef/cron/eventStats.conf
|
||||
/opt/mozdef/envs/mozdef/cron/eventStatsAlerts.py -c /opt/mozdef/envs/mozdef/cron/eventStatsAlerts.conf
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/marketPlaceNotices.py -c /home/mozdef/envs/mozdef/cron/marketPlaceNotices.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/marketPlaceNotices.py -c /opt/mozdef/envs/mozdef/cron/marketPlaceNotices.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/okta2mozdef.py -c /home/mozdef/envs/mozdef/cron/okta2mozdef.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/okta2mozdef.py -c /opt/mozdef/envs/mozdef/cron/okta2mozdef.conf
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/pruneIndexes.py -c /home/mozdef/envs/mozdef/cron/backup.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/pruneIndexes.py -c /opt/mozdef/envs/mozdef/cron/backup.conf
|
||||
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/syncAlertsToMongo.py -c /home/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.py -c /opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
# Contributors:
|
||||
# Jeff Bryner jbryner@mozilla.com
|
||||
|
||||
source /home/mozdef/envs/mozdef/bin/activate
|
||||
/home/mozdef/envs/mozdef/cron/vidyo2MozDef.py -c /home/mozdef/envs/mozdef/cron/vidyo2MozDef.conf
|
||||
source /opt/mozdef/envs/mozdef/bin/activate
|
||||
/opt/mozdef/envs/mozdef/cron/vidyo2MozDef.py -c /opt/mozdef/envs/mozdef/cron/vidyo2MozDef.conf
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче