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

Consistent UUIDs #7

Open
nkeller08 opened this issue Dec 4, 2023 · 3 comments
Open

Consistent UUIDs #7

nkeller08 opened this issue Dec 4, 2023 · 3 comments
Assignees
Labels
ADR A research and architectural decision

Comments

@nkeller08
Copy link
Contributor

nkeller08 commented Dec 4, 2023

Research and document in Architectural Decision Records (ADRs) ways of conserving UUIDs (root UUID and elements' UUIDs) unless there is a language change in the data.

@iMichaela iMichaela added ADR A research and architectural decision and removed question labels Dec 4, 2023
@nkeller08
Copy link
Contributor Author

We also need to make sure that the UUID for the tag is consistent. IE: NIST should always have the same UUID.

@selenaxiao-nist
Copy link
Collaborator

A potential solution: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html
nameUUIDFromBytes(byte[] name) - retrieve a type 3 (name based) UUID based on the specified byte array
Currently, the code uses randomUUID() - retrieve a type 4 (pseudo randomly generated) UUID

@iMichaela
Copy link
Collaborator

A potential solution: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html nameUUIDFromBytes(byte[] name) - retrieve a type 3 (name based) UUID based on the specified byte array Currently, the code uses randomUUID() - retrieve a type 4 (pseudo randomly generated) UUID

OSCAL needs UUID v4. The issue raised was the information update. For example, if the CSF is regenerated for some updates, the ONLY UUIDs that should change are the ones where data was changed. The cyberESY tool was always regenerating all UUIDs, where ever they are used. This mechanism is used to trigger re-assessments, so, when abused, will crate new work for the users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADR A research and architectural decision
Projects
None yet
Development

No branches or pull requests

3 participants