gocsaf / csaf

Tools to download or provide CSAF (Common Security Advisory Framework) documents.
https://csaf.io
41 stars 24 forks source link

Schema validation: Add AssertFormat flag to schema compiler #475

Closed s-l-teichmann closed 1 year ago

s-l-teichmann commented 1 year ago

Solves #474

ThomasJunk commented 1 year ago

Running ./csaf_validator bsi-2022-0001.json in main results in "bsi-2022-0001.json" passes the schema validation.

Running the same on schema-validation-assert-format results in "bsi-2022-0001.json" passes the schema validation.

LGTM and works