gocsaf / csaf

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

Missing files in `changes.csv` are reported in 18 #438

Closed tschmidtb51 closed 1 year ago

tschmidtb51 commented 1 year ago

Currently (v2.2.1-95-ga65fead) missing files in the changes.csv are reported in requirement 18 instead of 13. IMHO, this is a bug.

JanHoefelmeyer commented 1 year ago

Currently, discrepancies between found files in between the different used retrieval methods are all checked within the "CheckMissing()" method, which logs all of them in Requirement 18. While testing, I also found that an empty changes.csv only results in a warning and further checks on whether entries are missing are ignored as well.

Proper error sorting is done in #441

JanHoefelmeyer commented 1 year ago

Solved via https://github.com/csaf-poc/csaf_distribution/pull/441