This sections shows how to observe the scan job and get logs.

Watching In Flight Jobs

The scan will run inside the job which creates a pod. Both the job and pod will be cleaned up automatically after completion. You can set a watch on the job and pod before applying a new scan to observe the job deploy.

watch kubectl get scantemplates,scanpolicies,sourcescans,imagescans,pods,jobs

Troubleshooting

If you run into any problem or face a non-expected behavior, you can always address the logs to get some more feedback on what's going on.

kubectl -n scan-link-system logs -f deployment/scan-link-controller-manager -c manager
check-circle-line exclamation-circle-line close-line
Scroll to top icon