-
Notifications
You must be signed in to change notification settings - Fork 7
Add the Inspektor Gadget repository #43
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! The test is failing, but it seems to be an error unrelated to your changes. Please wait a moment while we fix it. |
|
I'm checking with Rancher. |
|
@burak-ok Do you mind rebasing/merging the main branch? |
Signed-off-by: Burak Ok <burakok@microsoft.com>
4d2055e to
5c3c677
Compare
|
Is inspector-gadget written in C? If so, since our scanner Trivy does not support binaries built in C, this VEX file cannot be used. VEX registration itself is fine because VEX Hub does not exist solely for Trivy, but it is primarily intended for automatic VEX discovery by scanners, so we probably need to first organize the use cases of inspector-gadget’s VEX. Let’s look at a concrete use case using Rancher as an example. A scanner can obtain information such as the root module name of a binary built with Golang from the ELF header and other metadata. In other words, by analyzing the binary, it can retrieve information like github.com/rancher/rancher@2.9.8. Next, it searches the VEX Hub, and if a matching VEX is found, it automatically uses that VEX. |
Inspektor Gadget is written in Golang - The C files are some linux header files
That is what we want. For example we got flagged for CVE-2025-54388 and then put it in the vex document in https://github.com/inspektor-gadget/inspektor-gadget/blob/main/.vex/v0.41.0.vex.json and https://github.com/inspektor-gadget/inspektor-gadget/blob/main/.vex/v0.42.0.vex.json Looking at our vex files we used Is this assumption correct? |
Yes, it's correct. For example, even if Node.js package A and Python package A share the same name, they are completely different entities, so the appropriate vulnerability advisory is identified based on the ecosystem. If it is written in Go, setting the PURL type to "golang" will allow the VEX document to be correctly located. |
Hello,
Thanks for providing a mechanism to respond to CVEs in dependencies that are not affecting a project.
With this PR we want to add the Inspektor Gadget vex files to the official vex hub.