kics
kics copied to clipboard
Duplicated dockerfile query - "Last User Is 'root'"
It seems there are 2 "non root user" queries - assets/queries/dockerfile/last_user_is_root assets/queries/dockerfile/missing_user_instruction

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!
Hi @lioskaderon,
Can you give us your feedback, please?
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.