You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When something is wrong in the parsing of the scan Job logs, we get a "unexpected EOF" error in the controller logs and the scan Jobs is never retried.
I am thinking we should start by just improving the error handling and update the CIS status with the error. Then we can see how to improve this further. WDYT?
I agree to temporarily update the CIS status with error. As I see it, the problem is triggered from outside and the best we can do is to fail and retry the scan job -
-- if the trivy-server is sending different json output in the failed scenario? If yes, then the above solution is good enough.
-- if the problem is with the transporation layer or k8s log bytes limitation, we gotta figure out the root cause
When something is wrong in the parsing of the scan Job logs, we get a "unexpected EOF" error in the controller logs and the scan Jobs is never retried.
The text was updated successfully, but these errors were encountered: