mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Add CSAF downloader
* Dense and refactor ROLIE code in aggregator a bit. * Move advisory file processor to csaf package. * Fix minor typo on main readme
This commit is contained in:
parent
640ef64df9
commit
b359fd0a62
20 changed files with 929 additions and 239 deletions
25
docs/scripts/testDownloader.sh
Executable file
25
docs/scripts/testDownloader.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# This file is Free Software under the MIT License
|
||||
# without warranty, see README.md and LICENSES/MIT.txt for details.
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022 German Federal Office for Information Security (BSI) <https://www.bsi.bund.de>
|
||||
# Software-Engineering: 2022 Intevation GmbH <https://intevation.de>
|
||||
|
||||
set -e # to exit if a command in the script fails
|
||||
|
||||
echo
|
||||
echo '==== run downloader'
|
||||
cd ~/csaf_distribution
|
||||
|
||||
mkdir ~/downloaded1
|
||||
|
||||
./bin-linux-amd64/csaf_downloader --directory ../downloaded1 \
|
||||
--rate 4.1 --verbose --insecure localhost
|
||||
|
||||
echo
|
||||
echo '==== this was downloaded'
|
||||
cd ~/downloaded1
|
||||
find .
|
||||
Loading…
Add table
Add a link
Reference in a new issue