-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoneType object has no attribute 'keys' #158
Comments
Hi @arcsector, Thanks for your submission! I'll be looking into it soon |
@arcsector - |
@rpiazza oh gotcha. Werent idref's deprecated after STIX 1.2? If so maybe it should just be a warning that the idref is deprecated and wont be elevated? Or that refs need to be embedded? |
Ids and Id refs are the same thing in STIX 2.x. It just depends upon how it is used. Artifact has no ref properties, but File has a content_ref property, which references an artifact object. This would probably be the best way to represent this content. At any rate, such a transformation is beyond the elevator at this point - so I think a warning is about all we can add. |
Agreed. As long as the |
In a little test script I'm working on, I'm using the elevator to elevate a stix1 package. I have already validated it using the stix1validator, but it is giving a weird error:
I am using
stix2-elevator==2.0.1
andpython3.4
. Here isstixtransfer.py
:And attached is the file that I've been trying to convert, from this page. I've also uploaded it to github for convenience's sake: MAR-10132963_stix.txt
The text was updated successfully, but these errors were encountered: