mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Merge pull request #497 from ronaldtf/fix-case-thehive
Fix create case with TheHive
This commit is contained in:
commit
8f44a8d2c6
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue