-
Notifications
You must be signed in to change notification settings - Fork 576
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
Detect linux distro when not scanning root #3253
Comments
On the surface this seems like a duplicate of #3213 , since this is ultimately about being able to tailor the search context within some larger reference context. However...
is a more specific ask, and taking a look at the example CLI, it doesn't really square up with #3213:
Here we're already scanning /etc, so we should be able to find it. However I was surprised to see this didn't work:
This is due to this: syft/syft/linux/identify_release.go Lines 28 to 54 in 963ea59
we should probably change these references to If you're looking to scan I'm going to narrowly interpret this issue based on the example, implying we should fix these env search paths to globs and some surrounding cleanup. Shout out if this interpretation + #3213 still does not cover your use cases. |
What would you like to be added:
Quoting @ariel-miculas from #3145:
Why is this needed:
Make syft recognize Linux distribution when scanning a directory. Currently this is not possible (see #3145 (comment))
The text was updated successfully, but these errors were encountered: