Version: 1.1.1.8
stix.exploit_target
Module¶
Overview¶
The stix.exploit_target
module implements ExploitTarget
.
This denotes the specific vulnerability, weakness, or software configuration that creates a security risk.
Documentation Resources¶
Classes¶
-
class
stix.exploit_target.
ExploitTarget
(id_=None, idref=None, timestamp=None, title=None, description=None, short_description=None)¶ Bases:
stix.base.BaseCoreComponent
Implementation of STIX Exploit Target.
Parameters: - id (optional) – An identifier. If
None
, a value will be generated viamixbox.idgen.create_id()
. If set, this will unset theidref
property. - idref (optional) – An identifier reference. If set this will unset the
id_
property. - title (optional) – A string title.
- timestamp (optional) – A timestamp value. Can be an instance of
datetime.datetime
orstr
. - description (optional) – A string description.
- short_description (optional) – A string short description.
-
add_configuration
(value)¶ Adds a configuration to the
configurations
list property.Note
If
None
is passed in no value is addedParameters: value – A configuration value. Raises: ValueError
– If the value param is of typeConfiguration
-
add_vulnerability
(value)¶ Adds a vulnerability to the
vulnerabilities
list property.Note
If
None
is passed in no value is addedParameters: value – A Vulnerability
object..Raises: ValueError
– if the value param is of typeVulnerability
- id (optional) – An identifier. If
-
class
stix.exploit_target.
PotentialCOAs
(coas=None, scope=None)¶ Bases:
stix.common.related.GenericRelationshipList
A list of
Potential_COA
objects, defaults to empty array
-
class
stix.exploit_target.
RelatedExploitTargets
(related_exploit_targets=None, scope=None)¶ Bases:
stix.common.related.GenericRelationshipList
A list of
RelatedExploitTargets
objects, defaults to empty array