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

743 commits

Author SHA1 Message Date
Sascha L. Teichmann
15e615e653
Merge pull request #313 from csaf-poc/checker-validator
Add remote validator support to checker
2023-01-30 19:34:20 +01:00
Sascha L. Teichmann
1004fe7c65 Merge branch 'main' into checker-validator 2023-01-30 19:30:36 +01:00
Sascha L. Teichmann
2f280c69ac In case of error, log filename, too. 2023-01-30 19:28:48 +01:00
Sascha L. Teichmann
a8493c0dd2 Check if the file name is valid 2023-01-30 08:29:54 +01:00
Sascha L. Teichmann
6a60e8d8ce Fix crash if remote validator is not configured. Small cosmetics. 2023-01-30 08:23:05 +01:00
JanHoefelmeyer
0c39819930
Merge pull request #318 from csaf-poc/improve-docs26
Improves aggregator docs
2023-01-30 07:51:05 +01:00
Sascha L. Teichmann
adf98736cc Add csaf_validator 2023-01-29 19:31:36 +01:00
tschmidtb51
2b55bbb341
gt the order right 2023-01-27 18:44:08 +01:00
Sascha L. Teichmann
acb3d96c70 Return error if parsing time string failed. 2023-01-27 18:42:24 +01:00
Sascha L. Teichmann
c8e0804eba Merged main into branch 2023-01-27 18:25:22 +01:00
tschmidtb51
0383e951a8
Merge branch 'main' into checker-validator 2023-01-27 17:58:37 +01:00
Sascha L. Teichmann
9abc83edc1 Set the default of 'validatorpresets' to 'mandatory'. 2023-01-27 17:40:17 +01:00
Sascha L. Teichmann
2a40ab6393 Set the default of 'validatorpresets' to 'mandatory'. 2023-01-27 17:16:45 +01:00
Bernhard E. Reiter
ec2881a7e1
Update docs/proxy-provider-for-aggregator.md
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-01-27 09:42:51 +01:00
Bernhard E. Reiter
8e5dd88a62
Update docs/csaf_aggregator.md
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-01-27 09:41:02 +01:00
JanHoefelmeyer
ddf0747327
Merge pull request #307 from csaf-poc/issue299
Extract more than one string from expr: category fields.
2023-01-27 09:24:06 +01:00
Sascha L. Teichmann
18e6fee2e7 Fix typo in comment 2023-01-26 22:09:38 +01:00
Sascha L. Teichmann
51fba46893 Add extra http header support to downloader and checker. 2023-01-26 22:09:38 +01:00
Sascha L. Teichmann
0745a0943d Separate compiling and evaluation of dynamic categories. 2023-01-26 21:54:46 +01:00
Sascha L. Teichmann
ff31ebfa0f Fixed typos 2023-01-26 20:02:05 +01:00
Sascha L. Teichmann
ad5c678abf Mention the single quote limitation of the jsonpath implementation 2023-01-26 18:55:21 +01:00
Bernhard Reiter
c143a4620b
Further improve documentation for aggregator 2023-01-26 16:30:27 +01:00
Bernhard Reiter
de64b88491
Improve documentation for aggregator
* Add term "CSAF proxy provider", because it is mentioned now in
   https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html .
 * Improve formatting and phrasing.
 * Improve description of configuration of update_intervall.
2023-01-26 16:23:08 +01:00
JanHoefelmeyer
732383561b
Merge pull request #315 from csaf-poc/improve-itests-setup
Improve setup script für Ubuntu systems
2023-01-26 12:37:09 +01:00
Bernhard Reiter
7e9ea2c9ac
Improve setup script für Ubuntu systems
* Make sure that we do not have an old go installation around,
   because otherwise it maybe broken by untarring the newer one.
   As documented on https://go.dev/doc/install .
2023-01-26 11:56:51 +01:00
Sascha L. Teichmann
69dda45bac Dedup doc 2023-01-25 13:42:26 +01:00
JanHoefelmeyer
6dedeff7fc
Update actions.go
Fixes typo: catergory -> category
2023-01-25 11:40:25 +01:00
Sascha L. Teichmann
e004939abf Implement remote validation in checker. 2023-01-25 10:27:44 +01:00
Sascha L. Teichmann
bcc31c0cd6 Add remote validator support to downloader. 2023-01-25 01:12:18 +01:00
Sascha L. Teichmann
bf6dfafffd Address remarks from review. 2023-01-24 01:34:23 +01:00
Sascha L. Teichmann
6bf8c530c6 Fix comment typo 2023-01-23 14:30:47 +01:00
Sascha L. Teichmann
8c8ccf6a2e Extract more than one string from expr: category fields. 2023-01-22 20:55:26 +01:00
Sascha L. Teichmann
1d0499ddea Removed unused doc.go file in aggregator. 2023-01-19 16:45:26 +01:00
Sascha L. Teichmann
c15125a393 Fix copyright date 2023-01-19 16:45:26 +01:00
Sascha L. Teichmann
5b60e7d728 Add package comments to make revive happy. 2023-01-19 16:45:26 +01:00
Sascha L. Teichmann
c4b70d20cd Demand Go 1.19 in go.mod. Replaced interface{} with any 2023-01-19 16:45:26 +01:00
tschmidtb51
1189d538b3
Merge pull request #295 from tschmidtb51/build-require-go-1.19.1
Build require go 1.19.1
2022-09-26 18:08:22 +02:00
tschmidtb51
3e09094abd
Merge pull request #296 from tschmidtb51/refactor/add-gitignore
refactor: add a .gitignore and include build directory
2022-09-26 14:35:58 +02:00
tschmidtb51
5c334ea508 refactor: add a .gitignore and include build directory 2022-09-24 19:21:56 +02:00
tschmidtb51
6b9ecead89 refactor: remove temporary solution joinUrlPath and use joinPath from Go 1.19.1 net/url 2022-09-24 18:53:03 +02:00
tschmidtb51
e4128b89e4 ci: update GitHub actions to use 1.19.1 2022-09-24 18:37:06 +02:00
tschmidtb51
12025e721e build: require go 1.19.1 to build binaries because of CVE-2022-32190 2022-09-24 18:33:53 +02: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
Sascha L. Teichmann
4b13e77f6c Removed Status Release Candidate from README 2022-08-31 11:52:30 +02:00
Sascha L. Teichmann
70b4e18b58
Treat invalid PMDs as error and stop processing if needed
*  Improve how PMD validation result is used when searching for a valid PMD.
   We now stop if no PMD can be validated against the json schema.
2022-08-26 16:53:18 +02:00
JanHoefelmeyer
3bb8ea0019
Improve checker regarding PMD location problems
* Change checking to test for Security, wellknown and DNS requirement at once and only throws error if all three fail.
* Use security.txt parser from csaf/util to extract provider url.
* Improve code comments and messages for the reports.

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-08-26 13:31:56 +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
65c7925ed2
Merge pull request #282 from csaf-poc/create_once_docs
Create once docs
2022-08-24 09:13:48 +02:00