deepfence / SecretScanner

:unlock: :unlock: Find secrets and passwords in container images and file systems :unlock: :unlock:

Home Page:https://deepfence.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashed when scanning big sized image.

JackTien opened this issue · comments

Hi, I used this tool to scan an image whose size is 26.83GB, then I received a fatal error:

scanImage: Could not save container image: exit status 1. Check if the image name is correct.
main: error while scanning image: exit status 1
panic: Fatal error....

goroutine 1 [running]:
github.com/deepfence/SecretScanner/core.(*Logger).Log(0x4000800f5b, 0x5, {0x1094c61, 0x24}, {0xc00045dee8, 0x1, 0x1})
/home/deepfence/src/SecretScanner/core/log.go:68 +0x25e
github.com/deepfence/SecretScanner/core.(*Logger).Fatal(...)
/home/deepfence/src/SecretScanner/core/log.go:73
main.runOnce()
/home/deepfence/src/SecretScanner/main.go:108 +0x145
main.main()
/home/deepfence/src/SecretScanner/main.go:148 +0x114

@JackTien Can you check if the image is present locally? Can you also ensure >120 gb hard disk?

Yes, it’s stored locally and my disk space is more than 120GB.
Screen Shot 2022-02-17 at 8 59 31 AM
Screen Shot 2022-02-17 at 8 59 13 AM

@JackTien Can you check if the image is present locally? Can you also ensure >120 gb hard disk?

Hi, any reply for this bug?

@JackTien We are checking the issue

Hi, I'm still waiting for your reply. Best regards.

Hello @JackTien - we are doing some fixes around this issue. Expect a solution for this over the next week or so

Hi, how can I update my image and test the fixed version?

hi, any feedback for this is appreciate ;)

@ramanan-ravi Where can I use the fixed version of the program ?