Festo-se / cyclonedx-editor-validator

Tool for creating, modifying and validating CycloneDX SBOMs.
https://festo-se.github.io/cyclonedx-editor-validator/
GNU General Public License v3.0
18 stars 4 forks source link

fix: Disable strict filename validation for default schema #167

Closed mmarseu closed 3 months ago

mmarseu commented 4 months ago

By default, validation against the default schema is now more lenient with filenames. Warnings are generated for any filename that doesn't match either bom.json or *.cdx.json.

Custom filename pattern validation is not affected and remains an error.

github-actions[bot] commented 4 months ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
__main__.py3111595%205–206, 223, 627–628, 632–637, 639, 642, 654–655
validator
   helper.py480100% 
   validate.py79494%39, 87, 103, 138
TOTAL15976695% 

Tests Skipped Failures Errors Time
283 2 :zzz: 0 :x: 0 :fire: 4.509s :stopwatch: