mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## Problem Dupe titles in docs. ## Solution Adds unique titles where appropriate + high confidence. ## Preview links | Before | After | |---|---| | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/deployment/database-migrations) | [Deploy Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/deployment/database-migrations) | | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/local-development/database-migrations) | [Local Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/local-development/database-migrations) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/storage/uploads/file-limits) | [Storage Upload Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/uploads/file-limits) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/functions/limits) | [Edge Functions Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/functions/limits) | | [Error Codes \| Supabase Docs](https://supabase.com/docs/guides/storage/debugging/error-codes) | [Storage Error Codes \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/debugging/error-codes) | | [Views \| Supabase Docs](https://supabase.com/docs/guides/database/views) | [Database Views \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/database/views) | | [Self-Hosting \| Supabase Docs](https://supabase.com/docs/reference/self-hosting-auth/introduction) | [Self-Hosting Auth \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference/self-hosting-auth/introduction) | | [Supabase Docs](https://supabase.com/docs/reference) | [Supabase API references ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference) | --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
---
|
|
id: 'automate-with-agents-security'
|
|
title: 'Automate with agents: security'
|
|
subtitle: 'A read-only agent that reviews Security Advisor findings and authentication and authorization failures each day.'
|
|
description: 'Daily review of security findings and access failures'
|
|
---
|
|
|
|
```mermaid
|
|
flowchart TD
|
|
Schedule([Once per day]) --> Inspect[get_advisors and query_logs]
|
|
Inspect --> Signals["Advisor findings and access failures"]
|
|
Signals --> Review{Anything new to report?}
|
|
Review -->|Yes| Report[Finding and next step]
|
|
Review -->|No| Silent[Stay silent]
|
|
Inspect -->|Missing data or access| Gap[Report new or changed gaps]
|
|
```
|
|
|
|
## What it watches
|
|
|
|
- Security Advisor findings at warning and error level
|
|
- API and Auth authentication and authorization failure rates, compared across the last two complete UTC days
|
|
- RLS and privilege issues identified by advisors
|
|
|
|
It uses `get_advisors` and `query_logs` on project-scoped, read-only [Supabase MCP](/docs/guides/ai-tools/mcp).
|
|
|
|
## When it watches
|
|
|
|
<AgentWatchSchedule id="security" />
|
|
|
|
## What it will output
|
|
|
|
This prompt reports new or changed advisor findings and access-failure spikes, with the affected object or service and a next investigation step. A spike is a review signal, not proof of an attack. See [what triggers a security report](/docs/guides/observability/detecting#security).
|
|
|
|
If a check cannot run, the agent tells you what is missing. Clear checks and unchanged findings stay quiet.
|
|
|
|
<$Partial path="monitoring_agent_output.mdx" />
|
|
|
|
## Set up the agent
|
|
|
|
Allow the agent to read the documentation linked in its prompt. Save its alert state between runs so it can avoid repeat reports.
|
|
|
|
<AgentSetup id="security" />
|