You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mmali277, thanks for creating the issue! As you can probably tell, this script is pretty old and has not been updated in a while. It's likely not compatible with the latest version of python-cybox.
It shouldn't be too much work to update it, but I also wanted to ask if there was a particular reason you are using the older CybOX 2.1 compared to the newer Cyber Observables in STIX 2.1? We don't yet have a email translator that supports STIX 2.1, but would be happy to help you if you have any questions. The code in this repo would be a good starting point, and creating STIX 2.0 JSON is much easier in Python than creating XML.
Hi @gtback, thanks for the reply. I just started studying cybox and stix for research purposes of my academic carrier. I am assigned to study cybox first and then to continue to stix, therefore i was using cybox 2.1. I needed a sample to study, therefore i used this, script.
the following code
cybox.utils.set_id_namespace(NS)
gives this error
AttributeError: module 'cybox.utils' has no attribute 'set_id_namespace'
The text was updated successfully, but these errors were encountered: