question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSS Index: Allow exclusion of components to scan

See original GitHub issue

Issue Type:

  • defect report
  • enhancement request

Current Behavior:

When using the OSS Index scanner, Dependency-Track will send the packageURLs of all components to OSS Index. This of course includes those of internal components. The namespace of a packageURL may contain the company’s name, making it fairly easy to find out who’s making the requests and what their application landscape may look like.

Someone with access to OSS Index’s request logs may be able to find out how often a given project is built, how many vulnerable components it has and how quickly vulnerable components get patched. The main issue here is that we simply cannot know what Sonatype does with the data being sent to it.

Although I’m explicitly mentioning Sonatype’s OSS Index here, I’m sure this also affects other scanners that work similarly.

Expected Behavior:

It should be possible to exclude information about specific components from being sent to external services like OSS Index.

It should be considered that new projects (so potentially new namespaces) will be added dynamically (e.g. through the Jenkins plugin), which is why I’m certain that a Regex or “namespace contains” type of exclusion list would be optimal. E.g.:

Exclude namespaces:

  • ^com\.acme.*
  • .*mycompanyname.*

Environment:

  • Dependency-Track Version: 3.4.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
msymonscommented, Nov 14, 2019

Another justification for exclusion of components from scanning that may be applicable to VulnDB… MONEY!

In #443 , Steve wrote that “…as the (VulnDN) service may be licensed on the number of requests per month.”

2reactions
stevespringettcommented, Mar 27, 2019

The same exclusions should likely apply to outdated component analysis

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Sonatype OSS Index to Identify Security ...
OSS Index is a free service that Sonatype provides for developers to check if any library has known, disclosed vulnerabilities.
Read more >
Maven Plugin: Excludes – OSS Index
Exclude Specific Components​​ Specific components can be excluded by coordinates. NOTE: Only exact coordinate matches are excluded.
Read more >
Dependency Scanning - GitLab Docs
The Dependency Scanning feature can automatically find security vulnerabilities in your software dependencies while you're developing and testing your ...
Read more >
User Guide - Black Duck - Synopsys
Running a component scan using the Signature Scanner command line. ... Black Duck - Binary Analysis(BDBA) identifies the open source security, compliance, ...
Read more >
HOWTO: Scan & Block Packages with OSS Index
ProGet's integrated vulnerability scanning allows you to effortlessly assess package ... ProGet uses Sonatype OSS Index to scan for package ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found