ort is a free, open source compliance & risk management project written in Kotlin and released under Apache-2.0. It has 2,084 GitHub stars, 394 forks and 324 open issues, and was last pushed 9 hours ago. On this registry it ranks #30 of 45 tracked projects in Compliance & Risk Management, with 5 head-to-head comparisons available. It gained 1 stars over the last 3 tracked days.

What is ort?

What it is

ORT is a suite of tools to automate software compliance checks. It is a FOSS policy automation and orchestration toolkit for managing open source software dependencies. The project lives in the open source compliance ecosystem and is listed under Business Software / Compliance & Risk Management. It is written in Kotlin and licensed under Apache-2.0.

The concrete problem it solves is the manual work of tracking dependencies, licenses, copyrights, security advisories, and policy violations across software projects. ORT gathers dependency metadata, downloads source code, scans for license and copyright findings, retrieves security advisories, evaluates policy rules, reports results, and can notify teams. It can generate CycloneDX or SPDX SBOMs, custom FOSS attribution documentation, and source code archives. It also supports correcting package metadata or licensing findings through InnerSource or the FOSS community.

Key capabilities

  • Analyzer determines dependencies and metadata while abstracting package managers or build systems.
  • Downloader fetches source code for projects and dependencies while abstracting version control systems or other retrieval means.
  • Scanner uses configured source code scanners to detect license and copyright findings.
  • Advisor retrieves security advisories for used dependencies from configured vulnerability data services.
  • Evaluator checks custom policy rules and license classifications against gathered data and returns policy violations.
  • Reporter presents results as visual reports, Open Source notices, or bills of materials.
  • Notifier sends results through email and JIRA tickets.

Who uses it and how

  • Compliance teams use ORT to automate licensing, security vulnerability, InnerSource, and engineering standards checks.
  • Open source program offices use it to manage open source licensing, dependency graphs, and policy as code.
  • Engineering teams use it to generate CycloneDX or SPDX SBOMs for software projects.
  • Reviewers use it to identify license and copyright findings and create source code archives for license compliance.
  • Teams integrate it into CI pipelines or use it as a library or command line tool for scripted compliance workflows.

Getting started

ORT can be used as a library for programmatic use, via a command line interface for scripted use, or through its CI integrations. Detailed installation and usage information is available in the documentation on the ORT website.

When to use it — and when not to

Use ORT when a project needs a customizable pipeline for dependency analysis, source scanning, advisory retrieval, policy evaluation, and reporting. It is Apache-2.0 licensed and has a nine-year repository history, but it requires users to configure scanners, vulnerability data services, policy rules, and notification channels. The README presents it as a toolkit and pipeline rather than a hosted compliance service, and it lists 324 open issues.

project readme (upstream, from github) — read inline

OSS Review Toolkit Logo

 

Slack

Static Analysis Build and Test Code coverage

REUSE status OpenSSF Best Practices OpenSSF Scorecard

Introduction

The OSS Review Toolkit (ORT) is a FOSS policy automation and orchestration toolkit that you can use to manage your (open source) software dependencies in a strategic, safe and efficient manner.

You can use it to:

  • Generate CycloneDX, SPDX SBOMs, or custom FOSS attribution documentation for your software project
  • Automate your FOSS policy using risk-based Policy as Code to do licensing, security vulnerability, InnerSource and engineering standards checks for your software project and its dependencies
  • Create a source code archive for your software project and its dependencies to comply with certain licenses or have your own copy as nothing on the internet is forever
  • Correct package metadata or licensing findings yourself, using InnerSource or with the help of the FOSS community

ORT can be used as a library (for programmatic use), via a command line interface (for scripted use), or via its CI integrations. It consists of the following tools which can be combined into a highly customizable pipeline:

  • Analyzer: Determines the dependencies of projects and their metadata, abstracting which package managers or build systems are actually being used.
  • Downloader: Fetches all source code of the projects and their dependencies, abstracting which Version Control System (VCS) or other means are used to retrieve the source code.
  • Scanner: Uses configured source code scanners to detect license / copyright findings, abstracting the type of scanner.
  • Advisor: Retrieves security advisories for used dependencies from configured vulnerability data services.
  • Evaluator: Evaluates custom policy rules along with custom license classifications against the data gathered in preceding stages and returns a list of policy violations, e.g. to flag license findings.
  • Reporter: Presents results in various formats such as visual reports, Open Source notices or Bill-Of-Materials (BOMs) to easily identify dependencies, licenses, copyrights or policy rule violations.
  • Notifier: Sends result notifications via different channels (like emails and / or JIRA tickets).

