deepfence / SecretScanner

:unlock: :unlock: Find secrets and passwords in container images and file systems :unlock: :unlock:
https://deepfence.io
MIT License
3.1k stars 315 forks source link

Crashed when scanning big sized image. #32

Closed JackTien closed 2 years ago

JackTien commented 2 years ago

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

ramanan-ravi commented 2 years ago

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

JackTien commented 2 years ago

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 commented 2 years ago

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

Hi, any reply for this bug?

ramanan-ravi commented 2 years ago

@JackTien We are checking the issue

JackTien commented 2 years ago

thanks. we are looking forward to receive your reply.

Ramanan Ravikumar @.***> 於 2022年2月18日 週五 下午12:39寫道:

@JackTien https://github.com/JackTien We are checking the issue

— Reply to this email directly, view it on GitHub https://github.com/deepfence/SecretScanner/issues/32#issuecomment-1043873887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC45ZYW2LJS2D5MBPA733C3U3XERNANCNFSM5ORCEVDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

JackTien commented 2 years ago

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

shyam-dev commented 2 years ago

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

JackTien commented 2 years ago

Great, thanks for the update.

Shyam Krishnaswamy @.***> 於 2022年2月22日 週二 下午1:14寫道:

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

— Reply to this email directly, view it on GitHub https://github.com/deepfence/SecretScanner/issues/32#issuecomment-1047432982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC45ZYQPUBZUZIPN3RJS3RTU4MLVDANCNFSM5ORCEVDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

JackTien commented 2 years ago

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

JackTien commented 2 years ago

hi, any feedback for this is appreciate ;)

JackTien commented 2 years ago

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