Not loaded · from zscaler
Creates ZIA Cloud Firewall Filtering rules with source/destination IP, country, network app, device trust, user/group, location, and optional time schedule. For network traffic control and firewall rule creation.
Claude Code won't load this skill
It ships in zscaler at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
zia_list_* lookup returns no match for an exact-name search, treat the resource as "does not exist." Do not retry with split keywords or unfiltered listings.zia_create_* and zia_get_* are visible for a resource, the matching zia_list_* exists too.zia_activate_configuration() and tell the admin the change is now live.This skill creates one Cloud Firewall Filtering rule per invocation. Anything outside that scope is a hard stop:
zia-create-ssl-inspection-rule for SSL Inspection).cloud_firewall_dns_rules, cloud_firewall_ips_rules) — not what this skill creates.Stop and report plainly when:
zia_list_* tool; if empty, say so and stop. Do not skip the field, do not invent IDs.start_time, end_time, and days_of_week, then chain to zia-manage-time-interval.ALLOW, BLOCK_DROP, BLOCK_RESET, BLOCK_ICMP, EVAL_NWAPP. Plain BLOCK is not a valid value — pick one of the three block variants based on the desired client-visible behaviour. SSL-inspection-style actions (DO_NOT_DECRYPT, DO_NOT_INSPECT, INSPECT, BYPASS) belong to other rule types and are a hard stop here.US, CA, BR, etc.). Resolve common phrasings to the canonical code; if ambiguous, ask once.rank is outside the inclusive range 0..7. ZIA's Cloud Firewall rank is a 0-7 integer; the tool will reject any other value before the API call. See admin rank documentation.Never improvise around a missing dependency — hand off or stop.
| Action | Effect on matched traffic | Common reasons to choose this |
|---|---|---|
ALLOW | Permit the traffic. Other downstream policies (URL filtering, DLP, SSL inspection, etc.) may still apply. | Explicit allowlist for known-good destinations or services. |
BLOCK_DROP | Silently drop the packet. The client gets no signal — the connection just times out. | Quietly block disallowed traffic without revealing that a firewall is in the path; reduces information leakage to attackers. |
BLOCK_RESET | Drop the packet and send a TCP RST back to the source. The client's connection fails immediately with a reset. | Fast-fail block for end-user-facing traffic where a quick error is preferable to a hung connection. TCP only. |
BLOCK_ICMP | Drop the packet and return an ICMP unreachable to the source. | Make the block visible at the network layer — useful for traceroutes and diagnostic tooling, or where applications expect a network-level error. Works for non-TCP protocols too. |
EVAL_NWAPP | Defer the action: evaluate the connection against the Network Application rules instead of taking a final action here. | Use when the rule should hand off to nw_applications / nw_application_groups based filtering downstream. Pair this action with rules that have a populated network-application scope. |
Picking between the three BLOCK variants:
BLOCK does not exist on this API. Always pick the variant that matches the desired client-visible behaviour.BLOCK_DROP unless the admin specifically wants the client to see a fast failure (BLOCK_RESET) or a network-level error (BLOCK_ICMP).BLOCK_RESET is TCP-only by definition (RST is a TCP flag). For UDP/ICMP, use BLOCK_DROP or BLOCK_ICMP.Required:
ALLOW, BLOCK_DROP, BLOCK_RESET, BLOCK_ICMP, EVAL_NWAPP (see the action table above for which variant to pick)order — 1-based position in the evaluation sequence. ZIA's Cloud Firewall API rejects create payloads without order. Pick the position deliberately based on the desired rule ordering (e.g. ALLOW above BLOCK when both target overlapping traffic). The tool defaults to 1 (top) when omitted, but the agent should set it explicitly whenever creating more than one rule in a session.rank — admin rank, integer in the inclusive range 0..7. ZIA's Cloud Firewall API rejects create payloads without rank. The tool defaults to 7 (highest) when omitted; this matches ZIA's documented default. See admin rank documentation for what each level controls.At least one matching criterion (otherwise the rule is too broad to be useful):
Optional:
enable_full_logging, exclude_src_countriesShared rule targets — delegate to zia-look-up-rule-targets. For every user, group, department, location, location group, device, device group, workload group, label, or time interval the admin named, follow zia-look-up-rule-targets to get the IDs. Stop and report if any lookup is empty — never invent IDs, never substitute, never narrate the lookup. (Cloud Firewall accepts every shared rule-target field listed in that skill.)
Firewall-specific fields — resolve here. The fields below are unique to Cloud Firewall and not covered by zia-look-up-rule-targets. For each one the admin named, run one lookup using the knob below. Empty result = does not exist. Don't retry with broader filters.
| Admin named | Resolution tool | Lookup knob | Returns |
|---|---|---|---|
| Network service name | zia_list_network_services | name="<literal>" (case-insensitive substring; client-side) | network service ID |
| Source IP group name | zia_list_ip_source_groups | search="<exact>" | source group ID |
| Destination IP group name | zia_list_ip_destination_groups | search="<exact>" | destination group ID |
| Network service group name | zia_list_network_services_group | search="<exact>" | network service group ID |
| Network app group name | zia_list_network_app_groups | search="<exact>" | network app group ID |
| Network app name | zia_list_network_apps | search="<exact>" | network app token |
| Country name (free-text) | look up ISO 3166 Alpha-2 silently (e.g. "United States" → US) | (offline) | country code |
Do not skip a field that the admin named because lookup failed — the skill stops, the admin fixes the naming or creates the missing object first.
Why name= and not search= for network services: ZIA's canonical names are uppercase enums (HTTP, FTP, DNS, ...). Server-side search="http" does NOT match HTTP. The tool's name= parameter normalizes casing client-side, so name="http" reliably finds the predefined HTTP service. (The same caveat applies to user groups; zia-look-up-rule-targets documents it for that field.)
If the admin's request includes any time-of-day language ("during business hours", "after hours", "weekends only", "between 8am-5pm Mon-Fri", "block this country at night", etc.), chain to zia-manage-time-interval to find or create the Time Interval and obtain its interval_id. That ID becomes the time_windows=[<id>] value on the firewall rule.
If the admin did not mention a schedule, leave time_windows unset. Don't invent a default.
Do not call zia_activate_configuration() from within zia-manage-time-interval when chaining — defer activation to the end of this skill so a single activation flushes both the new Time Interval and the new firewall rule.
Map admin language to canonical fields:
dest_countries=["XX"] with rule_action="BLOCK_DROP" (or BLOCK_RESET / BLOCK_ICMP if the admin wants a visible error)source_countries=["XX"] with a block actionsource_countries=[...] plus exclude_src_countries=Truesrc_ips=["A.B.C.D/24"] (raw CIDR, no group needed) or source_ip_groups=[<id>] if a named group is preferreddest_ip_groups=[<id>] after resolving the group namerule_action="BLOCK_RESET" (TCP only)rule_action="BLOCK_DROP"rule_action="BLOCK_ICMP"rule_action="EVAL_NWAPP"enable_full_logging=TrueCall:
zia_create_cloud_firewall_rule(
name=<name>,
rule_action="ALLOW" | "BLOCK_DROP" | "BLOCK_RESET" | "BLOCK_ICMP" | "EVAL_NWAPP",
description=<optional>,
enabled=True,
rank=<0-7, default 7>, # always send; tool defaults to 7
order=<1-based position, default 1>, # always send; tool defaults to 1 (top)
src_ips=[...],
dest_addresses=[...],
source_countries=[...], # ISO 3166 Alpha-2 codes
dest_countries=[...],
exclude_src_countries=<bool>,
dest_ip_categories=[...],
device_trust_levels=[...],
nw_applications=[...],
enable_full_logging=<bool>,
app_services=[...],
app_service_groups=[...],
departments=[...],
dest_ip_groups=[...],
dest_ipv6_groups=[...],
devices=[...],
device_groups=[...],
groups=[...],
labels=[...],
locations=[...],
location_groups=[...],
nw_application_groups=[...],
nw_services=[...],
nw_service_groups=[...],
time_windows=[<interval_id>], # only if schedule was requested
users=[...],
)
Capture the returned id.
ZIA changes are staged until activation. After every successful create, run:
zia_activate_configuration()
Tell the admin: "Firewall rule created (ID <id>) and activated." If activation fails, surface the error — the rule exists but is not live.
Confirm in plain language:
Don't restate operand IDs or internal field names that the admin doesn't need to see.
Tools used:
zia_list_cloud_firewall_rules(search=...) — only on explicit admin request for ordering / duplicate checkszia_create_cloud_firewall_rule(name, rule_action, ...)zia_activate_configuration()Schedule sub-skill:
zia-manage-time-interval — chain whenever the admin's request mentions time-of-day or day-of-week.Related ID-resolution tools:
zia-look-up-rule-targets.zia_list_ip_source_groups, zia_list_ip_destination_groups, zia_list_network_services, zia_list_network_services_group, zia_list_network_app_groups, zia_list_network_apps.zia-look-up-rule-targets — shared name-to-ID lookups for users, groups, departments, locations, location groups, URL categories, devices, device groups, workload groups, labels, and time windows. Chain to it from Step 2.zia-manage-time-interval — find-or-create helper for schedule scoping (see Step 3).zia-onboard-location — upstream dependency when locations referenced by the rule don't exist yet.Different ZIA rule types — do not chain through this skill:
zia-create-ssl-inspection-rule — SSL Inspection is a separate resource type. Even if the admin wants both a Cloud Firewall rule and an SSL Inspection rule with the same scope, treat them as two independent requests; this skill creates only the firewall rule.Typical chain when a schedule is requested:
zia-manage-time-interval (find or create the Time Interval, return its ID)
↓
zia-create-firewall-filtering-rule (this skill — attach the interval ID and create the rule)
↓
zia_activate_configuration() (one activation flushes both)
Don't pre-list rules before creating. Skip zia_list_cloud_firewall_rules unless the admin explicitly asks about ordering or wants to inspect existing rules — direct create + activate is the default flow.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
zia-firewall, network-security, firewall-rules, cloud-firewall
42 skills in this plugin
/zdx-analyze-application-healthAnalyze the health of one or more monitored applications across the organization using ZDX scores, metrics, and affected-user breakdowns. Identifies which applications are degraded, which metrics are the bottleneck, and which users are most impacted. Aligned with ZDX Copilot analytics use cases. Use when an administrator asks: 'How are my applications performing?', 'Which apps have low ZDX scores?', 'Show me the number of applications impacted by alerts', or 'What is the ZDX Score for Zoom?'/zms-analyze-policy-rulesAnalyze Zscaler Microsegmentation (ZMS) policy rules for optimization opportunities. Reviews custom and default policy rules, identifies stale or unused rules, detects overly permissive rules, maps cross-zone communication patterns, and assesses default security posture. Use when an administrator asks: 'Are there unused policy rules?', 'Which rules are too broad?', 'Optimize our segmentation policies', 'Review our default deny posture', 'Show me policy rule coverage', or 'Analyze our ZMS policies.'/zins-analyze-web-trafficAnalyze web traffic patterns using Zscaler Analytics (Z-Insights). Examines traffic distribution by location, protocol breakdown (HTTP vs HTTPS), threat categories, DLP violations, and volume trends over time. Use when an administrator asks: 'Show me web traffic by location', 'What protocols are in use?', 'Are there any DLP violations?', 'What does our traffic look like?', or 'Show traffic trends.'/zpa-application_segment-ba-onboardEnd-to-end onboarding of a new Browser Access (BA) application in Zscaler Private Access. Walks through the full dependency chain — App connector group, server group, segment group, BA TLS certificate, BA application segment with apps_config, and access policy rule — for web apps that should be reachable through the browser without Zscaler Client Connector. Use only when the admin explicitly asks for Browser Access. DO NOT USE WHEN: the admin wants a regular client-routed application segment (use zpa-application_segment-onboard instead)./zpa-application_segment-onboardEnd-to-end onboarding of a new application in Zscaler Private Access. Walks through the complete dependency chain: (1) App connector group, (2) Server group, (3) Segment group, (4) Application segment with domain names and ports, (5) Access policy rule to grant user/group access. Use when an administrator needs to make an internal application accessible through ZPA./zpa-application_segment-pra-onboardEnd-to-end onboarding of a new Privileged Remote Access (PRA) application in Zscaler Private Access. Walks through the full dependency chain — App connector group, server group, segment group, PRA credential, PRA portal, PRA application segment with apps_config (RDP/SSH targets), and access policy rule — for RDP and SSH targets brokered through the PRA portal without requiring a native RDP/SSH client or Zscaler Client Connector. Use only when the admin explicitly asks for Privileged Remote Access (PRA), RDP, SSH, jump-host, or bastion access. DO NOT USE WHEN: the admin wants a regular client-routed application segment (use zpa-application_segment-onboard) or a clientless web app (use zpa-application_segment-ba-onboard).claude plugin install zscaler@claude-plugins-officialOther plugins' skills for the same job