mcpField
I
infrastructure-compliance-auditor

infrastructure-compliance-auditor

github.com/borgheiSecurity1.0k116 installsUpdated 5d ago
Repository

About infrastructure-compliance-auditor

A skill for configuration-based infrastructure security and compliance audits across 11 domains, mapping findings to 10 standards. It produces severity-weighted scores and auditor-oriented evidence reports, without live scanning or penetration testing.

Key features

  1. 01Audits 11 infrastructure domains
  2. 02Maps 250+ controls to 10 standards
  3. 03Calculates severity-weighted scores
  4. 04Generates JSON and Markdown evidence reports
  5. 05Includes DNS and access-control checks

Use cases

  1. 01Review cloud and infrastructure security settings
  2. 02Organize evidence for multiple compliance standards
  3. 03Check DNS security for a domain
  4. 04Audit MFA, SSO, and access controls

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/borghei/claude-skills --skill infrastructure-compliance-auditor

After installing, type/infrastructure-compliance-auditorin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
access-control-standards.md
audit-control-catalog.md
audit-workflows.md
cloud-security-baseline.md
compliance-framework-mapping.md
tool-reference.md
scripts/
access_control_auditor.py
dns_security_checker.py
infra_audit_runner.py

Details

From the project README

Infrastructure Compliance Auditor

Cross-cutting infrastructure security audit across ALL compliance frameworks. Replaces manual Vanta-style checks with deterministic, repeatable, evidence-generating infrastructure audits covering cloud, DNS, TLS, endpoints, access control, network, containers, CI/CD, secrets, logging, and physical security. Maps 250+ controls to 10 standards (SOC 2, ISO 27001, HIPAA, GDPR, PCI-DSS, NIS2, DORA, NIST CSF, FedRAMP, CCPA) with severity-weighted scoring.

Core Capabilities

  • 11 audit domains — cloud (AWS/Azure/GCP), DNS, TLS/SSL, endpoints, access control, network, container/K8s, CI/CD, secrets, logging/monitoring, physical security
  • 250+ controls — each with a check ID, severity rating, and multi-framework mapping
  • Framework mapping — collect-evidence-once, map-to-many strategy across 10 standards
  • Deterministic scoring — severity-weighted per-domain and overall scores (0-100) with an audit-readiness rating
  • Evidence generation — JSON and markdown reports suitable for auditor consumption

When to Use

Reach for this skill on: "infrastructure audit", "cloud security audit", "infrastructure compliance", "DNS security audit", "TLS audit", "endpoint security", "access control audit", "network security assessment", "infrastructure security", "cloud compliance", "Vanta alternative", "compliance automation", "security posture assessment", "hardware security keys", or "YubiKey compliance".

Clarify First

Before running the audit, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Audit domains: which of the 11 (cloud, DNS, TLS, endpoints, access, network, container, CI/CD, secrets, logging, physical) are in scope (determines which checks run).
  • Target frameworks: which standards to map findings to (SOC 2, ISO 27001, HIPAA, PCI-DSS, NIS2…) (drives the control mapping and report).
  • Infrastructure config: the JSON describing actual state, including cloud provider (AWS/Azure/GCP) (the checks and CIS baseline depend on it).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

Run Full Infrastructure Audit
python scripts/infra_audit_runner.py --config infrastructure.json --output audit_report.json
Audit DNS Security for a Domain
python scripts/dns_security_checker.py --domain example.com --output dns_report.json
Audit Access Controls
python scripts/access_control_auditor.py --config access_controls.json --output access_report.json
Generate Compliance-Mapped Report
python scripts/infra_audit_runner.py --config infrastructure.json --frameworks soc2,iso27001,hipaa --format markdown --output compliance_report.md

Tools

