Fadi Abbud
f6fa366ee5
Merge pull request #145 from csaf-poc/rolie-feed-in-label-folder
...
Move ROLIE feed to respective folder. For Issue #143 , #144
2022-05-19 14:17:24 +02:00
Sascha L. Teichmann
a50ed4ab01
Write correct url prefix to provider-metadata.
2022-05-19 12:22:06 +02:00
Sascha L. Teichmann
a2d96872e1
Started to work on a prefixed pmd. WIP
2022-05-19 11:43:20 +02:00
Sascha L. Teichmann
6295466ef5
Partially role back last commit. WIP
2022-05-19 11:33:11 +02:00
Sascha L. Teichmann
c69709c1ec
Move ROLIE feed to respective folder. For Issue #143 , #144
2022-05-19 10:20:20 +02:00
Bernhard Reiter
bdc161504d
Fix test DNS setup
2022-05-17 20:44:08 +02:00
Bernhard Reiter
95911d193a
Adjust ready for beta status
2022-05-17 20:36:41 +02:00
Sascha L. Teichmann
d779a3fd7e
Merge pull request #135 from csaf-poc/link-checker
...
Link checker
2022-05-17 17:26:35 +02:00
Sascha L. Teichmann
16556cd8bb
check each advisory is listable
2022-05-17 17:20:43 +02:00
Sascha L. Teichmann
e12a47f2f1
Merge pull request #138 from csaf-poc/dev-dns-detection
...
Improve metadata detection for checker
2022-05-17 16:21:11 +02:00
Bernhard Reiter
9eca8a924f
Improved searching for provider-metadata.json
...
* Changes order to try the DNS path after security.txt.
* Add diagnostic output which URL is looked for.
2022-05-17 16:08:38 +02:00
Sascha L. Teichmann
131a7155fa
If there are year folders in directory listings, fetch files from the extra level.
2022-05-17 15:58:34 +02:00
Bernhard Reiter
2cfb4b8e49
Fix DNS path check
...
* Make it dynamic by the domain given for the check.
* Change reporting text to be more clear about which is the dynamic
part (in lack of direct access to the path which was checked.)
2022-05-17 15:34:39 +02:00
Bernhard Reiter
29f26e0299
Merge branch 'main' into link-checker
2022-05-17 14:45:01 +02:00
Bernhard Reiter
498aa925a8
Fix typo in html template for checker
2022-05-17 14:41:58 +02:00
Sascha L. Teichmann
e4c2c00879
Merge pull request #137 from csaf-poc/fix-locating-providermetadata
...
Fix path for locating provider-metadata.json
2022-05-17 12:56:56 +02:00
Fadi Abbud
f5b7f81aa4
Fix path for locating provider-metadata.json
2022-05-17 12:54:14 +02:00
Sascha L. Teichmann
eaa2620eba
Harvest only JSON files.
2022-05-17 11:51:29 +02:00
Sascha L. Teichmann
3fc7411d45
Merge pull request #132 from csaf-poc/dev-rolie-validation
...
Validation against ROLIE json schema
2022-05-17 10:45:45 +02:00
Bernhard E. Reiter
3e79671bb5
Add checker results as GH artifact for integration test
...
* Rename and upload checker-result.html to GH.
2022-05-17 10:18:50 +02:00
Bernhard Reiter
292e6ce611
Merge branch 'main' into dev-rolie-validation
2022-05-17 09:19:51 +02:00
Bernhard Reiter
4428679822
Merge branch 'main' into link-checker
2022-05-17 09:18:20 +02:00
Fadi Abbud
b8a6c1914a
Add checker run to integration test scripts
2022-05-17 09:12:20 +02:00
Sascha L. Teichmann
3bbd37c441
Implemented links on directory listings checking
2022-05-17 01:22:30 +02:00
s-l-teichmann s-l-teichmann@users.noreply.github.com
8bf769ab98
Apply automatic changes
2022-05-16 19:53:28 +00:00
Sascha L. Teichmann
d9fbeb341d
Merge pull request #134 from csaf-poc/dev-improve-user-docs1
...
Improve user documentation
2022-05-16 21:52:51 +02:00
Bernhard Reiter
c7481e3186
Add aggregator docs with crontab
2022-05-16 21:44:20 +02:00
Sascha L. Teichmann
32be3602b6
Re-started link checker for directory listings
2022-05-16 18:04:15 +02:00
Bernhard Reiter
7d3bc0e24b
Improve docs für aggregator
2022-05-16 16:42:02 +02:00
Bernhard Reiter
8b04945c3e
Improve docs
...
* Add --help from ./csaf_aggregator --version 0.3.1-8-gd5d48c7.
2022-05-16 16:34:02 +02:00
Bernhard Reiter
cac8f6c427
Improve docs
...
* Add --help from ./csaf_checker --version 0.3.1-8-gd5d48c7
2022-05-16 16:32:49 +02:00
Bernhard Reiter
baea1eb134
Improve docs
2022-05-16 16:24:11 +02:00
Bernhard Reiter
ed9e026579
Improve documentation
...
* Fix doc long optionsname for the uploader.
* Add more infos to the provider doc.
2022-05-16 16:21:16 +02:00
Bernhard Reiter
d5d48c7d2e
Fix typo in long option of uploader
2022-05-16 16:05:44 +02:00
Bernhard Reiter
4dee128e96
Improve uploader doc
...
* Use output from 0.3.1-40-gdef8677 100 chars width.
* Add config paths to the doc.
* Add hint that most options work in the config file as well.
2022-05-16 16:02:53 +02:00
bernhardreiter bernhardreiter@users.noreply.github.com
6b377bb421
Apply automatic changes
2022-05-16 13:21:19 +00:00
Fadi Abbud
5577a0b088
Add dns config example and add it to integration tests
...
* Add action for starting integration tests
* Configure nginx to resolve DNS record
* Sync itest.yml and docs/scripts/Readme.md
resolve #100
2022-05-16 15:20:37 +02:00
Fadi Abbud
982aaee891
Add Comment
2022-05-16 11:27:09 +02:00
Fadi Abbud
726711c688
Implement validation for ROLIE json schema
2022-05-16 11:15:46 +02:00
Fadi Abbud
c4deef74eb
Add aggregator to the integration tests scripts
2022-05-16 10:45:49 +02:00
Sascha L. Teichmann
5f42d47770
Merge pull request #130 from csaf-poc/provider-error-handling
...
Improve error-handling by wrong config values.
2022-05-13 11:53:58 +02:00
Fadi Abbud
17ac0f399a
Improve error-handling by wrong config values.
2022-05-13 11:29:19 +02:00
Fadi Abbud
6f02e6f5a5
Improve documentation and its structure
...
* Add short description for each component in the main README
* Move more Info in separated files.
* Add hint that csaf_provider offers a service interface.
* Explain why windows only has uploader and checker.
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2022-05-13 11:04:38 +02:00
Bernhard Reiter
cd9f29ef2f
Fix namespace example in aggregator example conf.
...
* Change namespace value in docs/examples/aggregator.toml to be of
type uri, which is the required type in the aggregator.json.
2022-05-13 10:00:57 +02:00
Bernhard Reiter
45af695a0b
Merge branch 'main' of github.com:csaf-poc/csaf_distribution into main
2022-05-11 12:49:44 +02:00
Bernhard Reiter
ee3781369a
Update status in readme to alpha.
2022-05-11 12:49:14 +02:00
Bernhard E. Reiter
102a0bb6c1
Improve release process
...
* Add only uploader and checker binaries and basic documentation to windows dist archive.
Prepare for specific docs.
* Improve Makefile to be able to use github lightweight git tags for release version calculation.
* Change github action to use the make dist target for asset uploading.
* Remove matrix strategy and single go release actions.
* Update go setup action to use latest version.
* Use action to upload both distribution archives created by make.
* Improve the pattern to leave tagged release version numbers like
`0.2.2-alpha` alone and only increase version numbers where
git describe has added a string starting with a number.
2022-05-11 12:46:02 +02:00
Sascha L. Teichmann
8a1ebe0b7a
Add aggregator; improve itest workflow
...
* Factor JSON evaluation and construction base URLs out of of checker.
* Move json path matching to util.
* Add csaf_aggregator (as additional command)
* Improve itest workflow to checkout the branch where it is running on.
resolve #105
resolve #72
Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Co-authored-by: Fadi Abbud <fadi.abbud@intevation.de>
2022-05-10 18:12:38 +02:00
Bernhard Reiter
9da0589236
Improve uploader exit code
...
* Fix returning the error if https upload has failed.
2022-05-10 17:58:39 +02:00
Sascha L. Teichmann
1a93aba71b
Merge pull request #125 from csaf-poc/dev-return-value-on-failed-upload
...
Improve exit code for failed upload
2022-05-10 16:56:10 +02:00