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
It appears that the from_obj method of the STIXCIQIdentity3_0 class and classes for child nodes of stix-ciqidentity:Specification do not call up to mixbox.entities.Entity.from_obj. mixbox.entities.Entity.from_obj emits a Entity.created.from_obj signal. stixmarx.parser.MarkingParser creates its set of entities to use for processing by subscribing its _handle_entity_created callback to the Entity.created.from_obj signal. As a result, since this signal is not sent for any entities of and including stix-ciqidentity:Specification, these entities are not marked by stixmarx. I'm creating this as an issue against python-stix because the CIQIdentity3_0Instance implementation is contained in this project.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. It appears the markings don't get applied to this extension because their children need binding objects and new API objects that implement the new TypedField changes. Thus, any CIQIdentity3_0Instance children would not be captured by stixmarx and will not be marked.
Is this something that your team is planning on updating? I could try figuring it out but wanted to check with you first. (And I'll make sure to include tests this time - that was my bad.)
@stevefranchak, unfortunately we don't see this as being high priority; instead we are focusing most of our efforts towards STIX 2. I would certainly appreciate a PR if you or anyone is willing to extend the current functionality.
Keep in mind stix-ciqidentity:CIQIdentity3_0Instance extension leverages the CIQ Specification which is extensive. Here is a link to the XSD schemas.
It appears that the
from_obj
method of theSTIXCIQIdentity3_0
class and classes for child nodes ofstix-ciqidentity:Specification
do not call up tomixbox.entities.Entity.from_obj
.mixbox.entities.Entity.from_obj
emits aEntity.created.from_obj
signal.stixmarx.parser.MarkingParser
creates its set of entities to use for processing by subscribing its_handle_entity_created
callback to theEntity.created.from_obj
signal. As a result, since this signal is not sent for any entities of and includingstix-ciqidentity:Specification
, these entities are not marked by stixmarx. I'm creating this as an issue against python-stix because theCIQIdentity3_0Instance
implementation is contained in this project.The text was updated successfully, but these errors were encountered: