matte97p/rlsgrid

Schema-driven RLS audit and cross-tenant fuzz for Postgres/Supabase. Runs in CI, fails on cross-tenant leaks.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandrlsgrid subcommand to run. One of: introspect, plan, gen-pgtap, seed, fuzz. Use `fuzz` to gate a PR on cross-tenant safety.noplan
configPath to rlsgrid.toml.norlsgrid.toml
database-urlPostgres connection string. Stored in $DATABASE_URL for the run. Never point this at production — rlsgrid refuses URLs matching [safety].forbid_url_patterns in your config.yes
tenantsNumber of synthetic tenants to seed (seed and fuzz only).no3
python-versionPython version used to install rlsgrid.no3.12
versionrlsgrid version to install. Defaults to the latest published release. Pin in production (e.g. "0.2.0").no""
pgtap-outOutput path for `gen pgtap`. Ignored for other commands.notests/rls/generated.sql
fail-on-breachWhen `command` is `fuzz`, exit the step with a non-zero status if any breach is detected. Set to "false" to keep going and inspect the JSON in a follow-up step.notrue
namedescription
result-jsonPath to the rlsgrid JSON output captured during the run.
breach-countNumber of breaches found (only meaningful for the `fuzz` command).