Skip to content

Commit 7f7c7d7

Browse files
author
zmihaljevic
committed
Threat level range fix
1 parent 9ce3820 commit 7f7c7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReversingLabs/SDK/ticloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6415,7 +6415,7 @@ def __check_parameter_validness(ioc_type, limit=1000, classification=None, threa
64156415
if not isinstance(threat_level, int) and threat_level is not None:
64166416
raise WrongInputError("Threat level must be an integer")
64176417

6418-
if threat_level not in range(1, 5) and threat_level is not None:
6418+
if threat_level not in range(1, 6) and threat_level is not None:
64196419
raise WrongInputError("Threat level must be an integer value between 1 and 5 ([1..5])")
64206420

64216421
if vertical not in IOC_VERTICAL_CATEGORIES and vertical is not None:

0 commit comments

Comments
 (0)