Updated on 2024-01-16 GMT+08:00

Viewing Container Asset Fingerprints

HSS can collect container asset fingerprints, including container clusters, services, workloads, accounts, ports, and processes. You can centrally check container asset information and detect risky assets in a timely manner based on the container fingerprints. This section describes how to view collected container asset information.

Constraints

  • Only the HSS container edition supports the container fingerprint function.
  • Only Linux is supported.

Viewing Asset Fingerprints Data of All Containers

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Asset Management > Container Fingerprints > Asset Fingerprints. On the Asset Fingerprints page that is displayed, view the fingerprint data of all containers.

    If you find risky assets after counting, remove them in a timely manner. You are advised to handle risky ports as follows:

    • If HSS detects open high-risk ports or unused ports, check whether they are really used by your services. If they are not, disable them. For dangerous ports, you are advised to further check their program files, and delete or isolate their source files if necessary.
    • If a detected high-risk port is actually a normal port used for services, you can ignore it. Ignored alarms will neither be recorded as unsafe items and nor trigger alarms.

    If your servers are managed by enterprise projects, you can select an enterprise project to view or operate the asset and scan information.

    Figure 1 Viewing container assets

Viewing Asset Fingerprint Data of a Single Container

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane, choose Asset Management > Servers & Quota. Click the Servers tab.

    If your servers are managed by enterprise projects, you can select an enterprise project to view or operate the asset and scan information.

  4. Click the name of the target server. On the server details page that is displayed, click the Asset Fingerprints > Containers tab.
  5. Click a fingerprint in the fingerprint list to view its asset information.

Viewing Cluster Information

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane, choose Asset Management > Container Fingerprints.
  4. Choose Clusters and click Synchronize in the upper left corner.
  5. Last Synchronized indicates the CCE cluster, service, workload, and container data is synchronized successfully.
  6. On the Clusters page, view cluster information.

    The Clusters page displays the cluster name, type, node, version, creation time, and status.

    • Searching for the target cluster

      You can enter information such as the cluster name and status in the search box and click to search for the target cluster.

    • Viewing details about the target cluster
      1. Click the name of the target cluster to go to the CCE console.
      2. On the CCE console, click the name of the target cluster. On the displayed cluster details page, view the basic information, networking configuration, and connection information.

Viewing Services

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane, choose Asset Management > Container Fingerprints.
  4. Choose Clusters and click Synchronize in the upper left corner.
  5. Last Synchronized indicates the CCE cluster, service, workload, and container data is synchronized successfully.
  6. On the Services tab page, view the information.

    The page displays the service name, endpoint name, access mode, service IP address, namespace, cluster, and creation time.

    • Searching for a service

      You can enter information such as the service name and access mode in the search box and click to search for the service.

    • Viewing details about a service

      Click the name of a service. On the service details page that is displayed, you can view the selector, tag, and port of the service.

Viewing a Workload

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane, choose Asset Management > Container Fingerprints.
  4. Choose Clusters and click Synchronize in the upper left corner.
  5. Last Synchronized indicates the CCE cluster, service, workload, and container data is synchronized successfully.
  6. Click the Workloads tab.
  7. Select different workloads and view information.

    You can view information about Deployment, StatefulSets, DaemonSets, Jobs, Cron Jobs, and Pods. For details about the information items, see Workload information Items.

    You can enter information such as the workload name and cluster in the search box and click to search for the target workload.

    Table 1 Workload information

    Workload Type

    Item

    Deployment

    • Workload name
    • Status
    • Instances
    • Namespaces
    • Created
    • Image name
    • Cluster

    StatefulSets

    • Workload name
    • Status
    • Instances
    • Namespace
    • Created
    • Image name
    • Cluster

    DaemonSets

    • Workload name
    • Status
    • Instances
    • Namespace
    • Created
    • Image name
    • Cluster

    Jobs

    • Workload name
    • Status
    • Instances
    • Namespace
    • Created
    • Image name
    • Cluster

    Cron Jobs

    • Workload name
    • Status
    • Trigger
    • Running jobs
    • Namespace
    • Latest scheduled
    • Created
    • Image name
    • Cluster

    Pods

    • Name
    • Namespace
    • Cluster
    • Node
    • Pod IP address
    • POD IP
    • Status
    • Created

Viewing Container Instances

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane, choose Asset Management > Container Fingerprints.
  4. Choose Clusters and click Synchronize in the upper left corner.
  5. Last Synchronized indicates the CCE cluster, service, workload, and container data is synchronized successfully.
  6. Click the Container Instances tab.

    The container name, status, pod, cluster, creation time, and image name are displayed.

    • Searching for a container

      You can enter information such as the container name and status in the search box and click to search for the container.

    • Viewing details about a container

      Click the name of a container. On the container details page that is displayed, you can view the process, port, and mount path.