Updated on 2025-09-08 GMT+08:00

Enabling Pay-per-use Container Image Scan

Scenarios

To perform the image security scan for repository images and CI/CD images, enable the pay-per-use container image scan.

Billing

  • Container image scan is billed per successful image per scan. This function is still in the OBT phase, and its price is displayed on the value-added services sales page. For details about pricing, see HSS Pricing Details.
  • If you have created scheduled scan tasks for repository images before the pay-per-use container image scan is launched, the tasks will generate costs after you enable the pay-per-use scan. To avoid such costs, disable the scheduled scan policy in advance. For details, see Periodically Scanning Repository Images.
  • After you enable pay-per-use container image scan, you can scan up to 10 images for free each month. These scans expire at the end of each month.

Method 1: Enable Pay-per-use Scan on the Purchase Page

  1. Log in to the HSS console.
  2. Click in the upper left corner and select a region or project.
  1. In the upper right corner of the Overview page, click Buy HSS.
  2. Click the Value-added Services Only tab and select Pay-per-use Image Scan.

    Figure 1 Enabling pay-per-use container image scan

  3. Click Enable Now and confirm the order.

Method 2: Enable Pay-per-use Scan on the Container Images Page

  1. Log in to the HSS console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, choose Risk Management > Container Images.
  4. Click Enable Now next to the billing prompt of the pay-per-use image security scan.

    Figure 2 Enabling pay-per-use container image scan

  5. After confirming the pay-per-use information, select I have read and agree to the Host Security Service Disclaimer.
  6. Click Enable Now and confirm the order.

Related Operations

Disabling pay-per-use scan

To disable pay-per-use billing, click Disable Pay-per-use Scan on the container image page. After it is disabled, you cannot use the free scans you have. All scheduled image scan tasks will be deleted, and historical image scan results will be retained for only 30 days.