Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Fixup blank line at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnbus committed Oct 5, 2018
1 parent 82f88cf commit ef49306
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .flake8
Expand Up @@ -45,6 +45,5 @@ ignore =
F811 # redefinition of unused 'datetime' from line 10 F811 # redefinition of unused 'datetime' from line 10
F821 # undefined name 'SysLogHandler' F821 # undefined name 'SysLogHandler'
F841 # local variable 'CIDR' is assigned to but never used F841 # local variable 'CIDR' is assigned to but never used
W391 # blank line at end of file
W503 # line break before binary operator W503 # line break before binary operator
W601 # .has_key() is deprecated, use 'in' W601 # .has_key() is deprecated, use 'in'
1 change: 0 additions & 1 deletion alerts/promisc_kernel.py
Expand Up @@ -38,4 +38,3 @@ def onAggregation(self, aggreg):
summary = 'Promiscuous mode enabled on {1} [{0}]'.format(aggreg['count'], aggreg['value']) summary = 'Promiscuous mode enabled on {1} [{0}]'.format(aggreg['count'], aggreg['value'])


return self.createAlertDict(summary, category, tags, aggreg['events'], severity) return self.createAlertDict(summary, category, tags, aggreg['events'], severity)

1 change: 0 additions & 1 deletion alerts/ssh_lateral.py
Expand Up @@ -160,4 +160,3 @@ def onAggregation(self, aggreg):
summary = 'SSH lateral movement outside policy: access to {} from {} as {}'.format(srchost, sampleip, sampleuser) summary = 'SSH lateral movement outside policy: access to {} from {} as {}'.format(srchost, sampleip, sampleuser)


return self.createAlertDict(summary, category, tags, aggreg['events'], severity) return self.createAlertDict(summary, category, tags, aggreg['events'], severity)

1 change: 0 additions & 1 deletion alerts/ssl_blacklist_hit.py
Expand Up @@ -38,4 +38,3 @@ def onEvent(self, event):


# Create the alert object based on these properties # Create the alert object based on these properties
return self.createAlertDict(summary, category, tags, [event], severity) return self.createAlertDict(summary, category, tags, [event], severity)

1 change: 0 additions & 1 deletion cron/healthAndStatus.py
Expand Up @@ -184,4 +184,3 @@ def initConfig():
initConfig() initConfig()
initLogger() initLogger()
main() main()

1 change: 0 additions & 1 deletion lib/utilities/dict2List.py
Expand Up @@ -35,4 +35,3 @@ def dict2List(inObj):
yield v yield v
else: else:
yield '' yield ''

1 change: 0 additions & 1 deletion rest/plugins/cymon.py
Expand Up @@ -92,4 +92,3 @@ def initConfiguration(self):
self.options.cymonapikey = getConfig('cymonapikey', self.options.cymonapikey = getConfig('cymonapikey',
'', '',
self.configfile) self.configfile)

1 change: 0 additions & 1 deletion tests/alerts/test_ssh_key.py
Expand Up @@ -114,4 +114,3 @@ class TestSSHKey(AlertTestSuite):
expected_alert=specific_alert expected_alert=specific_alert
) )
) )

0 comments on commit ef49306

Please sign in to comment.