Warning
This documentation is still a work in progress. If you have any issues or questions, please ask on the stix-discussion mailing list or file a bug in our issue tracker.
Bases: stix.base.Entity
Adds entity to a top-level collection. For example, if entity is an Indicator object, the entity will be added to the indicators top-level collection.
Parses the xml_file file-like object and returns a STIXPackage instance.
Parameters: |
|
---|---|
Returns: | An instance of – class:STIXPackage. |