Comments (6)
Thanks, @Alec-Langford. I'll look into this. In the meantime, can you tell me what version of python-cybox (and python-stix) you have installed? I seem to remember an error like this in a previous version, so if you're not running the latest versions (2.1.0.8 and 1.1.1.2), see if upgrading to those solves the problem.
It's also possible that we haven't updated openioc-to-stix to handle recent modifications to the python-stix and python-cybox.
from openioc-to-stix.
@gtback I'm looking into it as well :) It's definitely a bug in our code; looks like we need to update some of the namespace handling as well.
from openioc-to-stix.
Oh, and I forgot that this code uses the bindings directly (partially, at least).
from openioc-to-stix.
Yup, this is one of the few utilities that uses the bindings directly, because there were no APIs available at the time :)
Anyhow, this issue should be fixed with 89bd76c. I've also updated the namespace handling in openioc_to_stix.py
, but it now requires python-stix
>= 1.1.1.2 and python-cybox
>= 2.1.0.8. Please let us know if this fixes the issue for you!
from openioc-to-stix.
Cheers guys;
89bd76c worked.
For reference:
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
>>> import stix
>>> stix.__version__
'1.1.1.2'
>>> import cybox
>>> cybox.__version__
'2.1.0.8'
from openioc-to-stix.
Thanks for fixing this, @ikiril01, and thanks @Alec-Langford for reporting this. I'm glad it's working (and sorry my initial guesses were wrong 😦 ).
from openioc-to-stix.
Related Issues (12)
- Add Ability to Capture Input Documents as Test Mechanisms
- Publish to the Python Package Server HOT 1
- stix to openIOC ? HOT 3
- NameSpace Issue HOT 1
- Email Attachment type throws an exception HOT 2
- Fix Range Handling in IndicatorItems
- Add Implementation for ServiceItem/descriptiveName
- Add support for OpenIOC v1.1 HOT 4
- Update openioc-to-stix to be compatible with current python-stix and python-cybox libraries HOT 4
- Update to use python-cybox APIs
- Update to STIX v1.2
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 openioc-to-stix.