anchore / anchore/grant

bug: grant license detection mode conflicts with syft license scanner

Open
#266 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
183
Forks
18
Avg merge
3d 7h
Merged PRs (30d)
7

Description

### Summary
Syft needs a way where we can inject the scanner via API rather than injecting a config that then creates the scanner. It's either this or syft needs to expose a way to retrieve the scanner from context that it's using so grant can share the same scanner during its own license analysis.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing how grant's license analysis and Syft's license scanner are constructed and passed through context. Compare the two alternatives in the issue—API injection or scanner retrieval from context—and define a single sharing path; done means grant's detection mode can share Syft's scanner without conflicting scanner creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.