-
Notifications
You must be signed in to change notification settings - Fork 41
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
Bugfix/182 do not allow sdo in obj ref prop #240
Bugfix/182 do not allow sdo in obj ref prop #240
Conversation
David - looks like the pinning has some issues. Maybe get Chris to help... |
Will do, thanks. Dave Update: done. |
Updated submodule pinning to latest schema 2.1 commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #240 +/- ##
==========================================
+ Coverage 94.36% 94.80% +0.44%
==========================================
Files 66 69 +3
Lines 6211 6586 +375
==========================================
+ Hits 5861 6244 +383
+ Misses 350 342 -8 ☔ View full report in Codecov by Sentry. |
Adds a test for object_refs validity:
stix2validator/test/v21/observed_data_tests.py::ObservedDataTestCases::test_invalid_object_refs
Per schema, SDO object name patterns should Fail as object_refs in observables. SCO and SRO should be allowed.
Updated: fixed submodule pinning.