Getting started
Welcome to CAST AI's security offering! Our platform provides an advanced set of automated features designed to enhance the security posture of your Kubernetes clusters. This guide will walk you through enabling and utilizing these features to secure your cluster effectively.
By default, CAST AI offers customers an organizational-level Best Practices report that provides valuable insights into your cluster's security posture. However, we recommend enabling the Security feature set on your cluster to unlock the full potential of CAST AI's security assessment capabilities.
Enabling Security is a simple process that grants you access to a wide range of advanced security assessments, including:
- CIS Benchmarks: Evaluate your cluster's compliance with industry-standard best practices.
- Vulnerability management: Identify potential vulnerabilities in the container images running on your cluster.
- Attack paths: See a list of detected attack paths in your Kubernetes clusters that could be exploited. Take proactive measures to mitigate these risks and strengthen your cluster's security posture.
- Node OS updates: Monitor the age of your nodes and schedule automatic updates to ensure your nodes have the latest security patches and remain protected against vulnerabilities.
Enable Security
To enable automation of the Security feature set on your cluster, you must opt-in to use deeper security insights. CAST AI will then install the Kvisor security agent to provide enhanced security assessment capabilities.
Note
For first-time users, we recommend familiarizing yourself with the Getting Started and Enable Automation sections to learn more about cluster onboarding. If you are already familiar with the CAST AI product, follow the steps described below.
Install via CAST AI console
The exact flow for enabling Security depends on whether you have already enabled CAST AI in your connected cluster.
Enable Security with the advanced automation & cost monitoring feature set
If you haven't enabled CAST AI on your cluster yet, follow these steps:
- Log in to the CAST AI console.
- Navigate to your connected cluster and click the
Enable CAST AI
button in the top right corner.
![](https://files.readme.io/0fa21c9-Screenshot_2023-07-24_at_11.21.42.png)
- In the script generation pop-up, ensure that the
Security
box is checked:
![](https://files.readme.io/2d25343-Screenshot_2024-06-06_at_10.59.10.jpeg)
- Copy the generated script and run it in your cluster's command-line interface.
- Once the script execution is complete, click
I ran the script
to confirm the installation.
Enable Security on a cluster with CAST AI already enabled
If you have already enabled CAST AI on your cluster and want to enable and leverage the Security features, follow these steps:
- Log in to the CAST AI console.
- Go to the
Security
section in the sidebar. - Click on either the
Enable security
orEnable CAST AI
button.
![](https://files.readme.io/40de33a-Screenshot_2024-06-06_at_10.57.13.png)
- Choose the cluster for which you want to enable the Security feature set and click
Enable
.
![](https://files.readme.io/c14a669-Screenshot_2024-06-06_at_10.57.59.png)
- Copy the generated script and run it in your cluster's command-line interface.
- Once the script execution is complete, click
I ran the script
to confirm the installation.
![](https://files.readme.io/9f2451f-Screenshot_2024-06-06_at_11.03.44.jpeg)
The script installs the Kvisor security agent on your cluster, which enables the security feature set.
Installation via Helm or Terraform
You can install the Kvisor security agent using Helm charts or Terraform. Please refer to the Kvisor security agent page for installation instructions.
Security controls
By default, Image scanning and Configuration scanning are enabled automatically for your cluster.
Control | Description |
---|---|
Image scanning | Identify vulnerabilities in the container images running in the cluster and receive recommendations on addressing them. |
Configuration scanning | Scan the configuration of the cluster and workloads for deviations from secure configuration best practices. |
These controls can be toggled on or off per your organizational requirements.
Note
For clusters onboarded using Terraform, Security controls can only be enabled or disabled through Terraform configuration. The UI controls for toggling image scanning and configuration scanning will be read-only for these clusters. To make changes, update the relevant settings in your Terraform code. This ensures that the desired security control configuration is consistently managed through your Infrastructure as Code (IaC) workflow.
To choose which controls you want to toggle, follow these steps:
- Go to
Security
>Settings
in the sidebar. - Click on the row of the cluster for which you intend to toggle security controls.
- Make desired adjustments and save your changes.
![](https://files.readme.io/f4e6d1d-Screenshot_2024-06-06_at_11.07.36.png)
Updated 18 days ago