GithubHelp home page GithubHelp logo

Comments (6)

gtback avatar gtback commented on June 13, 2024

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.

ikiril01 avatar ikiril01 commented on June 13, 2024

@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.

gtback avatar gtback commented on June 13, 2024

Oh, and I forgot that this code uses the bindings directly (partially, at least).

from openioc-to-stix.

ikiril01 avatar ikiril01 commented on June 13, 2024

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.

Alec-Langford avatar Alec-Langford commented on June 13, 2024

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.

gtback avatar gtback commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.