mirror of https://github.com/MISP/PyMISP
parent
ec28820cf4
commit
6cd0c70679
|
@ -55,7 +55,10 @@ def floodemail(misp, event, maxlength=25):
|
|||
|
||||
|
||||
def create_dummy_event(misp):
|
||||
return misp.new_event(0, 4, 0, 'dummy event')
|
||||
event = MISPEvent()
|
||||
event.info = 'Dummy event'
|
||||
event = misp.add_event(event, pythonify=True)
|
||||
return event
|
||||
|
||||
|
||||
def create_massive_dummy_events(misp, nbattribute):
|
||||
|
|
Loading…
Reference in New Issue