Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a scanner option to only use existing stored scan results #7434

Open
sschuberth opened this issue Aug 31, 2023 · 0 comments
Open

Create a scanner option to only use existing stored scan results #7434

sschuberth opened this issue Aug 31, 2023 · 0 comments
Labels
new feature Issues that are considered to be new features scanner About the scanner tool

Comments

@sschuberth
Copy link
Member

In some scenarios, like showcasing ORT / onboarding new users or best-effort analyses with a cost / quality tradeoff, it might me desirable to enrich the declared licenses from an analyzer result only then with detected licenses from a scanner if this additional data can be retrieved reasonably cheap.

This could be achieved by a new scanner CLI option called something like --stored-results-only to only use existing scan results from any of the configured storages matching the configured scanner(s), but not actually run any scanner if no stores scan result is found for a package / provenance.

With such an option, it's important to clearly signal to the user what the cause for non-existing scan results for a package in the scan result is: Whether it's due to no existing stored scan result being available, or because there were no license / copyright findings.

@sschuberth sschuberth added scanner About the scanner tool new feature Issues that are considered to be new features labels Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Issues that are considered to be new features scanner About the scanner tool
Projects
None yet
Development

No branches or pull requests

1 participant