gocsaf / csaf

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

Improve log verbosity #337

Closed tschmidtb51 closed 1 year ago

tschmidtb51 commented 1 year ago

Currently, we have a some log messages that might be unnecessary, e.g.:

2023/01/26 21:56:39 Not confirming filename "2022-esa-001.json.sha256". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2022-esa-001.json.sha512". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2022-esa-001.json.asc". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-002.json.sha256". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-002.json.sha512". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-002.json.asc". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-001.json.sha256". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-001.json.sha512". Ignoring.
2023/01/26 21:56:39 Not confirming filename "2021-esa-001.json.asc". Ignoring.

We need to decide whether we want to keep those or want to improve the implementation when selecting files, e.g. based on the rel attribute.

tschmidtb51 commented 1 year ago

This might be important to #325

tschmidtb51 commented 1 year ago

Seems to be tested with an old version (confirming) - not longer valid.