Updated on 2026-09-07 GMT+08:00

Viewing Container Audit Logs

Scenario

This section describes how to view container audit logs.

Viewing Container Audit Logs

  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, choose Security Operations > Container Audit.
  4. Perform the following operations to view different types of audit logs:

    Figure 1 Viewing container audit logs
    • Viewing cluster container audit logs
      1. Click the Cluster Containers tab.
      2. Click the name of a cluster to go to its container audit details page and check the following logs:
        • Kubernetes audit logs: They record the requests sent to the Kubernetes API server. You can check audit time, nodes, and log content.
        • Kubernetes events: They record the status changes, exceptions, and fault causes of the resources in a cluster. You can check the namespaces, resource names, resource types, event names, event types, causes, and occurrence time of events.
        • Container logs: For CCE clusters, the standard output logs of containers are recorded. For non-CCE clusters, container startup and stop logs are recorded. You can check the log time, log content, namespaces, container names, POD information, and server IP addresses.
        • Container commands: They record the system commands executed in containers. You can check the server information, container names/IDs, users running the commands, executed commands, process paths, process PIDs, and start time.
    • Viewing container instances
      1. Click the Container Instances tab.
      2. Click the name of a container instance to go to its audit details page and check the following logs:
        • Container logs: They record the startup and stop of a container. You can check the log time, log content, namespace, container name, POD information, and server IP address.
        • Container commands: They record the system commands executed in a container. You can check the server information, container names/IDs, users running the commands, executed commands, process paths, process PIDs, and start time.
    • Viewing image repository logs

      Click the Image Repository Logs tab to view the audit logs of image repositories.