Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Briefly describe major objects by providing __str__() functions #313
I'm a newbie to stix, just trying to parse a stix file I ran across. It would be much easier to explore the file, the format and the API if the objects would describe themselves when I print them, rather than just getting something like
Perhaps the output could look something like these:
Add types and/or ids if they seem useful enough.
Providing a summary description of a whole package, e.g. via some sort of
Thanks, @nealmcb . That's a great suggestion.
Unfortunately, we don't have a lot of time to put into this library; we are instead focusing on Python libraries for STIX 2.
I would be happy to accept a PR with these changes if you (or anyone else) has the time and interest to work on them, though.