Command Palette

Search for a command to run...

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

vmware-policy

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

Unified audit logging, policy enforcement, and input sanitization for the entire VMware MCP skill family. Use when querying audit logs, managing policy rules…

zw008от zw0083 985 установок в других каталогах

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

VMware Policy

Self-test: guide.

Disclaimer: This is a community-maintained open-source project and is not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc. "VMware" and "vSphere" are trademarks of Broadcom. Source code is publicly auditable at github.com/vmware-skills/VMware-Policy under the MIT license.

Unified audit logging, policy enforcement, and input sanitization -- the infrastructure layer for the entire VMware MCP skill family.

Infrastructure dependency: Every other package in the VMware skill family depends on vmware-policy. It is auto-installed and provides the @vmware_tool decorator, sanitize(), and the shared audit database. Family: vmware-aiops (VM lifecycle), vmware-monitor (read-only monitoring), vmware-storage (iSCSI/vSAN), vmware-vks (Tanzu Kubernetes), vmware-nsx (NSX networking), vmware-nsx-security (DFW/firewall), vmware-aria (metrics/alerts/capacity), vmware-avi (AVI/ALB/AKO). | vmware-pilot (workflow orchestration)

What This Skill Does

Category Components Count
Audit Logging AuditEngine (SQLite WAL), log rotation, agent detection 3
Policy Engine deny rules, maintenance windows, hot-reload 3
Sanitization sanitize() -- prompt injection defense, control char stripping 1
Decorator @vmware_tool -- pre-check + execute + post-log + metadata 1
CLI vmware-audit log, export, stats, policy, undo-list, undo-show 6

Quick Install

uv tool install vmware-policy==1.26.0
vmware-audit stats          # verify installation

vmware-policy is automatically installed as a dependency of all VMware skills. Manual install is only needed for standalone audit querying.

When to Use This Skill

  • Query the unified audit trail across all VMware skills
  • View denied operations and policy violations
  • Check audit statistics (by skill, by status, by time range)
  • Export audit logs as JSON for external analysis
  • Configure deny rules or maintenance windows
  • Integrate the @vmware_tool decorator into a new VMware skill

This skill is auto-loaded as a dependency -- you do not need to invoke it directly. It activates when:

  • Any VMware skill tool function is called (via @vmware_tool decorator)
  • User asks about audit logs, denied operations, or policy rules
  • User runs vmware-audit CLI commands

Related Skills -- Skill Routing

User Intent Recommended Skill
VM lifecycle, deployment, guest ops vmware-aiops (uv tool install vmware-aiops)
Read-only monitoring, zero risk vmware-monitor (uv tool install vmware-monitor)
Storage: iSCSI, vSAN, datastores vmware-storage (uv tool install vmware-storage)
Tanzu Kubernetes (vSphere 8.x+) vmware-vks (uv tool install vmware-vks)
NSX networking: segments, gateways, NAT vmware-nsx (uv tool install vmware-nsx-mgmt)
NSX security: DFW rules, security groups vmware-nsx-security (uv tool install vmware-nsx-security)
Aria Ops: metrics, alerts, capacity vmware-aria (uv tool install vmware-aria)
Load balancer, AVI, ALB, AKO, Ingress vmware-avi (uv tool install vmware-avi)
Multi-step workflows with approval vmware-pilot
Audit log query, policy rules vmware-policy -- this skill

Common Workflows

Query Recent Audit Activity

  1. View last 20 audit entries: vmware-audit log --last 20
  2. Filter by skill: vmware-audit log --skill nsx --last 50 (the skill column holds the short name: nsx, aiops, nsx_security, ...)
  3. Check denied operations: vmware-audit log --status denied --since 2026-03-28
  4. View aggregate stats: vmware-audit stats --days 7

Set Up Policy Rules for Production

  1. Copy default rules: cp $(python -c "import vmware_policy; print(vmware_policy.__file__.replace('__init__.py','rules_default.yaml'))") ~/.vmware/rules.yaml (the shipped baseline denies nothing -- every rule in it is commented out)
  2. Edit ~/.vmware/rules.yaml -- add deny rules for production:
    deny:
      - name: no-delete-in-prod
        operations: ["delete_*", "remove_cluster_host"]
        environments: ["production"]
        reason: "Destructive operations blocked in production"
    maintenance_window:
      start: "22:00"
      end: "06:00"
    
  3. Rules hot-reload aut
Полный SKILL.md на ClawHub

Установить vmware-policy в Claude Code и Claude Desktop

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

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

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

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

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

Bash

FAQ

Что делает скилл vmware-policy?

Unified audit logging, policy enforcement, and input sanitization for the entire VMware MCP skill family. Use when querying audit logs, managing policy rules, or when any VMware skill needs audit/policy infrastructure. Provides the @vmware_tool decorator that most skills in the family wrap their MCP tools in. Use when user asks to "show audit log", "check denied operations", "view policy rules", "audit stats", or "query audit trail". For VM lifecycle use vmware-aiops, for monitoring use vmware-monitor, for networking use vmware-nsx, for load balancing use vmware-avi.

Как установить скилл vmware-policy?

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

Скилл vmware-policy запускает скрипты?

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

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

Сравнить vmware-policy с