Skip to content

Cortex 2.0.3 docker container having cortex analyzer errors #90

@rayschippers

Description

@rayschippers

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Ubuntu
Cortex version / git hash 2.0.3-1
Package Type Docker
Browser type & version n/a

Problem Description

Since upgrading to Cortex 2.0.3-1 docker image I get the following report in The Hive:

{
  "errorMessage": "Invalid output\nTraceback (most recent call last):\n  File \"Abuse_Finder/abusefinder.py\", line 8, in <module>\n    from cortexutils.analyzer import Analyzer\nImportError: No module named cortexutils.analyzer\n",
  "input": null,
  "success": false
}

The Cortex job history shows:

Invalid output
Traceback (most recent call last):
  File "Censys/censys_analyzer.py", line 2, in <module>
    from cortexutils.analyzer import Analyzer
ImportError: No module named 'cortexutils'


Steps to Reproduce

  1. Run The Hive 3.0.8-1 and Cortex 2.0.3-1 and connect them (I verified I have green brain)
  2. Try and run analyzer.

Possible Solutions

Rolling back to 2.0.2-1 fixed the issue (aside from the know python 3 issue) so a change between the two caused it (did not see any PR requests from the last few days).

Complementary information

Failures seen on:
Abuse Finder 2
Censys 1
Fortiguard URL Category 2
MISP 2
OTXQuery 2
Robtex Forward PDNS 1
VirusTotal GetReport 3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions