Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile #25

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Update Dockerfile #25

merged 1 commit into from
Oct 21, 2024

Conversation

bradotlin
Copy link
Owner

No description provided.

Copy link

Wiz Scan Summary

Scan Module Critical High Medium Low Info Total
IaC Misconfigurations 0 1 0 1 0 2
Vulnerabilities 0 0 0 0 0 0
Sensitive Data 0 0 0 0 0 0
Secrets 0 0 0 0 0 0
Total 0 1 0 1 0 2

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@@ -1,4 +1,4 @@
FROM nginx:mainline-alpine3.19-perl

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High Wiz IaC Finding

Details
Rule Missing User Instruction
Rule ID e24d894e-a4db-4b8d-98cc-38d5825e1c7a
Severity High
Resource FROM={{nginx:mainline-alpine3.19-perl}}

Details

A user should be specified in the dockerfile, otherwise the image will run as root

Expected: The 'Dockerfile' should contain the 'USER' instruction
Found: The 'Dockerfile' does not contain any 'USER' instruction
Security Frameworks: 339b194f-8e91-44fa-910e-6eee432ff185, 9bc0c54d-4a51-4dbc-8ae6-890bc8c96f68, c7d2843b-ff83-4115-823e-a440e5c9b434, e24345c2-b2f7-40d2-9067-d71280d443d8, fcb43ca7-1138-43c6-af95-fe30190b00f7

@bradotlin bradotlin merged commit bdbaa82 into main Oct 21, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant