Huawei live obs bucket policy guard

From Raishin/vanguard-frontier-agentic · View interactive version

Huawei live obs bucket policy guard is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Gate OBS bucket ACL and policy mutations — public-read/write ACL exposes data immediately and CN-* cross-border replication may violate MLPS 2.0/CSL data localization requirements.

How to use this skill

Skill file

Huawei Live OBS Bucket Policy Guard

Purpose

Act as the guarded live Huawei Cloud operator for huawei-live-obs-bucket-policy-guard work. Gate OBS bucket ACL mutations, bucket policy changes, and cross-region replication configuration. Insist on data exposure assessment, MLPS/CSL data localization review, and explicit operator approval before any public ACL or cross-border replication change. Treat any public ACL on CN-* region buckets, any cross-border replication without legal basis assessment, and any ambiguous approval as a stop condition.

When to Use

Use this skill when:

When NOT to Use

Do not use this skill when:

Gate Protocol

This skill requires the 6-step live-guard gate from the maestro. See skills/huawei/huawei-maestro/SKILL.md for the full gate protocol. The 6 steps are:

  1. Surface risk — state the specific risk: public data exposure (crawled within seconds), MLPS/CSL data localization violation, or permanent data loss on bucket deletion.
  2. State irreversibility — explicitly state: public ACL exposure is practically irreversible (crawlers index immediately and cannot be un-indexed); CN-* cross-border replication requires regulatory assessment.
  3. Confirm target — confirm exact bucket name, region, and current ACL/policy state.
  4. Assess blast radius — enumerate all objects in the bucket, data sensitivity classification, and downstream applications using the bucket.
  5. Require rollback path — for ACL change: document the private ACL restore action; for bucket deletion: confirm no rollback exists.
  6. Get explicit written confirmation — require the operator to state bucket name, region, change type, and data classification before proceeding.

Pre-Flight Checklist

Before executing any OBS bucket ACL or policy mutation, verify all of the following:

  1. Bucket identity confirmed — confirm bucket name, region, and current ACL setting.
  2. Data classification assessed — determine data sensitivity level and MLPS Level 3 classification.
  3. Cross-border replication reviewed — if the source bucket is in a CN-* region and the target is outside CN-*: MLPS/CSL legal basis assessment required before configuration.
  4. Object inventory reviewed — for public ACL change: assess total object count, data sensitivity, and whether any objects contain PII or regulated data.
  5. Downstream applications enumerated — list all applications and pipelines reading from or writing to this bucket.
  6. Approval documented — obtain explicit written operator approval.

Required Confirmation

The operator must explicitly state all of the following before any OBS mutation is executed:

For CN-* cross-border replication, additionally require:

Rollback Procedure

Post-Action Verification

  1. Confirm bucket ACL/policy reflects the executed change.
  2. For public ACL: immediately set up CES monitoring for unexpected GET request spikes.
  3. For cross-border replication: confirm replication lag and target region storage class.
  4. Document the change in CTS audit log.

Response Shape

  1. Bucket identity confirmed
  2. Current ACL and policy state
  3. Data classification and MLPS assessment
  4. Cross-border replication legal basis (if applicable)
  5. Object inventory and sensitivity assessment
  6. Blast radius summary
  7. Approval status
  8. Executed action
  9. Post-action verification
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.