-
Notifications
You must be signed in to change notification settings - Fork 560
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
About Linux Kernel #2670
Comments
Hi @99sao, can you provide some more details, including the version of Syft you are using, etc, and a way for us to reproduce your result with a public image or container? We would be happy to take a look. |
我使用的版本是0.105.0,我已经在java、python等其他生态成功运行,但是针对Linux kernel (vmlinz),我想知道它是检测什么文件来获取物料清单,我对ubuntu22.04中的vmlinz检测除了发行版以外并没有获取其他信息,希望你能够帮我,谢谢。 |
Translated using translate.google.com:
Hi @99sao, Can you try enabling the linux-kernel-cataloger?
Here is the code for the cataloger that identifies Linux kernels:
Hope this helps! |
谢谢你的帮助,我刚刚使用了你的方法,下面是我的代码: |
translate.google.com result:
We would need to see what you are scanning--you said it is a virtual machine, right? Can you share the full file listing of what's in the virtual machine? That might be a good place to start. |
Translated:
Your command appears to be correct and the globs for this cataloger should have at least matched up with |
I tried this on my Ubuntu 22.04 system. For me, it's a permission problem, as my user cannot access the
I checked another machine running Ubuntu 24.04, and it's the same, so I suspect this is standard behaviour on Ubuntu.
As a result, Syft can't open them:
It works with sudo though:
This doesn't look like a bug in Syft to me. It's just Linux permissions working as expected. |
What would you like to be added:
Why is this needed:
Additional context:I want to know how to use syft to detect vmlinz, but I scan the kernel files of the virtual machine without any results
The text was updated successfully, but these errors were encountered: