Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubeconform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9.6-alpine3.14@sha256:3e7e8a57a959c393797f0c90fa7b0fdbf7a40c4a274028e3f28a4f33d4783866
FROM python:3.9.6-alpine3.14@sha256:f624a022976a70f6862ee66bec9b900e097b814086a8057bee4ed96a4bbaa2b5

Check warning on line 1 in kubeconform/Dockerfile

View check run for this annotation

Orca Security (EU) / Orca Security - Infrastructure as Code

[LOW] HEALTHCHECK Instruction Missing

Details: Containers without health checks cannot automatically restart upon failure, reducing service reliability and potentially leaving unresponsive containers running. Health checks enable orchestration platforms to detect and remediate failed containers. Configure a HEALTHCHECK instruction to monitor container health status. Recommendation: Dockerfile should contain instruction 'HEALTHCHECK'

Check warning on line 1 in kubeconform/Dockerfile

View check run for this annotation

Orca Security (EU) / Orca Security - Infrastructure as Code

[MEDIUM] Dockerfile Missing USER Instruction

Details: Container images without a specified user instruction run as root by default, granting unnecessary elevated privileges that increase the impact of potential container escape vulnerabilities. Running as root violates the principle of least privilege and expands the attack surface. Specify a non-root user to minimize privilege escalation risks. Recommendation: The 'Dockerfile' should contain the 'USER' instruction

# Checksum from https://github.com/yannh/kubeconform/releases/latest
ENV version=0.4.12
Expand Down