Version: 1.2.0.10

stix.extensions.test_mechanism.generic_test_mechanism Module

Classes

class stix.extensions.test_mechanism.generic_test_mechanism.GenericTestMechanism(id_=None, idref=None)

Bases: stix.indicator.test_mechanism._BaseTestMechanism

add_description(description)

Adds a description to the descriptions collection.

This is the same as calling “foo.descriptions.add(bar)”.

description

A single description about the contents or purpose of this object.

Default Value: None

Note

If this object has more than one description set, this will return the description with the lowest ordinality value.

Returns:An instance of StructuredText