auth-layer-proxy improvements for envoy configuration configurable #47
Wiz Inc. (8f76296f7c) / Wiz IaC Scanner
completed
Apr 2, 2024 in 7s
Wiz IaC Scanner
Well Met, Squire of Source Code! 🛡️
The scrolls of foresight offered glimpses of hidden enigmas within this code. 📜🔍
Revealing IaC misconfigurations with Wiz 🪄
🔮 IaC Misconfigurations Detected: 2
― Note from Wiz: "With every keystroke, you weave a tapestry of digital enchantment! 🧵🔥"
Annotations
Check notice on line 9 in auth-layer-proxy/Dockerfile
wiz-inc-8f76296f7c / Wiz IaC Scanner
APT-GET Not Avoiding Additional Packages
Rule ID: 15862929-8b16-4974-b8dc-04bb9db86686
Severity: None
Resource: FROM={{envoyproxy/envoy:v1.28-latest}}.{{RUN chmod +x /etc/envoy/start-envoy.sh && chown -R envoy:envoy /etc/envoy && apt-get update && apt-get install -y gettext-base=0.19.* lua5.1=5.1.* luarocks=2.4.* git=1:2.* && luarocks install lua-cjson && luarocks install luasocket && rm -rf /var/lib/apt/lists/*}}
Check if any apt-get installs don't use '--no-install-recommends' flag to avoid installing additional packages.
Raw output
Expected: 'RUN chmod +x /etc/envoy/start-envoy.sh && chown -R envoy:envoy /etc/envoy && apt-get update && apt-get install -y gettext-base=0.19.* lua5.1=5.1.* luarocks=2.4.* git=1:2.* && luarocks install lua-cjson && luarocks install luasocket && rm -rf /var/lib/apt/lists/*' uses '--no-install-recommends' flag to avoid installing additional packages
Found: 'RUN chmod +x /etc/envoy/start-envoy.sh && chown -R envoy:envoy /etc/envoy && apt-get update && apt-get install -y gettext-base=0.19.* lua5.1=5.1.* luarocks=2.4.* git=1:2.* && luarocks install lua-cjson && luarocks install luasocket && rm -rf /var/lib/apt/lists/*' does not use '--no-install-recommends' flag to avoid installing additional packages
Check notice on line 1 in auth-layer-proxy/Dockerfile
wiz-inc-8f76296f7c / Wiz IaC Scanner
Healthcheck Instruction Missing
Rule ID: 52ab40ee-72d1-4fcf-b295-20834d179270
Severity: Low
Resource: FROM={{envoyproxy/envoy:v1.28-latest}}
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
Raw output
Expected: Dockerfile should contain instruction 'HEALTHCHECK'
Found: Dockerfile doesn't contain instruction 'HEALTHCHECK'
Loading