Inconsistent Clair scan results #1563
-
Hi all, I'm running Clair v4.3.6 in an OpenShift cluster. It is integrated together with Jenkins so that during build, Clair will scan the image.
This image gets pushed on our registry and in a next step we pull that image to continue to our deployment step.
... I was wondering if there is a certain way, via an API call or something that it will first check if the index is complete before it returns a result? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi Nikolaas, thanks for the issue, In v4.3.6 the CRDA remote matcher is enabled by default, this means that during every matching request there is a (couple of) API requests that can return these SNYK results. Unfortunately these API calls are rate-limited at a global level, hence why we disable the matcher by default in subsequent versions. There are 3 options:
Let me know if you need help with one of these things, we are working on an OSV updater that should be able to replace a large part of the CRDA matching functionality, but it is currently in development. |
Beta Was this translation helpful? Give feedback.
-
Another thing we've noticed, but perhaps I should create a different discussion for this, is that on this same image scan, it returns |
Beta Was this translation helpful? Give feedback.
Hi Nikolaas, thanks for the issue,
In v4.3.6 the CRDA remote matcher is enabled by default, this means that during every matching request there is a (couple of) API requests that can return these SNYK results. Unfortunately these API calls are rate-limited at a global level, hence why we disable the matcher by default in subsequent versions. There are 3 options:
Let me know if you need help with one of these things, we are working on an OSV updater that should be able to replace a large part of the C…