cockroachdb/claude-plugin/configuring-ip-allowlists
Claude Code and agent skill by cockroachdb/claude-plugin
- community
Checking that the SKILL.md file is still in the repository.
Configures and hardens IP allowlists for CockroachDB Cloud clusters to restrict network access to authorized CIDR ranges. Use when tightening network security, removing overly permissive allowlist entries like 0.0.0.0/0, or setting up allowlists for a new cluster.
Install
npx vskill@latest install cockroachdb/claude-plugin/configuring-ip-allowlistsSKILL.md
The same SKILL.md was published earlier as cockroachdb/claude-plugin/configuring-ip-allowlists.
Configuring IP Allowlists
Configures and hardens IP allowlists on CockroachDB Cloud clusters to restrict SQL and DB Console access to authorized CIDR ranges. Identifies overly permissive entries (such as 0.0.0.0/0) and replaces them with specific, narrow ranges.
When to Use This Skill
- Removing
0.0.0.0/0(open to all) from the IP allowlist - Restricting network access after initial cluster setup
- Adding office, VPN, or CI/CD CIDR ranges to the allowlist
- Reviewing and tightening existing allowlist entries
- Responding to a security audit finding about overly broad network access
Prerequisites
- ccloud CLI installed and authenticated (
ccloud auth login) - Cloud Console role: Cluster Admin or Cluster Operator
- Known CIDR ranges: Office IPs, VPN egress IPs, CI/CD runner IPs, or other authorized sources
- Cluster ID: Available from
ccloud cluster list
Verify access:
Steps
1. List Current Allowlist Entries
Review each entry. Flag any of these as overly permissive:
0.0.0.0/0— Open to all IPv4 addresses/8ranges — 16 million+ addresses/16ranges — 65,000+ addresses- Unknown or undocumented entries
See ccloud commands reference for full command syntax.
2. Understand Allowlist Limits
CockroachDB Cloud clusters have a maximum number of IP allowlist entries per cluster. If you need more entries than the limit allows:
- Consolidate entries: Use broader CIDR ranges where security permits (e.g., combine several
/32entries into a/24) - Use private endpoints: Switch to private endpoints instead of allowlists for VPC-based access — private endpoints bypass the allowlist entirely
- Request a limit increase: Contact CockroachDB Cloud support if consolidation and private endpoints are not sufficient
3. Identify Required CIDR Ranges
Before modifying the allowlist, document all legitimate access sources:
| Source | CIDR | SQL Access | UI Access | |
|---|---|---|---|---|
| Office network | 203.0.113.0/24 | Yes | Yes | |
| VPN egress | 198.51.100.0/24 | Yes | Yes | |
| CI/CD runners | 192.0.2.0/28 | Yes | No | |
| Monitoring | 10.0.1.5/32 | Yes | No |
4. Add Specific CIDR Entries
Examples:
5. Remove Overly Permissive Entries
Important: Only remove 0.0.0.0/0 after confirming your specific CIDR entries are in place and tested.
6. Verify the Updated Allowlist
Test connectivity from each authorized source:
Safety Considerations
Risk: Locking yourself out. Removing 0.0.0.0/0 before adding your current IP will immediately block your access.
Mitigation steps:
- Identify your current IP before making changes:
curl -s https://checkip.amazonaws.com - Add your IP first as a
/32entry before removing broad ranges - Test connectivity after adding specific entries but before removing
0.0.0.0/0 - Keep Cloud Console access — the Cloud Console UI can modify allowlists even if SQL access is blocked
Order of operations:
- Add all specific CIDR entries
- Verify SQL connectivity from each allowed source
- Remove
0.0.0.0/0only after verifying all needed entries are in place - Test again to confirm access still works
Rollback
If you lose access after removing a broad entry:
- Cloud Console: Log into the CockroachDB Cloud Console (web UI) — this does not use the IP allowlist
- Re-add your IP: Add your current IP as a
/32or re-add0.0.0.0/0temporarily - Investigate: Determine which CIDR was missing and add it
References
Skill references:
Related skills:
- auditing-cloud-cluster-security — Run a full security posture audit
- configuring-private-connectivity — Private endpoints as an alternative to IP allowlists
Official CockroachDB Documentation:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cockroachdb-security-and-governance/configuring-ip-allowlists/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 5
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cockroachdb/claude-plugin/configuring-ip-allowlists)