The XiLing SBOM Tool scans ISO images, a software package, or a repository URL to generate an SBOM (Software Bill of Materials) list.
$ sudo yum install RPM_PACKAGE
For example:
$ sudo yum install ./linx-xiling-1.0-1.x86_64.rpm
$ sudo dnf install RPM_PACKAGE
For example:
$ sudo dnf install ./linx-xiling-1.0-1.x86_64.rpm
$ sudo rpm -ivh RPM_PACKAGE
For example:
$ sudo rpm -ivh ./linx-xiling-1.0-1.x86_64.rpm
Note: Using rpm does not handle dependencies automatically, so you need to install them manually.
Scan a Linux ISO image file, a software package, or a repository url to generate both a Condensed Thinking-format SBOM and an SPDX-format SBOM:
$ linx-xiling [-h] (--iso ISO | --package PACKAGE | --repo REPOSITORY) --output OUTPUT [--disable-tqdm] [--max-workers MAX_WORKERS] [--sbom SBOM]
Parameter | Description |
---|---|
--iso ISO, -i ISO | Path to the ISO image file. |
--package PACKAGE, -p PACKAGE | Path to the software package. |
--repo REPOSITORY, -r REPOSITORY | Repository URL. |
--output OUTPUT, -o OUTPUT | Output directory for the SBOM files. |
Parameter | Description |
---|---|
--help, -h | Show help message and exit. |
--disable-tqdm | Disable progress bar display. |
--max-workers MAX_WORKERS | Maximum number of concurrent threads. |
--sbom SBOM | Specify an existing SBOM file (JSON format) for incremental updates. |
Install required dependencies:
$ pip install -r requirements.txt
Run the tool:
$ python3 linx-xiling.py [-h] (--iso ISO | --package PACKAGE | --repo REPOSITORY) --output OUTPUT [--disable-tqdm] [--max-workers MAX_WORKERS] [--sbom SBOM]
The following command uses the --privileged
option to grant additional privileges to the container and enables access to FUSE via the --cap-add SYS_ADMIN
and --device /dev/fuse
options, ensuring ISO images can be mounted inside the container:
$ docker run -it --privileged --cap-add SYS_ADMIN --device /dev/fuse IMAGE [ARG...]
~/.linx-xiling/logs/
directory.logs/
directory under the project root.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。