Fix create case with TheHive

pull/497/head
Ronald Teijeira Fernandez 2020-05-13 13:24:29 +00:00
parent cfaa8ef2ba
commit 8a1a4a1a03
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ def create_hive_case():
threat_level = int(request.form['threat_level_hive']) threat_level = int(request.form['threat_level_hive'])
hive_description = request.form['hive_description'] hive_description = request.form['hive_description']
hive_case_title = request.form['hive_case_title'] hive_case_title = request.form['hive_case_title']
path = request.form['paste'] path = os.environ['AIL_HOME'] + "/PASTES/"+ request.form['paste']
#verify input #verify input
if (0 <= hive_tlp <= 3) and (1 <= threat_level <= 4): if (0 <= hive_tlp <= 3) and (1 <= threat_level <= 4):