Deploy the Cortex XDR container-embedded agent on Container as a Service (CaaS) environments to extend runtime security and vulnerability scanning to containerized workloads. The container-embedded Cortex XDR agent provides malware prevention, exploit protection, vulnerability assessment, and altered binary execution restriction for containers running on managed container services.
The Cortex XDR container-embedded agent is a purpose-built agent designed for containerized environments. The agent embeds directly into your existing workflows.
The container-embedded agent is embedded directly into your container image during the Docker build process. The agent runs as an entry point within your application container, providing runtime security and vulnerability scanning without requiring a separate container.
This topic explains the process of how to embed the Cortex XDR agent in your dockerfile:
CaaS container-embedded agent installer
learn how to create the CaaS container-embedded agent installer.
Before you deploy the container-embedded agent, verify the following:
Notice
Requires the Cortex Cloud Runtime Security add-on. Every 10 container-embedded agents will consume a single Cortex Runtime Security license.
Prerequisites
Supported Environments | The following managed container services are supported:
|
Requirements | Cortex XDR agent version 9.2.0 or later Required resources per container:
Dockerfile requirements:
Assets discovery: Onboard the relevant AWS environments Drift detection: Container registry image scanning |
Limitations |
|
In your Cortex management console, navigate to Inventory → → , click Create.
Select as the Package Type and as the Deployment Type.
Select the installer details to define the configuration settings for version and proxy (optional).
Upload your Dockerfile. Cortex Cloud validates your Dockerfile against the technical prerequisites.
A new instance will be created - right click it and download the newly generated Dockerfile.
Select the newly generated Dockerfile.
Re-build your container image using the newly generated Dockerfile.
During the build process, the agent binary will be fetched from the Cortex repository and baked into the image.
Once the build process is successfully finished, you are ready to use the new container image in your CaaS environments, based on the prerequisites above.