Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-obs-security-audit

БесплатноЗапускает вложенные скриптыНе проверен

Audit Huawei Cloud OBS bucket security configuration: ACL permissions, Block Public Access (BPA), encryption (SSE-KMS/SSE-OBS/SSE-C), versioning, cross-region…

huaweicloudskillот huaweicloudskill139 установок в других каталогах

Об этом скилле

Huawei Cloud OBS Security Audit Skill

Audit OBS bucket security configuration across 10 dimensions: ACL, BPA, encryption, versioning, replication, HTTPS enforcement, logging, anti-hotlinking, CORS, and object naming patterns. Outputs a security score report with risk items and remediation recommendations.

Overview

This skill performs a comprehensive read-only security audit of an OBS (Object Storage Service) bucket. It checks 10 security configuration dimensions, assigns a weighted score (0–100), and generates a report with risk severity levels and prioritized remediation recommendations.

User Request
  └── Action Router
       ├── Single Check (R3)  → audit one specific security dimension
       └── Full Audit (R3)    → run all 10 checks → security score + risk report

All operations are read-only (R3) — no mutations to bucket configuration or objects.

Capability Matrix

# Action Capability Mode Severity
1 huawei_audit_obs_acl Query bucket ACL permissions (private / public-read / public-read-write) CLI R3 Query
2 huawei_audit_obs_bpa Query Block Public Access (BPA) status CLI R3 Query
3 huawei_audit_obs_encryption Query bucket encryption config (SSE-KMS / SSE-OBS / SSE-C) CLI R3 Query
4 huawei_audit_obs_versioning Query multi-version control status CLI R3 Query
5 huawei_audit_obs_replication Query cross-region replication rules CLI R3 Query
6 huawei_audit_obs_https Query HTTPS enforcement (SecureTransport condition in bucket policy) CLI R3 Query
7 huawei_audit_obs_logging Query bucket logging status CLI R3 Query
8 huawei_audit_obs_referer Query Referer anti-hotlinking configuration CLI R3 Query
9 huawei_audit_obs_cors Query CORS rules CLI R3 Query
10 huawei_audit_obs_naming Check object naming patterns (sequential vs random prefix) CLI R3 Query
11 huawei_audit_obs_full Execute full security audit (all 10 checks) → score report CLI R3 Analysis

Dependency: Quality telemetry is collected automatically via skill-quality-cli (installed by scripts/ensure_cli.sh if absent).

Security Score Model

Audit Item Weight Max Score Scoring Rule
ACL permissions High 15 private=15, public-read=5, public-read-write=0
BPA status High 15 enabled=15, disabled=0
Bucket encryption High 15 SSE-KMS=15, SSE-OBS=12, SSE-C=10, none=0
Versioning Medium 10 enabled=10, disabled/suspended=0
Cross-region replication Medium 10 configured=10, not configured=0
HTTPS enforcement High 15 policy has SecureTransport=true=15, otherwise=0
Bucket logging Medium 10 enabled=10, disabled=0
Anti-hotlinking (Referer) Medium 5 configured=5, not configured=0
CORS rules Low 5 no wildcard *=5, has wildcard=2, no CORS=5 (no cross-domain need)
Object naming pattern Low 10 random prefix=10, partial sequential=5, fully sequential=0

Total: 110 points | Grades: 99–110 Excellent | 77–98 Good | 55–76 Fair | 0–54 High Risk

Prerequisites

Requirement Description
hcloud CLI Installed and authenticated. See references/cli-installation-guide.md
KooCLI version >= 3.2.0 (verify with hcloud version)
obsutil >= 5.5.0 — the hcloud OBS module maps 1:1 to obsutil commands (verify with obsutil version)
obsutil credentials Configured via hcloud obs config (interactive, prompts for AK/SK/endpoint) or obsutil config; or via HUAWEICLOUD_SDK_AK / HUAWEICLOUD_SDK_SK env vars. AK/SK are never hardcoded in this skill or its scripts
IAM permissions Read-only OBS bucket query permissions (least-privilege policy in references/iam-policies.md)
Python 3.8+ Required for scripts/obs_security_auditor.py

Region note: with the obsutil passthrough mode, the region is part of the endpoint (obs.{region}.myhuaweicloud.com), not a --cli-region flag. Choose the endpoint matching the bucket's region (e.g. obs.cn-north-4.myhuaweicloud.com).

  • skill-quality-cli — ensured by bash scripts/ensure_cli.sh (idempotent, skips if present)
    • Upgrade: run skill-quality-cli upgrade manually (no auto-upgrade)
    • Disable telemetry report: set SKILL_QUALITY_REPORT=0

Workflow

Full Security Audit (R3) — read-only, agent may run automatically

1. (optional) skill-quality-cli run --skill-name huawei-cloud-obs-security-audit -- hcloud obs ls -limit=1  → list buckets, pick one
2. python3 scripts/obs_security_auditor.py audit --bucket {bucket}  → run all 10 checks → score + report
3. Present findings: total score, grade, per-item results, risk list, remediation recommendations

Single Dimension Check (R3) — read-only, agent may r

Полный SKILL.md на ClawHub

Установить huawei-cloud-obs-security-audit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-obs-security-audit?

Audit Huawei Cloud OBS bucket security configuration: ACL permissions, Block Public Access (BPA), encryption (SSE-KMS/SSE-OBS/SSE-C), versioning, cross-region replication, HTTPS enforcement (SecureTransport), bucket logging, Referer anti-hotlinking, CORS rules, and object naming patterns. Generates a security score report with risk items and remediation recommendations. Use when the user wants to: perform a security audit on an OBS bucket, check bucket ACL permissions, verify BPA status, review encryption configuration, check versioning and replication, audit HTTPS enforcement, review logging and anti-hotlinking, inspect CORS rules, detect sequential object naming patterns, or generate a comprehensive OBS security assessment report. Triggers include: "OBS安全审计", "OBS安全配置", "桶安全检查", "安全评分", "ACL权限审计", "BPA状态", "桶加密检查", "多版本控制", "跨区域复制", "HTTPS强制传输", "桶日志", "防盗链", "CORS规则", "对象命名", "OBS security audit", "bucket security", "security score", "BPA status", "encryption check", "versioning check", "replication check", "HTTPS enforcement", "bucket logging", "anti-hotlinking", "Referer check", "CORS check", "naming pattern".

Как установить скилл huawei-cloud-obs-security-audit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-obs-security-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-obs-security-audit с