ToolPurposeInput
infra_audit_runner.pyFull infrastructure audit across all 11 domainsJSON config describing infrastructure
dns_security_checker.pyDNS-specific security audit (SPF, DKIM, DMARC, DNSSEC, CAA, MTA-STS)Domain name
access_control_auditor.pyAccess control, MFA, SSO, PAM, RBAC auditJSON config describing access controls

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/audit-control-catalog.md — the full 250+ control catalog across all 11 audit domains plus the framework coverage matrix. Read when you need exact check IDs, controls, severities, and framework mappings for any domain.
  • references/audit-workflows.md — audit workflows, pre/post-audit validation checklists, the severity-weighted scoring methodology, and success criteria. Read when planning or executing an audit and interpreting scores.
  • references/tool-reference.md — CLI flag reference for the three audit scripts plus a troubleshooting table. Read when running the tools or diagnosing unexpected output.
  • references/cloud-security-baseline.md — AWS / Azure / GCP CIS Benchmark deep-dive. Read for cloud-provider hardening detail beyond the catalog.
  • references/access-control-standards.md — MFA, SSO, PAM, Zero Trust, and YubiKey implementation standards. Read when designing identity and access controls.
  • references/compliance-framework-mapping.md — control-to-framework master mapping. Read when aligning evidence across multiple certifications.

Scope & Limitations

In Scope:

  • Infrastructure security audit across 11 domains: Cloud, DNS, TLS/SSL, Endpoints, Access Control, Network, Containers/K8s, CI/CD, Secrets, Logging/Monitoring, Physical Security
  • Framework mapping to 10 compliance standards: SOC 2, ISO 27001, HIPAA, GDPR, PCI-DSS, NIS2, DORA, NIST CSF, FedRAMP, CCPA
  • 250+ individual control checks with severity-weighted scoring
  • DNS security validation including SPF, DKIM, DMARC, DNSSEC, CAA, MTA-STS, and subdomain takeover risk
  • Access control audit covering IdP, SSO, MFA, FIDO2/hardware keys, PAM, RBAC, service accounts, SSH keys, API keys, and Zero Trust
  • Evidence-generating reports in JSON and markdown formats for auditor consumption

Out of Scope:

  • Actual penetration testing, vulnerability scanning, or active exploitation -- this skill performs configuration-based assessment, not active testing
  • Cloud provider API calls or live infrastructure scanning -- the tool works with JSON configuration input describing your infrastructure state
  • Compliance certification or attestation -- this skill identifies gaps but does not replace formal SOC 2, ISO 27001, or PCI-DSS audits
  • Application security testing (SAST/DAST) beyond CI/CD pipeline configuration checks
  • Compliance program management, policy writing, or governance documentation

Important Notes:

  • SOC 2 2026 best practices demand real-time monitoring dashboards flagging control deficiencies within 48 hours; periodic spot-checks are no longer sufficient
  • Zero Trust architecture is increasingly expected across all frameworks; perimeter-based security alone is insufficient for SOC 2, ISO 27001, and NIS2
  • Compliance automation platforms (Drata, Vanta, Sprinto) complement but do not replace the deterministic checks this tool provides

Integration Points

SkillIntegrationWhen to Use
soc2-compliance-expertSOC 2 Trust Services Criteria mapped to infrastructure controls; evidence collection for SOC 2 Type IIWhen infrastructure audit supports SOC 2 certification
information-security-manager-iso27001ISO 27001 Annex A technological controls validated by infrastructure checksWhen ISO 27001 certification requires evidence of technical control implementation
nist-csf-specialistNIST CSF 2.0 Protect and Detect functions mapped to infrastructure domainsWhen building unified security posture across NIST and other frameworks
dora-compliance-expertDORA Pillar 1 and Pillar 3 controls validated by infrastructure security checksWhen financial entity requires infrastructure evidence for DORA compliance
pci-dss-specialistPCI-DSS v4.0 network security, encryption, and access control requirements mapped to checksWhen cardholder data environment requires infrastructure compliance validation
gdpr-dsgvo-expertTechnical privacy controls (encryption, access controls, data masking) supporting GDPR Art. 32When infrastructure controls support personal data protection requirements

Comments

Markdown supported