Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unit 1: Open Policy Agent (OPA) — Rego policy evaluation at SYN time #46

Copy link
Copy link

Description

@TeoSlayer
Issue body actions

Scope

Evaluate OPA Rego policies at connection time (SYN). Enterprises already write Rego policies for Kubernetes admission, Envoy, and Terraform — same language for Pilot.

Deliverables

  • OPA integration point at daemon SYN handler
  • Policy input: source node (address, tags, networks), destination node, destination port
  • Policy decision: allow/deny with reason
  • Policy bundle loading from file or HTTP endpoint
  • Hot-reload: policy changes take effect without daemon restart
  • Example policies: backend→database on port 5432, frontend→API on 80/443, monitoring→anything on 9090

Files

  • pkg/daemon/policy.go — OPA evaluator
  • pkg/daemon/daemon.go — SYN handler integration
  • tests/ — policy evaluation tests

Priority: HIGH

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.