Kaspersky Endpoint Security 12 for Linux

Custom scan of containers and images

July 22, 2024

ID 264283

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:

kesl-control --scan-container my_container

Scan the image named my_image (all tags):

kesl-control --scan-container my_image*

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.