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

156 commits

Author SHA1 Message Date
Sascha L. Teichmann
bf6dfafffd Address remarks from review. 2023-01-24 01:34:23 +01:00
Sascha L. Teichmann
8c8ccf6a2e Extract more than one string from expr: category fields. 2023-01-22 20:55:26 +01:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
d28869f083 Apply automatic changes 2022-09-02 12:19:28 +00:00
JanHoefelmeyer
87b7844b8b
Fixes canonical url prefix not being quoted and an extra ' at line 67 in the provider_config.toml (#293)
Co-authored-by: JanHoefelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
2022-09-02 14:18:34 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
a62484c31c Apply automatic changes 2022-08-26 10:24:45 +00:00
Bernhard E. Reiter
124794c4aa
Improve DNS example and itest setup (#285)
* Make nginx only try to map the root (URL /) request to the
   provider-metadata.json for DNSPath, otherwise /index.txt will
   also serve that file.
2022-08-26 12:23:51 +02:00
Fadi Abbud
0e1b908695 Fix typo 2022-08-24 09:07:56 +02:00
Sascha L. Teichmann
2575302fbd Mentioned the OpenPGP keys 2022-08-23 15:48:17 +02:00
Bernhard Reiter
26a8fb0b55
Improve provider documentation
* Add description about the api endpoints offered by the provider
   and why create should only be called once.

improves #168
2022-08-23 14:50:39 +02:00
Bernhard Reiter
2656312ab1
Indicate status as release candidate
* Fix one minor documentation typo.
2022-08-23 14:33:37 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
f0567ffa15 Apply automatic changes 2022-08-17 11:16:10 +00:00
mfd2007
06bd16db47
Add documention for update_interval (#281)
Add documentation for new option "update_interval" and behavior from #278.
2022-08-17 13:15:03 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
4c0785c060 Apply automatic changes 2022-07-29 09:34:13 +00:00
mfd2007
f325723e74
Update config option (#266)
Update names of config options and add new options.
2022-07-29 11:33:30 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
be15d43dd3 Apply automatic changes 2022-07-26 13:14:14 +00:00
Bernhard E. Reiter
86fb441446
Change default port for secvisogram (#262)
* Change default port for secvisogram

 * Following change from
   https://github.com/secvisogram/csaf-validator-service/pull/14

* Improve script for setting up validation service

 * Add a test to fail if we cannot connect.
 * Add copyright header.
2022-07-26 15:13:02 +02:00
Bernhard Reiter
490fe4a589
Fix integration tests setup script
* Change from calling the web interface to create the folders to
   using the `/api/create` so it works even if the web interface is
   turned off.
2022-07-26 11:14:40 +02:00
Bernhard E. Reiter
dce0a9b51f
Disable experimental web interface for provider (#257)
* Disable experimental web interface for provider

* More compact init

* Fixed typo

Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2022-07-25 16:28:54 +02:00
Bernhard Reiter
4abddee3bb
Merge branch 'main' of github.com:csaf-poc/csaf_distribution into main 2022-07-25 15:24:51 +02:00
Bernhard Reiter
8df67a7b1d
Improve aggregator doc formatting (minor) 2022-07-25 15:24:26 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
101dd6880c Apply automatic changes 2022-07-25 13:24:11 +00:00
Bernhard E. Reiter
677b0fdd4f
Add docs for a provider proxy (#255)
* Add instructions for an internal proxy provider

* Improve example test config

 * .. by moving CSAF_CONFIG out of the common fcgiwrap.conf,
   so it can more easily be changed in a different context.

* Improve proxy-provider-for-aggregator.md

 * Add section to aggregator documentation.
 * Fix typos.
 * Improve instructions.

* Fix one path

* Complre proxy-provider-for-aggregator.md
2022-07-25 15:23:11 +02:00
Bernhard Reiter
c511a971d6
Improve aggregator docs (minor)
* Add hint to OpenPGP private key in case unattended usage
   is wanted.
2022-07-25 15:21:14 +02:00
Bernhard Reiter
82a1a1997a
Merge branch 'main' into itest-download-from-agg 2022-07-22 09:10:07 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
ca69997e2b Apply automatic changes 2022-07-21 16:00:56 +00:00
JanHoefelmeyer
3769f1d338
Add abilities to aggregator to mirror and list
* Aggregator now checks every provider on whether its mirrored or listed. 
*Add the option to the docs.
* Clean up the example  toml file to still contain two mirrors and one example-lister.

Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2022-07-21 17:59:58 +02:00
Bernhard Reiter
6a605fdbcc
Add checker hint about not yet using role 2022-07-21 16:31:22 +02:00
Bernhard Reiter
94fe738b8c
Fix testDownloader url 2022-07-21 16:25:12 +02:00
Bernhard Reiter
35c31e9a76
Improve integration test
* Add hint that some fails are okay, while we try to setup the
   validation service.
2022-07-21 16:22:02 +02:00
Bernhard Reiter
88a2d585be
Improve integration test scripts
* Add a simple aggegator web server config.
  * Add a downloader test using a direct url from the aggregator.
2022-07-21 16:16:16 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
d5b9aa9ce0 Apply automatic changes 2022-07-21 13:04:51 +00:00
JanHoefelmeyer
5716374eac
Move example location of config files to /etc
* Move example and integration test configuration files to /etc/csaf,
   this includes the provider's config.toml as well as the test OpenPGP keys.
   This shall make it more compatible with good practices like the FHS.

Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2022-07-21 15:04:09 +02:00
Bernhard Reiter
7965917168
Improve doc for development test script setup
* Add a commented out hint how to clone a special branch
   in the calling example of docs/scripts/Readme.md.
2022-07-21 12:44:03 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
0375e22747 Apply automatic changes 2022-07-20 10:05:55 +00:00
Fadi Abbud
9bb65a8cf8
Include service/category documents in itests (#239) 2022-07-20 12:05:08 +02:00
Fadi Abbud
798e11ad18
Merge pull request #234 from csaf-poc/quick-ckeck
Quick ckeck
2022-07-19 10:07:08 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
5caed04dc8 Apply automatic changes 2022-07-18 18:16:39 +00:00
JanHoefelmeyer
e424cd3d6c
Improve provider documentation
* Creates an example config.toml and replaces csaf_providers example with the autodoc to said example.

Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Co-authored-by: @mfd2007
2022-07-18 20:15:45 +02:00
Sascha L. Teichmann
efa233f2ce Merge branch 'main' into quick-ckeck 2022-07-18 20:08:02 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
8e18b6f36f Apply automatic changes 2022-07-18 16:00:33 +00:00
Sascha L. Teichmann
8b57851486
Moved direct loading of pmd from downloader to library. (#233)
* Moved direct loading of pmd from downloader to library,
  so aggregator and checker gain the ability.
* Disabled some checks if we were given a direct PMD URL.
2022-07-18 17:59:38 +02:00
Sascha L. Teichmann
7f113f1f30 Adjusted documentation 2022-07-17 15:01:15 +02:00
Omar Santos
0171715390
Correcting documentation (#229)
The title of the .md file should be csaf_downloader, not "uploader". Also added an introductory sentence.
2022-07-15 07:43:57 +02:00
JanHoefelmeyer
2ac7940206
Pwacc (#218)
* Adds option to require Client Certificate and a Password to aquire write access in provider

* Removed unnecessary flavourtext from provider markdown file

* Fixed and simplified the auth middleware

Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2022-07-13 14:09:27 +02:00
JanHoefelmeyer
3ed1d3ab21
Rewrote confusing config option explanations in csaf_provider (#213)
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
2022-07-11 12:32:48 +02:00
JanHoefelmeyer
15f05fc122
Adds explanation of type returns of individual checkers to csaf_checker.md (#215)
Co-authored-by: Jan Höfelmeyer <Jan Höfelmeyer jhoefelmeyer@intevation.de>
2022-07-11 12:30:57 +02:00
Fadi Abbud
12693409a8 Add example to provider documentation (categories) 2022-07-08 11:27:52 +02:00
Sascha L. Teichmann
dc8c89c886 Merge branch 'main' into rolie-categories 2022-07-05 16:54:12 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
69c3030eef Apply automatic changes 2022-07-05 14:45:26 +00:00
Sascha L. Teichmann
20f5937240
Only create/update index.txt, changes.csv, security.txt when configured. (#210)
* Change default to not write index.txt, changes.csv and security.txt 
  (for provider and aggregator)
* Add config file options to reenable writing.
2022-07-05 16:44:45 +02:00