None

Getting Started with CGS

  • Container Guard Service (CGS) can protect Cloud Container Engine (CCE) clusters and scan images in Software Repository for Container (SWR). You can also configure a container process whitelist, read-only file protection, and container escape detection to prevent risks in container runtime.
    This section describes how to get started with CGS.

Step 1: Enable Protection for a Cluster

Procedure
1. Log in to the management console. Choose Security & Compliance > Container Guard Service and purchase CGS.
2. In the navigation pane, choose Clusters & Quotas. On the Clusters tab, enable protection for a cluster.
3. In the confirmation dialog box that is displayed, select I have read and agreed to the Container Guard Service Disclaimer and click Yes.

Note

1. If you enable CGS for more nodes than can be protected by the yearly/monthly packages you have purchased, your will be charged on an hourly basis for protection of the excess nodes.
2. CGS automatically enables protection for a new node in the cluster when the node is added to a cluster with protection enabled.

1

Purchasing a CGS quota

Apply for a VPC.

2

Cluster list

Apply for an ECS.

3

Enabling CGS

Access the cache instance.

View Image

Step 2: View Vulnerabilities in Local Images

Procedure
1. In the navigation pane, choose Image Security. Click the Local Image Vulnerabilities tab and check the percentages of local image vulnerabilities.
2. Check the top 5 risky images.
3. Check the images affected by a vulnerability.

Note

- After cluster protection is enabled, CGS will automatically scan local images.
- If a vulnerability has no risk or is of low risk, you can ignore it on all images or on a specific image. After a vulnerability is ignored, the vulnerability is not counted for the image, but it is still in the vulnerability list.

1

Vulnerability percentages

Select the charging mode.

2

Top 5 risky images

View Image

Step 3: Scan Private Images and View Vulnerability Reports

Procedure
1. In the navigation pane, choose Images and click Private Images.
2. Click an image name to expand its details. In the Operation column, click Scan.
3. In the displayed dialog box, click OK to start the scan task.
4. Wait until the scan is complete and click View Report.

Note

- CGS performs a comprehensive security scan on private images in the early morning every day.
- You can click an image version to go to the image details page. Here you can check the basic information, vulnerability report, associated policies, malicious files, software information, file information, and baseline check results of the image, and can fix the image based on provided solutions.

1

Image list

Obtain the instance's connection address.

2

Security scan

Download and install a client.

3

Vulnerability report

Access the cache instance.

View Image

Step 4: Check Runtime Security

Procedure
1. In the navigation pane, choose Runtime Security.
2. Check the exception trend chart.
3. Check the exception list.

Note

- CGS monitors the containers running in a cluster in real time. You can view details about container exceptions at any time.
- CGS can detect escapes, high-risk system calls, abnormal processes, abnormal files; and can check the container environment.

1

Exception trend

Obtain the instance's connection address.

2

Abnormal event list

Download and install a client.

View Image

Step 5: (Optional) Configure Security Policies

Procedure
1. In the navigation pane, choose Security Configurations. Click Add.
2. In the Add dialog box, configure the policy and click OK.
3. Associate the policy with an image.

Note

To associate a policy with an image, you can also click an image in the image list. Click the Associate Policies tab, and click Apply Policy.

1

Adding a policy

Obtain the instance's connection address.

2

Configuring a policy

Download and install a client.

3

Associating an image

Access the cache instance.

View Image