1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
Commit graph

944 commits

Author SHA1 Message Date
JanHoefelmeyer
12815430ec Remove superflous reset of temporary variable 2023-08-23 13:22:28 +02:00
JanHoefelmeyer
8d51577e49 Use whereType for mistake 2023-08-23 12:58:40 +02:00
JanHoefelmeyer
4b56f3e837 Exchange slice with util.set for mistakes in checkMissing 2023-08-23 12:29:05 +02:00
JanHoefelmeyer
7651dc2a05 Sort missing files into errors 2023-08-23 11:40:37 +02:00
Sascha L. Teichmann
7d3c3a68df
Let aggregator look for config files in similiar places like the other tools. (#440) 2023-08-22 17:37:57 +02:00
Sascha L. Teichmann
f2657bb51a
uploader: use the TOML config file infrastructure, too. (#439)
* Make uploader use the TOML config file intrastructure, too.

* Improve method naming a bit.

* Improve method naming a bit.

* Add forgotten struct tags for TOML

* Add version to command line only parameters in uploader documentation

* Be explicit about supported options in config file.

* allow interactive flags in config file.

---------

Co-authored-by: JanHoefelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
2023-08-22 17:17:06 +02:00
JanHoefelmeyer
5c935901ab
Make rolie or directory listing mandatory (#409)
* Changed infos to warnings and errors for Requirements 11-17 if said Requirements were not checked.

* Made a few more infos to warnings, slightly improved some messages in the reporters.

* Add explicite errors if badROLIEFeed and badFolders were not used.

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-19 10:59:37 +02:00
JanHoefelmeyer
824079899e
Error to explaining warning when loading lpmd messages in checker (#429)
* Error to explaining warning when loading lpmd messages in checker

* Remove TODO

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-18 11:29:30 +02:00
Sascha L. Teichmann
a153906d03
Document that client-passphrase option is experimental
* Label the option experimental and limited at all places.
 * Point to the downloader documentation as single point to write more.
 * Add more hints on how the old PEM block encryption is experimental
   and why it often shall not be used.
---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-08-18 11:24:39 +02:00
Sascha L. Teichmann
79fbc2bcd8
Update dependencies 2023-08-18 11:22:14 +02:00
JanHoefelmeyer
bda7ade837
Fix script scripts/prepareUbuntuInstanceForITests.sh for new go.dev API
* Adapt finding the current go version to the new result of https://go.dev/VERSION\?m=text by using only the first line.


Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-17 20:17:15 +02:00
Sascha L. Teichmann
0b914f7e7a
Document regular expression syntax used for filtering URLs. (#433)
* Document regular expression syntax used for filtering URLs.

* Typo: describes -> described

* Forget to add aggregator doc

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-17 17:02:10 +02:00
Sascha L. Teichmann
d49049c3af
Aggregator: Add time range filtering 2023-08-17 16:54:11 +02:00
JanHoefelmeyer
42709a8554
Merge pull request #430 from csaf-poc/checker-remove-years-flag
Checker: remove years flag
2023-08-17 11:47:22 +02:00
Sascha L. Teichmann
4cd376a9ca Make revive happy. 2023-08-17 11:03:40 +02:00
Sascha L. Teichmann
468e91cb8b Remove the years flag from checker. 2023-08-17 11:01:45 +02:00
JanHoefelmeyer
f4d00cd9d8
Merge pull request #424 from csaf-poc/aggregator-client-certs
Aggregator: Add support for client certificates and extra header
2023-08-17 10:05:08 +02:00
JanHoefelmeyer
7a202ddfdc merge branch 'main' into 'aggregator-client-certs' 2023-08-17 09:53:01 +02:00
JanHoefelmeyer
bb09567771
Merge pull request #423 from csaf-poc/downloader-client-certs
Downloader: Add support for client certificates
2023-08-17 09:46:39 +02:00
JanHoefelmeyer
7a6cbd182c merge branch 'main' into checker-timerange-report 2023-08-17 09:35:52 +02:00
JanHoefelmeyer
8d381385b0
Merge pull request #422 from csaf-poc/checker-timerange-report
Checker: Add time range to report
2023-08-17 09:18:49 +02:00
Sascha L. Teichmann
7464ade6ae Fix merge conflict oversight in doc. 2023-08-16 20:29:25 +02:00
Sascha L. Teichmann
4c6fd5457f Merge branch 'main' into aggregator-client-certs 2023-08-16 20:23:49 +02:00
Sascha L. Teichmann
1e4c5d863d Merge branch 'main' into downloader-client-certs 2023-08-16 20:13:40 +02:00
Sascha L. Teichmann
9b684adae8 Merge branch 'main' into checker-timerange-report 2023-08-16 20:12:54 +02:00
Sascha L. Teichmann
4cd0fc3bb4
Aggregator: ignore advisories by given patterns (#421)
* Ignore advisories in checker.

* Rename config.check to config.prepare to make symmerical to other tools.

* Add ignore patterns to aggreagtor.

* Clarified docs on where and how to use ignorepattern for aggregator

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-16 19:38:55 +02:00
Sascha L. Teichmann
e2ad76fa69 Merge branch 'main' into aggregator-client-certs 2023-08-16 18:00:44 +02:00
Sascha L. Teichmann
3bfff999e1 Merge branch 'main' into downloader-client-certs 2023-08-16 17:54:53 +02:00
Sascha L. Teichmann
dd1e38fc0c Merge branch 'main' into checker-timerange-report 2023-08-16 17:47:27 +02:00
Sascha L. Teichmann
7bab18fc41
Checker: ignore advisories by given patterns
* Ignore advisories in checker.
---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-08-16 17:22:19 +02:00
Sascha L. Teichmann
7459f0606a Merge branch 'main' into aggregator-client-certs 2023-08-16 11:27:14 +02:00
Sascha L. Teichmann
a7be72b740 Merge branch 'main' into downloader-client-certs 2023-08-16 11:23:14 +02:00
Sascha L. Teichmann
fa0a66570f Merge branch 'main' into checker-timerange-report 2023-08-16 11:18:07 +02:00
JanHoefelmeyer
2d1dc180c8
Merge pull request #419 from csaf-poc/download-ignore-pattern
Downloader: ignore advisories by given patterns
2023-08-16 09:20:25 +02:00
Bernhard Reiter
a4d7bea89f
Merge branch 'download-ignore-pattern' of github.com:csaf-poc/csaf_distribution into download-ignore-pattern 2023-08-16 09:09:15 +02:00
Bernhard Reiter
8315ad9918
Merge branch 'download-ignore-pattern' of github.com:csaf-poc/csaf_distribution into download-ignore-pattern 2023-08-16 09:06:55 +02:00
JanHoefelmeyer
083ccc10f1 fmt 2023-08-16 09:03:34 +02:00
Bernhard Reiter
6276866cad
Merge branch 'main' into download-ignore-pattern
* Improve some text parts during the merge.
2023-08-16 08:59:42 +02:00
JanHoefelmeyer
bb625790b2
Merge branch 'main' into download-ignore-pattern 2023-08-16 08:56:12 +02:00
Sascha L. Teichmann
8c95795b96
Add option to specify download folder
* Add an option to downloader to store advisories into a given subfolder.

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-08-16 08:45:34 +02:00
Sascha L. Teichmann
411d6ffd16 Merge branch 'main' into aggregator-client-certs 2023-08-15 18:58:28 +02:00
Sascha L. Teichmann
65f635d42d Merge branch 'main' into downloader-client-certs 2023-08-15 18:40:40 +02:00
Sascha L. Teichmann
16603eacd3 Merge branch 'main' into checker-timerange-report 2023-08-15 18:35:42 +02:00
Sascha L. Teichmann
f9fc7e773d Merge branch 'main' into download-ignore-pattern 2023-08-15 18:15:01 +02:00
Sascha L. Teichmann
d42db07bec
Fix version config and make aggreator use new command line parser. (#416)
* Fix version config and make aggreator use new command line parser.

* Replace old error check with check from the library.
2023-08-15 17:54:56 +02:00
JanHoefelmeyer
38dfabde1a Add documentation for extra headers for csaf_aggregator 2023-08-03 11:20:17 +02:00
JanHoefelmeyer
b0b3852e99 Add documentation for client_cert, client_key and client_passphrase for csaf_aggregator 2023-08-03 10:04:51 +02:00
Sascha L. Teichmann
47e55a33bc Add support for client certificates and extra headers to aggregator 2023-08-02 22:44:44 +02:00
Sascha L. Teichmann
f31ee53c27 Add client certificate support to the downloader 2023-08-02 21:16:32 +02:00
Sascha L. Teichmann
017a6b0a10 Move cert handling into library and add option passphrase. Adjust uploader and checker. 2023-08-02 21:02:58 +02:00