Version: 1.2.0.3

stix.exploit_target.configuration Module

Overview

The stix.exploit_target.configuration module captures the software configuration that causes a vulnerability in a system.

Classes

class stix.exploit_target.configuration.Configuration(description=None, short_description=None, cce_id=None)

Bases: stix.base.Entity

Implementation of STIX Configuration.

Parameters:
  • cce_id (optional) – Common Configuration Enumeration value as a string
  • description (optional) – A string description.
  • short_description (optional) – A string short description.
add_description(description)

Adds a description to the descriptions collection.

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

add_short_description(description)

Adds a description to the short_descriptions collection.

This is the same as calling “foo.short_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:class:.StructuredText
Return type:An instance of
short_description

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

Default Value: None

Note

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

Returns:class:.StructuredText
Return type:An instance of