InQuest / ThreatKB

Knowledge base workflow management for YARA rules and C2 artifacts (IP, DNS, SSL) (ALPHA STATE AT THE MOMENT)
GNU General Public License v2.0
95 stars 18 forks source link

Cannot manually add new signatures #491

Closed PhilOrdo closed 1 year ago

PhilOrdo commented 1 year ago

Attempts to add a new signature manually results in the following error:

Traceback (most recent call last): File app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File utils.py", line 272, in decorated_view return func(*args, **kwargs) File yara_rules.py", line 336, in create_yara_rule raise Exception("You must set a release, draft, and retirement state before modifying signatures") Exception: You must set a release, draft, and retirement state before modifying signatures You must set a release, draft, and retirement state before modifying signatures