-
Notifications
You must be signed in to change notification settings - Fork 100
Support for showing progress (or processing information) while scanning each layer of the image #136
Comments
Thank you for copying the issue. Exactly. I added the issue on Trivy to aggregate issues, but it should be implemented in fanal. Here is the relevant part. It depends on google/go-containerregistry. Lines 136 to 163 in 1296f05
|
just to confirm, are you sure that it is the function Correct me if I am wrong, but in my opinion, the logic of fetching and showing should be in or around the Lines 19 to 62 in 719c92b
|
@yashvardhan-kukreja @knqyf263 can anyone guide me a bit how to resolve this? I want to do this. Thanks. |
@avats-dev thanks for your willingness to pick it up. Also, for your assistance I ll document my findings time to time on this thread to make it convenient for you to understand what stuff is going around 😊 |
@yashvardhan-kukreja ok, great 👍 |
@knqyf263 The input to the walkLayerTar function is the layer which is of the type Although, the |
So, @knqyf263 , can u tell me if I am going in the right direction or wrong and what should I look next into to implement this? A heads up regarding this would be nice :) |
This issue is derived from aquasecurity/trivy#330
Trivy's issue was to display progress while fetching layers but the core logic of fetching and scanning each layer of the provided image is done under fanal and not under trivy. (Trivy calls the
Inspect()
method of fanal for doing so)Hence, I am raising this issue and I believe that this capability can be added in fanal (that too in a backwards compatible way) and if it gets merged, then we can use this capability in trivy to display progress while fetching layers.
The text was updated successfully, but these errors were encountered: