mirror of https://github.com/MISP/misp-modules
chg: [joe] skip not existing system in behavior
parent
0295268c43
commit
db902275b3
|
@ -167,6 +167,8 @@ class JoeParser():
|
|||
self.misp_event.add_attribute(**attribute)
|
||||
|
||||
def parse_system_behavior(self):
|
||||
if not 'system' in self.data['behavior']:
|
||||
return
|
||||
system = self.data['behavior']['system']
|
||||
if system.get('processes'):
|
||||
process_activities = {'fileactivities': self.parse_fileactivities,
|
||||
|
|
Loading…
Reference in New Issue