Command Palette

Search for a command to run...

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

huawei-cloud-waf-log-analysis

БесплатноБез исполняемых скриптовНе проверен

Analyze Huawei Cloud WAF security event logs to identify attack patterns, top sources, targeted assets, and provide actionable protection rule…

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

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

Huawei Cloud WAF Security Event Log Analysis

Overview

This skill provides read-only analysis of Huawei Cloud WAF (Web Application Firewall) security event logs. It queries attack event data through hcloud CLI, performs multi-dimensional aggregation and analysis, and generates actionable protection rule recommendations based on observed attack patterns.

Key Capabilities:

  • Query and filter security events by attack type, source IP, target domain/URL, time range, and geography
  • Aggregate statistics by attack category, source IP frequency, geographic distribution, and time trends
  • Recommend specific WAF protection rules (precise access control, CC protection, IP blacklist/whitelist, geo-blocking) based on analyzed attack characteristics

Applicable Scenarios:

  • Daily security patrol and attack posture review
  • Incident response after receiving WAF alerts
  • Periodic security reports (weekly/monthly attack trends)
  • Anomaly investigation when suspicious activity is detected
  • Protection hardening decisions after attack events

Out of Scope

This skill analyzes Huawei Cloud WAF security event logs only. The following requests are out of scope and the agent must clearly tell the user AND point them to the right place instead of attempting them:

Out-of-scope request Correct channel
Querying other cloud resources (ECS, VPC, OBS, RDS, etc.) Corresponding service console / dedicated skill (e.g., huawei-cloud-ecs-list, huawei-cloud-obs-list)
WAF configuration changes, rule creation/modification/deletion This skill is READ-ONLY — output the ready-to-run hcloud command and let the user execute it
Non-Huawei Cloud web application firewall / security log analysis Unsupported by this skill

If the user's request falls outside WAF security-event-log analysis, state explicitly that it is not in scope, explain why, and direct them to the correct tool or console.

⚠️ Read-Only Principle — STRICTLY ENFORCED

This skill is a READ-ONLY analysis skill. The agent must follow these rules without exception:

Action Allowed? Explanation
Query events (ListEvent, ShowEvent) ✅ YES Read-only data retrieval
Query policies/hosts (ListPolicy, ShowPolicy, ListHost) ✅ YES Read-only data retrieval
Aggregate and analyze event data ✅ YES Core analysis work
Output recommended hcloud commands ✅ YES Provide copy-paste ready commands for the user
Execute Create* / Update* / Delete* commands ❌ NEVER These modify production resources; the user decides when and whether to run them
Auto-execute any write operation based on analysis findings ❌ NEVER Even if the recommendation seems obvious, do NOT run it

What the agent MUST do:

  1. Perform read-only queries and analysis
  2. Generate a structured report with prioritized recommendations
  3. For each recommendation, output the exact, copy-paste ready hcloud command that the user can execute themselves
  4. Clearly label each command with its purpose and expected effect

What the agent MUST NOT do:

  1. Execute any command that creates, modifies, or deletes WAF resources
  2. Ask the user "should I execute this for you?" — just present the command and let the user decide
  3. Proceed to execute recommendations after presenting them — stop after the report is delivered

Prerequisites

Requirement Description
hcloud CLI v7.2+ installed and configured with AK/SK, region, and project ID
Project ID Valid project ID (configured via hcloud configure set --cli-project-id=<id>)
IAM Permissions See references/iam-policies.md for least-privilege policy
Network Accessible network path to Huawei Cloud API endpoints

⚠️ Windows PowerShell Compatibility — STRICTLY ENFORCED

This skill runs on Windows PowerShell. The agent MUST NOT use Linux/Unix shell commands. Use PowerShell-native equivalents at all times.

❌ Linux command (NEVER use) ✅ PowerShell equivalent Example
head -N Select-Object -First N ... | Select-Object -First 30
tail -N Select-Object -Last N ... | Select-Object -Last 30
grep "pattern" Select-String "pattern" ... | Select-String "error"
wc -l (... ).Count or (Measure-Object -Line).Lines $items.Count
sort Sort-Object ... | Sort-Object Count -Descending
uniq Get-Unique or Group-Object ... | Group-Object
awk '{print $1}' ForEach-Object { $_.field } $items | ForEach-Object { $_.sip }
cut -d: -f1 Split-Path, -split, or Substring ($_ -split ':')[0]
sed 's/a/b/' -replace operator 'text' -replace 'a','b'
cat file Get-Content file Get-Content "$env:TEMP\data.json" -Raw
`echo "text"
Полный SKILL.md на ClawHub

Установить huawei-cloud-waf-log-analysis в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл huawei-cloud-waf-log-analysis?

Analyze Huawei Cloud WAF security event logs to identify attack patterns, top sources, targeted assets, and provide actionable protection rule recommendations. Use when the user asks about recent attacks, WAF alert investigation, security posture review, attack trend analysis, or needs guidance on configuring protection rules based on observed threats. Triggers include "analyze WAF logs", "WAF attack analysis", "security event report", "what attacks happened", "WAF alert investigation", "recommend protection rules", "attack source analysis", "WAF安全日志分析", "攻击事件分析", "防护规则推荐".

Как установить скилл huawei-cloud-waf-log-analysis?

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

Скилл huawei-cloud-waf-log-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить huawei-cloud-waf-log-analysis с