Permalink
Browse files

Fixup blank line at end of file

  • Loading branch information...
pwnbus committed Oct 5, 2018
1 parent 82f88cf commit ef4930603f79a3ba68e055eaef1e87289ff9f9b2
View
@@ -45,6 +45,5 @@ ignore =
F811 # redefinition of unused 'datetime' from line 10
F821 # undefined name 'SysLogHandler'
F841 # local variable 'CIDR' is assigned to but never used
W391 # blank line at end of file
W503 # line break before binary operator
W601 # .has_key() is deprecated, use 'in'
View
@@ -38,4 +38,3 @@ def onAggregation(self, aggreg):
summary = 'Promiscuous mode enabled on {1} [{0}]'.format(aggreg['count'], aggreg['value'])
return self.createAlertDict(summary, category, tags, aggreg['events'], severity)
View
@@ -160,4 +160,3 @@ def onAggregation(self, aggreg):
summary = 'SSH lateral movement outside policy: access to {} from {} as {}'.format(srchost, sampleip, sampleuser)
return self.createAlertDict(summary, category, tags, aggreg['events'], severity)
@@ -38,4 +38,3 @@ def onEvent(self, event):
# Create the alert object based on these properties
return self.createAlertDict(summary, category, tags, [event], severity)
View
@@ -184,4 +184,3 @@ def initConfig():
initConfig()
initLogger()
main()
@@ -35,4 +35,3 @@ def dict2List(inObj):
yield v
else:
yield ''
View
@@ -92,4 +92,3 @@ def initConfiguration(self):
self.options.cymonapikey = getConfig('cymonapikey',
'',
self.configfile)
@@ -114,4 +114,3 @@ class TestSSHKey(AlertTestSuite):
expected_alert=specific_alert
)
)

0 comments on commit ef49306

Please sign in to comment.