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

Allow setting custom scan root #3253

Open
chovanecadam opened this issue Sep 19, 2024 · 0 comments
Open

Allow setting custom scan root #3253

chovanecadam opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@chovanecadam
Copy link

What would you like to be added:

Quoting @ariel-miculas from #3145:

I would love if I could do:

syft scan -o syft-json dir:/etc --file-scan-root=/

and get the distro identification because the files in /etc/ are prefixed with /etc/, so syft would find /etc/os-release (assuming /etc/os-release is a regular file and not a symlink).

Why is this needed:

Make syft recognize Linux distribution when scanning a directory. Currently this is not possible (see #3145 (comment))

@chovanecadam chovanecadam added the enhancement New feature or request label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant