зеркало из https://github.com/mozilla/MozDef.git
update sample config.py to match new alert dict format
This commit is contained in:
Родитель
aa2bb2e1a9
Коммит
995c3d9487
|
@ -8,16 +8,16 @@
|
|||
# Contributors:
|
||||
# Anthony Verez averez@mozilla.com
|
||||
|
||||
from celery.schedules import crontab
|
||||
from celery.schedules import crontab, timedelta
|
||||
import time
|
||||
import logging
|
||||
|
||||
ALERTS = {
|
||||
'bro_intel.AlertBroIntel': crontab(minute='*/1'),
|
||||
'bro_notice.AlertBroNotice': crontab(minute='*/1'),
|
||||
'bruteforce_ssh.AlertBruteforceSsh': crontab(minute='*/1'),
|
||||
'cloudtrail.AlertCloudtrail': crontab(minute='*/1'),
|
||||
'fail2ban.AlertFail2ban': crontab(minute='*/1'),
|
||||
'bro_intel.AlertBroIntel': {'schedule': crontab(minute='*/1')},
|
||||
'bro_notice.AlertBroNotice': {'schedule': crontab(minute='*/1')},
|
||||
'bruteforce_ssh.AlertBruteforceSsh': {'schedule': crontab(minute='*/1')},
|
||||
'cloudtrail.AlertCloudtrail': {'schedule': crontab(minute='*/1')},
|
||||
'fail2ban.AlertFail2ban': {'schedule': crontab(minute='*/1')},
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче