Compliance Mapping logo

Compliance Mapping

Organization
gensecaihq
compliance-mapping

Map incidents, control checks and SCA results to ISO 27001:2022, PCI DSS v4.0.1, NIST SP 800-53r5 and CIS Controls v8.1 and write auditor-ready evidence statements; use for compliance checks, audit questions, or incidents on regulated assets.

Overview

Publishergensecaihq
RepositoryWazuh-Autopilot
Skill namecompliance-mapping
Stars
61
Forks
15
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gensecaihq on GitHub. Read the source before you install it.

Installation

Install the Compliance Mapping AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/compliance-mapping
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/compliance-mapping .claude/skills/compliance-mapping
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Compliance Mapping in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Compliance Mapping on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Compliance Mapping is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Compliance Mapping

Translate security evidence into control language auditors accept. You report status and gaps; you don't certify compliance.

Tools

NeedTool
Framework checkrun_compliance_check(framework="PCI-DSS", agent_id=...); framework is one of PCI-DSS, HIPAA, SOX, GDPR, NIST, ISO27001; omit agent_id for the whole environment
CIS benchmark / SCA results per agentget_sca_policy_checks(agent_id)
ISO 27001 postureget_iso27001_dashboard
ISO 27001 gapsget_iso27001_gap_analysis
One ISO controlget_iso27001_control_detail(control_id="A.8.16")
Alerts tagged to ISO controlsget_iso27001_alerts

Wazuh compliance tags

Stock Wazuh rules declare compliance mappings as groups in the ruleset (pci_dss_10.2.4, gdpr_IV_32.2, hipaa_164.312.b, nist_800_53_AC.7, tsc_CC6.1, gpg13_7.1). In alerts Wazuh emits them as arrays: rule.pci_dss, rule.gdpr, rule.hipaa, rule.nist_800_53, rule.tsc, rule.gpg13. For example, rule 5712 (sshd brute force) carries PCI DSS 10.2.4 / 10.2.5 / 11.4, NIST 800-53 AC.7 / AU.14 / SI.4, HIPAA 164.312.b and TSC CC6.1 / CC6.8 / CC7.2 / CC7.3.

  • Use them as evidence hints: get_wazuh_alerts on the scope and period, then count alerts per tag to show that monitoring for a requirement is producing events.
  • They map detections to requirements. They don't prove a control is effective. Pair them with SCA results (get_sca_policy_checks) for configuration requirements.
  • There is no ISO 27001 tag in the stock ruleset. The MCP ISO tools (get_iso27001_*) do that mapping server-side.
  • The PCI tags refer to the requirement numbering the rule was written against. Check it against v4.0.1 wording before citing it in an audit statement.

Load wazuh-sca-hardening for CIS benchmark and SCA detail (rule 19011 is a check that went from passed to failed, level 9).

Framework anchors (category level — cite specific controls only when confident)

TopicISO 27001:2022 Annex APCI DSS v4.0.1NIST 800-53r5CIS v8.1
Logging & monitoringA.8.15 Logging, A.8.16 Monitoring activitiesReq 10AU family, SI-4Control 8
Incident managementA.5.24–A.5.28Req 12.10IR familyControl 17
Vulnerability mgmtA.8.8 Management of technical vulnerabilitiesReq 6, Req 11RA-5, SI-2Control 7
Access control / accountsA.5.15–A.5.18, A.8.2, A.8.5Req 7, Req 8AC, IA familiesControls 5, 6
Configuration / hardeningA.8.9 Configuration managementReq 2CM familyControl 4
Malware protectionA.8.7Req 5SI-3Control 10
File integrityA.8.9 / A.8.16 (supporting)Req 11.5 (change detection)SI-7Control 3 (data protection, supporting)
Network securityA.8.20–A.8.22Req 1SC familyControls 12, 13

Procedure

  1. Define scope: framework, assets (agent ids / groups), period.
  2. Run the relevant checks; collect pass/fail counts and failing items.
  3. For incidents: identify which controls failed or worked (e.g. detection worked → monitoring control effective; unpatched CVE exploited → vulnerability management gap).
  4. Write evidence statements and gaps.

Evidence statement format

Control: ISO 27001:2022 A.8.16 Monitoring activities
Status: Effective | Partially effective | Not effective | Not assessed
Evidence: Wazuh agents active on 142/145 in-scope hosts (get_wazuh_agents, 2026-03-24);
          INC-0042 detected within 4 minutes of initial access.
Gap: 3 hosts without active agents (list); no alerting on log-collector errors
     (ask platform-engineer for ingestion health evidence).
Recommendation: <action + owner role>

Be factual: cite tool, date, and numbers. "Not assessed" beats guessing.

Output

  • save_report(kind="compliance", title, body_md) for audits: scope, summary score per framework, control table, gaps with priority.
  • On incidents, add_finding titled Compliance impact listing affected controls and any notification obligations a human must review (e.g. PCI incident response, breach-notification regimes). standard_refs: e.g. ISO-27001:A.8.16, PCI-DSS-4:10, NIST-800-53r5:SI-4, CIS-v8.1:8.

Frequently asked questions

What does the Compliance Mapping AI skill do?

Map incidents, control checks and SCA results to ISO 27001:2022, PCI DSS v4.0.1, NIST SP 800-53r5 and CIS Controls v8.1 and write auditor-ready evidence statements; use for compliance checks, audit questions, or incidents on regulated assets.

Why use Compliance Mapping on TypingMind?

Because you install it once and use it with any model. Compliance Mapping is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Compliance Mapping in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/compliance-mapping. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Compliance Mapping?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Compliance Mapping?

As many as you like. As long as a model supports skills, you can use Compliance Mapping with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Compliance Mapping AI skill free?

Yes. It is published on GitHub by gensecaihq under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