(LGE Only) FOSSLight Scanner Service

Overview

The web service analyzes Source, Binary, and Dependency with FOSSLight Scanner. Results are produced as a FOSSLight Report.

How to use

Login

Enter your AD account ID and password at http://fs.lge.com.

log-in

Create a Project

  1. Click New Project in the upper right to create a project.

New Project

  1. Enter the fields below in Create a Project.

Creat a Project

Project

  • Name : Project name.
  • Inputs : Information required to run the analysis.
  • View Permission :
    • Public: Anyone can view the project.
    • Private: Only users with permission can view it.

Inputs

Select a source to analyze.

  • Upload files : Compress the files into one archive and upload it.
  • Download URLs : An address that can be fetched with wget or git clone.
Uploads can be up to 3GB.

Public repository (Public)
Example)

  • wget : github.com/LGE-OSS/example/archive/refs/tags/v1.0.0.zip
  • git clone : github.com/LGE-OSS/example

Private repository (Private Git)

  • http:// or https:// : User name and PAT.
  • ssh:// : Copy the ssh key shown on the screen and register it in the private git repository.
Use a PAT instead of ssh for github and bitbucket.

ssh

Pipeline

  • Scan_all : Analyzes Source, Binary, and Dependency.
  • Source : Analyzes source code only.
  • Binary : Analyzes binary only.
  • Dependency : Analyzes dependency only.

Pipeline options

Optional.

  • Analyze dependencies recursively : Finds manifests in subdirectories as well as the top directory and analyzes dependencies. Select Enable recursive analysis.
  • Package Manager Environment : Analyzes with a specific package manager version. Choose a language or package manager, then select a version.

Analysis Result

From 3.0.0, when an analysis finishes, click a count on the project page to open the result. Review the detections in the tree on the left and the OSS table on the right, then Identify them.

Identify updates the scanner result with the OSS name, version, license, Download location, Comment, and Exclude you confirm.

If you analyze the same project again, the same Path (Source, Binary) or the same purl (Dependency) shows the Identified information instead of the scan result.

Only the Creator and an Editor can Identify.

You cannot edit while an analysis is running or the project is archived.

analysis_result

  1. Dependency : Number of detected packages. The number opens the Dependency tree.
  2. Source : Number of source files with OSS. The number opens the Source file tree.
  3. Binary : Number of binary files. The number opens the Binary file tree. A count of 0 does not open it.
  4. FOSSLight Report : The report to upload in Hub Identification. If you have saved an Identify, the confirmed values are included. Before that, it is the scanner result.
  5. AI : You can check the summary, risk, and recommended actions.
  6. Log : The icon beside a run in Pipelines. It downloads that run's log.
  7. Files : Uploaded files and folders. An item opens the file tree. Dependency packages are not in this list. Check them from 1.

Result screen

Clicking each analysis count at the top of the project opens the screen below.
The tabs switch among Dependency, Source, Binary, and Source + Binary.
When you move between the path-based Source and Binary tabs, the path and filters you were using stay in place.

source_explorer

  1. Result tabs : Dependency, Source, Binary, and Source + Binary. The counts are packages, source files with OSS, binary files, and the last two added together. A tab whose count is 0 cannot be selected.
  2. Filter by name : Keeps loaded items whose name contains the text.
  3. Only with OSS : On the Source and Binary trees, shows only files that have OSS. Turn it off to show files with no detection.
  4. Collapse / expand : Collapses or expands every loaded folder. Drag the boundary between the tree and the right pane to resize it.
  5. Status dot : The dot beside a name. Blue is Scanned, yellow is Identified, and a half-yellow dot is Partly identified. Hover the dot to read the status.
  6. Folder count : How many files below that folder have OSS.
  7. Licenses : Licenses found below the selected folder, shown as a bar and chips. The order is Copyleft, Proprietary, Unclassified, Weak Copyleft, Permissive, Proprietary Free.
  8. License chips : The name keeps only paths with that license. The count opens the list of files with that license. A long list opens with + more. Remove a selected license from the chip above the tree.
  9. Edit : You can use Bulk Edit to change the checked rows at once.
  10. Save : Saves values typed directly into the cells.
  11. By folder / All files : By folder lists the folders and files directly under the selected folder. All files lists every file.
  12. Identified only : Keeps rows whose status is Identified.

OSS Table

A search under a column matches part of the cell and ignores case. When several columns are searched together, only rows that match every search remain.

oss_table

  1. Row selection : The checkbox in the header selects every row on the current page.
  2. Path : The path where the file is located.
  3. OSS Name : Open Source Software name.
  4. OSS Version : Open Source Software version.
  5. License : You can select a license from the list with the … button. Several licenses are stored separated by commas.
  6. Download location : URL where the OSS source code can be downloaded.
  7. Copyright : The scanned value, unchanged by Identify. Hover the cell to see every copyright. When there are three or more lines, click to copy them.
  8. Exclude : When checked, that row is left out of the FOSSLight Report.
  9. Comment : A note left on this row.
  10. folder rule : Saving an edit on a folder row gives the same values to every path below it that already has OSS. A value saved on a file wins. A row that receives the folder's values is marked inherited. A file with no OSS is left out.
  11. Info icon : That path has been identified.

copyright

  1. Copyright : The menu for checking copyrights.
  2. Copy : Copies every copyright shown on the screen.
  3. Search : Keeps items that contain the text you entered.
  4. COUNT : How many files contain that statement. On Dependency, the count is packages. Choosing a statement keeps only the items that contain it.
  5. Page size : How many copyrights one page shows.

Dependency Tree

dependency_tree

  1. By dep. / All dep. : By dep. shows the dependency relationship from the packages under Direct. All dep. lists packages in the Direct, Transitive, and Root package groups, and shows each package only once.
  2. Direct : Direct packages. Transitive and Root package are in the same tree.
  3. Package count : How many packages are below that node.
  4. Licenses : Licenses of the selected group. Same as 7 on the result screen.
  5. License chips : Same as 8 on the result screen.

Dependency OSS Table

dependency_table

  1. Row selection : Selects rows.
  2. Purl : Package URL. On a later analysis, the same purl keeps the Identified information.
  3. OSS Name : Same as the OSS Table.
  4. OSS Version : Same as the OSS Table.
  5. License : Same as the OSS Table.
  6. Download Location : Same as the OSS Table.
  7. Copyright : Same as the OSS Table.
  8. Exclude : Same as the OSS Table.
  9. Identified only : Same as 12 on the result screen. Keeps rows whose status is Identified.
  10. Relationship badge : One of Direct, Transitive, or Root package.
  11. Info icon : That package has been identified.

File card

  • For Source and Binary, the card shows the OSS information together with Code, where you can check the evidence the scanner used.
  • For Dependency, the card shows the OSS information together with Depends on and Required by, so you can see that package's dependency relationships.

file_oss

  1. Full viewer : Opens the file details.
  2. Download : Downloads the file.
  3. Identified / Scanned : Identified means a saved value differs from the scanner. Scanned means the value is still the scanner result.
  4. OSS name : Open Source Software name.
  5. Version : Open Source Software version.
  6. License : … on the right opens the license list, where you select the license you used.
  7. Download location : URL where the OSS source code can be downloaded.
  8. Comment : A note left on this item.
  9. Copyright : The scanned value. Identify does not change it.
  10. Exclude from the report : Same as Exclude in the table. When checked, the row is left out of the report.
  11. Save : Saves the values edited on the card.
  12. Code : The evidence the scanner used for the detected OSS information.