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 nginx-301-https/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:1.15.1-alpine
FROM nginx:1.31.2-alpine

Check warning on line 1 in nginx-301-https/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 nginx-301-https/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

COPY default.conf /etc/nginx/conf.d/default.conf

Expand Down