зеркало из https://github.com/mozilla/MozDef.git
Adding hostnames var
This commit is contained in:
Родитель
f7fe1b28df
Коммит
e09974b6fc
|
@ -33,7 +33,8 @@ class WriteAudit(AlertTask):
|
|||
severity = 'WARNING'
|
||||
tags = ['audit']
|
||||
|
||||
summary = '{0} Filesystem write(s) to an auditd path by {1}'.format(aggreg['count'], aggreg['value'], ),
|
||||
summary = ('{0} Filesystem write(s) to an auditd path by {1}'.format(aggreg['count'], aggreg['value'], ))
|
||||
hostnames = self.mostCommon(aggreg['allevents'],'_source.hostname')
|
||||
#did they modify more than one host?
|
||||
#or just modify an existing configuration more than once?
|
||||
if len(hostnames) > 1:
|
||||
|
|
Загрузка…
Ссылка в новой задаче