mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix path-event id map
This commit is contained in:
parent
cd4c099685
commit
bf72c27711
2 changed files with 3 additions and 3 deletions
|
@ -459,7 +459,7 @@ def create_misp_event():
|
|||
if event != False:
|
||||
return redirect(event)
|
||||
else:
|
||||
return 'error1'
|
||||
return 'error, event creation'
|
||||
return 'error0'
|
||||
|
||||
@PasteSubmit.route("/PasteSubmit/create_hive_case", methods=['POST'])
|
||||
|
|
|
@ -126,7 +126,7 @@ def showpaste(content_range):
|
|||
else:
|
||||
hive = True
|
||||
|
||||
misp_event = r_serv_metadata.get('misp_events:path')
|
||||
misp_event = r_serv_metadata.get('misp_events:' + requested_path)
|
||||
if misp_event is None:
|
||||
misp_eventid = False
|
||||
misp_url = ''
|
||||
|
@ -134,7 +134,7 @@ def showpaste(content_range):
|
|||
misp_eventid = True
|
||||
misp_url = misp_event_url + misp_event
|
||||
|
||||
hive_case = r_serv_metadata.get('hive_cases:path')
|
||||
hive_case = r_serv_metadata.get('hive_cases:' + requested_path)
|
||||
if hive_case is None:
|
||||
hive_caseid = False
|
||||
hive_url = ''
|
||||
|
|
Loading…
Reference in a new issue