kics icon indicating copy to clipboard operation
kics copied to clipboard

Duplicated dockerfile query - "Last User Is 'root'"

Open lioskaderon opened this issue 2 years ago • 1 comments

It seems there are 2 "non root user" queries - assets/queries/dockerfile/last_user_is_root assets/queries/dockerfile/missing_user_instruction

image

lioskaderon avatar Apr 10 '22 20:04 lioskaderon

Hi @lioskaderon hope you are doing great! Those 2 queries have the same objective but they check it in diferent ways. Last User Is 'root' query checks for the hardcoded user root command when using a multistaged dockerfile. Missing User Instruction query checks if there is no specified user in a dockerfile. Let me know what do you think. In case of any other matter please do not hesitate to contact us!

cxMiguelSilva avatar May 03 '22 12:05 cxMiguelSilva

Hi @lioskaderon,

Can you give us your feedback, please?

rafaela-soares avatar Oct 24 '22 16:10 rafaela-soares

Hi @lioskaderon ,

Hope this message finds you well! I'm closing this issue due to inactivity.

Feel free to re-open the issue if you need our support.

gabriel-cx avatar Sep 21 '23 15:09 gabriel-cx