Comments (3)
Hi,
Just trying to help. Testing the analyzer give this :
$ docker run --rm -v ${PWD}:/job cortexneurons/virustotal_scan:3.1
Traceback (most recent call last):
File "/worker/VirusTotal/virustotal.py", line 407, in <module>
VirusTotalAnalyzer().run()
File "/worker/VirusTotal/virustotal.py", line 365, in run
self.report(results)
File "/usr/local/lib/python3.9/site-packages/cortexutils/analyzer.py", line 110, in report
super(Analyzer, self).report({
File "/usr/local/lib/python3.9/site-packages/cortexutils/worker.py", line 203, in report
self.__write_output(output, ensure_ascii=ensure_ascii)
File "/usr/local/lib/python3.9/site-packages/cortexutils/worker.py", line 127, in __write_output
json.dump(data, f_output, ensure_ascii=ensure_ascii)
File "/usr/local/lib/python3.9/json/__init__.py", line 179, in dump
for chunk in iterable:
File "/usr/local/lib/python3.9/json/encoder.py", line 431, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/usr/local/lib/python3.9/json/encoder.py", line 405, in _iterencode_dict
yield from chunks
File "/usr/local/lib/python3.9/json/encoder.py", line 405, in _iterencode_dict
yield from chunks
File "/usr/local/lib/python3.9/json/encoder.py", line 405, in _iterencode_dict
yield from chunks
File "/usr/local/lib/python3.9/json/encoder.py", line 438, in _iterencode
o = _default(o)
File "/usr/local/lib/python3.9/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type WhistleBlowerDict is not JSON serializable
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7efece4a3070>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7efece422ac0>, 14112064.793170864)]']
connector: <aiohttp.connector.TCPConnector object at 0x7efed06af580>
and the output.json seems truncated
$ cat output/output.json
{"success": true, "summary": {"taxonomies": [{"level": "info", "namespace": "VT", "predicate":
"Scan", "value": "0/91"}]}, "artifacts": [], "operations": [], "full": {"type": "analysis", "attributes": {"date": 1704374672, "status": "completed", "stats":
from cortex-analyzers.
Hello. This should be fixed in the release we made today. Please test and feel free to share your feedback.
from cortex-analyzers.
@jeromeleonard - looking good. :) will close the issue!
from cortex-analyzers.
Related Issues (20)
- Can't start new thread on VirusTotal Analyzer
- [Bug] Cortex Mailer Responder does not add Date header (per RFC5322)
- [Bug] OpenCTI analyzers
- [Bug] emlparser Image not found: docker.io/cortexneurons/emlparser:2
- [Bug] CrowdSec Analyzer: requests module missing HOT 1
- [Bug] Fortiguard parser error HOT 3
- [FR] Added capabilities/features for Microsoft Defender for Endpoint responder
- [FR] Include additional intelligence from Recorded Future enrichment HOT 1
- [Bug] Misp Analyzer
- [FR] OpenCVE cortex analyzer
- 'Triage' analyzer adapation to fit Recorded Future solution (based on Triage) HOT 1
- New Analyzer: QR Code Parser
- [Bug] Wazuh responder problem with analyzer
- [Bug] MISP_2_1 analyzer HOT 1
- [Bug] Proofpoint error: "Unexpected Error: Strings must be encoded before hashing"
- [FR] EclecticIQ Analyser HOT 1
- [FR] EclecticIQ Responder HOT 1
- [Bug] Requirements don't get installed for new responder HOT 2
- [FR] mail-subject dataType should be used instead of mail_subject HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortex-analyzers.