Version: 1.2.0.11
stix.core.stix_header Module¶
Classes¶
-
class
stix.core.stix_header.STIXHeader(package_intents=None, description=None, handling=None, information_source=None, title=None, short_description=None)¶ Bases:
stix.base.EntityThe STIX Package Header.
Parameters: - handling – The data marking section of the Header.
- information_source – The
InformationSourcesection of the Header. - package_intents – DEPRECATED. A collection of
VocabStringdefining the intent of the parentSTIXPackage. - description – DEPRECATED. A description of the intent or purpose
of the parent
STIXPackage. - short_description – DEPRECATED. A short description of the intent
or purpose of the parent
STIXPackage. - title – DEPRECATED. The title of the
STIXPackage.
-
profiles¶ A collection of STIX Profiles the parent
STIXPackageconforms to.
-
title¶ DEPRECATED. The title of the parent
STIXPackage.
-
add_description(description)¶ DEPRECATED. Adds a description to the
descriptionscollection.This is the same as calling “foo.descriptions.add(bar)”.
-
add_package_intent(package_intent)¶ DEPRECATED. Adds
VocabStringobject to thepackage_intentscollection.If the input is not an instance of
VocabString, an effort will be made to convert it into an instance ofPackageIntent.
-
add_profile(profile)¶ Adds a profile to the STIX Header. A Profile is represented by a string URI.
-
add_short_description(description)¶ DEPRECATED. Adds a description to the
short_descriptionscollection.This is the same as calling “foo.short_descriptions.add(bar)”.
-
description¶ DEPRECATED. A single description about the contents or purpose of this object.
Default Value:
NoneNote
If this object has more than one description set, this will return the description with the lowest ordinality value.
Returns: An instance of StructuredText
-
short_description¶ DEPRECATED. A single short description about the contents or purpose of this object.
Default Value:
NoneNote
If this object has more than one short description set, this will return the description with the lowest ordinality value.
Returns: An instance of StructuredText