sec-updater Tool
Synopsis
sec-updater [--debug level] [--quiet] [--security] --os string --arch string --uri uri \ --file filename sec-updater -h | --help
Description
The sec-updater
tool extracts information about security updates and backports
of Linux repositories (e.g. Debian or Ubuntu). This information is used to update
the package version information stored in the
SQLite database of the
strongTNC tool and also provide SWID tags
of the updated package versions. The dpkg --compare-versions
command is used
to determine which package versions are affected by a given security update.
Options
|
|
Prints usage information and a short summary of the available commands |
|
|
Set debug level, default: |
|
|
Disable debug output to |
|
|
Set when parsing a distributions file with security updates. |
|
|
Name of operating system (OS). eg. |
|
|
Name of HW architecture. eg. |
|
|
URI where to download |
|
|
Linux package information file to parse |
Configuration
The following parameters can be configured in the
sec-updater
section of
strongswan.conf
:
Key | Default | Description |
---|---|---|
database |
Global IMV policy database URI. If it contains a password, make sure to adjust the access permissions of the config file accordingly |
|
load |
Plugins to load in |
|
tmp.deb_file |
[→] |
Temporary storage for downloaded deb package file.
|
tmp.tag_file |
[→] |
Temporary storage for generated SWID tags.
|
tnc_manage_command |
[→] |
strongTNC manage.py command used to import SWID tags.
|
SWID Tag Generation
The parameters of the swid_generator
used when a
ISO 19770-2:2015 SWID tag has to be derived from a downloaded deb
package can be changed in the
libimcv
section of
strongswan.conf
:
Key | Default | Description |
---|---|---|
command |
[→] |
SWID generator command to be executed.
|
tag_creator.name |
[→] |
Name of the |
tag_creator.regid |
[→] |
regid of the |
Example
sec-updater { database = sqlite:///etc/pts/config.db tnc_manage_command = /var/www/tnc/manage.py tmp { deb_file = /tmp/sec-updater.deb tag_file = /tmp/sec-updater.tag } } libimcv { swid_gen { command = /usr/local/bin/swid_generator tag_creator { name = strongSwan Project regid = strongswan.org } } }