stix2 icon indicating copy to clipboard operation
stix2 copied to clipboard

Make a function to generate UUIDv5s for SDOs, SROs, meta-objects, and bundles

Open wrbrant opened this issue 1 year ago • 1 comments

There ought to be a way to generate UUIDv5s for SDOs, SROs, meta-objects, and bundles. Currently, you can only generate UUIDv5s for SCOs. This is the normal behavior. However, Oasis does provide allowance for the aforementioned objects to have UUIDv5s with the caveat that a different namespace is used. See the specification here. There are plenty of uses for using a UUIDv5 in SDOs, SROs, etc. I need not expound on all of them here, but There ought to be a function to generate a UUIDv5 for any arbitrary STIX object such that the user can provide a namespace, type, and any data that should generate the UUIDv5.

I am able to do this, I just wanted to make sure it would be approved before I work on it.

wrbrant avatar Mar 04 '25 18:03 wrbrant

You can just replace the id for the object using one that you have generated using what ever logic you want. Would that not work?

TcM1911 avatar May 21 '25 16:05 TcM1911