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

Adds allow/deny to object_refs to prevent SDOs as refs in observed data #167

Conversation

openmorse
Copy link
Contributor

@openmorse openmorse commented Oct 22, 2024

Addresses Validator issue #182. Adds a check for SDO object name patterns to the object_refs to deny. Allows SCO and SRO refs.
NOTE: Validator submodule links need correcting to match this update.
See also added Test in Validator to confirm allow/deny:
stix2validator/test/v21/observed_data_tests.py::ObservedDataTestCases::test_invalid_object_refs

@rpiazza rpiazza merged commit 31eb60d into oasis-open:master Oct 22, 2024
2 checks passed
@openmorse openmorse deleted the bugfix/182-do-not-allow-sdo-in-sco-obj-ref-prop branch October 25, 2024 05:43
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