Ran
|
Files
9
|
Run time
3min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/MISP/MISP-STIX-Converter/commit/<a class=hub.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">ce41b15c3<a href="https://github.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">">Fix for &quot;AttributeError: can&#39;t set attribute&quot; In the latest VM version availables (</a><a class="double-link" href="https://github.com/MISP/MISP-STIX-Converter/commit/<a class="double-link" href="https://github.com/MISP/MISP-STIX-Converter/commit/ccb3118940f9fcdf356126bed4370f3e7b5900a2">ccb311894</a>">ccb311894</a><a href="https://github.com/MISP/MISP-STIX-Converter/commit/ce41b15c3f06f64e143cd0f20bcab4c5f2c2f951">) STIX import does not work. Maybe caused by a change in another library (from pymisp import mispevent). The error reported """ Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/misp_modules/__init__.py", line 197, in post response = yield tornado.gen.with_timeout(timeout, self.run_request(jsonpayload)) File "/usr/local/lib/python3.6/dist-packages/tornado/gen.py", line 1055, in run value = future.result() File "/usr/local/lib/python3.6/dist-packages/tornado/concurrent.py", line 238, in result raise_exc_info(self._exc_info) File "<string>", line 4, in raise_exc_info File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/dist-packages/misp_modules/__init__.py", line 185, in run_request response = mhandlers[x['module']].handler(q=jsonpayload) File "modules/import_mod/stiximport.py", line 35, in handler pkg = stix.load_stix(package) File "/usr/local/lib/python3.6/dist-packages/pymisp/tools/stix.py", line 18, in load_stix threat_level_id=threat_level_id, analysis=analysis) File "/usr/local/lib/python3.6/dist-packages/misp_stix_converter/converters/buildMISPAttribute.py", line 273, in buildEvent event.attributes = uniqueAttributes AttributeError: can't set attribute """
116 of 287 branches covered (40.42%)
311 of 666 relevant lines covered (46.7%)
0.47 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|