maec_to_stix.stix_wrapper Module¶
- maec_to_stix.stix_wrapper.wrap_maec(maec_package, file_name=None)¶
Wrap a MAEC Package in a STIX TTP/Package. Return the newly created STIX Package.
Parameters: - maec_package – the maec.package.package.Package instance to wrap in STIX.
- file_name – the name of the input file from which the MAEC Package originated, to be used in the Title of the STIX TTP that wraps the MAEC Package. Optional.
Returns: A stix.STIXPackage instance with a single TTP that wraps the input MAEC Package.