xalgorix/xalgorix/implementing-pam-for-database-access
Claude Code and agent skill by xalgorix/xalgorix
- community
Checking that the SKILL.md file is still in the repository.
Deploy privileged access management for database systems including Oracle, SQL Server, PostgreSQL, and MySQL.
Install
npx vskill@latest install xalgorix/xalgorix/implementing-pam-for-database-accessSKILL.md
The same SKILL.md was published earlier as xalgorix/xalgorix/implementing-pam-for-database-access.
Implementing PAM for Database Access
Overview
Deploy privileged access management for database systems including Oracle, SQL Server, PostgreSQL, and MySQL. Covers session proxy configuration, credential vaulting, query auditing, dynamic credential generation, and least-privilege database roles.
When to Use
- When deploying or configuring implementing pam for database access capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Common Misconfigurations & Verification
Database PAM is routinely bypassed because the direct network path to the DB stays open:
- Proxy vaulting but direct port still reachable: credentials are vaulted and a session proxy exists, yet DBAs connect straight to 1521/1433/5432/3306 with their own logins, bypassing audit entirely. Verify the DB host firewall/listener only accepts connections from the PAM proxy IP, then attempt a direct connect from a workstation — it must be refused. Cross-check DB-native audit (
pg_stat_activity/ SQL Serversys.dm_exec_sessions/ OracleV$SESSION) and confirm everyclient_addris the proxy. - Shared DBA accounts not vaulted / no per-user attribution: confirm
sa,SYS,postgres,root@%are checked out through PAM and that proxy logs map each session to a named human, not a shared login. - No automatic rotation after checkout: if the vaulted password is not rotated on check-in, a DBA who memorized it retains direct access. Confirm one-time-use / rotate-on-checkin is enabled and test that the previous password fails.
- Query auditing captures connect but not statements: verify the proxy logs actual SQL (not just session start/stop) and that privileged statements (
GRANT,DROP, bulkSELECTon PII) trigger alerts. - Least-privilege roles bypassed via direct superuser grant: confirm vaulted accounts use scoped roles, not blanket
DBA/sysadmin/SUPERUSER. - Dynamic credential users left orphaned: if using dynamic DB creds, confirm expired users are dropped (no accumulating
v-*roles) and SIEM receives all PAM session events.
Prerequisites
- Familiarity with identity access management concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Implement comprehensive implementing pam for database access capability
- Establish automated discovery and monitoring processes
- Integrate with enterprise IAM and security tools
- Generate compliance-ready documentation and reports
- Align with NIST 800-53 access control requirements
Security Controls
| Control | NIST 800-53 | Description | |
|---|---|---|---|
| Account Management | AC-2 | Lifecycle management | |
| Access Enforcement | AC-3 | Policy-based access control | |
| Least Privilege | AC-6 | Minimum necessary permissions | |
| Audit Logging | AU-3 | Authentication and access events | |
| Identification | IA-2 | User and service identification |
Verification
- [ ] Implementation tested in non-production environment
- [ ] Security policies configured and enforced
- [ ] Audit logging enabled and forwarding to SIEM
- [ ] Documentation and runbooks complete
- [ ] Compliance evidence generated
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/tools/skills/data/identity-access-management/implementing-pam-for-database-access/SKILL.md
Popularity
- Repository stars
- 1,153
- Repository forks
- 212
- 7-day trend score
- 35
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/xalgorix/xalgorix/implementing-pam-for-database-access)