pycti.entities.stix_cyber_observable.opencti_stix_cyber_observable_deprecated

Classes

StixCyberObservableDeprecatedMixin

Deprecated mixin for Stix-Cyber-Observable promotion [>=6.2 & <6.8].

Module Contents

class pycti.entities.stix_cyber_observable.opencti_stix_cyber_observable_deprecated.StixCyberObservableDeprecatedMixin[source]

Deprecated mixin for Stix-Cyber-Observable promotion [>=6.2 & <6.8].

Contains deprecated method to promote a Stix-Observable to an Indicator.

promote_to_indicator(**kwargs)[source]

Promote a Stix-Cyber-Observable to an Indicator (deprecated).

Deprecated since version 6.2: Use promote_to_indicator_v2() instead.

Parameters:
  • id (str) – the id of the Stix-Cyber-Observable

  • customAttributes (str) – custom attributes to return

  • withFiles (bool) – whether to include files

Returns:

Indicator object

Return type:

dict or None