Command Palette

Search for a command to run...

Назад к скиллам
скилл № 58908

alibabacloud-cloud-firewall-acl-manager

Alibaba Cloud Cloud Firewall ACL policy management tool centered on backup/restore/management. Backs up and restores ACL policies (Internet boundary, NAT…

БесплатноЗапускает вложенные скрипты
sdk-teamот sdk-team464 установки в других каталогах

Установить alibabacloud-cloud-firewall-acl-manager в Claude Code и Claude Desktop

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

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

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

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

Alibaba Cloud Cloud Firewall ACL Policy Manager

Manages Alibaba Cloud Firewall ACL policies and their supporting configurations (address books, sync nodes): full backup, restore by type, differential restore; plus ACL export and analysis (hit analysis, duplicate/shadow detection, compliance audit) and single-point changes (add, enable/disable).

Capability boundary: this skill does NOT provide deletion or cleanup of ACL policies or address books. Perform those operations manually in the Cloud Firewall console.

Operation Routing

User intent Command
List all backup/restore options python scripts/backup.py --list
Backup all configurations python scripts/backup.py --types 1
Restore specific types python scripts/backup.py --types <options>
Restore only missing items (same-account) python scripts/backup.py --types <options> --mode diff --yes
Hit analysis / zero-hit detection python scripts/acl_manager.py hit
Duplicate rule detection python scripts/acl_manager.py dup
Shadow rule detection python scripts/acl_manager.py shadow
Compliance audit (high-risk allow patterns) python scripts/acl_manager.py audit
Add a single policy python scripts/acl_manager.py add ...
Enable/disable a single policy python scripts/acl_manager.py switch ...

User Notice (must present before the first run)

1. Supported address book types

Category Type Notes
IP address book Custom IP User-defined IPv4/IPv6 address books
IP address book Cloud asset IP Cloud asset, ACK, ECS tag types
IP address book Cloud service IP Cloud service type address books
Domain address book Custom domain User-defined domain address books
Domain address book Cloud service domain Built-in type, no backup needed
Port book Port book User-defined port address books
Sync node ACK cluster ACK cluster connectors
Sync node Private DNS Private DNS endpoints (Custom maps to self-built DNS)

2. Supported ACL policy types

  • Internet firewall ACL policies
  • NAT firewall ACL policies
  • VPC firewall ACL policies

3. Types NOT supported for backup

Application control templates and web filtering templates are NOT supported. If configured, back them up and restore them manually.

4. Restore order requirement (important)

Because configurations reference each other, restore in this order:

Step 1: Manually restore application control and web filtering templates (if enabled)
    |
Step 2: Restore sync nodes (ACK cluster + private DNS)  -> options 2, 3
    |
Step 3: Restore other address books  -> options 4, 5, 6, 7
    |
Step 4: Restore ACL policies  -> options 8, 9, 10

Violating the order may cause restore failures (for example, an ACL policy referencing an address book that has not been restored yet).

5. Special notes

  • Address books do not allow duplicate names. A name conflict reports "already exists" and the row is skipped.
  • ACL policies allow duplicate names. Restore only appends; existing policies are never modified. All restored policies are inserted at the end of the list, so check the final policy order after restore.

Prerequisites and Credentials

Credentials are resolved through the Alibaba Cloud Credentials SDK default provider chain (alibabacloud_credentials with no explicit configuration). The scripts never parse credential files and never accept or read explicit AccessKey pairs. Configure credentials once with aliyun configure or a standard credentials file, and the SDK picks them up automatically.

Credential confidentiality (mandatory). Never print, cat, or otherwise dump the contents of credential files (~/.aliyun/config.json, ~/.alibabacloud/credentials) or credential-related environment variables, and never echo AccessKey ID, AccessKey Secret, or STS token values in any form - including truncated prefixes - in commands or responses. When troubleshooting authentication errors, report only the API error message and the credential mode in use (for example "StsToken profile resolved"), and ask the user to re-run aliyun configure if credentials are missing.

Dependencies (pinned versions, validated end-to-end):

pip install -r scripts/requirements.txt

Required RAM permissions: see references/ram-policies.md.

Backup and Restore (backup.py)

Step 1: list available options

python scripts/backup.py --list

Step 2: present the menu to the user

[Backup]
  Option 1: backup all configurations (address books + ACL policies)

[Restore - address books]
  Option 2: sync node - ACK cluster
  Option 3: sync node - private DNS
  Option 4: custom IP
  Option 5: cloud asset IP
  Option 6: custom domain
  Option 7: port
[Restore - ACL policies]
  Option 8: Internet boundary
  Option 9: NAT boundary
  Option 10: VPC boundary
[Restore - a
Полный SKILL.md на ClawHub

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

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

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

FAQ

Что делает скилл alibabacloud-cloud-firewall-acl-manager?

Alibaba Cloud Cloud Firewall ACL policy management tool centered on backup/restore/management. Backs up and restores ACL policies (Internet boundary, NAT boundary, VPC boundary) together with their supporting configurations (address books - custom IP, cloud asset IP, custom domain, port; sync nodes - ACK cluster, private DNS), with differential restore (only fills items missing online). Also provides ACL policy export and statistical analysis (hit analysis, duplicate rule detection, shadow rule detection, compliance audit) and single-point changes (add policy, enable/disable). 以备份/恢复/管理为核心的阿里云云防火墙ACL策略管理工具。 支持备份和恢复ACL策略(互联网边界、NAT边界、VPC边界)及其配套配置 (地址簿:自定义IP、云资产IP、自定义域名、端口,同步节点:ACK集群、私有DNS), 支持差异恢复(只补线上缺失项);还提供ACL策略的导出与统计分析(命中分析、 重复规则检测、影子规则检测、合规巡检)与单点变更(新增策略、启用/禁用)。 当用户提到云防火墙备份、云防火墙恢复、地址簿备份、ACL策略备份、防火墙配置 导出导入、ACL策略导出、策略命中分析、重复/影子策略检测、新增ACL策略、启用 禁用策略时使用此技能。不提供策略删除/清理,需用户在控制台手动操作;不做规则 不生效的故障诊断。

Как установить скилл alibabacloud-cloud-firewall-acl-manager?

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

Скилл alibabacloud-cloud-firewall-acl-manager запускает скрипты?

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

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

Сравнить alibabacloud-cloud-firewall-acl-manager с