Also see the list of related tools that help with running ORT.

Documentation

For detailed information, see the documentation on the ORT Website. If you have further questions, reach out to the ORT community on Slack or contact the team by email.

Installation

System requirements

ORT is being continuously used on Linux, Windows and macOS by the core development team, so these operating systems are considered to be well-supported.

To run the ORT binaries (also see Installation from binaries) at least Java 25 is required. Memory and CPU requirements vary depending on the size and type of project(s) to analyze / scan, but the general recommendation is to configure Java with 8 GiB of memory and to use a CPU with at least 4 cores.

# This will give the Java Virtual Machine 8GB Memory.
export JAVA_OPTS="$JAVA_OPTS -Xmx8g"

If ORT requires external tools to analyze a project, these tools are listed by the ort requirements command. If a package manager is not listed there, support for it is integrated directly into ORT and does not require any external tools to be installed.

From binaries

CLI distribution

Head over to the releases page. From the "Assets" section of your chosen release, download the distribution archive of the desired type. Typically that is .zip for Windows and .tgz otherwise; but the contents of the archives are the same. The ort-* archives contain the ORT main distribution, while the orth-* archives contain the ORT helper distribution. Unpack the archive to an installation directory. The scripts to run ORT are located at bin/ort and bin\ort.bat, or bin/orth and bin\orth.bat, respectively.

Docker distribution

In addition to the CLI, ORT is also distributed as a Docker image that contains all tools required by ORT (see the ort requirements command). To run ORT from the latest version of that image (which will be downloaded if needed) use:

docker run ghcr.io/oss-review-toolkit/ort --help

From sources

Install the following basic prerequisites:

  • Git (any recent version will do).

Then clone this repository.

git clone https://github.com/oss-review-toolkit/ort
# If you intend to run tests, you have to clone the submodules too.
cd ort
git submodule update --init --recursive

Build using Docker

Install the following basic prerequisites:

  • Docker 18.09 or later (and ensure its daemon is running).
  • Enable BuildKit for Docker.

Change into the directory with ORT's source code and run docker build -t ort .. Alternatively, use the script at scripts/docker_build.sh which also sets the ORT version from the Git revision.

Build natively

Install these additional prerequisites:

  • Java Development Kit (JDK) version 25 or later; also remember to set the JAVA_HOME environment variable accordingly.

Change into the directory with ORT's source code and run ./gradlew :cli:installDist (on the first run this will bootstrap Gradle and download all required dependencies).

Basic usage

Depending on how ORT was installed, it can be run in the following ways:

  • If the Docker image was built locally as described above, use

    docker run ort --help
    

    You can find further hints for using ORT with Docker in the documentation.

  • If the ORT distribution was built from sources, use

    ./cli/build/install/ort/bin/ort --help
    
  • If running directly from sources via Gradle, use

    ./gradlew -q :cli:run --args="--help"
    

    Note that in this case the working directory used by ORT is that of the cli project, not the directory gradlew is located in (see https://github.com/gradle/gradle/issues/6074).

Contributing

All contributions are welcome. If you are interested in contributing code, please read our contributing guide. For everything from reporting bugs to asking questions, please go through the issue workflow.

Statistics

Alt

License

Copyright (C) 2017-2026 The ORT Project Copyright Holders.

See the LICENSE file in the root of this project for license details.

OSS Review Toolkit (ORT) is a Linux Foundation project and part of ACT. To learn more on how the project is governed, including its charter, see the ort-governance repository.

Frequently asked questions

Is ort free to use?

ort is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does ort do?

A suite of tools to automate software compliance checks.

What is ort written in?

ort is primarily written in Kotlin. Its source is publicly available at https://github.com/oss-review-toolkit/ort, and it has 2,084 GitHub stars.