huawei-cloud-waf-log-analysis

huawei-cloud-waf-log-analysis is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 128 tokens per session (10,619 once invoked), scanned A, original, MIT.

A read-only analyzer for Huawei Cloud Web Application Firewall logs. A WAF is a service that filters web requests to detect and block attacks before they reach an application.

In plain words
What is it for?
Use it to investigate alerts, group attacks by type, source, location, target, or time, and recommend access-control, rate, IP, or geographic protection rules.
Why use it?
It removes the need to manually sort security events to understand attack sources, targets, trends, and likely responses. It does not change WAF settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to investigate alerts, group attacks by type, source, location, target, or time, and recommend access-control, rate, IP, or geographic protection rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-waf-log-analysis
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-waf-log-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-waf-log-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-waf-log-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.10619
Opus 5.5 $0.00051 $0.04248
Sonnet 5.5 $0.00026 $0.02124
Haiku 4.5 $0.00013 $0.01062

Measured 1mo ago against content hash 120a5a4942e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-waf-log-analysis scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

1. Execute any command that creates, modifies, or deletes WAF resources

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/security/waf-aad/huawei-cloud-waf-log-analysis/SKILL.md · 830 lines

How it starts

The opening of the file, as written. The whole thing — 830 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

⚠️ 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

Read the full file on GitHub · 830 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 830 lines · 128 tokens per session scan A 120a5a4942e7

Subscribe to this mod's changes

huawei-cloud-waf-log-analysis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 10,619 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

Other skills, from other repositories

analyzing-linux-system-artifacts

Examine Linux system artifacts (auth logs, cron/systemd persistence, shell history, SSH keys, and system configuration) to uncover evidence of compromise, detect rootkits or backdoors, and reconstruct user/attacker activity. Use when investigating a compromised Linux server or workstation, hunting for persistence…

mukul975/Anthropic-Cybersecurity-Skills · 79 tokens

implementing-api-gateway-security-controls

Implements security controls at the API gateway layer including authentication enforcement, rate limiting, request validation, IP allowlisting, TLS termination, and threat protection. The engineer configures API gateways (Kong, AWS API Gateway, Azure APIM, Apigee) to act as a centralized security enforcement point…

xalgorix/xalgorix · 106 tokens

securing-api-gateway-with-aws-waf

Securing API Gateway endpoints with AWS WAF by configuring managed rule groups for OWASP Top 10 protection, creating custom rate limiting rules, implementing bot control, setting up IP reputation filtering, and monitoring WAF metrics for security effectiveness.

xalgorix/xalgorix · 59 tokens

analyzing-linux-system-artifacts

Examine Linux system artifacts including auth logs, cron jobs, shell history, and system configuration to uncover evidence of compromise or unauthorized activity.

xalgorix/xalgorix · 35 tokens

implementing-cloud-trail-log-analysis

Implementing AWS CloudTrail log analysis for security monitoring, threat detection, and forensic investigation using Athena, CloudWatch Logs Insights, and SIEM integration to identify unauthorized access, privilege escalation, and suspicious API activity.

xalgorix/xalgorix · 50 tokens

performing-log-analysis-for-forensic-investigation

Collect, parse, and correlate system, application, and security logs to reconstruct events and establish timelines during forensic investigations.

xalgorix/xalgorix · 33 tokens