Skip to content
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

Use a UUIDv5 for object IDs #8

Open
himynamesdave opened this issue Aug 23, 2023 · 0 comments
Open

Use a UUIDv5 for object IDs #8

himynamesdave opened this issue Aug 23, 2023 · 0 comments

Comments

@himynamesdave
Copy link

himynamesdave commented Aug 23, 2023

Currently a random UUIDv4 is generated with each run. This causes an issue with persistent IDs for the same objects during updates.

Suggestion would be to use UUIDv5 using a fixed namespace and some fixed value in the object to ensure the object IDs are persistent between runs.

Namespace could be 0ed94f42-2c47-4d1b-96d1-1201610f9b58 (UUID part of Identity).

values could be:

tactic (attack-pattern) = "namespace+name"
technique (x-mitre-tactic) = "namespace+name"
matrix (x-mitre-matrix) = "namespace+name"
relationship (relationship) = "namespace+src_ref+dest_ref"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant