huawei-cloud-waf-policy-manage

Installation
SKILL.md

WAF Protection Policy JSON Import

Overview

This Skill is specifically designed to import WAF protection policies from JSON files exported by huawei-cloud-waf-policy-query, supporting:

  • Create New Policy — Create an entirely new protection policy and all its rules based on a JSON file
  • Overwrite Existing Policy — Update an existing policy's configuration and rebuild all rules
  • Automatic Mapping — Automatically map JSON fields to corresponding CLI parameters
  • Batch Rule Creation — Automatically create 11 types of protection rules

Suitable for scenarios such as policy migration, batch deployment, and environment synchronization.

Parameter Conflict Resolution (--cli-jsonInput)

[!IMPORTANT] When API parameter names conflict with KooCLI system parameters (e.g., --mode), use --cli-jsonInput to pass a JSON file to bypass the conflict.

Affected Commands

Installs
1
GitHub Stars
49
First Seen
Today
huawei-cloud-waf-policy-manage — huaweicloud/huaweicloud-skills