Skip to content

Use a UUIDv5 for object IDs #8

@himynamesdave

Description

@himynamesdave

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions