Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Resource Governance Center/ User Guide/ Drift Detection and Repair

Drift Detection and Repair

Updated on 2025-02-27 GMT+08:00

About Drift

When you set up a landing zone, all the accounts, OUs, and resources will be compliant with the rules enforced by the governance policies applied. When you and your organization members use the landing zone, you can access the organization and manage SCPs via either RGC or Organizations. Operations performed on the two portals may result in changes to the compliance status of resources governed in the landing zone. If the resources do not comply with the governance policies, the following types of drift will occur:

  • SCPs

    The SCPs configured for each OU in RGC are inconsistent with those configured in Organizations, or they are absent from Organizations.

  • Organizational structure

    The OUs and accounts governed in RGC are different from those in Organizations.

When any of these inconsistencies arises, the current landing zone becomes non-compliant, which may result in unexpected consequences.

In such cases, RGC allows you to trigger periodic drift detection for accounts, OUs, and SCPs, and receive alerts when drift is detected. If any drift is identified, you can eliminate it by updating the landing zone or repairing the drift.

When the core OU or core accounts are in a drifted state, you are not allowed to create accounts in RGC.

Detecting Drift

RGC detects drift automatically. To detect drift, the RGCServiceExecutionAgency agency requires persistent access to your management account so that RGC can make read-only API calls to Organizations. These API calls will be recorded in CTS traces.

Drift messages are aggregated by Simple Message Notification (SMN). The management account can subscribe to SMN notifications. For details, see Publishing a JSON Message Using SMN. This way, you can receive drift notifications and repair drift in a timely manner. In RGC, you can detect the following types of governance drift:

  • Organizational structure drift
    • SCPs have been updated.
    • SCPs have been deleted.
    • SCPs have been attached to OUs.
    • SCPs have been attached to accounts.
    • SCPs have been detached from OUs.
    • SCPs have been detached from accounts.
  • Account drift
    • Accounts have been moved to another OU.
    • Accounts have been closed.
    • Accounts have been removed from an organization.
NOTE:
  • If the same type of drift occurs on the same group of resources multiple times, RGC will only send an SMN notification for the first resource that drifts.
  • If drift for a resource has been repaired, RGC will only send another SMN notification if drift recurs for that resource.

Examples:

  • If you modify an SCP multiple times, you will receive an SMN notification for the first time you modify it.
  • If you modify an SCP, then repair drift, then modify it again, and then the drift recurs, you will receive two SMN notifications.

Types of Drift to Repair Right Away

You can ensure your landing zone is compliant by updating settings or repairing drift. Although drift detection is automatic, the steps to repair drift must be done on the RGC console.

Most types of drift can be repaired by administrators. A few types of drift must be repaired immediately, including deletion of an OU required by the RGC landing zone. The following are some examples of how to avoid drift that requires immediate repair:

  • Do not delete the core OU. The core OU originally named "Security" during landing zone setup should not be deleted. If you delete it, there will be drift. You will see an error message on the RGC console, instructing you to update or repair your landing zone immediately. You will not be able to perform any other operations in RGC until the update or repair is complete.
  • Do not delete core accounts. If you delete a core account from a core OU, for example, deleting the log archive account from the core OU, your landing zone will be in a drifted state. You must update or repair the landing zone before you can continue using the RGC console.

Repairing Drift

If there is drift, you will see an error message on the RGC console, instructing you to update or repair your landing zone immediately. You only need to repair drift by clicking update the landing zone, repair the landing zone, or re-register the new OU as instructed.

If you have performed as instructed but drift persists, you can submit a service ticket for technical support.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback