<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Fosslight | Haksung</title><link>https://haksungjang.github.io/en/tags/fosslight/</link><description>Haksung Jang — Open Source Program Manager at SK telecom</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 09 Aug 2026 17:03:59 +0900</lastBuildDate><atom:link href="https://haksungjang.github.io/en/tags/fosslight/index.xml" rel="self" type="application/rss+xml"/><item><title>FOSSLight</title><link>https://haksungjang.github.io/en/docs/tools/3-fosslight/</link><pubDate>Sun, 09 Aug 2026 17:03:59 +0900</pubDate><guid>https://haksungjang.github.io/en/docs/tools/3-fosslight/</guid><description>FOSSLight is an open source project led by LG Electronics that uses various scanners to analyze source code, binaries, and dependencies, and generates a Software Bill of Materials (SBOM). In particular, FOSSLight Hub supports the compliance process by providing open source management, license management, and vulnerability management functions.
1 Introduction to FOSSLight Key Features: Integration of various scanners: integrates and uses various open source scanners such as ScanCode Toolkit, SPDX Tools, CycloneDX, and Fossology Support for various analysis targets: supports various analysis targets such as source code, binaries, container images, and Linux packages SBOM generation and management: generates and manages SBOMs in various formats (SPDX, CycloneDX, Excel, Text) License information detection and management: accurately detects and manages open source license information Vulnerability information integration: integrates with external vulnerability databases such as NVD and CVE to provide vulnerability information FOSSLight Hub: provides open source management, license management, and vulnerability management functions through a web-based UI Advantages: High extensibility: various scanners can be integrated and used as plugins Web-based UI: provides a user-friendly interface through FOSSLight Hub Support for various report formats: reports can be generated in various formats such as SPDX, CycloneDX, Excel, and Text Open source license Disadvantages: Complex initial setup: initial setup can be somewhat complex because various scanners need to be integrated FOSSLight Hub installation required: FOSSLight Hub must be installed separately to use the web-based UI 2 Installing FOSSLight FOSSLight consists of FOSSLight Scanner and FOSSLight Hub. FOSSLight Scanner runs various scanners to generate analysis results, while FOSSLight Hub provides a web-based UI that integrates, manages, and visualizes the scanner results.</description><content:encoded>&lt;![CDATA[<p>FOSSLight is an open source project led by LG Electronics that uses various scanners to analyze source code, binaries, and dependencies, and generates a Software Bill of Materials (SBOM). In particular, FOSSLight Hub supports the compliance process by providing open source management, license management, and vulnerability management functions.</p><h3 id="1-introduction-to-fosslight">1 Introduction to FOSSLight</h3><ul><li><strong>Key Features</strong>:<ul><li>Integration of various scanners: integrates and uses various open source scanners such as ScanCode Toolkit, SPDX Tools, CycloneDX, and Fossology</li><li>Support for various analysis targets: supports various analysis targets such as source code, binaries, container images, and Linux packages</li><li>SBOM generation and management: generates and manages SBOMs in various formats (SPDX, CycloneDX, Excel, Text)</li><li>License information detection and management: accurately detects and manages open source license information</li><li>Vulnerability information integration: integrates with external vulnerability databases such as NVD and CVE to provide vulnerability information</li><li>FOSSLight Hub: provides open source management, license management, and vulnerability management functions through a web-based UI</li></ul></li><li><strong>Advantages</strong>:<ul><li>High extensibility: various scanners can be integrated and used as plugins</li><li>Web-based UI: provides a user-friendly interface through FOSSLight Hub</li><li>Support for various report formats: reports can be generated in various formats such as SPDX, CycloneDX, Excel, and Text</li><li>Open source license</li></ul></li><li><strong>Disadvantages</strong>:<ul><li>Complex initial setup: initial setup can be somewhat complex because various scanners need to be integrated</li><li>FOSSLight Hub installation required: FOSSLight Hub must be installed separately to use the web-based UI</li></ul></li></ul><h3 id="2-installing-fosslight">2 Installing FOSSLight</h3><p>FOSSLight consists of FOSSLight Scanner and FOSSLight Hub. FOSSLight Scanner runs various scanners to generate analysis results, while FOSSLight Hub provides a web-based UI that integrates, manages, and visualizes the scanner results.</p><p><strong>This section explains how to install FOSSLight Scanner and FOSSLight Hub together using Docker Compose.</strong></p><ol><li><p><strong>Install Docker and Docker Compose</strong>:</p><ul><li>Before installing FOSSLight, confirm that Docker and Docker Compose are installed on the system.</li><li>Docker installation instructions vary by operating system, so refer to the official Docker documentation (<a href="https://docs.docker.com/get-docker/%29">https://docs.docker.com/get-docker/)</a>.</li><li>Docker Compose is a tool for running and managing multiple containers simultaneously using Docker. For Docker Compose installation instructions, refer to the official Docker documentation (<a href="https://docs.docker.com/compose/install/%29">https://docs.docker.com/compose/install/)</a>.</li></ul></li><li><p><strong>Clone the FOSSLight Repository</strong>:</p><ul><li>Run the following command to clone the FOSSLight GitHub repository.</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>git clone &lt;https://github.com/fosslight/fosslight_hub.git&gt;</span></span><span style="display:flex;"><span><span style="color:#204a87">cd</span> fosslight_hub</span></span></code></pre></div></li><li><p><strong>Configure the Docker Compose File</strong>:</p><ul><li>The<code>fosslight_hub</code> directory contains a<code>docker-compose.yml</code> file. You can open this file in a text editor and change the FOSSLight Hub configuration.</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-yaml" data-lang="yaml"><span style="display:flex;"><span><span style="color:#204a87;font-weight:bold">version</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#4e9a06">"3.7"</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#204a87;font-weight:bold">services</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">fosslight_db</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">mariadb:10.6.4</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">fosslight_db</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">fosslight_db:/var/lib/mysql</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">restart</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">always</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">environment</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">MYSQL_ROOT_PASSWORD=fosslight</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">MYSQL_DATABASE=fosslight_db</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">MYSQL_USER=fosslight</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">MYSQL_PASSWORD=fosslight</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">fosslight_web</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">fosslight/fosslight_hub:latest</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">fosslight_web</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">ports</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#4e9a06">"8080:8080"</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">restart</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">always</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">environment</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">FOSSLightDB_HOST=fosslight_db</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">FOSSLightDB_PORT=3306</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">FOSSLightDB_USER=fosslight</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">FOSSLightDB_PASSWORD=fosslight</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">FOSSLightDB_NAME=fosslight_db</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">depends_on</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">fosslight_db</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">fosslight_scanner</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">image</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">fosslight/fosslight_scanner:latest</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">container_name</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">fosslight_scanner</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">restart</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/><span style="color:#000">always</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">./upload:/home/fosslight_scanner/upload</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/>-<span style="color:#000">./result:/home/fosslight_scanner/result</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#204a87;font-weight:bold">volumes</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span><span style="display:flex;"><span><span style="color:#f8f8f8"/><span style="color:#204a87;font-weight:bold">fosslight_db</span><span style="color:#000;font-weight:bold">:</span><span style="color:#f8f8f8"/></span></span></code></pre></div><ul><li>You can change the port number, database settings, and so on as needed.</li></ul></li><li><p><strong>Run FOSSLight</strong>:</p><ul><li>Run the following command to start FOSSLight.</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker-compose up -d</span></span></code></pre></div><ul><li>This command runs FOSSLight Hub, FOSSLight Scanner, and the MariaDB database as Docker containers.</li></ul></li><li><p><strong>Verify the FOSSLight Installation</strong>:</p><ul><li>In a web browser, access<code>http://localhost:8080</code> to confirm that you can reach FOSSLight Hub.</li><li>If the FOSSLight Hub web UI is displayed, the installation completed successfully.</li></ul><p><strong>Figure 2.1: FOSSLight Hub Web UI</strong></p><p>(Insert screenshot of the FOSSLight Hub web UI)</p></li></ol><h3 id="3-fosslight-usage-guide">3 FOSSLight Usage Guide</h3><p>FOSSLight can be used through a web UI (FOSSLight Hub) and a CLI (FOSSLight Scanner).</p><p><strong>3.1 Using FOSSLight Hub</strong></p><p>FOSSLight Hub provides functionality, through a web UI, to manage open source projects, check scan results, and generate various reports.</p><ol><li><p><strong>Register a Project</strong>:</p><ul><li>Access FOSSLight Hub and register a new project.</li><li>Enter information such as the project name, description, and owner.</li></ul><p><strong>Figure 2.2: FOSSLight Hub Project Registration Screen</strong></p><p>(Insert screenshot of the FOSSLight Hub project registration screen)</p></li><li><p><strong>Upload Scan Results</strong>:</p><ul><li>Upload the scan results generated using FOSSLight Scanner to FOSSLight Hub.</li><li>The scan result file must be in SPDX, CycloneDX, or FOSSLight JSON format.</li></ul><p><strong>Figure 2.3: FOSSLight Hub Scan Result Upload Screen</strong></p><p>(Insert screenshot of the FOSSLight Hub scan result upload screen)</p></li><li><p><strong>Check Scan Results</strong>:</p><ul><li>Check the uploaded scan results.</li><li>FOSSLight Hub visually presents SBOM information, license information, and vulnerability information.</li></ul><p><strong>Figure 2.4: FOSSLight Hub Scan Result Review Screen</strong></p><p>(Insert screenshot of the FOSSLight Hub scan result review screen)</p></li><li><p><strong>Generate Reports</strong>:</p><ul><li>Generate various reports based on the scan results.</li><li>You can choose the report format: SPDX, CycloneDX, Excel, or Text.</li></ul><p><strong>Figure 2.5: FOSSLight Hub Report Generation Screen</strong></p><p>(Insert screenshot of the FOSSLight Hub report generation screen)</p></li></ol><p><strong>3.2 Using FOSSLight Scanner</strong></p><p>FOSSLight Scanner provides functionality, through the CLI, to scan source code, binaries, and container images and generate an SBOM.</p><ol><li><p><strong>Run a Scan</strong>:</p><ul><li>Run the following command to execute a scan.</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker run --rm -v<span style="color:#204a87;font-weight:bold">$(</span><span style="color:#204a87">pwd</span><span style="color:#204a87;font-weight:bold">)</span>/upload:/home/fosslight_scanner/upload -v<span style="color:#204a87;font-weight:bold">$(</span><span style="color:#204a87">pwd</span><span style="color:#204a87;font-weight:bold">)</span>/result:/home/fosslight_scanner/result fosslight/fosslight_scanner -p /home/fosslight_scanner/upload/&lt;scan target&gt; -o /home/fosslight_scanner/result/&lt;result file name&gt; -f &lt;result format&gt;</span></span></code></pre></div><ul><li>Each option is explained as follows.<ul><li><code>-rm</code>: automatically removes the container after it runs.</li><li><code>v $(pwd)/upload:/home/fosslight_scanner/upload</code>: shares the<code>upload</code> directory in the current directory with the<code>/home/fosslight_scanner/upload</code> directory inside the container. You need to copy the file or directory to be scanned into this directory.</li><li><code>v $(pwd)/result:/home/fosslight_scanner/result</code>: shares the<code>result</code> directory in the current directory with the<code>/home/fosslight_scanner/result</code> directory inside the container. The scan result file is saved to this directory.</li><li><code>p /home/fosslight_scanner/upload/&lt;scan target&gt;</code>: specifies the path to the file or directory to be scanned.</li><li><code>o /home/fosslight_scanner/result/&lt;result file name&gt;</code>: specifies the name of the scan result file.</li><li><code>f &lt;result format&gt;</code>: specifies the scan result format (spdx, cyclonedx, fosslight_json).</li></ul></li><li>Example:</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>docker run --rm -v<span style="color:#204a87;font-weight:bold">$(</span><span style="color:#204a87">pwd</span><span style="color:#204a87;font-weight:bold">)</span>/upload:/home/fosslight_scanner/upload -v<span style="color:#204a87;font-weight:bold">$(</span><span style="color:#204a87">pwd</span><span style="color:#204a87;font-weight:bold">)</span>/result:/home/fosslight_scanner/result fosslight/fosslight_scanner -p /home/fosslight_scanner/upload/my_project -o /home/fosslight_scanner/result/my_project_sbom.json -f fosslight_json</span></span></code></pre></div></li><li><p><strong>Check the Scan Results</strong>:</p><ul><li>Once the scan completes, the scan result file is generated in the<code>result</code> directory.</li><li>You can check the scan result file using a text editor or FOSSLight Hub.</li></ul></li></ol><h3 id="4-precautions-when-using-fosslight">4 Precautions When Using FOSSLight</h3><ul><li>Because FOSSLight integrates and uses various scanners, you need to understand the characteristics and usage of each scanner.</li><li>Because FOSSLight Hub requires a web server and a database, you need to install it with system resource requirements in mind.</li><li>FOSSLight Scanner requires permission to access the file or directory being scanned.</li></ul><h3 id="5-troubleshooting">5 Troubleshooting</h3><ul><li><strong>Docker execution error</strong>: confirm that Docker is installed correctly, and check for permission issues.<ul><li>Try running with administrator privileges using the<code>sudo docker run ...</code> command.</li></ul></li><li><strong>Scan error</strong>: confirm that the path to the file or directory being scanned is correct, and check that you have permission to access that file or directory.</li><li><strong>FOSSLight Hub access error</strong>: confirm that the Docker container is running properly, and check that the port forwarding is configured correctly.</li></ul><h3 id="6-additional-information">6 Additional Information</h3><ul><li>FOSSLight official website:<a href="https://fosslight.org/">https://fosslight.org/</a></li><li>FOSSLight GitHub repository:<a href="https://github.com/fosslight/fosslight_hub">https://github.com/fosslight/fosslight_hub</a></li><li>SPDX official website:<a href="https://spdx.dev/">https://spdx.dev/</a></li><li>CycloneDX official website:<a href="https://cyclonedx.org/">https://cyclonedx.org/</a></li></ul>
]]></content:encoded></item></channel></rss>