Prisma Cloud Compute: So verwenden Sie Twistcli zum Scannen von Bildern in einer Containerd-Umgebung
6299
Created On 10/22/23 17:44 PM - Last Modified 01/03/25 08:12 AM
Objective
Das Ziel dieses Artikels ist das erfolgreiche Scannen von Bildern in einer Containerumgebung mit Twistcli.
Environment
- Prisma Cloud Compute Self-Hosted Version 31.xx und höher
- Prisma Cloud Compute SaaS Version 31.xx und höher
Procedure
- Ziehen Sie das Image (Abbild) in die Umgebung:
sudo ctr image pull <image name>i.e
sudo ctr image pull docker.io/library/ubuntu:latest
- Listen Sie den Namespace auf, in dem sich das Image (Abbild) befindet:
sudo ctr --namespace <namespace> images lsi.e
sudo ctr --namespace default images ls
- Scannen Sie das Image (Abbild) mit Twistcli:
sudo ./twistcli images scan --address <address> --user <username> --password <password> --output-file <filename> --containerd --containerd-namespace <namespace> <image id | image name>
Additional Information
Unterstützung für Twistcli-Scans für Bilder in Containerumgebungen wurde in der Version 31.xx der Konsole hinzugefügt. Weitere Informationen finden Sie in der Dokumentation .