pycti.utils.opencti_stix2_identifier ==================================== .. py:module:: pycti.utils.opencti_stix2_identifier Functions --------- .. autoapisummary:: pycti.utils.opencti_stix2_identifier.external_reference_generate_id pycti.utils.opencti_stix2_identifier.kill_chain_phase_generate_id Module Contents --------------- .. py:function:: external_reference_generate_id(url=None, source_name=None, external_id=None) Generate a STIX ID for an external reference. :param url: URL of the external reference :type url: str :param source_name: Source name of the external reference :type source_name: str :param external_id: External ID of the reference :type external_id: str :return: Generated STIX ID or None if insufficient data :rtype: str or None .. py:function:: kill_chain_phase_generate_id(phase_name, kill_chain_name) Generate a STIX ID for a kill chain phase. :param phase_name: Name of the phase :type phase_name: str :param kill_chain_name: Name of the kill chain :type kill_chain_name: str :return: Generated STIX ID :rtype: str