oasis-open / cti-pattern-validator

OASIS TC Open Repository: Validate patterns used to express cyber observable content in STIX Indicators
https://stix2-patterns.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 23 forks source link

Changed inspector to split up object paths into lists #24

Closed chisholm closed 7 years ago

chisholm commented 7 years ago

Object paths are now split into lists of strings (for properties), ints, (for array indices), and the special INDEX_STAR value for array "star" indices. Modified existing tests so they'll pass again, and added one additional test to exercise the splitting and different types of path components.