Giter VIP home page Giter VIP logo

Comments (4)

gtback avatar gtback commented on August 29, 2024

Thanks for the suggestion!

There is already a script to convert an email message to a CybOX object (https://github.com/CybOXProject/Tools/blob/master/scripts/email_to_cybox/email_to_cybox.py), but it predates the python-cybox library and will probably be mostly rewritten.

I hadn't thought about adding the functionality to parse emails directly to the python-cybox library, but I agree it would be useful.

from python-cybox.

2xyo avatar 2xyo commented on August 29, 2024

I think features that allow to create objects from files are essential if you want people using Cybox. The script Email_to_cybox is a good example that saves a lot of time. It should be same for the other objects.

The real question is whether these functionalities should be integrated into python-cybox or into another package called python-cybox-tools for example ?

The advantage of the integrated directly into the base library is to have a single package. The issue is that this package may have many dependencies if this kind of functionality is integrated:

  • Parsing of packets (scapy, pcap)
  • Parsing of flows (pysilk, pynetflow)
  • Parsing of personnel (ldif, vobj)
  • A very long list...

My 2 cents

from python-cybox.

gtback avatar gtback commented on August 29, 2024

We've been having the same discussion internally this morning (essentially, python-cybox vs. python-cybox-tools). For emails, it's a bit harder of a decision since email.message.Message is in the Python Standard Library, but as you said, the others introduce a large amount of dependencies that we probably don't want on the basic python-cybox library.

For now, we aren't going to move the code entirely into python-cybox, though we may add something to examples/ (which doesn't get installed, but whose purpose to demonstrate how to use the API).

from python-cybox.

gtback avatar gtback commented on August 29, 2024

We aren't going to support this in the foreseeable future, so I'm going to close this issue.

from python-cybox.

Related Issues (20)

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.