Fmc Firewall Ops 标志

Fmc Firewall Ops

社区
automateyournetwork
fmc-firewall-ops

Cisco Secure Firewall FMC——访问策略搜索、规则检查、FTD 设备定向、多 FMC 配置文件管理。适用于按 IP 或 FQDN 搜索防火墙规则、检查主机 A 是否可以经由防火墙访问主机 B、审计 FMC 访问策略,或审查基于 SGT 的分段规则。

概览

发布者automateyournetwork
代码仓库netclaw
技能名称fmc-firewall-ops
星标数
680
复刻数
189
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 automateyournetwork 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Fmc Firewall Ops AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/fmc-firewall-ops
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/fmc-firewall-ops .claude/skills/fmc-firewall-ops
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Fmc Firewall Ops,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Fmc Firewall Ops。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Fmc Firewall Ops 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Cisco FMC Firewall Operations

MCP Server

  • Repository: CiscoDevNet/CiscoFMC-MCP-server-community
  • Transport: HTTP (http://<host>:8000/mcp) — requires HTTPS reverse proxy for production
  • Install: git clone + pip install -r requirements.txt + python -m sfw_mcp_fmc.server (or Docker)
  • Requires: FMC_BASE_URL, FMC_USERNAME, FMC_PASSWORD

Available Tools (4)

ToolWhat It Does
list_fmc_profilesDiscover all configured FMC instances (single or multi-FMC mode). Returns profile IDs, display names, and aliases. Use this first to select which FMC to query.
find_rules_by_ip_or_fqdnSearch rules within a specific access policy by IP address or FQDN. Matches source/destination network objects against the given indicator.
find_rules_for_targetResolve FTD devices or HA clusters to their assigned access policies, then search those policies. Use when you know the firewall device name but not the policy name.
search_access_rulesFMC-wide rule search with multiple filter types: network indicators (IP, FQDN), identity indicators (SGT tags, realm users/groups), and policy name filters. The most powerful search tool.

Key Concepts

ConceptWhat It Means
FMCFirepower Management Center — centralized management for Cisco Secure Firewalls (FTD)
FTDFirepower Threat Defense — the firewall appliance/virtual managed by FMC
Access PolicyCollection of access rules (ACLs) applied to FTD devices — permit/deny by source/dest/port/app
Access RuleIndividual rule within a policy — source zones, dest zones, source/dest networks, ports, action (allow/block/monitor)
SGTSecurity Group Tag — TrustSec identity-based tag for micro-segmentation
HA ClusterHigh Availability pair of FTD devices sharing the same policy
ProfileFMC connection configuration (URL, credentials) — supports multi-FMC environments

Workflow: Firewall Rule Audit

When a user asks "what firewall rules exist for 10.1.1.0/24?":

  1. Discover FMCs: list_fmc_profiles — identify which FMCs manage this network
  2. Search rules: search_access_rules with network indicator 10.1.1.0/24
  3. For each match: Extract rule name, action (allow/block), source/dest zones, source/dest networks, ports, logging settings
  4. Cross-reference: Check if rules are overly permissive (any/any), redundant, or shadowed
  5. Report: Formatted rule table with security assessment

Workflow: "Can Host A Reach Host B?"

When investigating connectivity through the firewall:

  1. Identify FTD: Which firewall sits between source and destination?
  2. Resolve policy: find_rules_for_target with the FTD device name
  3. Search source IP: find_rules_by_ip_or_fqdn for the source IP in the resolved policy
  4. Search dest IP: Same for destination IP
  5. Analyze: Do the matching rules permit the required port/protocol?
  6. Report: "Traffic from 10.1.1.50 to 10.2.1.100:443 is ALLOWED by rule 'Web-Servers-Inbound' (line 47)" or "BLOCKED by implicit deny"

Workflow: Security Group Tag (SGT) Policy Review

When auditing TrustSec/SGT-based policies:

  1. Search by SGT: search_access_rules with identity indicator for a specific SGT value
  2. List matching rules: Which rules reference this SGT in source or destination?
  3. Check actions: Are SGT-based rules enforcing proper segmentation?
  4. Cross-reference: Use ise-posture-audit to verify SGT assignment policies in ISE
  5. Report: SGT policy coverage analysis

Workflow: Multi-FMC Environment Audit

When managing multiple FMC instances:

  1. List all FMCs: list_fmc_profiles — see all managed FMC instances
  2. For each FMC: search_access_rules with common indicators
  3. Compare policies: Are policies consistent across FMCs?
  4. Identify drift: Rules present in one FMC but not another
  5. Report: Cross-FMC policy consistency analysis

Integration with Other Skills

SkillHow They Work Together
pyats-securityFMC rule audit + device-level ACL verification via pyATS
ise-posture-auditFMC SGT rules + ISE SGT assignment and TrustSec matrix
ise-incident-responseFMC rules for quarantine verification + ISE endpoint investigation
aws-security-auditCross-platform security: FMC on-prem + AWS cloud security posture
gcp-cloud-loggingFMC firewall logs vs GCP firewall logs for hybrid environments
nso-device-opsFMC policies + NSO device config for end-to-end policy view
servicenow-change-workflowServiceNow CR gating before any FMC policy modifications
github-opsCommit FMC rule snapshots to Git for config-as-code tracking

Multi-FMC Configuration

Single FMC mode (set in .env):

FMC_BASE_URL=https://fmc.example.com
FMC_USERNAME=api-user
FMC_PASSWORD=changeme
FMC_VERIFY_SSL=false

Multi-FMC mode (profile directory):

profiles/
  dc-east.env    # FMC for DC East
  dc-west.env    # FMC for DC West
  dmz.env        # FMC for DMZ firewalls

Each profile .env contains:

FMC_PROFILE_ID=dc-east
FMC_PROFILE_DISPLAY_NAME=DC East FMC
FMC_PROFILE_ALIASES=10.1.1.10,fmc-east
FMC_BASE_URL=https://fmc-east.example.com
FMC_USERNAME=api-user
FMC_PASSWORD=changeme
FMC_VERIFY_SSL=false

Important Rules

  • Read-only — all 4 tools are search/query operations; no rule modifications
  • HTTP transport — server runs on port 8000, front with HTTPS proxy for production
  • Multi-FMC — always call list_fmc_profiles first to select the right FMC instance
  • FMC API rate limits — FMC REST API has per-user rate limits; avoid rapid-fire queries
  • Record in GAIT — log all firewall policy investigations for audit trail

Environment Variables

  • FMC_BASE_URL — FMC URL (e.g., https://fmc.example.com)
  • FMC_USERNAME — FMC API username
  • FMC_PASSWORD — FMC API password
  • FMC_VERIFY_SSL — SSL verification (true/false)
  • FMC_PROFILES_DIR — path to multi-FMC profiles directory (optional)
  • FMC_PROFILE_DEFAULT — default profile name (optional)

Failure Behavior

  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • For a confirmed read-only call, check connectivity and retry once if appropriate. For any call that changes state or sends a message, a timeout does not prove the action failed: inspect current state or delivery status before retrying, preserve the required approval/change gates, and do not repeat an action whose outcome is unknown.

常见问题

Fmc Firewall Ops AI 技能有什么作用?

Cisco Secure Firewall FMC——访问策略搜索、规则检查、FTD 设备定向、多 FMC 配置文件管理。适用于按 IP 或 FQDN 搜索防火墙规则、检查主机 A 是否可以经由防火墙访问主机 B、审计 FMC 访问策略,或审查基于 SGT 的分段规则。

为什么在 TypingMind 中使用 Fmc Firewall Ops?

因为您只需安装一次,就能搭配任何模型使用。Fmc Firewall Ops 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Fmc Firewall Ops?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/fmc-firewall-ops。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Fmc Firewall Ops?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Fmc Firewall Ops 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Fmc Firewall Ops 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Fmc Firewall Ops AI 技能免费吗?

是的。automateyournetwork 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