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

576 commits

Author SHA1 Message Date
Sascha L. Teichmann
adf98736cc Add csaf_validator 2023-01-29 19:31:36 +01:00
Sascha L. Teichmann
acb3d96c70 Return error if parsing time string failed. 2023-01-27 18:42:24 +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
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
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
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
JanHoefelmeyer
7dbc918721
Merge pull request #280 from csaf-poc/fully-quoted-changes-csv
Use fully quoted CSV writer for changes.csv

Tested by uploading multiple different files. Changes.csv now in requested output.
2022-08-18 09:08:45 +02:00
Sascha L. Teichmann
a98aa794a8 Merge branch 'main' into fully-quoted-changes-csv 2022-08-17 19:21:09 +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
Sascha L. Teichmann
a1f446f443 Use fully quoted CSV writer for changes.csv 2022-08-17 12:08:38 +02:00
JanHoefelmeyer
4f3f7efd5a
Merge pull request #278 from csaf-poc/aggregator_publishers
Tested multiple times, works as intended.
2022-08-16 14:55:06 +02:00
Sascha L. Teichmann
37d8a8d6df Conversion provider -> publisher is not worth the method. 2022-08-16 12:28:14 +02:00
Sascha L. Teichmann
b608746fac support publishers in aggregator 2022-08-16 11:55:56 +02:00
Sascha L. Teichmann
8e0812c82f add model for publishers in aggregator 2022-08-16 11:35:51 +02:00
Sascha L. Teichmann
696fb74b36 Do not export function in config. 2022-08-03 15:32:05 +02:00
Fadi Abbud
fd0ae57443
Merge pull request #275 from csaf-poc/rework-interim
Rework interim
2022-08-03 10:48:18 +02:00
Sascha L. Teichmann
28616755dd Merge branch 'main' into rework-interim 2022-08-03 09:35:29 +02:00
Sascha L. Teichmann
f469df7cec Fix build error with Go 1.19 2022-08-03 09:34:52 +02:00