Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Conversation

@richard-julien
Copy link
Member

@richard-julien richard-julien commented Oct 15, 2024

Improve id generation for STIX elements

Copy link
Member

@aHenryJard aHenryJard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally along with opencti PR several connector running, everything looks good to me.


@staticmethod
def generate_id(result_name):
def generate_id(result_name, product=None, submitted=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richard-julien as discussed, I've added None for retro compatibility

@aHenryJard aHenryJard changed the base branch from master to release/6.4.0 November 15, 2024 14:09
@aHenryJard aHenryJard merged commit c7f4c65 into release/6.4.0 Nov 15, 2024
@aHenryJard aHenryJard deleted the opencti/issue/7158 branch November 15, 2024 14:44
@aHenryJard aHenryJard changed the title [client] Improve id generation for STIX elements [client] Improve id generation for STIX elements (#789) Nov 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit stix_ids explosion by rewriting the standard_id in client python

4 participants