зеркало из https://github.com/mozilla/MozDef.git
Remove pyes from alert filenames
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
This commit is contained in:
Родитель
ea17b5883c
Коммит
26326f243d
|
@ -13,7 +13,7 @@ from lib.alerttask import AlertTask
|
|||
from query_models import SearchQuery, TermMatch, PhraseMatch, TermsMatch
|
||||
|
||||
|
||||
class AlertBruteforceSshES(AlertTask):
|
||||
class AlertBruteforceSsh(AlertTask):
|
||||
def main(self):
|
||||
search_query = SearchQuery(minutes=2)
|
||||
|
|
@ -25,7 +25,7 @@ from configlib import getConfig, OptionParser
|
|||
|
||||
class AlertUnauthSSH(AlertTask):
|
||||
def main(self):
|
||||
self.config_file = './unauth_ssh_pyes.conf'
|
||||
self.config_file = './unauth_ssh.conf'
|
||||
self.config = None
|
||||
self.initConfiguration()
|
||||
|
|
@ -4,8 +4,8 @@ from negative_alert_test_case import NegativeAlertTestCase
|
|||
from alert_test_suite import AlertTestSuite
|
||||
|
||||
|
||||
class TestAlertBruteforceSshES(AlertTestSuite):
|
||||
alert_filename = "bruteforce_ssh_pyes"
|
||||
class TestAlertBruteforceSsh(AlertTestSuite):
|
||||
alert_filename = "bruteforce_ssh"
|
||||
|
||||
# This event is the default positive event that will cause the
|
||||
# alert to trigger
|
Загрузка…
Ссылка в новой задаче