Open sean-scott-lr opened 3 years ago
Are you using the 2.0 or 2.1 version of the library?
I built from master yesterday.
I couldn't find a built version in maven repos, did I miss that?
There is a 2.1 branch in the repo which was a major refactor.
The validations in the master (stix 2) uses https://immutables.github.io/ for the validation annotations. Would have to leverage that lib to disable (if it is possible). The 2.1 branch gives you many more config options for things like vocabs.
Given you have the code downloaded for 2.0, a quick fix is to just modify the content of the vocabs as needed: https://github.com/StephenOTT/STIX-Java/tree/master/src/main/java/io/digitalstate/stix/vocabulary/vocabularies
Ok, Thanks for the feedback @StephenOTT .
Hello, I am trying to use this project to parse stix2.0 from a variety of taxii endpoints. Initially I am testing with an anomali feed.
The issue is that with this feed:
https://limo.anomali.com/api/v1/taxii2/feeds/collections/107/objects/ ( You need to set the Authorization header for a basic auth credential user and pass are both "guest" )
Anyway, it returns some objects that look like this
And I end up. with a validation error of
Ideas?