> Source: [sk101061](https://support.checkpoint.com/results/sk/sk101061)

# sk101061 - Query Syntax for the Firewall Policy to show rules that contain "Any"

| Property | Value |
|----------|-------|
| Solution ID | sk101061 |
| Date Created | 2014-05-26 |
| Last Modified | 2018-03-26 |
| Technical Level | Advanced |
| Products | SmartConsole |
| Versions | R82.10, R82.20, R82, R81.20 |
| OS | Windows, Gaia |

## Symptoms

- When filtering the Firewall Policy rulebase using the Query Syntax, rules that contain "Any" in either Source column, or in Destination column are not displayed.

*Example*:
[![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk101061/sk101061_Issue.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk101061/sk101061_Issue.png "Click the image to see it in full size in a new tab/window")

## Cause

In versions R77.30 and lower, special keyword '`includeany`' has to be added to the query.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
