[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti-users] Java STIX 2.x Libary
Good afternoon all! Wanted to share a nice update for the Java Stix Library. Rollout of immutables and full JSON Serialization/Deserialization has been completed. As mentioned, you get builds with full spec logic coverage and nice âwith*()â methods allowing you to create a new version of the immutable with the addition N properties. Âsuch as: AttackPattern attackPattern123 = AttackPattern.builder() âsomeNewAttackPatternâ is a full copy + the new KillChain information added. All methods match the properties defined in the spec. Here is a more complex example of usage from Generation of objects, generation of JSON, and parsing json back objects. Note how you do not need to know/enforce which type of object you are parsing, the parser will figure it out based on the Type and IDs, validate it, and return the needed info. class BundleSpec extends Specification { Enjoy!! From:ÂStephen Russett <stephen@digitalstate.ca> Reply:ÂStephen Russett <stephen@digitalstate.ca> Date:ÂDecember 5, 2018 at 2:33:06 PM To:Âcti-users@lists.oasis-open.org <cti-users@lists.oasis-open.org> Subject: Re: [cti-users] Java STIX 2.x Libary
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]