-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[client] Improve id generation for STIX elements (#789) #748
Conversation
There was a problem hiding this 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.
@@ -219,13 +219,21 @@ def __init__(self, opencti): | |||
""" | |||
|
|||
@staticmethod | |||
def generate_id(result_name): | |||
def generate_id(result_name, product=None, submitted=None): |
There was a problem hiding this comment.
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
49c3f07
to
2f3a792
Compare
Improve id generation for STIX elements