StephenOTT / STIX-Java

STIX 2.x Java Library
MIT License
27 stars 13 forks source link

Add Granular Reference support #23

Closed StephenOTT closed 5 years ago

StephenOTT commented 5 years ago

Object reference support for Data markings has been added. Granular is required. Basics are already in place. Just add the final setters and getters that match the same structure as the Object level. See the GranularMarking.class

StephenOTT commented 5 years ago

done

...
"granular_markings": [
        {
          "selectors": [
            "pattern1",
            "pattern2",
            "pattern3"
          ],
          "marking_ref": "marking-definition--f0c7f62f-83c7-4b1a-b04d-74633f74aefc"
        }
      ]
...
StephenOTT commented 5 years ago

Future pattern support will need to be added for the selectors