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

Validate observables, including new ways to define #9

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

rmouritzen-splunk
Copy link
Contributor

@rmouritzen-splunk rmouritzen-splunk commented Mar 11, 2024

Copy link
Collaborator

@query-jeremy query-jeremy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good and fits right in with the rest of the validator.

I pushed a change to fix an invalid f-string, but that let me run the validator against a recent clone of ocsf-schema.

I'd like to see unit tests to verify that IllegalObservableTypeIDError and ObservableTypeIDCollisionError are raised when expected, but those can be added in a follow up PR to unblock work on the OCSF Server. Otherwise it looks good.

Nice work!

@rmouritzen-splunk rmouritzen-splunk merged commit e68e8db into ocsf:main Mar 12, 2024
@rmouritzen-splunk rmouritzen-splunk deleted the observables branch March 12, 2024 17:23
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

Successfully merging this pull request may close these issues.

2 participants