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.
Functions
-
stix.common.vocabs.add_vocab(cls)
Constants
-
stix.common.vocabs._VOCAB_MAP = {'stixVocabs:LocationClassVocab-1.0': <class 'stix.common.vocabs.LocationClass'>, 'stixVocabs:PackageIntentVocab-1.0': <class 'stix.common.vocabs.PackageIntent'>, 'stixVocabs:InformationSourceRoleVocab-1.0': <class 'stix.common.vocabs.InformationSourceRole'>, 'stixVocabs:HighMediumLowVocab-1.0': <class 'stix.common.vocabs.HighMediumLow'>, 'stixVocabs:MalwareTypeVocab-1.0': <class 'stix.common.vocabs.MalwareType'>, 'stixVocabs:AttackerToolTypeVocab-1.0': <class 'stix.common.vocabs.AttackerToolType'>, 'stixVocabs:IndicatorTypeVocab-1.1': <class 'stix.common.vocabs.IndicatorType'>, 'stixVocabs:CampaignStatusVocab-1.0': <class 'stix.common.vocabs.CampaignStatus'>, 'stixVocabs:DiscoveryMethodVocab-1.0': <class 'stix.common.vocabs.DiscoveryMethod'>, 'stixVocabs:COAStageVocab-1.0': <class 'stix.common.vocabs.COAStage'>, 'stixVocabs:ImpactRatingVocab-1.0': <class 'stix.common.vocabs.ImpactRating'>, 'stixVocabs:IntendedEffectVocab-1.0': <class 'stix.common.vocabs.IntendedEffect'>, 'stixVocabs:LossDurationVocab-1.0': <class 'stix.common.vocabs.LossDuration'>, 'stixVocabs:ThreatActorTypeVocab-1.0': <class 'stix.common.vocabs.ThreatActorType'>, 'stixVocabs:IncidentStatusVocab-1.0': <class 'stix.common.vocabs.IncidentStatus'>, 'stixVocabs:AssetTypeVocab-1.0': <class 'stix.common.vocabs.AssetType'>, 'stixVocabs:MotivationVocab-1.1': <class 'stix.common.vocabs.Motivation'>, 'stixVocabs:CourseOfActionTypeVocab-1.0': <class 'stix.common.vocabs.CourseOfActionType'>, 'stixVocabs:LossPropertyVocab-1.0': <class 'stix.common.vocabs.LossProperty'>, 'stixVocabs:IncidentCategoryVocab-1.0': <class 'stix.common.vocabs.IncidentCategory'>, 'stixVocabs:OwnershipClassVocab-1.0': <class 'stix.common.vocabs.OwnershipClass'>, 'stixVocabs:IncidentEffectVocab-1.0': <class 'stix.common.vocabs.IncidentEffect'>, 'stixVocabs:SystemTypeVocab-1.0': <class 'stix.common.vocabs.SystemType'>, 'stixVocabs:SecurityCompromiseVocab-1.0': <class 'stix.common.vocabs.SecurityCompromise'>, 'stixVocabs:AvailabilityLossTypeVocab-1.1.1': <class 'stix.common.vocabs.AvailabilityLossType'>, 'stixVocabs:AttackerInfrastructureTypeVocab-1.0': <class 'stix.common.vocabs.AttackerInfrastructureType'>, 'stixVocabs:InformationTypeVocab-1.0': <class 'stix.common.vocabs.InformationType'>, 'stixVocabs:ImpactQualificationVocab-1.0': <class 'stix.common.vocabs.ImpactQualification'>, 'stixVocabs:ThreatActorSophisticationVocab-1.0': <class 'stix.common.vocabs.ThreatActorSophistication'>, 'stixVocabs:ManagementClassVocab-1.0': <class 'stix.common.vocabs.ManagementClass'>, 'stixVocabs:PlanningAndOperationalSupportVocab-1.0.1': <class 'stix.common.vocabs.PlanningAndOperationalSupport'>}
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
- in the keyword argument list. For example: dict(one=1, two=2)