Policy Enforcement Point

A policy enforcement point (PEP) carries out an access decision by permitting, blocking or otherwise constraining an operation. A policy decision point (PDP) evaluates the applicable policy. NIST distinguishes these logical roles so that having a rule is not confused with enforcing it.

Both roles can share a component or be distributed. A common gateway may enforce access to several resources, as in the gateway and portal deployments described by NIST SP 800-207. What matters is that protected requests cannot bypass enforcement and that the point has enough context to apply the decision. Central policy administration also need not mean a remote decision call on every request.

A policy object is not evidence of enforcement

Kubernetes NetworkPolicy illustrates the implementation dependency: its network plugin must support the policy for it to take effect. Similar gaps arise when a service rule is bypassed through a direct database connection or an expected mesh enforcement component is absent. An object in the configuration is evidence of intent, not of effective coverage.

So the reviewable question is never whether a rule exists. It is which component evaluates it, on which path, and what happens to requests that arrive by another route. The syntax and intended use of Kubernetes network rules themselves are covered in network policy.

Where enforcement can sit, and what each position can see

What an enforcement point can decide depends on the request information and policy interfaces available there. Placement influences visibility but does not fix it: an HTTP gateway may inspect an object identifier, while a packet filter generally cannot. Establish the capabilities of the actual component.

PositionCan decideCannot see
Network filter or gatewayNetwork filters can constrain source, destination and port; application gateways may also inspect paths, identities and objectsBusiness or row context not supplied to the component
Service mesh or proxyPeer identities and supported request attributesObject relationships or business meaning unless integrated into policy evaluation
The service itselfThe full request in context, including the object and the caller’s relationship to itRequests that reach the data store without passing through the service
The data engineRow, column, and masking decisions at the point of storageIntent: two identical queries for different purposes look the same

A claim of row-level control needs a component that sees and enforces that row decision. It may live in the engine or in an application with sufficient context, provided alternate routes cannot evade it.

A worked example: one request, several points

Kubernetes documents TLS, authentication and authorization on its API access path. For supported create, modify, delete and connect operations, admission controllers can then reject requests or modify eligible objects. Admission does not run for ordinary get, list or watch requests. Reading Secrets therefore needs authorization controls; admission cannot supply a missing read restriction.

Use this example to ask which component checks each operation in a warehouse or broker. Their stages may differ from Kubernetes. Verify both direct reads and operations that indirectly expose data, rather than requiring one universal sequence.

When a policy appears to be enforced

  • The bypass path. A direct database connection, an administrative console, a nightly export, a support tool. Each was built for a legitimate reason and none goes through the point the policy assumes. Finding these is an inventory exercise: list every process that can read the data, then mark which ones traverse an enforcement point.
  • Decision-service failure. A remote dependency can become unavailable. Deny, bounded use of a previously valid decision, and unconditional allow are different behaviors. Specify the permitted fallback per resource, its expiry, and how it is observed. A cached decision limits some exposure but is not equivalent to obtaining fresh authorization.
  • Stale inputs. A point can enforce every request using an older policy or cached decision. Record the refresh and invalidation rules and test the delay before revocation blocks an existing access path. The bound may include distribution delay and session behavior, not just the cache TTL.

Kubernetes network policies combine allows. A new deny-like rule cannot override an allow elsewhere, but existing allows can be removed or narrowed. ipBlock.except excludes ranges from that block, not from every policy. Default-deny selection and explicit required allows can establish isolation for ingress and egress separately; inspect the full policy union before claiming that a route is blocked.

Whatever the point decides should end up in the audit log with its inputs, and the policy it evaluates is easier to review when it lives in a version-controlled form, which is the argument for policy as code. How the enforcement points relate to authorization models is covered in role-based and attribute-based access control.

How these points combine with network controls, key custody, and administrative paths is worked through in The Network Is Not a Credential.

References


Discover more from Insightful Data Lab

Subscribe to get the latest posts sent to your email.

Similar Posts

Questions, corrections, or additional insights?

This site uses Akismet to reduce spam. Learn how your comment data is processed.