goodwithtech / dockle

Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start
https://containers.goodwith.tech/
Apache License 2.0
2.8k stars 139 forks source link

Invalid detection of CIS-DI-0010 if specfic versions are installed #250

Open 030 opened 11 months ago

030 commented 11 months ago

Description

RUN apk add --no-cache \ libcrypto3=3.1.4-r1 \ libssl3=3.1.4-r1

What did you expect to happen?

no CIS-DI-0010 as packages are installed and it are no environment variables

What happened instead?

FATAL - CIS-DI-0010: Do not store credential in environment variables/files

Output of run with -debug:

(paste your output here)

Output of dockle -v:

v0.4.13

Additional details (base image name, container registry info...):