FOSSology

FOSSology is an open source license compliance software system and toolkit. As a toolkit you can run license, copyright and export control scans from the command line. As a system, a database and web ui are provided to give you a compliance workflow. License, copyright and export scanners are tools used in the workflow.

Version

3.4.0

Runtime

Debian Stretch

Supported Languages

All Languages

Official Documentation

https://fossology.github.io/

YAML Configuration

fossology:

  • input:

    Patterns to include in execution and reports.

  • ignore:

    Patterns to exclude from execution and reports.

  • auto-fix:

    N/A

  • config-file:

    N/A

  • machine:

    • cpu:

      Amount of CPU. The default machine has 0.25 CPU with 960 MiB RAM.

  • options:

    Below is the list of options that are supported:

    --detect
      Detect only the specified licenses.
    
    --ignore
      Ignore the specified licenses.
    
    --license-map
      Map licenses to another licenses.
      <original-license>[,<original-license-2>[,...]]=<mapped-license>
      (e.g. GPL-2.0,GPL-3.0=GPL)
    
    --merge-threshold
      Specify the threshold in percentage to merge issues of the same licenses under a directory.
      The value must be within the interval of (50.0, 100.0]. (default: 90)
      This option cannot be used with --summarize.
    
    --summarize
      Summarize issues by licenses.
      This option cannot be used with --merge-threshold.
    
    --unpack
      Unpack rpm files. (true/false, default: true)
    
    --unpack-recursion-depth
      Recursively unpack files to a specified depth (0=none, -1=infinite, default: 3)
    
    NOTE: Options are applied in the following order:
          1. --detect
          2. --ignore
          3. --license-map
    

YAML Examples

  • With default options:

    inspecode:
      tools:
        fossology: default
    
  • With custom machine:

    inspecode:
      tools:
        fossology:
          machine:
            cpu: 1.5 # 1.5 CPU, 5760 MiB RAM
    
  • With custom options:

    inspecode:
      tools:
        fossology:
          options:
            --detect: [Apache-2.0, MIT]
    
    inspecode:
      tools:
        fossology:
          options:
            --license-map:
              - GPL-2.0+=GPL-2.0
              - GPL-2.0+KDEupgradeClause=GPL-2.0
    

results matching ""

    No results matching ""