You can perform a custom scan of the specified containers and images using the command kesl-control --scan-container
.
A custom scan is performed with the settings stored in the predefined task Custom_Container_Scan (ID: 19). You can configure Custom Container Scan settings by editing the settings of this task. By default, the Custom_Container_Scan task has the same settings as the Container_Scan task (ID: 18).
To start the Custom Container Scan task, execute the following command:
kesl-control --scan-container <
container/image
[:
tag
]>
where <
container/image
[:
tag
]>
is the name or ID of the container or image. You can use masks to scan multiple objects.
If there are several entities with the same name, the application scans all of them.
As a result of executing the command, a temporary containers and images scan task is created, which is automatically deleted after completion. In this case, the scan results are output to the console.
Examples: Scan the container named my_container:
Scan the image named my_image (all tags):
|