# infrastructure-compliance-auditor

infrastructure-compliance-auditor audits cloud, network, and CI/CD security from infrastructure configuration, then maps findings to compliance frameworks. Use it for posture reviews and control checks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 118 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/ra-qm-team/infrastructure-compliance-auditor/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/infrastructure-compliance-auditor

## What it does

This skill audits 11 areas: cloud, DNS, TLS/SSL, endpoints, access control, network, containers, CI/CD, secrets, logging, and physical security. It checks items such as SPF, DKIM, DMARC, DNSSEC, CAA, MTA-STS, MFA, SSO, PAM, RBAC, SSH keys, and API keys. Findings can be mapped to SOC 2, ISO 27001, HIPAA, GDPR, PCI-DSS, NIS2, DORA, NIST CSF, FedRAMP, and CCPA.

The package includes `infra_audit_runner.py`, `dns_security_checker.py`, and `access_control_auditor.py`. These scripts read JSON configuration and write JSON or Markdown reports, with scores weighted by severity. You need an infrastructure-state configuration file first. The skill does not call cloud provider APIs or scan live infrastructure, so its results depend on the supplied configuration.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill infrastructure-compliance-auditor -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/infrastructure-compliance-auditor/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/infrastructure-compliance-auditor/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill infrastructure-compliance-auditor -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/infrastructure-compliance-auditor/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill infrastructure-compliance-auditor -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/infrastructure-compliance-auditor/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills ra-qm-team/infrastructure-compliance-auditor/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/infrastructure-compliance-auditor/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill infrastructure-compliance-auditor -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path ra-qm-team/infrastructure-compliance-auditor
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/infrastructure-compliance-auditor/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill infrastructure-compliance-auditor -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/borghei/Claude-Skills/tree/HEAD/ra-qm-team/infrastructure-compliance-auditor/SKILL.md

## When to use it
- audit infrastructure security across defined domains
- check SPF, DKIM, DMARC, and DNSSEC settings
- review MFA, SSO, PAM, and RBAC controls
- map findings to several compliance standards
- write JSON or Markdown audit reports

## Example prompts
- Audit the infrastructure described in `infrastructure.json` and save the result to `audit_report.json`.
- Check DNS security for `example.com` and write the result to `dns_report.json`.
- Map the audit to SOC 2 and ISO 27001, then create `compliance_report.md` in Markdown.

## Similar
- [security-auditor](https://affpapa.org/en/nevibecode/skills/rmyndharis-security-auditor.md) — skill · 128 installs
- [prowler-compliance-review](https://affpapa.org/en/nevibecode/skills/prowler-compliance-review.md) — skill · ★ 15302 repo stars
- [auditing-terraform-infrastructure-for-security](https://affpapa.org/en/nevibecode/skills/auditing-terraform-infrastructure-for-security.md) — skill · 279 installs
- [compliance-auditor](https://affpapa.org/en/nevibecode/agents/compliance-auditor.md) — subagent · 421 installs
- [devops-status-mcp-server](https://affpapa.org/en/nevibecode/mcp/devops-status-mcp-server.md) — MCP server · 404 installs
- [render-web-services](https://affpapa.org/en/nevibecode/skills/render-web-services.md) — skill · 488 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
