Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Database Tools
  3. Inspektor

Inspektor

Apache-2.0Rust

A protocol-aware proxy that enforces database access policies using Open Policy Agent (OPA) for data security and compliance.

Visit WebsiteGitHubGitHub
285 stars13 forks0 contributors

What is Inspektor?

Inspektor is a protocol-aware proxy that enforces access policies on database queries to secure data assets and ensure compliance. It intercepts database traffic and validates queries against policies defined using Open Policy Agent (OPA), supporting databases like PostgreSQL, MySQL, and MongoDB. The tool helps organizations prevent unauthorized data access, manage permissions centrally, and protect sensitive information such as PII.

Target Audience

DevOps engineers, database administrators, and security teams in organizations that need fine-grained, centralized control over database access across multiple data sources. It's also useful for developers who require temporary access credentials for debugging without compromising security.

Value Proposition

Developers choose Inspektor for its integration with OPA, which allows flexible, declarative policy definitions, and its protocol-aware architecture that works across multiple databases. Unlike siloed solutions, it provides a centralized control plane for managing all data policies, reducing complexity and improving security posture.

Overview

Inspektor is a protocol-aware proxy that is used to enforce access policies👮

Use Cases

Best For

  • Enforcing role-based access control (RBAC) on database queries
  • Centralizing data access policies across multiple database types
  • Protecting PII and sensitive customer data in collaborative environments
  • Preventing accidental dangerous commands like DELETE or UPDATE
  • Granting temporary database access to support teams based on context (e.g., open tickets)
  • Achieving compliance with data security regulations through audit-friendly policy management

Not Ideal For

  • Organizations relying exclusively on native database security features like PostgreSQL RLS
  • Teams with ultra-low latency requirements where proxy overhead is prohibitive
  • Projects using databases not yet supported, such as Snowflake or S3

Pros & Cons

Pros

OPA-Based Flexibility

Uses Open Policy Agent with Rego language, enabling declarative and context-aware policies, such as granting access based on support ticket assignments, as shown in the example policy.

Centralized Policy Management

Control plane allows managing all data access policies from a single interface, eliminating siloed configurations across multiple databases, which simplifies compliance and auditing.

Protocol-Aware Interception

Intercepts and analyzes database network traffic at the protocol level, enforcing policies before queries reach the data source, preventing unauthorized access like accidental DELETE commands.

Attribute-Level Security

Enables hiding or restricting specific columns like PII based on user roles, as demonstrated in the OPA example policy that protects customer email columns for support roles.

Cons

Limited Database Support

Currently only supports PostgreSQL, with other databases like MySQL and MongoDB still in the planned stage, restricting immediate adoption for multi-database environments.

Complex Setup and Management

Requires deploying both control and data plane components, which adds operational overhead and complexity compared to built-in database security solutions.

OPA Learning Curve

Writing policies in Rego can be challenging for teams unfamiliar with OPA, increasing the initial learning investment and potential for misconfiguration.

Frequently Asked Questions

Quick Stats

Stars285
Forks13
Contributors0
Open Issues17
Last commit4 years ago
CreatedSince 2021

Tags

#openpolicyagent#acl#policy-enforcement#data-plane#database-proxy#authorization#security#open-policy-agent#mongodb#vuejs#postgresql#iam#access-control#compliance#mysql#go#rust#permissions#data-security

Built With

R
Rust

Links & Resources

Website

Included in

Database Tools5.1k
Auto-fetched 20 hours ago

Related Projects

AcraAcra

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.

Stars1,485
Forks140
Last commit3 months ago
DatabunkerDatabunker

Secure Vault for Customer PII/PHI/PCI/KYC Records

Stars1,476
Forks94
Last commit15 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub