Merge pull request #497 from ronaldtf/fix-case-thehive

Fix create case with TheHive
pull/519/head
Thirion Aurélien 2020-05-13 17:20:20 +02:00 committed by GitHub
commit 8f44a8d2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'])
hive_description = request.form['hive_description']
hive_case_title = request.form['hive_case_title']
path = request.form['paste']
path = os.environ['AIL_HOME'] + "/PASTES/"+ request.form['paste']
#verify input
if (0 <= hive_tlp <= 3) and (1 <= threat_level <= 4):