Firewall policy
Edition: ENTERPRISEEnterprise
What it does
Security › Firewall policy reads firewall rules and turns each one into a data flow placed on NetBox: which devices, VMs, IP ranges and prefixes it joins, at which sites, across which Purdue levels and security zones, how often it is hit, and what a reviewer should look at.
It is fed by the Check Point, Fortinet and SCALANCE S/SC connectors, which read from four kinds of source:
| Source | How cinqstack reads it | What one connection covers |
|---|---|---|
| Check Point | Management API, with a read-only login | Every policy package, access layer and rule on one management server, or one domain of a Multi-Domain Server. |
| FortiManager | JSON-RPC (FortiManager 7.6) | Every ADOM, package and object at once, or one ADOM. Recommended for Fortinet. |
| FortiGate | REST API (FortiOS 7.6) | One firewall, every VDOM or one VDOM. For sites without FortiManager, or for hit counts and logs from a firewall FortiManager does not see. |
| SCALANCE S/SC | SSH, read-only show commands; the rules come from show running-config | One Siemens SCALANCE S615 or SC-600 appliance: its own IP rules (lowest priority first), the services and service groups they use, and NAT as a note. Predefined rules, which open services on the appliance itself, are counted but are not forwarding rules. Disabled rules are shown inactive and never decide a flow. An enabled rule that allows any source to any destination on any service is a high finding: Allow-all rule makes the firewall pass-through. These appliances have no global firewall switch, so the policy is always enforced. No hit counts or logs. |
Every call and command each source sends is listed on What each connector reads.
Supports Check Point R82 and earlier releases with the Management API, including Multi-Domain Security Management. Use a read-only administrator.
Supports FortiManager 7.x and FortiOS 7.x.
The Fortinet sources come from the Fortinet module, which adds them to the same pages. They are offered only while that module is on and licensed.
Each run:
- Reads the policy and every object it uses. Groups are expanded.
- Places every source and destination object on NetBox (see What it needs in NetBox).
- Checks each rule against a fixed set of review checks and raises findings (see Findings it raises).
- Compares the rules with the previous run and records which were added, changed or removed.
- Optionally plans NetBox writes: gateways as devices, and allowed flows as NetBox services. These wait for review like every other plan (see Collect, review and approve).
The Path tab answers whether one endpoint can reach another and which rule decides. It has its own page: Firewall path.
How rules are judged
Path, Reach, the findings, NetBox services, Device flows, the IP address page and Advisories' reach all judge rules the same way. Each answer is what one policy, as last read, does on one firewall. When the facts that were read don't settle an answer, it's Unknown.
Check Point
- Ordered layers. The first matching rule decides each layer. A drop is final. After an accept, the next ordered layer is checked, so traffic is allowed only when every layer accepts it.
- Inline layers. A rule with an inline layer hands everything it matches to that layer, and the traffic never comes back to the rules below the parent. Inner rules are judged together with their parents: source, destination, service, conditions and gateways. If a parent is disabled, its inner rules aren't in use there. If a layer has several parents, each use counts.
- No matching rule. The layer's own implicit cleanup action decides, accept or drop, for inline layers too. If it wasn't read, the answer is Unknown.
- Expiry dates. If a rule has expired or has an expiry date, it's uncertain, and an answer it could change is Unknown. Management API versions before 1.9 have no expiry dates.
- NAT. cinqstack reads the package's NAT rules, including the automatic ones. If a NAT rule changes the destination or the service, the answer is Unknown for traffic sent to the original address. Traffic sent straight to the translated address is judged as usual, unless another NAT rule changes that address too. The address page and Advisories are about a whole device, so they also count the addresses that are translated to it. If a NAT rule changes the source, the traffic is judged with both sources, and the answer is Unknown when they differ. If the NAT rules can't be read, the answer is Unknown and says why, unless it's the same for every address and service, for example because one rule accepts everything. To get answers, let the read-only administrator read the NAT policy. Results from before NAT rules were read need a new run.
- Other addresses. Only a host's main address is certain when its details don't list its interfaces. The run says once how many hosts that's about. A network's broadcast address is Unknown unless its network object says the address is included. If not every address of a gateway or cluster was read, an address may be its own: the answer is Unknown when neither a device in NetBox nor a host in the policy has that address. To get an answer, add the device and its IP address to NetBox.
- Install On. A rule applies only to the gateways it's installed on. A cluster in Install On covers its members when the management server lists them. A group, or a name cinqstack can't match to a gateway, makes the rule uncertain. cinqstack uses the package the management server says is installed on a gateway. If the server doesn't say, it uses the installation targets. If what it says can't be read, the answer is Unknown.
- Application control. When the layers before it certainly allow the traffic and only an application layer may still block it, the answer is Unknown. A separate line says which rule of the network layers allows the traffic, and which rule may block it. It doesn't count as allowed in findings, NetBox services or Advisories.
- Implied rules. When the rules drop traffic that an implied rule in the global properties could accept (ping, DNS, RIP, control connections, or a gateway's own traffic), the answer is Unknown. Control connections can also go from a gateway to other servers, such as RADIUS. Management API versions before 1.9 can't give the global properties, so a drop of that traffic is always Unknown there.
Fortinet and SCALANCE S/SC
- One list. The first matching policy decides. On FortiManager, the assigned global header comes first, then the package, then the global footer, then the implicit deny. The header and footer use only the Global Database's own objects. If a global policy uses an object, and the ADOM has another one with the same name and a different value, both are unknown.
- Install On (FortiManager). A policy applies only to the devices it's installed on. A device group makes it uncertain. On FortiManager 7.6.8, a policy without an Install On of its own is on the package's installation targets, when those are all firewalls and none is a device group. On other versions, and when Install On is there but empty, where the policy is installed is Unknown. The run says which packages that's about. To get an answer, name the installation targets on each policy in FortiManager. The findings of these policies are still shown, except Shadowed where it depends on this.
- Virtual IPs. A deny policy may not apply to traffic sent to a virtual IP, unless the policy names it or
match-vipis on. If the reply doesn't say that it's on, the deny is uncertain for the virtual IP's outside and inside addresses. Withmatch-vipon, a deny that only covers the outside address is uncertain too. An accept to an outside address is uncertain, because a policy for the virtual IP may decide instead. If a virtual IP uses the interface's own address (0.0.0.0), any address could be its outside address. Virtual IP groups are read. - Each device and VDOM by itself. An address mapped for one device and VDOM has that value only there, also in groups and for virtual IPs. Objects always come from the rule's own ADOM or VDOM. If a FortiGate has several VDOMs, or its VDOMs weren't read, cinqstack can't tell which one the traffic uses, and the answer is Unknown.
- Central NAT, policy-based NGFW mode and multicast aren't judged. The answer is Unknown, also when cinqstack couldn't read whether central NAT or policy-based NGFW mode is in use.
- Internet Service. A policy that uses one ignores its destination address and service, as on the FortiGate.
- IPv4 and IPv6 are judged separately, each by its own source and destination: an IPv4
alldoesn't match IPv6, and an IPv6alldoesn't match IPv4. - Zones and interfaces. A zone can let traffic between its own interfaces through without a policy. If it may, or if that wasn't read, the answer is Unknown when no policy matches and both interfaces may be in that zone. The answer is also Unknown when traffic may leave by the interface it came in on. On FortiManager, interface names are looked up in the rule's own ADOM, then in the device's, its platform's or the default mapping. A name with no mapping is uncertain, even if a port has the same name.
- SCALANCE S/SC. The IP rules are judged by priority. When none matches, the answer is Unknown.
Known, or unknown
- Traffic to a firewall's own address is Unknown. The firewall's own access settings decide it: implied rules, local-in policies or predefined rules.
- Conditions cinqstack can't check make a rule uncertain: Check Point's VPN, content, time and service resource, and a FortiGate policy's schedule, users and groups, posture tags and similar conditions. Objects with no fixed address do too (access roles, domains, updatable and dynamic objects, zones, Internet Services). So do applications, DCE-RPC, services that also check a source port or protocol signature or only apply to some addresses, a gateway's or host's other addresses, and the actions Ask, Inform, User Auth, Client Auth and IPsec.
- Facts that weren't read make a rule, a layer or the whole policy uncertain, depending on what's missing. A field missing from the reply isn't taken as "not set". See When a read isn't complete.
- Cases that are always Unknown. The answer is Unknown where one of these could change the result: an inline layer inside another inline layer; whether the next ordered layer is checked after an inline layer accepts; a layer's accept cleanup action when none of its rules is installed on the gateway; which address the rules see when NAT changes it; what a gateway does with a rule that has an expiry date; whether a host whose details list no interfaces has only one address; what an empty Install On means on FortiManager; whether a deny with
match-vipon sees a virtual IP's outside address; a Multi-Domain place-holder, or a domain's layer under a global one; whether FortiManager's global policies go to every target; and whether a negated cell that only lists IPv4 objects holds all IPv6 traffic, or the other way round. - An uncertain rule makes the answer Unknown only when it could change the result. The page names the rule and the reason. If every possibility gives the same answer, that answer is shown, along with the rules that may decide first.
- Rules that aren't read, such as a dynamic layer's, a FortiManager policy block's or those of a SCALANCE rule set that can switch on, also give Unknown when they could decide.
- Interfaces (Fortinet and SCALANCE S/SC). A LAG or VLAN interface counts as the one the traffic uses only when NetBox ties it to the cabled port: LAG members, parent interfaces, and a port with one VLAN. If NetBox doesn't settle it, the rule is uncertain.
- Negated cells and groups with exclusion are worked out exactly when their objects have fixed addresses or ports.
- Findings never get smaller on a guess. An inner rule's Any is narrowed to what its parents let through, unless a parent lets through nearly everything. An address side stays Any when a parent covers all IPv4 addresses except at most a /8. A service stays Any when a parent covers every TCP port or every UDP port. If the scope can't be worked out, the finding stays and says so.
- There's a limit on how often a layer can be used. Above 200 uses, or when layers refer to each other, findings cover everything the parent rules in use could let through and say the scope is uncertain. cinqstack doesn't plan new NetBox services from those rules. Inline layers are followed at most 20 levels deep. Below that, the answer is Unknown.
When a read isn't complete
A run can finish even when some facts couldn't be read: a call was refused, timed out or isn't supported by that version, or a reply left something out. The run says Incomplete and lists them under Not known from this read. cinqstack never reuses facts from an earlier read. What's missing makes only the answers it can change Unknown:
- A rule that wasn't read in full, for example because a group it uses couldn't be read, still shows every finding that the rest of it gives. A finding it already had stays open, or stays as severe, only while something that could be read before could be why it's gone. What was never read is no reason to keep it. A finding kept this way never opens a new one, and belongs only to its own job. Every other rule is judged as usual, so fixing a rule closes its findings even if another part of the policy can never be read. While FortiManager can't say where global policies are assigned, their findings show on every package that may have them.
- Rules that may be missing, because a layer ended early or an ADOM or VDOM couldn't be read, keep their findings open only for that part of the policy. Those findings say Not seen in the last read, which didn't get that part of the policy. The rules don't count as removed. A finding about an object that's missing from NetBox waits only for the rules that use it.
- Rules that change while they're read. If a rule comes twice, or the number of rules changes, only that layer or policy table is incomplete. Its rules can be missing, so nothing about it is certain until the next run. Rules in different layers or tables can share an ID.
- A policy package that isn't in the reply any more, although the job asks for it, may be deleted or hidden from the account. Its findings stay open, and every service removal waits for a person. A person who applies the job's plan confirms that the package is gone. A package you take out of the job's Policy packages is closed as usual.
- A reply cinqstack can't read. If a package, a layer or a rule has an unexpected form, the run fails and says so. Nothing is written, closed or removed, and the other jobs carry on.
- NetBox services. A service isn't added, changed or removed if something that wasn't read could change it. If rules may be missing from a package that was read, or from the whole read, nothing is added. If any rules may be missing, nothing is changed or removed. If something can never be read, the services it could affect stay as they are. You can change them in NetBox.
- Advisories. If something that wasn't read could let traffic reach a device, the device may be reachable, never not reachable. When that's the only doubt, the finding keeps the severity it would have if the device were reachable.
Some reads have limits, which only count their own calls and time. On Check Point, that's at most 200 calls and about 5 minutes for service and host details, with services read first; about 500 calls and 5 minutes for layer settings; about 1,000 calls and 10 minutes for NAT rules; and about 2,000 calls and 10 minutes for group members. On FortiManager, it's about 1,000 reads and 10 minutes for the firewalls' zones; and about 3,000 reads and 15 minutes together for Install On, IPv6 policies, optional tables, global policies and where those are assigned. Reading also stops after 10 failures in a row. Anything not read by then is unknown, and the run says so. Each run starts from the beginning. On a management server with tens of thousands of hosts, a policy that uses many hosts may never have all of their details read. If a policy uses 20 hosts or fewer, they're read one by one, so this doesn't affect it.
To read every fact, cinqstack needs these read-only accounts: on Check Point, a read-only administrator. On FortiManager, a read-only profile that can read Device Manager, Policy & Objects, the Global Database and System. On a FortiGate, the accprofile on the Fortinet troubleshooting page (fwgrp, netgrp, sysgrp and loggrp set to read), for every VDOM. If the account can't read something, the run lists it.
After an update
- Update cinqstack.
- Update every Relay edge. An older edge doesn't read all the facts, and those facts are unknown.
- Run every Firewall policy job.
- Review any plans waiting for you. Removals wait until a person applies the plan (see What the NetBox writes do).
Results from version 2026.1.4 or earlier stay as they are until the job's next run, because those runs don't have every fact. Until then, Path and Reach show Unknown. The update itself doesn't open or close findings, change NetBox or send messages. The first run can open and close findings. Each job has its own findings, so they keep their owner, acknowledgement and mutes. A result from before the update never opens a new finding.
Updating, or going back to version 2026.1.4, doesn't mark unchanged rules as changed, with two exceptions on FortiManager:
- A Relay edge and a server on different versions can show one policy change for rules whose objects share a name across ADOMs. Update both, then run the job again.
- An address group with members of its own on some devices, or a mapping for another VDOM, can also show one change.
Going back brings back that version's way of judging rules, including its answers where this version says Unknown. It can open or close findings, and on Fully automatic it can remove NetBox services that this version added. So before the backup for an upgrade, set every job that writes services to Review first or Report only. Before you put an earlier version back, turn on read-only mode, and turn it off only once you've checked those jobs' automation levels.
What it needs in NetBox
Rules are only as readable as NetBox is complete. cinqstack places each firewall object in this order:
- A host goes to the exact IP address (and the device or VM that owns it), else the IP range that contains it, else the narrowest prefix that contains it (container prefixes are skipped).
- A network goes to the exact prefix, else the prefix that contains it, else the prefixes it spans.
- An object named after a gateway, or one with no address, is matched by name to a device or VM.
- Purdue level comes from the device's or VM's
purdue_levelfield, else from the VLAN of the prefix, else from the prefix itself. When it comes from the prefix, the page says "from prefix". Security zone works the same way withsecurity_zone. See Purdue levels and security zones.
So, for good results:
- Prefixes with sites, and with a Purdue level on the prefix or its VLAN.
- IP addresses assigned to device and VM interfaces for the hosts that rules name.
- Device and VM names that match the firewall object names, for objects without an address.
To record gateways as devices, the schema pack field checkpoint_uid (Check Point and SCALANCE S/SC) or fortinet_uid (FortiGates) must exist. Without it, the analysis still runs but gateways are not written: NetBox has no '<field>' custom field yet: provision it in Settings › NetBox schema, …. If firmware_version exists, gateways get their firmware version too. See The NetBox schema.
Setting up
1. Add a connection
An admin opens Security › Firewall policy and presses Connections. Under Add a connection:
| Field | Check Point | FortiManager | FortiGate |
|---|---|---|---|
| Vendor | Check Point | FortiManager | FortiGate |
| Name | Your name for it. | ||
| Server and Port | Management server, 443 | FortiManager, 443 | FortiGate, the admin port (often not 443) |
| Domain field | Domain: Multi-Domain Server only | ADOM: blank = every FortiGate ADOM the login can see | VDOM: blank = every VDOM |
| Secret | API key, or Username and Password | API user key (Bearer), or an admin with rpc-permit read | REST API token (required) |
| Verify TLS certificate | Off by default. Tick it when the cinqstack host trusts the appliance's CA. |
Use a read-only login. Test connects and reports what it found (policy packages, ADOMs or VDOMs). Test and save saves only if the test works. Save without testing is for a server that only a Relay edge can reach. Secrets are stored encrypted.
The account permissions and messages for each vendor are on the Check Point and Fortinet troubleshooting pages.
2. Create a job
An operator or admin presses New job:
| Field | What it does | Default |
|---|---|---|
| Name | The job's name. | |
| Connection | Which firewall source to read. | |
| Policy packages | Comma-separated. Blank reads every package. FortiManager takes package, folder/package or adom/folder/package; a FortiGate takes VDOM names. | all |
| Record allowed flows as NetBox services on destination devices and VMs | Plans NetBox IPAM services for allowed flows (see below). Reviewed before writing. | off |
| Tag for those services | Blank uses the job's own tag, cinqstack-fw-<job id>. Services with this tag that the policy no longer allows are removed. | the job's own |
| Record gateways, cluster members and FortiGates as NetBox devices | Plans NetBox devices for the firewalls (see below). | on |
| Include management servers | Also records Check Point management and log servers, or the FortiManager. | on |
| Device role for gateways | The NetBox role given to new gateway devices. | Firewall |
| Default site | A NetBox site slug, used when a gateway's IP is in no prefix with a site. | |
| Tag | The tag put on gateway devices. | the vendor name: checkpoint, fortinet or scalance |
| Model overrides | One per line, gateway name = Quantum 6200 or fw-name = FortiGate 100F, when the source reports only a series or a VM platform. | |
| Ticket pattern in rule names and comments | A regular expression. Blank finds CHG, INC, RITM, REQ, CR and SR numbers. | |
| Ticket link | A URL with {ticket}, so each ticket number links to your ticket system. | |
| Ask FortiManager for hit counts | FortiManager connections only. On each run, cinqstack asks FortiManager to start its own hit-count task, which makes FortiManager query its FortiGates. It changes no policy. Off, rules show their hits as not reported and none is called unused; a FortiGate read directly, Check Point and SCALANCE S/SC are not affected. | off |
| Schedule and What happens after a run | As on every job: manual, repeating, at a set time or cron; report only, review first, automatic updates or fully automatic. | Manual, Review first |
| Enabled | A disabled job is not run by its schedule. | on |
Give each job its own services tag. If two jobs share a tag, the form warns shared tag, and neither job removes services, since they may be the other's.
Press Run now on the job's page. Run with debug log also records the raw snapshot. A job can also run on a Relay edge.
What the NetBox writes do
Gateways as devices. Check Point gateways, cluster members and (optionally) management servers, FortiGates and the FortiManager, or a SCALANCE S/SC appliance, become NetBox devices. An existing device is matched by serial number (Fortinet and SCALANCE S/SC), then by the device that owns the gateway's IP, then by name. A matched device is claimed: it gets the checkpoint_uid (also used for SCALANCE S/SC) or fortinet_uid value and the tag, and is never moved or re-typed. A new device gets the vendor's manufacturer and platform, a model, the firmware version, a site from its IP's prefix (or the default site), and a management interface with its primary IP. Clusters and virtual systems are not created as devices; members carry the cluster name. Check Point VSX virtual systems, VS clusters and VSX clusters are listed on the run report (name, kind, cluster, members and version) and never recorded as NetBox devices; the physical VSX members are, tagged with their cluster. A gateway that disappears from the source is reported as gone and left in NetBox.
Services. For each accept rule in use, every destination that resolves to a device or VM gets a NetBox service for each TCP or UDP port the rule allows. In an inline layer, that's what the parent rules and the rule allow together. A rule gets no services when an earlier rule or another layer certainly drops all of its traffic. Any, negated cells and other protocols are left out. Port ranges wider than 16 ports are listed as Services not recorded, not written. Only services carrying the job's tag are ever changed or removed. A service that depends on something that wasn't read isn't added, changed or removed.
Each destination and each port is judged separately. A service is only added when at least some sources certainly get through every earlier rule and layer, on at least one gateway. If a virtual IP forwards ports, only those ports count, with the port the server uses. If that port is different from the outside one, the policy must allow both. An object without an address never adds a service, and neither does a rule that only lets a server reach itself. On FortiManager, a policy whose Install On is Unknown doesn't add one either.
Removing a service. An automatic run removes a service only when a complete read of the same policy saw that it's certainly allowed, and this run proves that no rule could still allow its addresses and ports. The server, domain, package list and tag must all be the same as before. A change in NetBox, or a job that reads another firewall or fewer packages, is never enough. If NetBox gives the device another name or address, the removal waits for review. Any other removal waits for review, and so does the rest of the plan, whatever the job's automation level. Only a person applying the plan can make it. If NetBox refuses a removal, the next automatic run doesn't do it instead.
Changes in NetBox. Just before a service is changed or removed, cinqstack reads it again. If its device or VM, protocol, ports, tag or description isn't what the plan expects, it's left alone and the run says why. cinqstack never changes a description it didn't write, and a service with such a description is only removed by a person.
Older plans. A plan can be applied once. It can't be applied once the job has a newer result. The page says which run to review. A job never runs while one of its plans is being applied, and a plan is never applied while the job is running. If a stored plan, result or policy can't be read, that run's page says so and the other jobs carry on. It's never a reason to remove or close anything.
Reading the results

Anyone signed in can read these pages. With more than one job, Policy source at the top picks which job's latest run you see.
Overview
Counts of rules, allowed flows, flows fully placed in NetBox, high findings, medium findings and objects missing from NetBox, a chip for each kind of finding, and Review first: up to 12 rules with high or medium findings. Below are the jobs and recent runs.
Data flows
One row per rule: source, service, destination, action, how well it is placed in NetBox, and its findings. Show switches between Allowed flows (accept rules in use) and All rules. Filter by Severity, Finding, NetBox placement, Level, Package and Site, or search by rule, object, IP, service or ticket.
The NetBox column is ready (every endpoint placed), partial or unmatched.
On FortiManager, global header and footer policies from the Global Database appear as their own layers, Global header · <package> and Global footer · <package>, around the Policy layer of each ADOM package they're assigned to, in the order the FortiGate applies them. Their rules say global header rule, the same in every package (or footer). Virtual IPs, on FortiManager and on a FortiGate read directly, are objects whose address is the mapped internal address, so a rule to a VIP is placed on the server the traffic reaches. On FortiManager, addresses mapped for one device and VDOM are shown for each installation target, and each value is used only there.
Open a rule to see each endpoint with its NetBox object, site, levels and zones. Every endpoint NetBox knows links to its NetBox page; a device also has a button to show it on the topology. Objects NetBox does not know show not in NetBox. The rule page also shows hits and last hit, levels, sites, tickets, comments, interfaces or zones (Fortinet), schedule, logging, NAT, users or groups, when the firewall created and changed it, and when cinqstack first saw, changed or removed it.
Recent traffic asks the source which connections this rule matched in the Last hour, Last 24 hours, Last 7 days or Last 30 days, and lists the distinct conversations with the NetBox device or VM for each address. For a rule that uses Any, this is what it could be narrowed to.
Policy changes
Rules added, changed and removed between runs, over the last 7, 30, 90 or 365 days, with their tickets. The first run of a job is the baseline. A rule counts as changed when its name, state, action, endpoints or services change, or for Fortinet and SCALANCE S/SC, its interfaces, schedule, NAT or logging. Changes to Install On, VPN, time, content, other conditions, an inline layer's link, a rule's position or a layer's implicit cleanup action aren't shown. They still change findings and answers on the next run.
Missing from NetBox
Objects the policy uses that NetBox does not know, most-used first, with a suggestion: IP address missing, Prefix missing, Outside every prefix (external, or an undocumented range) or Device or VM missing. Objects the firewall resolves at run time (FQDN, geography, Internet Service, dynamic objects) cannot be placed and need nothing added.
Device flows
Type a device, VM or IP address to see the rules where it is the source (Outbound) or destination (Inbound), including through networks and ranges that contain its addresses. Rules that match it only through Any are listed apart. A rule in an inline layer is listed for the addresses its parents could let through. If that can't be worked out exactly, it may be listed for more. A rule that's disabled, or not in use because of its parents or Install On, is listed by its own addresses and greyed out.
An admin can put this view into NetBox. On the Connections page, under Device flows in NetBox, press Create link and add the URL as a NetBox custom link on devices and virtual machines. The link carries a token that only allows reading device flows. Replace token or Switch off stops old links working.

Reach
Firewall policy › Reach answers, for every device of a site: can cinqstack reach it for SSH (the port of the Network devices job that covers it) and SNMP (udp/161), and can SNMP traps (udp/162) and Syslog (udp/514) come back? The check starts where the work does: the cinqstack server, or the Relay edge when the device's Network devices job is routed through one.
Each flow has one of four answers:
| Answer | What it means |
|---|---|
| allowed | Every firewall on the path that cinqstack reads lets it through, and no firewall it can't read is on the path. Each rule that decides is named, with its firewall. |
| blocked | A firewall cinqstack reads drops it: the firewall, and the rule or the default deny, between which zones (the firewall's own zones, else the NetBox security zone or Purdue level). |
| partial | The firewalls cinqstack reads let it through, but the path also crosses a firewall it has no policy for (a device with a firewall role in NetBox): check that one. |
| unknown | One end is a virtual machine, no firewall data covers the path, the device is itself a firewall, whose own access settings decide, or a rule may apply but can't be decided (an object resolved at run time, something that wasn't read, a rule bound to interfaces the cables don't show). |
Where a flow is blocked, Rule to ask for gives the rule the firewall team would add: firewall and package, source, destination, service, zones and where it goes (above the rule that drops it, or above the default deny), with a line to copy. The site page merges rules that differ only in one end. cinqstack never writes firewall rules.
The page counts the devices reachable, blocked, partial and unknown (from their SSH flow) and the rules to ask for. Each device opens a page with every flow, the firewalls on the way and the deciding rule. The same view opens from a device's panel (Reach, under Network), from Network devices (Reach), and from a device in a Network devices run.
cinqstack's address as the network sees it is shown at the top of the page. By default it's the address this server's default route uses; an admin can set it there when NAT or a proxy changes it. A Relay edge reports its own address (edges from version 1.1); an older edge is taken at the address the server saw it connect from, which differs behind NAT.
How the path is found: when both ends are devices in NetBox, along NetBox's cables, as the Path view does. When either end is a virtual machine, the answer is unknown, because cinqstack doesn't follow a VM's network yet (see Firewall path). When one end isn't (often cinqstack itself), from the firewall that has an interface in that end's subnet, along the cables to the device; failing that, the firewall nearest the device decides. If cinqstack's server is a physical device, record it in NetBox with its address and cables, and the path is followed hop by hop. If its address belongs to a virtual machine in NetBox, every answer that starts or ends at that address is unknown, also when another record has the same address. cinqstack can't tell that it runs on a VM when its address is hidden by Docker, NAT or a proxy, or isn't recorded on the VM in NetBox: set its real address on this page. If two different firewalls in front of a device disagree, the answer is unknown, because routing decides which one carries the flow.
Rules prove the path, not that SSH or SNMP is switched on at the device or that the credentials work. NAT on firewalls cinqstack doesn't read, switch ACLs and host firewalls aren't seen.
The run
Each run page groups what it found in the policy by kind of finding, then the objects missing from NetBox, then what it would write: gateways to add or claim, gateways gone from the source, and services to create, update or remove. Apply writes the plan when the job is not report-only. It first compares each planned field with what NetBox holds now: a field someone edited in NetBox since the plan is left alone and listed under Apply result and in the run report as "changed in NetBox since the plan", with a Plan again button. Applying is blocked while NetBox holds more devices than the licence covers or a schema field the job needs is missing. Policy changes since the previous run are listed too.
Findings it raises
Each rule is checked against these. Severity is per rule; the run report and Data flows show all of them.
| Finding | Severity | Raised when |
|---|---|---|
| Firewall disabled on a segmentation boundary | high | The vendor reports a policy as not enforced: its rules are configured, but nothing is filtered. |
| Allow-all rule makes the firewall pass-through | high | An enabled rule with any source, any destination and any service (nothing negated), other than the implicit rule: the firewall passes everything that reaches it, and no rule below it is ever reached for that traffic. Those rules get no Shadowed finding of their own; this one finding stands for them. |
| Bypasses the industrial DMZ | high | Business levels (L4, L5) and OT levels (L0 to L3) talk directly, with no L3.5 on either side. |
| Outside source into control levels | high | A source not in NetBox reaches L0 to L2. |
| Remote access into control levels | high | SSH, RDP, VNC, TeamViewer or WinRM into L0 to L2 from outside them. |
| Any destination | high or medium | The destination is Any, or everything except the objects listed: high. Also when the action is Ask, Inform, User Auth or Client Auth and both source and destination are Any: high for any service, otherwise medium. |
| Any source | high or medium | The source is Any, or everything except the objects listed: high when the destination is too, or is in L0 to L2, otherwise medium. |
| Accepts what no rule matches | high, medium or low | A layer's implicit cleanup action is accept, and traffic can get that far. On an inline layer it's rated like the accept rule it amounts to, with its parent's source, destination and service. On an ordered layer it's high, unless an earlier layer certainly limits what gets there. If the package has more ordered layers, the finding says they have to accept the traffic too. If the action was never read, there's no finding. |
| Shadowed | high or medium | An earlier enabled rule in the same layer certainly matches all of this rule's traffic, on every gateway this rule is installed on, so it never fires. High when the earlier rule has a different action. |
| Any service | medium | The service is Any, or everything except the services listed. |
| Cleartext across levels | medium | FTP, Telnet, TFTP, HTTP, SNMP, rlogin or rsh between different levels. |
| Skips a Purdue level | high or medium | Two or more levels apart inside OT, for example L3 straight to L1: high when it reaches L0 to L2 with an industrial protocol, so controllers are reached directly from above, otherwise medium. |
| No hits | low | The source reports zero hits: a candidate for removal. |
| Traffic hits the implicit deny | low | Connections ended at the implicit deny: traffic nobody wrote a rule for. |
| Any interface, both ways | low | A Fortinet rule names no zones on either side. |
| Not logged | low | Traffic on an accept rule is not logged. |
| Disabled, Scheduled, Source NAT, User-based, Other conditions, In an inline layer, Negated cells, Group with exclusion | info | For the reviewer's attention only. Disabled also covers a rule that's never in use, for example under a disabled parent rule. |
The Findings inbox gets one finding per rule and code for high and medium findings, with the advice to review the rule with the firewall owner. The same rule read from two sources (a FortiGate that its FortiManager also manages) is one finding, under the first job that reports it, and it names both. If that job stops reporting the rule, it closes there and opens under the other job. A finding, acknowledgement or mute from one job is never used for another. If one scan has more than 10 new firewall findings to notify you about, cinqstack sends one message with the count and a link to the list. Objects used by a rule but missing from NetBox (IP address, prefix, or device or VM name) become low data-quality findings.
Two notifications are available: "Firewall rules were added, changed or removed" and "New high-severity firewall findings" (when a run has more high-severity rules than the previous one). See Notifications.
Limits
- Reads only. Nothing is ever written to the firewalls or management servers. On FortiManager, a job with Ask FortiManager for hit counts on also starts FortiManager's hit-count task, and opening a rule's logs makes a temporary log search.
- NAT is flagged, not translated. Addresses are taken as the rule states them.
- Dynamic objects cannot be placed. FQDN, geography, wildcard, Internet Service and dynamic objects stay unplaced.
- Groups with exclusion are listed by their include side, but judged without what they leave out.
- Negated cells are not linked to NetBox objects. They are judged.
- Source NAT. On Fortinet, rules are judged with the source address before NAT.
- cinqstack reads the published policy. On Check Point and FortiManager, changes that haven't been installed yet are judged as if they had been.
- Each firewall is judged on its own. A policy's answer is never an end-to-end verdict.
- Not judged: Check Point's other implied rules (control connections to or from machines outside the policy, VRRP, DHCP and similar), FortiGate local-in, multicast and central NAT policies, policy-based NGFW mode, IPv6 virtual IPs, and SCALANCE MAC rules.
- Hit counts depend on the source. On FortiManager, counts come only when the job asks for them, and stay unknown (not zero) when no FortiGate is connected to report them.
- Removed rules are tracked only when the job reads every package. With Policy packages filled in, rules that disappear are not marked as removed.
- Host firewalls, IPS and application control are not analysed. Only the rulebases count.
- Gateways are never deleted from NetBox. Services are removed only when they carry the job's tag.
- Raw snapshots are kept for the last 3 runs of each job. Older runs keep their results; only the raw snapshot is removed. Run logs are kept for 30 days.
- For what the Path view cannot know, see Firewall path.
- Reach is read from the rules. It shows whether the collected rules let a flow through, not whether the device answers on it.