How to Configure Aci Policy Enforcement
You set up aci policy enforcement to control which apps and servers can talk. You build a safe setup by blocking all traffic first and adding strict rules. Data center networks hold many workloads that need strict boundaries. Without clear rules, one bad server can reach every other machine on the network. Network teams use a whitelist model to stop this horizontal movement. You group servers by role and define the exact ports they can use. This keeps database tiers separate from web servers an
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 set up aci policy enforcement to control which apps and servers can talk. You build a safe setup by blocking all traffic first and adding strict rules.
Data center networks hold many workloads that need strict boundaries. Without clear rules, one bad server can reach every other machine on the network. Network teams use a whitelist model to stop this horizontal movement. You group servers by role and define the exact ports they can use. This keeps database tiers separate from web servers and public networks.
How aci policy enforcement works in your network
In an app Centric stack setup, you do not write rules for single IP addresses. Instead, you put servers, virtual machines, and containers into logical endpoint groups. Each group holds workloads that do the same job, like web apps or databases. Then you create contracts that state how two groups can talk to each other. A contract uses filters to allow only specific network protocols and port numbers.
The virtual routing domain holds the master switch for aci policy enforcement. When you turn on enforced mode, the fabric drops all traffic between groups by default. Two groups can only exchange packets if a valid contract links them together. If you set the routing domain to unenforced mode, the network allows all traffic through. Teams only use unenforced mode during early lab tests or rapid network moves.
For a safe baseline, always keep your production routing domains in enforced mode. Build small endpoint groups based on app tiers rather than putting everything in one bucket. Keep your filter lists narrow so a web tier only reaches the database port. Avoid wildcard filters that open every port between two groups at once. You can also use a preferred group setting for shared services that need wider reach. Even then, keep high-value data stores outside that shared group so they require explicit contracts.
Checking rules and closing gaps after login
Before you flip a domain to enforced mode, check your active traffic flows first. Many network controllers let you run a dry check or log test mode. This mode logs packets that would fail a rule without dropping the live traffic. You can read these logs to find missing contracts before you break a live app. Once the logs look clean, you can turn on full enforcement with high confidence.
Policy Enforcement Point (PEP) + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You should also check your contract logs every week to spot bad network requests. Look for denied packet counts between groups that should never talk to each other. High drop counts often point to a broken app setting or an active attacker. You should also audit your contracts every quarter to remove old rules from retired apps.
Still, network rules only check the source group, destination group, and port number. Once a contract allows a user or app through the port, network checks stop. The fabric cannot see who the user is or what command they run inside. If an engineer logs into a database over an allowed port, the network steps back. The switch cannot stop a bad query or mask emails and card numbers in results. To control actions inside an active session, teams must add checks above the network layer.
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
What happens when I switch a routing domain to enforced mode?
The network blocks all traffic between endpoint groups right away unless a contract links them. Traffic inside the exact same endpoint group still flows by default unless you block it.
How can I test new rules without dropping live app traffic?
You can place the routing domain or specific groups into a log-only test mode first. This lets you see which packets violate your rules before you turn on strict blocking.
Does network enforcement control what commands an engineer runs in a database?
No, network contracts only check the IP groups and TCP or UDP port numbers. They cannot read database queries, check user identity, or rewrite phone numbers in query results.
Related guides
In this post