OSS Review Toolkit Gets Smarter: Introducing Snippet Choice
- Giuliana Bruni
- Jun 17
- 2 min read
Updated: Jun 19

Developers using SCANOSS with the OSS Review Toolkit (ORT) already know the value of precise, automated scanning. Now, with support for Snippet Choices, the workflow becomes smarter, and a lot less noisy.
This isn’t a new integration, SCANOSS has worked seamlessly with ORT for some time. What’s new is how decisions from past scans can now be persisted, reused, and versioned as part of your project’s source, cutting down repetitive work and making real changes easier to spot.
What is snippet_choices?
When SCANOSS scans your code via ORT, it surfaces all detected snippets: full or partial code matches from publicly available repositories. That’s powerful—but sometimes too noisy. Some findings are relevant, some are obvious reuses, and others are marginal matches.
The snippet_choices feature allows you to annotate your decisions directly into your .ort.yml. You declare which findings are correct, which are irrelevant, and ORT will honour those decisions in every future scan. SCANOSS will only raise the flag on new, unclassified findings—keeping your compliance workflow clean and focused.
Why it matters
Without snippet_choices, every scan shows the same snippet results, and you're forced to re-triage again and again. This clutters your workflow and slows your ability to respond to real changes, like introducing a new open source component.
With SCANOSS + snippet_choices:
· You accept or ignore each result.
· Store your decision in version control.
· Re-run the scan.
· SCANOSS now focuses only on new or changed findings.
This streamlines compliance reviews and flags only meaningful differences going forward. It’s ideal for iterative development and critical for CI environments.
How it works
Here’s the basic flow:
1. Run a scan with SCANOSS + ORT.
2. Inspect the scan output.
3. Create a snippet-choice.yml (or JSON) file to declare your decisions, file by file.
4. Re-run the scan. Decisions are applied automatically.
5. Repeat until only new, unreviewed results are surfaced.
Think of it as a decision cache that lives in your project — and evolves with your code.
Unlike other scanners, SCANOSS treats even partial snippet matches as first-class evidence. With snippet_choices, accepted matches (even if incomplete) will now contribute to license findings. The rest are automatically suppressed. This gives you:
· Precise control over what counts.
· Traceable auditability for your decisions.
· Confidence that only new, unreviewed content raises flags.
And all your findings will be recorded in the output scan result.
If you’re already using SCANOSS with ORT, no major changes are needed. Just start recording your decisions using the supported format: ORT Snippet Choice Docs
This feature is already available.