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 image name in question 09 #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
15 changes: 8 additions & 7 deletions docs/08-Mock-Exams/03-Mock-Exam-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,17 @@ Solutions for lab - Mock Exam 2:
```
# Run trivy image scan on all of the images and check which one does not have HIGH or CRITICAL vulnerabilities.

controlplane $ trivy image nginx:alpine
controlplane $ trivy image nginx:1-alpine

2021-04-26T03:41:49.033Z INFO Detecting Alpine vulnerabilities...
2021-04-26T03:41:49.041Z INFO Trivy skips scanning programming language libraries because no supported file was detected
nginx:alpine (alpine 3.13.5)
============================
Total: 0 (HIGH: 0, CRITICAL: 0)
2021-11-28T01:16:05.576Z INFO Detecting Alpine vulnerabilities...
2021-11-28T01:16:05.586Z INFO Trivy skips scanning programming language libraries because no supported file was detected

nginx:1-alpine (alpine 3.14.3)
==============================
Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
Next, use this image to create the pod

controlplane $ kubectl -n seth run secure-nginx-pod --image nginx:alpine
controlplane $ kubectl -n seth run secure-nginx-pod --image nginx:1-alpine
```
</details>

Expand Down