Skip to content
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

Add SCOs to 2.1 objects mapping #298

Closed
clenk opened this issue Oct 8, 2019 · 2 comments
Closed

Add SCOs to 2.1 objects mapping #298

clenk opened this issue Oct 8, 2019 · 2 comments

Comments

@clenk
Copy link
Contributor

clenk commented Oct 8, 2019

For STIX 2.1, we could add SCOs to the 2.1 objects mapping in STIX2_OBJ_MAPS. Since SCOs are now top level objects, this would allow parse() to handle both SDOs and SCOs without requiring use of parse_observable().

@khdesai khdesai mentioned this issue Nov 6, 2019
@cobsec
Copy link

cobsec commented Nov 12, 2019

@clenk just wanted to lend a vote for this one - current implementation (that does not have SCO types included) results in the inability to create Bundles containing SCOs since it checks types on parse. I'm working around it at the moment by adding _Observable to the list of "no further checks" in the clean function of STIXObjectProperty:

if any(x in ('STIXDomainObject', 'STIXRelationshipObject', 'MarkingDefinition')

@clenk
Copy link
Contributor Author

clenk commented Dec 10, 2019

This was fixed by #297.

@clenk clenk closed this as completed Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants