cve-bin-tool icon indicating copy to clipboard operation
cve-bin-tool copied to clipboard

feat: json2 schema & tests

Open terriko opened this issue 1 year ago • 2 comments

  • related: https://github.com/intel/cve-bin-tool/pull/3980

In #3980, @mastersans has added a new json export format for cve-bin-tool (named json2 if you want to try it). I'd like to have a schema for it and a test that runs jsonschema.validate or equivalent on a basic output and on our test data so that once we settle into a schema we don't accidentally break things.

I'd consider this schema to be in flux until the 3.4 release, but we're hoping to have a pre-release for 3.4 later this month so we'll likely be settling on the final form soon.

terriko avatar Aug 08 '24 20:08 terriko

see also #4333

anthonyharrison avatar Aug 11 '24 17:08 anthonyharrison

Okay, we've got the description in the docs. I'd still like a schema and tests, but I think I'm going to accept that this isn't happening in time for 3.4 and move it out to the "future" milestone.

terriko avatar Aug 29 '24 21:08 terriko