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

862 commits

Author SHA1 Message Date
Sascha L. Teichmann
21477e8004 Add missing file 2023-04-18 14:21:56 +02:00
JanHoefelmeyer
3590cf1ef2
Rephrase csaf validation result (#356)
* Rephrase csaf validation result

* Change Checker report depending on whether and how a remote validator was used.

* Formatting

* Improve code readability

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2023-03-30 19:09:51 +02:00
JanHoefelmeyer
36fa8eeeca
Merge pull request #355 from csaf-poc/revive_action
Add revive action to workflows
2023-03-28 07:36:12 +02:00
JanHoefelmeyer
1529821c2c
Merge pull request #351 from csaf-poc/lockfile_aggregator
Lockfile aggregator
2023-03-28 07:24:56 +02:00
Sascha L. Teichmann
e39fc34599 Fix typo 2023-03-27 13:17:49 +02:00
JanHoefelmeyer
84b60261bf Add revive action to workflows 2023-03-27 12:31:59 +02:00
JanHoefelmeyer
6bceb7cc1b
Merge pull request #352 from csaf-poc/fix_header
Fix header client. Simplify code.
2023-03-27 12:01:25 +02:00
JanHoefelmeyer
c59a8f07a3 Create lockfile directory if it doesn't exist yet 2023-03-27 11:51:15 +02:00
JanHoefelmeyer
b0d7df69b8 Change default location of lock file for csaf aggregator and rephrase error message if lock is in use. 2023-03-27 11:05:59 +02:00
Sascha L. Teichmann
1854678409 Started with cleaning up the provider metadata loading 2023-03-24 18:59:38 +01:00
Sascha L. Teichmann
3445e58e45 Unexport some symbols 2023-03-24 18:24:46 +01:00
Sascha L. Teichmann
0c2768b711 Fix header client. Simplify code. 2023-03-24 13:40:31 +01:00
Sascha L. Teichmann
c3a80b9f52 Make defaultLockFile a constant 2023-03-23 10:21:56 +01:00
JanHoefelmeyer
39787503cc Fix typo 2023-03-22 07:09:23 +01:00
JanHoefelmeyer
f638ae9a23 Move disabling of lockfile from explicit option to empty string in lockfile 2023-03-21 08:26:51 +01:00
JanHoefelmeyer
4800f4ec12 Improve formatting 2023-03-20 08:33:29 +01:00
JanHoefelmeyer
0c4ae88ee0 Fix typo: defautLockFile -> defaultLockFile 2023-03-20 08:31:06 +01:00
JanHoefelmeyer
dd0be44e81 Make Aggregator ignore set lockfile if NoLock option is set to true 2023-03-20 08:27:07 +01:00
JanHoefelmeyer
a28ebe39cb Update doc to include default location instead of only name. (which is not the default) 2023-03-17 13:03:36 +01:00
JanHoefelmeyer
bb053bd427 Add option no_lock to use no lock file if none was configured 2023-03-17 13:00:51 +01:00
JanHoefelmeyer
8f87273837
Remote validator output (#347)
* The validator is now able to print the details of the remote validations.
---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
Co-authored-by: JanHoefelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2023-03-15 11:02:06 +01:00
Sascha L. Teichmann
92433c1272
Update remaining libraries (#350)
* Update remaining libraries.
---------

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-03-11 10:42:30 +01:00
Sascha L. Teichmann
aa574406cf
Upgrade jsonschema library to 5.2.0 (#349)
* make jsonschema loading work with current versions of the jsonschema library
   again and simplify the code while at it.
* Improve itest workflow for validation service, to make them more robust.
    * Use a github action to setup nodejs and use a version that is
       required by https://github.com/secvisogram/csaf-validator-service/.
    * Add nodejs16 installation to prepareUbuntuInstanceForITests.sh.
       (so it can be done once in manual settings)
    * Add refreshing of apt cache before apt install because sometimes
       the cached ubuntu image does not have the apt cache current.

---------

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-03-10 10:39:23 +01:00
Bernhard Reiter
47d9eccc37 Improve itest github action
* upgrade from v2 to actions/setup-go@v3 to accommodate for
   new github runner updates
2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
4b76afd390 Upgrade crypto 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
444ee20c46 Update jsonschema 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
304b2d023b Clean up go.sum 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
fabeda2797 update openpgp 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
0708f92636 Clean up go.sum 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
9c9fc6b8fc Upgrade goquery 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
b5e0718fa1 Upgrade x/time 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
dcc3507aab Downgrade jsonschema 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
83a80a970c Update jsonschema 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
c479d94605 update only toml, gval and bbolt 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
987da1910b All updates. 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
706fba8e3c Downgrade gopenpgp and bbolt 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
2f661ede5c Downgrade toml and gval libs 2023-02-28 17:40:47 +01:00
Sascha L. Teichmann
e59640726c Update dependencies 2023-02-28 17:40:47 +01:00
Bernhard Reiter
dbad3e3c7f remove two typos 2023-02-28 15:09:56 +01:00
Bernhard Reiter
1bdf207e4b Improve aggregator docs and config
* Fix that TOML key `update_interval` can be processed on top level.
 * Add missing keys to top level and provider entries.
 * Move explanations to first mention of keys.
 * Describe overriding ability and defaults early on and only once.
2023-02-28 15:09:56 +01:00
Bernhard Reiter
704a98ab38 Improve aggregator docs 2023-02-28 15:09:56 +01:00
Bernhard Reiter
a3ee00568f Improve aggregator docs
* improve phrasings and remove some typos
2023-02-28 15:09:56 +01:00
JanHoefelmeyer
bebeec30e0 Adds explanations about which options are mandatory and which are optional 2023-02-28 15:09:56 +01:00
JanHoefelmeyer
f38cff13d6 Add explanation of order in which rate variables are taken into account if existant. 2023-02-28 15:09:56 +01:00
JanHoefelmeyer
39b48e083c
Improve docs for checker and downloader
* make it more clear that a domain can also be interpreted as a direct URL.

resolve #316 
---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-02-28 14:11:15 +01:00
JanHoefelmeyer
05ad714619 Update csaf_aggregator.md
add comma to the end of subordinate clause
2023-02-08 16:17:19 +01:00
JanHoefelmeyer
4b4a6a4dbd Update docs/csaf_aggregator.md
Rephrases csaf_aggregator.md for better readability

Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-02-08 16:17:19 +01:00
JanHoefelmeyer
38c6da8212 Update docs/csaf_aggregator.md
Refer to specific section of provider options instead just provider options

Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-02-08 16:17:19 +01:00
JanHoefelmeyer
35dc25a5e7 Splits overly long sentence into two. Adds reference to provider documentation 2023-02-08 16:17:19 +01:00
JanHoefelmeyer
a3897ae21f improve phrasing 2023-02-08 16:17:19 +01:00