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

Schema Extension Versions #869

Closed
floydtree opened this issue Nov 27, 2023 · 1 comment
Closed

Schema Extension Versions #869

floydtree opened this issue Nov 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working framework Structures, conventions, requirements, data types, etc.

Comments

@floydtree
Copy link
Contributor

In the metadata.extensions object, all 3 name, uid and version are required. However, for the OCSF defined platform extensions Linux, macOS, Windows we haven't defined version in the json definition files. From a mapper's perspective, I do not have the information that can be used to populated the "required" fields in extension object.

We need to explicitly add versions for these extensions. I recommend we maintain versions for native extensions and the core schema in sync, which would be 1.1.0-dev as of today. But happy to discuss further.

Also, it appears we have not updated the extension registry with details about these native extensions.

@floydtree floydtree added bug Something isn't working framework Structures, conventions, requirements, data types, etc. labels Nov 27, 2023
@mikeradka
Copy link
Contributor

mikeradka commented Nov 28, 2023

We discussed this a bit in Tuesday's OCSF call.

There was some talk of whether that field's requirement should be downgraded, but we determined it is better to keep it required. We can more easily just keep these 'first-class' extensions up-to-date in line with OCSF core's version. Alan confirmed that we could utilize metaschema to have some protection on ensuring these extension file versions are updated in accordance with core version updates.

It wasn't clear to many folks whether the extension version represented the version of the extension, or the version with which the extension is compatible. Since version represents the extension version, one thing that the team agreed on is the usefulness of adding an attribute that reflects the compatible ocsf version(s).

@jp-harvey may have some extra context to give here as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working framework Structures, conventions, requirements, data types, etc.
Projects
None yet
Development

No branches or pull requests

3 participants