Skip to content

fix(cli): detect local API exposure lints#5887

Merged
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/db-advisors-local-api-schemas
Jul 16, 2026
Merged

fix(cli): detect local API exposure lints#5887
avallete merged 1 commit into
supabase:developfrom
7ttp:fix/db-advisors-local-api-schemas

Conversation

@7ttp

@7ttp 7ttp commented Jul 16, 2026

Copy link
Copy Markdown
Member

TL;DR

db advisors --local silently missed API exposure lints when pgrst.db_schemas was unset in its direct database session

This defaults the missing setting to PostgREST's public schema while preserving explicitly configured and empty schema values.

ref

@7ttp
7ttp requested a review from a team as a code owner July 16, 2026 08:26
@avallete
avallete added this pull request to the merge queue Jul 16, 2026
Merged via the queue into supabase:develop with commit 3383214 Jul 16, 2026
30 checks passed
@7ttp
7ttp deleted the fix/db-advisors-local-api-schemas branch July 16, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

db advisors --local misses API-exposure lints (rls_disabled_in_public, etc.)

2 participants