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.

stix.exploit_target.weakness Module

Overview

The stix.exploit_target.weakness module captures a given software weakness as enumerated by CWE

Classes

class stix.exploit_target.weakness.Weakness(description=None, cwe_id=None)

Bases: stix.base.Entity

Implementation of STIX Weakness.

Parameters:
  • cwe_id (optional) – Common Weakness Enumeration value as a string
  • description (optional) – A string description.
cwe_id

Common Weakness Enumeration value as a string

description

The description property for this Weakness.

Default Value: None

Note

If set to a value that is not an instance of stix.common.structured_text.StructuredText, an attempt to will be made to convert the value into an instance of stix.common.structured_text.StructuredText.

Returns:An instance of stix.common.structured_text.StructuredText

Table Of Contents

Previous topic

stix.exploit_target.vulnerability Module

Next topic

stix.extensions.identity.ciq_identity_3_0 Module

This Page

Related Documentation