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

1184 commits

Author SHA1 Message Date
JanHoefelmeyer
8dd4cb4fa8
Merge pull request #696 from gocsaf/slient-revive
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go Test (oldstable) / build (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
silence revive linter warnings
2025-10-27 11:07:06 +01:00
Christoph Klassen
9607f8db94
fix: Documentation about supported options (#697) 2025-10-27 10:38:22 +01:00
Bernhard E. Reiter
46118544be
upgrade dependencies, including go (#695)
* change go.mod as first step towards go 1.25

  raise minium version of go compatiblity to 1.24.9
  and toolchain to be used to 1.25.3

* upgrade .github/workflows and documentation

  * update all .github/workflows/ to use the latest version of
    actions and the go versions accordingly.
    (Only some github actions use a floating tag for the major version.)
  * reduce places where the go versions are hardcoded:
      * refEr to docs/Development.md from README.md
      * use `go.mod` from itest.yml.

* fix itest.yml: checkout before refer to go.mod

* improve code cleanness: use format string w error

  and thus makes newer go test versions happy

* update go dependencies

* cleanup some dependencies with go mod tidy

* fix .github/workflows action versions

* fix go action versions
2025-10-27 10:35:38 +01:00
Bernhard Reiter
fb59a40609
fix code formatting 2025-10-23 16:19:13 +02:00
Bernhard Reiter
cf9c62fcc0
silence revive linter warnings
that we cannot or do not want to fix yet
2025-10-23 16:09:18 +02:00
Bernhard Reiter
b6281012f5
fix go action versions 2025-10-23 14:15:32 +02:00
Bernhard Reiter
8740244dd8
fix .github/workflows action versions 2025-10-23 14:12:16 +02:00
Bernhard Reiter
6cc1d7a38f
cleanup some dependencies with go mod tidy 2025-10-23 13:55:14 +02:00
Bernhard Reiter
ffb1a31944
update go dependencies 2025-10-23 13:22:37 +02:00
Bernhard Reiter
ef44c92f8b
improve code cleanness: use format string w error
and thus makes newer go test versions happy
2025-10-23 13:17:28 +02:00
Bernhard Reiter
223570ac9b
fix itest.yml: checkout before refer to go.mod 2025-10-23 13:00:33 +02:00
Bernhard Reiter
fc012fa820
upgrade .github/workflows and documentation
* update all .github/workflows/ to use the latest version of
    actions and the go versions accordingly.
    (Only some github actions use a floating tag for the major version.)
  * reduce places where the go versions are hardcoded:
      * refEr to docs/Development.md from README.md
      * use `go.mod` from itest.yml.
2025-10-23 12:42:36 +02:00
Bernhard Reiter
f046ade489
change go.mod as first step towards go 1.25
raise minium version of go compatiblity to 1.24.9
  and toolchain to be used to 1.25.3
2025-10-23 12:09:41 +02:00
Bernhard E. Reiter
c6bad42c24
Improve LoadCertificate unit test (#692)
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go Test (oldstable) / build (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
* fix `LoadCertificate` unit test

replaced certificate with invalid dns name, which is rejected by stdlib of Go version >=1.25.2.

Change in Go introduced by https://github.com/golang/go/issues/75715

* code review: add script to generate certificates, remove `greenbone` org entry

* code review: add license header

* rework cert creation and fix one filename

---------

Co-authored-by: Marius Goetze <marius.goetze@greenbone.net>
2025-10-22 16:57:00 +02:00
JanHoefelmeyer
05eae0a9ae
Re-add unknown fields check (#681)
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go Test (oldstable) / build (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
2025-10-01 11:14:09 +02:00
Christoph Klassen
e3d2a58528
Merge pull request #680 from gocsaf/better-workflow-name
Rename workflow go_legacy to "Go Test (oldstable)"
2025-10-01 10:59:44 +02:00
JanHoefelmeyer
04955d6fad
Merge pull request #678 from greenbone/fix-formatted-string-upstream
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
fix incorrect usage of formatted string
2025-09-22 17:04:02 +02:00
mgoetzegb
0dbf822cbd
fix doc comment: remove untrue claim of disallowing unknown fields (#677)
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
adjust comment to fit 7935818600
2025-09-15 12:42:30 +02:00
Bernhard Reiter
bcb7c8be10
rename go_legacy.yml -> go-oldstable.yml 2025-09-12 11:41:13 +02:00
Bernhard E. Reiter
5c1b061255
Rename workflow go_legacy to "Go Test (oldstable)"
so it is distinct from the other "Go" workflow
2025-09-12 11:38:56 +02:00
Marius Goetze
d1f33ab27d fix incorrect usage of formatted string
output probably unchanged, but now `go vet` is happy that formatted strings are not misused
2025-09-08 13:19:15 +02:00
Paul Schwabauer
187d114631
Remove unnecessary URL joins (#676)
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
This should avoid bugs for more complex scenarios.
2025-09-01 16:13:57 +02:00
Bernhard E. Reiter
1a2a8fae9c
improve docs (minor) for csaf_provider (#668)
Some checks are pending
generate-markdown / auto-update-readme (push) Waiting to run
Go / build (push) Waiting to run
Go / run_modver (push) Blocked by required conditions
* add a "both" to explain the config file option
    `certificate_and_password` better.
2025-09-01 15:40:42 +02:00
Bernhard E. Reiter
f6927154bf
improve calculated version numbers (#651)
for modified git workspaces a `-modified` is added to the semantic version
  in the makefile.
2025-09-01 15:40:26 +02:00
Paul Schwabauer
1f1a2a4cbc
Add arm64 builds for windows and linux (#663) 2025-09-01 12:04:17 +02:00
JanHoefelmeyer
fa8370bd60
Merge pull request #675 from gocsaf/doc18
improve docs/csaf_downloader.md (minor) time_range
2025-09-01 11:53:15 +02:00
JanHoefelmeyer
7ab964a3e3
Doc: Highlight the reason for the rate options existence (#662)
* Doc: Highlight the reason for the rate options existence

* Fix typos
2025-09-01 11:48:56 +02:00
JanHoefelmeyer
c7a284bf7f
Merge pull request #667 from gocsaf/docs-10
fix minor docs typo
2025-09-01 11:45:37 +02:00
Christoph Klassen
08ab318545
Merge pull request #674 from gocsaf/fix-listing-check
Fix csaf checker listed check
2025-09-01 11:15:24 +02:00
Christoph Klassen
a2fab16d3b
Merge pull request #671 from gocsaf/fix-create-error-handling
Fix #669
2025-09-01 11:13:56 +02:00
Bernhard Reiter
108e5f8620
improve docs/csaf_downloader.md (minor) time_range 2025-08-26 15:24:51 +02:00
koplas
100e4d395b Fix csaf checker listed check
Correctly handle URLs that are absolute.
2025-08-26 11:58:49 +02:00
koplas
7fc5600521
Fix #669
Some checks failed
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
Return error when the create request failed.
2025-08-11 08:50:02 +02:00
Sebastian Wagner
7f27a63e3c
docs provider-setup.md: Fix create URL in curl command
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
2025-08-01 11:42:52 +02:00
Bernhard Reiter
230e9f2d2b
fix minor docs typo 2025-07-31 11:29:44 +02:00
JanHoefelmeyer
ae184eb189
Merge pull request #655 from gocsaf/json-eof
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
Make json parsing more strict
2025-07-08 07:46:07 +02:00
JanHoefelmeyer
4b4d6ed594 Remove uknown field tests
Some checks failed
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
2025-07-07 11:45:36 +02:00
JanHoefelmeyer
7935818600 Fix: Allow unknown fields: They are not forbidden 2025-07-07 11:41:49 +02:00
koplas
c81f55a752
Add LoadAdvisory tests
Some checks failed
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
2025-07-04 15:29:03 +02:00
JanHoefelmeyer
e7c08d05cd Rewrite function from scratch
Some checks failed
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
2025-07-03 11:03:06 +02:00
koplas
fc3837d655
Make json parsing more strict
Some checks are pending
Go / build (push) Waiting to run
Go / run_modver (push) Blocked by required conditions
2025-07-02 17:06:25 +02:00
Christoph Klassen
dad4e54184
Merge pull request #659 from gocsaf/fix-checker-join
Some checks failed
generate-markdown / auto-update-readme (push) Has been cancelled
Go / build (push) Has been cancelled
Go / run_modver (push) Has been cancelled
Fix checker url base handling
2025-07-02 16:34:13 +02:00
koplas
01c43d96ce
Fix checker url base handling 2025-07-02 16:27:58 +02:00
Christoph Klassen
ca54ba53be
Merge pull request #658 from gocsaf/fix-agg-join
Fix aggregator url base handling
2025-07-02 15:53:33 +02:00
koplas
3262e2ec2a
Fix aggregator url base handling 2025-07-02 15:33:37 +02:00
Christoph Klassen
bcd34d9fba
Merge pull request #653 from gocsaf/top-level-docs
Some checks are pending
generate-markdown / auto-update-readme (push) Waiting to run
Go / build (push) Waiting to run
Go / run_modver (push) Blocked by required conditions
docs: improve README.md
2025-07-02 09:38:22 +02:00
Christoph Klassen
5fd5076f52
Merge pull request #656 from gocsaf/warn-config
Print warning if no config file was found
2025-07-02 09:33:58 +02:00
JanHoefelmeyer
21ce19735b Fix: Fix typo and misleading meaning 2025-07-02 09:23:23 +02:00
JanHoefelmeyer
27e9519ed5 Fix: Remove some Typos as well as grammatical errors and oddities 2025-07-02 09:20:27 +02:00
koplas
a7b1291be8
Print warning if no config file was found 2025-06-27 17:20:19 +02:00