JanHoefelmeyer
4a9f8a6f03
Change: cmd/csaf_checker/processor.go: Improve comment
2023-11-21 12:14:45 +01:00
JanHoefelmeyer
318c898a83
Change: cmd/csaf_checker/processor.go: Seperate check of security.txt under .well-known and legacy location into different messages to improve readability
2023-11-21 12:09:37 +01:00
JanHoefelmeyer
2fe836bed7
Merge pull request #512 from csaf-poc/Download_without_tlp
...
Downloader: Add tlp label to path if no custom directory is configured. Refactor accordingly
2023-11-21 11:46:44 +01:00
Sascha L. Teichmann
3935d9aa7a
Update cmd/csaf_checker/processor.go
...
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
2023-11-20 21:53:51 +01:00
tschmidtb51
9e4a519fff
Add GH Action execution on PRs ( #510 )
2023-11-20 21:42:47 +01:00
Sascha L. Teichmann
6f8870154c
Break overly long line. Fix typo in comment.
2023-11-20 21:13:24 +01:00
JanHoefelmeyer
a413852627
Downloader: Only add tlp label to path if no custom directory is configured. Refactor accordingly
2023-11-20 11:05:57 +01:00
JanHoefelmeyer
e27d64e42c
Add path of offending security.txt to error message since now multiple paths are checked
2023-11-14 07:55:53 +01:00
Sascha L. Teichmann
0a2b69bd55
Adjust checker, too.
2023-11-13 09:59:12 +01:00
Sascha L. Teichmann
e2ab1903e7
Support legacy security.txt location as fallback.
2023-11-12 10:17:28 +01:00
Bernhard E. Reiter
65fae93a81
docs: underline that we are _not_ offering an API yet ( #502 )
...
* docs: move link to final CSAF 2.0 in README
* docs: underline that we are _not_ offering an API yet
* Grammar fix
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-11-08 10:40:23 +01:00
JanHoefelmeyer
466d2c6ab7
Merge pull request #476 from fjd-anh/add-mac-build
...
Add build for macOS
2023-11-08 09:43:10 +01:00
Bernhard Reiter
1579065453
docs: be more consistent with names
2023-11-08 09:39:02 +01:00
Bernhard E. Reiter
21ec5ad8e1
docs: move link to final CSAF 2.0 in README ( #501 )
2023-11-08 09:36:20 +01:00
Sascha L. Teichmann
aa3604ac3d
API examples: Improved wording in examples/README.md ( #499 )
...
* Improved wording in examples/README.md
* Improve wording
* Fix link purl_searcher -> purls_searcher
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-11-07 09:46:27 +01:00
JanHoefelmeyer
086c4ab48b
Convert a lot of command line arguments to snake case ( #498 )
...
* Convert a lot of variables to snake case
* Add snakecase for variables made out of two words that had it in no version yet (for consistency)
* Adjust example files too
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-11-06 14:33:05 +01:00
JanHoefelmeyer
77cc250561
Merge pull request #496 from csaf-poc/update-dependencies-2023-11-02
...
Dependencies: Update 3rd-party dependencies
2023-11-03 07:09:51 +01:00
JanHoefelmeyer
06d8e59b66
Merge pull request #497 from csaf-poc/example-fix-purls-searcher
...
API: Fix pattern matching of purls and document categories in advisory model
2023-11-03 07:08:39 +01:00
Sascha L. Teichmann
7f9449a12f
Fix pattern matching of purls and document categories. Extract purls from relationships.
2023-11-02 18:23:43 +01:00
Sascha L. Teichmann
0fe118f7c1
Update dependencies
2023-11-02 17:13:22 +01:00
Sascha L. Teichmann
effd4a01af
Fix link to development doc page. ( #495 )
2023-11-02 14:24:59 +01:00
Sascha L. Teichmann
26c630df4a
API examples: move csaf_searcher to a lower prio place ( #489 )
...
* move csaf_searcher to a lower prio place
* Adjust wording
* Grammar fix #2 'this is work in progress' -> 'This is a work in progress'...
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-11-02 14:12:41 +01:00
Sascha L. Teichmann
7fbc012e2c
Docs: Add Development.md ( #493 )
...
* Add docs/Development.md
* Fix link
2023-11-02 13:06:37 +01:00
Sascha L. Teichmann
03a907b9b8
Fix checker doc of TOML config of validator ( #492 )
2023-11-02 12:19:16 +01:00
Sascha L. Teichmann
21fa98186c
Use Intevation's JSONPath fork ( #490 )
...
* Use Intevation fork of github.com/PaesslerAG/jsonpath
* Remove passus about double quouted jsonpath strings.
2023-11-02 10:41:24 +01:00
JanHoefelmeyer
0905824e02
Merge pull request #473 from cintek/main
...
Adding advisory model
2023-10-25 09:12:19 +02:00
Sascha L. Teichmann
455010dc64
Accept days, months and years in time ranges. ( #483 )
2023-10-19 13:13:11 +02:00
JanHoefelmeyer
5215d78331
Adjust requirement
2023-10-18 11:22:32 +02:00
cintek
0b5c7a27c9
Merge pull request #6 from cintek/csaf_searcher
...
Add new binary, the searcher(, the main and docs) from https://github.com/cintek/csaf_advisory_example
2023-10-18 10:55:51 +02:00
JanHoefelmeyer
d9e579242b
Added csaf_searcher to README
2023-10-18 10:27:59 +02:00
JanHoefelmeyer
226dc961f3
Merge branch 'main' into csaf_searcher
2023-10-18 10:24:34 +02:00
JanHoefelmeyer
81edb6ccbe
Merge pull request #481 from csaf-poc/improve_logging2
...
fix: improve logging for downloader and aggregator
2023-10-18 09:02:18 +02:00
Bernhard E. Reiter
abc8b10988
docs: improve timerange documentation ( #482 )
...
* docs: improve timerange documentation
* add a documentation section to the downloader docs for the
timerange-option.
* point aggregator and checker docs to the downloader section for
timerange.
* docs: use a better example for timerange minutes
2023-10-17 18:53:53 +02:00
Sascha L. Teichmann
8f6e6ee8bb
improve logging output
2023-10-17 18:52:38 +02:00
Bernhard Reiter
3923dc7044
fix: improve logging for downloader and aggregator
...
* use full name for printing out the used logfile for the downloader.
* for debug or verbose, log the timeintervall that will be used
for downloader and aggregator. (The checker has this as part
of its output already.)
2023-10-17 11:33:03 +02:00
Bernhard Reiter
1e506d46cc
feat: add macos binaries archive to Makefile
2023-10-13 17:52:14 +02:00
Bernhard Reiter
e354e4b201
docs: add note about support level of MacOS builds
2023-10-13 17:21:25 +02:00
cintek
c05a4023ff
Merge branch 'csaf-poc:main' into main
2023-10-12 14:18:42 +02:00
JanHoefelmeyer
5f2596665a
Add new binary, the searcher(, the main and docs) from https://github.com/cintek/csaf_advisory_example+
2023-10-12 12:07:40 +02:00
Andreas Huber
d69101924b
Add build for macOS
2023-10-06 17:47:12 +02:00
JanHoefelmeyer
666913e61e
Merge pull request #475 from csaf-poc/schema-validation-assert-format
...
Schema validation: Add AssertFormat flag to schema compiler
2023-10-04 07:39:27 +02:00
Sascha L. Teichmann
3ba37b41c7
Add AssertFormat flag to schema compiler
2023-09-30 07:49:44 +02:00
Sascha L. Teichmann
716f128754
Fix year folder check ( #472 )
2023-09-29 09:47:11 +02:00
Sascha L. Teichmann
1cc42f0ec0
Downloader: unit test forwarder ( #470 )
...
* Simplify forward method
* Add unit test for validation status
* Add unit test for stats logging in forwarder.
* Add unit test for http client creation.
* Add unit test for replaceExt
* Add unit test for buildRequest
* Add unit test for limitedString
* Add unit test for storeFailedAdvisory
* Add unit test for storeFailedAdvisory ... fixed
* Add unit test for storeFailed
* Add unit test for forward
* comment wording
2023-09-29 09:46:51 +02:00
Bernhard E. Reiter
2bb2a2e018
docs: update main README ( #469 )
...
* Change release action to use elder Ubuntu runner
* use `ubuntu-20.04` so we get binaries that are more
compatible with elder GNU/Linux distribution, because
go binaries link to glibc (for some operating system operations
like dns).
resolve #456
* docs: update main README
* introduce more structure and put commands for users to the top.
* improve description of the command for the 3.0 release.
* Add 'Tools for ...' to make it more readable.
---------
Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2023-09-29 04:40:32 +02:00
Sascha L. Teichmann
0198cb470a
Update 3rd-party dependencies. ( #468 )
2023-09-28 16:08:13 +02:00
Sascha L. Teichmann
7a8cdb6d19
Lift distribution from v2 to v3. ( #467 )
...
* v2 -> v3
* Increase version within Makefile
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-09-27 15:46:57 +02:00
Sascha L. Teichmann
703127a6b3
Remove verbose flag from downloader test. ( #466 )
2023-09-27 13:19:08 +02:00
JanHoefelmeyer
2e5038f06d
Merge pull request #465 from csaf-poc/downloader-document-forward
...
Downloader: Document the implementes forward API
2023-09-27 12:16:24 +02:00
JanHoefelmeyer
37f770ed3d
Merge pull request #463 from csaf-poc/downloader-unit-tests
...
Downloader: unit tests for stats
2023-09-27 12:16:05 +02:00