# Compliance mapping

> Compliance mapping is an open-source agent skill for security. Orients Active Directory attack findings to ENS, NIS2 and DORA control families. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ADScanPro/Claude-AD/tree/main/skills/compliance-mapping
- **Repository:** https://github.com/adscanpro/claude-ad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** compliance-mapping
- **Collection:** https://github.com/ADScanPro/Claude-AD
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a conceptual lookup from common Active Directory attack techniques, such as Kerberoasting, DCSync, ACL abuse, AD CS abuse, delegation abuse, NTLM relay, password spraying and credential exposure, to the regulatory control families they loosely relate to. Each technique is paired with the framework areas it touches, covering the Spanish ENS, NIS2 Article 21(2) and DORA with its RTS 2024/1774.

The skill is explicitly orientative. It tells a practitioner where in a framework to look and stops there, instead of claiming a finding satisfies or breaches a specific clause. The text repeatedly warns against presenting the output to an auditor as compliance evidence, and points to a separate, curated ID-by-ID control matrix for that purpose.

It is a single SKILL.md with no scripts or reference files. It expects the agent to already have the technical finding and the reporting context, and it adds only a one-line regulatory note to that finding.

## When your agent uses it

> A high-level conceptual mapping from Active Directory attack techniques to the compliance controls they touch. Kerberoasting relates to authentication and logging, so it brushes ENS op.acc.5 / op.exp.8, NIS2 Art.21(2)(h), DORA RTS Art.9 / Art.21. Use this when a reader wants to understand which regulatory control an AD finding relates to, or to add an orientation note to a technical finding. This is a conceptual, orientative mapping only; it is NOT an auditor-defensible, curated, ID-by-ID control matrix. Covers ENS (op.acc.*, op.exp.*), NIS2 (Directive 2022/2555 Art.21), and DORA (RTS 2024/1774).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/compliance-mapping)
- [License: MIT](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/compliance-mapping)

## Features

- **Technique to control mapping:** Links common AD attack techniques to the framework control families they relate to.
- **ENS control families:** Covers relevant Spanish ENS operational controls for access, authentication, configuration and logging.
- **NIS2 Article 21 references:** Points to the NIS2 Article 21(2) measures tied to each technique.
- **DORA and RTS references:** Maps techniques to DORA Articles 9, 20 and 21 as described in RTS 2024/1774.
- **Orientation note wording:** Suggests a short one-line regulatory note to append to a technical finding.
- **Explicit scope limits:** States clearly that the mapping is not an auditor-grade control matrix.

## Good for

- Add a regulatory orientation note to a Kerberoasting finding
- Find which ENS or NIS2 control family a DCSync risk relates to
- Tag an AD misconfiguration report with relevant DORA references
- Explain to a client which framework area an AD weakness touches

## Install

### Claude Code

This skill ships in the `claude-ad` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ADScanPro/Claude-AD
/plugin install claude-ad@claude-ad
```

Or copy only this skill to `~/.claude/skills/compliance-mapping`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/compliance-mapping &&
cp -R "$tmp/skills/compliance-mapping" ~/.claude/skills/compliance-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/compliance-mapping` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/compliance-mapping` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/compliance-mapping &&
cp -R "$tmp/skills/compliance-mapping" ~/.agents/skills/compliance-mapping &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/compliance-mapping` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/compliance-mapping` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/compliance-mapping &&
cp -R "$tmp/skills/compliance-mapping" ~/.cursor/skills/compliance-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compliance-mapping` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ADScanPro/Claude-AD.git --path skills/compliance-mapping
```

Or copy the folder to `~/.gemini/skills/compliance-mapping` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/compliance-mapping`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/compliance-mapping &&
cp -R "$tmp/skills/compliance-mapping" ~/.copilot/skills/compliance-mapping &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/compliance-mapping` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git
```

Then copy `Claude-AD/skills/compliance-mapping` into your agent's skills folder as `compliance-mapping`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Is Compliance mapping a compliance audit tool?

No. The skill states that its mapping is conceptual and orientative and is not an auditor-defensible control matrix. It should not be presented to auditors as compliance evidence.

### Which frameworks does Compliance mapping cover?

It covers the Spanish ENS (op.acc.* and op.exp.* families), NIS2 Directive (EU) 2022/2555 Article 21, and DORA with RTS (EU) 2024/1774.

### Which AD attack techniques are mapped?

Kerberoasting and AS-REP roasting, DCSync, ACL abuse, AD CS abuse, Kerberos delegation abuse, coercion with NTLM relay, password spraying and credential exposure such as GPP passwords.

### Does Compliance mapping run any scripts or need extra tools?

No. The skill folder contains a single SKILL.md file and no scripts. Its allowed tools are not set.

### How do I install Compliance mapping in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/compliance-mapping to use it in all your projects, or to .claude/skills/compliance-mapping in one project. Or install the claude-ad plugin, which includes it: /plugin marketplace add ADScanPro/Claude-AD, then /plugin install claude-ad@claude-ad.

### Does Compliance mapping run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Compliance mapping?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Compliance mapping?

The closest alternatives to Compliance mapping are System, Ad opsec telemetry, Ad environment constraints, Ad methodology and Acl abuse.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Ad opsec telemetry](https://ai-powered.com/skills/ad-opsec-telemetry): Ad opsec telemetry is an open-source agent skill for security.
- [Ad environment constraints](https://ai-powered.com/skills/ad-environment-constraints): Ad environment constraints is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Acl abuse](https://ai-powered.com/skills/acl-abuse): Acl abuse is an open-source agent skill for security.
- [Adcs attacks](https://ai-powered.com/skills/adcs-attacks): Adcs attacks is an open-source agent skill for security.
- [Kerberos attacks](https://ai-powered.com/skills/kerberos-attacks): Kerberos attacks is an open-source agent skill for security.
- [Coercion ntlm relay](https://ai-powered.com/skills/coercion-ntlm-relay): Coercion ntlm relay is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/compliance-mapping
