-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCODEOWNERS
More file actions
Validating CODEOWNERS rules...
54 lines (42 loc) · 2.46 KB
/
Copy pathCODEOWNERS
File metadata and controls
54 lines (42 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This file is structured to minimize alert fatigue for other teams (for example, security), while maintaining supply chain safety and compliance requirements.
# GitHub does not accumulate owners: the last matching rule replaces the owner set, it does not add to it.
# The SDK team must therefore be repeated on every rule by design, so they retain ownership alongside other teams.
# Also, order matters. GitHub applies the LAST matching rule. This means:
# - Broad directory fallbacks must remain at the top
# - Specific high-risk overrides and tripwires must stay at the bottom
# 1. GLOBAL FALLBACK LAYER
# Assigns general code to core maintainers (SDK Team).
# Other teams are explicitly omitted here to prevent noise on routine PRs.
* @supabase/sdk
# 2. GENERAL SECURITY & SUPPLY CHAIN LAYER (High Risk)
# Security review is strictly mandated for supply chain vectors and repository governance.
# Git client configuration files (.gitignore, .gitattributes) are intentionally excluded to avoid unnecessary friction and false positives.
/.github/ @supabase/sdk @supabase/security
/SECURITY.md @supabase/sdk @supabase/security
/CODEOWNERS @supabase/sdk @supabase/security
# 3. THE TRIPWIRE LAYER (Accidental Commits / Secrets Leakage)
# Acts as a fail-safe for Git-related mishaps (for example, subverted .gitignore rule).
# Explicitly flags common secret patterns so the Security team is made aware.
# Environment variables.
*.env* @supabase/sdk @supabase/security
# Certificates and private keys.
*.pem @supabase/sdk @supabase/security
*.key @supabase/sdk @supabase/security
*.p12 @supabase/sdk @supabase/security
*.pfx @supabase/sdk @supabase/security
# SSH private keys have no extension - id_* covers all ssh-keygen defaults (id_rsa, id_ed25519, the _sk variants and future types).
id_* @supabase/sdk @supabase/security
# Java keystores, PGP keys, Terraform state (holds plaintext secrets).
*.jks @supabase/sdk @supabase/security
*.keystore @supabase/sdk @supabase/security
*.gpg @supabase/sdk @supabase/security
*.asc @supabase/sdk @supabase/security
*.tfstate @supabase/sdk @supabase/security
*.tfvars @supabase/sdk @supabase/security
# Local databases or accidental data dumps.
*.sqlite @supabase/sdk @supabase/security
*.sqlite3 @supabase/sdk @supabase/security
*.db @supabase/sdk @supabase/security
# Common accidental config/secret dumps (typically JSON or YAML but catch anything likely).
*secret*.* @supabase/sdk @supabase/security
*credential*.* @supabase/sdk @supabase/security