The Simplest Way to Make Azure Synapse and Fortigate Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use azure synapse and fortigate to run cloud data jobs inside a safe network. Fortigate filters the network traffic while Azure Synapse runs the big data queries. This pair lets analysts study large data sets without leaving ports open to the internet. You get strong perimeter rules and fast SQL pools working together in one system. How azure synapse and fortigate handle data and logins Data moves from your local apps or cloud storage through the Fortigate firewall first. Fortigate che

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.

Teams use azure synapse and fortigate to run cloud data jobs inside a safe network. Fortigate filters the network traffic while Azure Synapse runs the big data queries.

This pair lets analysts study large data sets without leaving ports open to the internet. You get strong perimeter rules and fast SQL pools working together in one system.

How azure synapse and fortigate handle data and logins

Data moves from your local apps or cloud storage through the Fortigate firewall first. Fortigate checks the source address, the port, and the packet rules before passing traffic. Only approved traffic reaches the private endpoints inside your Azure virtual network.

Once the network packet arrives, Azure Synapse checks the identity of the user or app. Teams often use cloud directory roles or managed identities to log in and run jobs. The firewall handles the network path, and the data warehouse checks the database role.

Analysts send SQL queries through this path to read tables and build reports. Data pipelines also push raw files through the firewall into storage for Synapse to read. When results come back, they travel through the same filtered network path to the user.

Common failure modes and how to scope roles

Many teams make the mistake of using one shared service account for all data jobs. When ten developers share one login, you cannot tell who ran a bad query. If that shared key leaks, an attacker gets full read and write power right away.

Broad tokens and wide firewall rules cause big security gaps between these two tools. An open subnet rule on Fortigate lets any server in that range reach the database. Inside the database, giving a user an admin role lets them read every single table.

Unlogged queries create another blind spot for security teams during an audit. Fortigate logs the network packet and the IP address, but not the SQL text. It does not know if a user read phone numbers, emails, or card numbers.

Azure RBAC + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix the network path, lock down Fortigate rules to exact private IP addresses. Route all traffic through virtual network peering and private links instead of public internet paths. Block all outbound traffic from the data warehouse unless it goes to a known storage target.

To fix database roles, give each human and app its own distinct identity. Grant read permissions only on the specific views or tables needed for that task. Use data masking to rewrite emails, phone numbers, and national IDs in query results.

How to monitor queries and network traffic in production

Good security needs clear logs from both your firewall and your data warehouse. Set up Fortigate to send traffic logs and blocked packet alerts to a central log tool. Watch for spikes in failed network attempts or odd outbound data transfers at night.

At the same time, turn on query audit logs inside your Azure Synapse workspace. Track every login attempt, schema change, and read query across your SQL pools. Match the firewall network logs with the database query logs using timestamps and source IPs.

Review these combined logs every week to find unused roles and wide firewall rules. Drop any database permissions that a team member has not used in thirty days. Tight rules and clear logs keep your data warehouse fast and safe over time.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How does Fortigate filter traffic going to Azure Synapse?

Fortigate sits in your virtual network and inspects packets heading to Synapse private endpoints. It checks the source IP, destination port, and firewall rules before allowing the traffic through.

Why are shared database accounts risky with a firewall in place?

A firewall only checks the network path and cannot see who is typing the query. Shared accounts hide the real user and make it impossible to audit who read sensitive tables.

How can teams protect sensitive fields like card numbers in query results?

Teams can apply data masking rules that rewrite card numbers, emails, and phone numbers in results. This lets analysts run test queries while keeping sensitive customer fields safe.

The query runs. The emails stay hidden.