The Simplest Way to Make Fortigate and Harness Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair fortigate and harness to run software builds across protected network zones. The firewall guards private servers while the delivery platform sends code updates to them. Many teams struggle when they link these two tools in live setups. Strict network rules often block build agents from reaching internal hosts. At the same time, wide firewall rules create huge security risks for the team. A clean setup lets your pipelines run fast while keeping every server safe. How fortigate and har

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You pair fortigate and harness to run software builds across protected network zones. The firewall guards private servers while the delivery platform sends code updates to them.

Many teams struggle when they link these two tools in live setups. Strict network rules often block build agents from reaching internal hosts. At the same time, wide firewall rules create huge security risks for the team. A clean setup lets your pipelines run fast while keeping every server safe.

How fortigate and harness share data and permissions

Data flows between the two systems through a lightweight worker program. You place this worker inside your private network behind the firewall. The worker pulls tasks from the delivery platform over an outbound link. Then it runs scripts on your local databases and app servers.

Your firewall checks every packet that moves between the worker and the cloud. You set up firewall rules to allow outbound traffic to the build platform. The firewall also checks internal traffic from the worker to your local targets. Each target needs a clear rule that checks the source address and port.

Log in keys and roles control what the worker can do inside the network. The build platform holds secret keys and sends them to the worker during a run. The firewall can also check user identity before it opens a network path. When both tools check identity, your team gets strong control over every change.

Common failure modes and how to scope network paths

The biggest mistake teams make is using one shared admin account for all builds. If a pipeline uses a root key, any small bug can wipe out data. Shared accounts also make it impossible to see who ran a bad script. Every log entry just shows the same generic worker name.

Broad network rules cause another major problem in production setups. Teams often get tired of blocked builds and open an entire subnet to the worker. Once that path is open, a compromised worker can reach every database you own. You lose the main benefit of having a firewall in the first place.

End-to-End Encryption + Harness Security Features: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged database queries and shell commands create blind spots during security audits. The firewall logs network packets, and the build tool logs pipeline steps. Neither tool records the exact data queries or sensitive output inside the session. When sensitive fields like emails or card numbers return, raw values sit in build logs. Masking rewrites matched fields in results so phone numbers and national IDs stay safe.

To fix this, give each pipeline worker a narrow role with minimal rights. Split your workers by zone so test workers cannot reach live servers. Set up firewall rules that only open the exact port needed for each task. Rotate your secret keys often and tie every build run to a real user.

Auditing pipeline runs across network zones

Good security requires clear logs across both your network and your build tools. Start by sending all firewall traffic logs to a central log server. Match those network logs with the build history from your delivery platform. This helps your team see which pipeline triggered each network event.

Check your firewall rules every month to remove old paths and dead hosts. Remove unused worker keys from the build platform as soon as a project ends. When you keep roles small and logs clear, both tools work the way they should.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Do I need to open inbound firewall ports for the build worker?

No, the local worker usually starts an outbound link to the cloud platform. You only need to allow outbound traffic on the standard secure web port.

How should we separate test and live network zones?

Run separate workers in each network zone with their own unique keys. Set firewall rules so the test worker subnet cannot route to live hosts.

Why do our pipeline runs time out when reaching local databases?

Timeouts usually happen when a firewall rule drops packets between the worker and the database. Check the firewall drop logs for the worker IP address and target port.

The query runs. The emails stay hidden.