← Back to blog
Xinchuang 4 min read 炬鲸团队

Guomi Adaptation and Security Compliance for Domestic Observability Stacks

A domestic observability stack handles sensitive data, so Guomi migration and classified-protection audits are unavoidable. This covers SM2/SM3/SM4 replacement, audit requirements, tamper-proof logging, and a go-live checklist.

Guomi Adaptation and Security Compliance for Domestic Observability Stacks

At a certain point in any localization effort, the question shifts from "will it run" to "is it compliant once it runs." An observability platform handles sensitive data—logs, metrics, traces—and those often contain account numbers, card numbers, and transaction records. Guomi (domestic cryptographic) migration and classified-protection (Dengbao) audits are therefore unavoidable. This piece covers how JuJing OBSERVE handles cryptographic migration, Dengbao 2.0 requirements, and audit trails, plus the acceptance points to pass before go-live.

Guomi algorithms: completing the SM2/SM3/SM4 swap

The core of Guomi migration is replacing international algorithms with domestic ones. Three typical scenarios:

  • Transport encryption: swap HTTPS certificates for SM2 certificates and run the TLS handshake over the Guomi suite (GMTLS).
  • Storage encryption: encrypt sensitive configuration and keys at rest with SM4, with the keys themselves held in an HSM or KMS.
  • Integrity: use SM3 instead of MD5/SHA for log digests and interface signatures.

Two pitfalls stand out. First, many third-party SDKs do not support Guomi by default, so you must swap in a cryptographic library that does. Second, the certificate chain must be complete and verifiable by clients. A clean approach is to terminate Guomi at the ingress gateway so business services stay unaware of the change. Keys must rotate on a schedule, and rotation must not break decryption of already-stored logs—design that into the migration plan up front. A phased rollout keeps the risk low: migrate the transport layer first, then storage, then integrity checks.

Two concrete Guomi scenarios

Take the gateway first: enabling GMTLS requires a Guomi certificate and the matching Guomi-patched OpenSSL, with the cipher suite specified in config. Clients either switch to a Guomi-capable browser (a domestic browser or a Guomi plugin) or adapt at the SDK layer in both directions. The second scenario is log-at-rest encryption: use SM4 for field-level encryption between the collector and the store, encrypting only sensitive fields (card numbers, phone numbers) rather than whole log lines. That way query performance and compliance are both satisfied.

Dengbao 2.0: the audit items an observability platform must pass

In a Dengbao assessment, an observability platform usually serves as the "security management center" and "centralized monitoring" carrier. The key items include:

  • Identification: mandatory two-factor login, password complexity and rotation rules.
  • Access control: fine-grained per-tenant, per-role permissions, with tiered visibility for sensitive logs.
  • Security auditing: every operation is recorded, and audit logs cannot be deleted by a normal administrator.
  • Data integrity: logs are tamper-evident, with checksum or signature verification.

"Audit logs cannot be deleted" is the item most teams lose points on. The platform must store audit logs separately from business logs, with independent permissions. A Dengbao assessment runs through five stages—classification, filing, remediation, assessment, and supervision—and an observability platform is mainly involved in remediation and assessment. Bring the assessment body in at the design stage, confirm the items, and write the hard requirements such as "audit logs are non-deletable" and "two-factor login" into the requirements document, rather than reworking after the fact.

Audit trails: recording who did what, when

Operations on the platform itself also need an audit trail: who changed an alert rule, who exported logs, who removed a data source. An audit record should carry at minimum the operator, timestamp, target object, before/after values, and source IP. JuJing writes audit events to a separate append-only store, so ordinary accounts cannot even see a delete entry point. Append-only storage paired with SM3 timestamp signing means any tampering with an audit record can be detected, satisfying the integrity requirement.

Go-live acceptance checklist

Before launching in a domestic environment, walk through this list:

  1. Cipher suites switched to Guomi, certificate chain complete and verifiable.
  2. Log and configuration storage encrypted, keys held in an HSM or KMS.
  3. Permissions assigned on least-privilege, sensitive fields redacted.
  4. Audit logs stored separately, non-deletable, with full operation trail.
  5. Every Dengbao item self-tested, remediation items closed out.

Guomi and Dengbao are not a last-minute scramble before launch—they run through platform selection and deployment from day one. Ask about these three things up front when choosing a vendor and you will save yourself a large amount of rework later.