# Firewall Policy Review

> Review firewall security policy on PAN-OS, FortiOS, and ASA for shadow rules, any-any, and missing log-end. Use when a rule is changing or a quarterly hygiene pass is due.

- Skill: `gesh75/firewall-policy-review` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gesh75/firewall-policy-review`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gesh75/firewall-policy-review/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- License: MIT
- Author: gesh75 (https://skillmd.com/u/gesh75)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/gesh75/firewall-policy-review

---


# Firewall policy review

Do not use for IPS signature tuning or endpoint EDR. Not for SASE SWG categories.

## Procedure

1. Export the rulebase. Hit-count sort. Unused 90-day rules are candidates, not automatic deletes.
2. Flag any-any, any-app, and service-any above a named rule. Shadow detection before inserts.
3. Require log-end and a named owner tag on every allow.
4. App-ID / application overrides: document the exception and an expiry.
5. Verify with a packet that should hit the new rule and a packet that must still hit the old one.

```text
rule 142  src any  dst any  app any  action allow   SHADOWED by 87
rule 210  src 10.8.0.0/16  dst payments  app ssl  action allow  no-log
```

## Anti-patterns

- Never insert at the top "just to test".
- Do not disable a rule without a hit-count export attached to the ticket.

## Safety

Reviews are read-only. Commits are change-guarded and twin-tested on a lab vsys where possible.

