---
title: "Compliance Mapping of Findings With an LLM"
description: "Map confirmed pentest findings to the OWASP Top 10, PCI DSS or SOC 2 with a model: a schema-bound draft appendix the analyst checks against the framework."
canonical: https://pentestllm.ai/compliance-mapping-ai
generated: 2026-11-27T06:25:50.312Z
source: https://pentestllm.ai/compliance-mapping-ai
base_url: https://api.pentestllm.ai/v1
---

Compliance mapping with an LLM

# Mapping findings to a framework

Send `minimax-m3.1-flash-cybersecurity` at https://api.pentestllm.ai/v1 the findings you have confirmed and the framework the client cares about, the OWASP Top 10, PCI DSS or SOC 2, and get a schema-bound mapping of each finding to the control or category it touches, as the draft of the report’s compliance appendix. The mapping is a first pass the analyst checks against the framework’s current text before a client sees it.

[Prices per token](https://pentestllm.ai/pricing)

[Get a key](https://app.pentestllm.ai/console) [Try it free in the browser](https://pentestllm.ai/playground)

```
from openai import OpenAI

client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…")

reply = client.chat.completions.create(
    model="auto/security",
    messages=[{"role": "user", "content": "Explain this advisory and list what to check on an affected host."}],
)
print(reply.model)  # the build that answered
print(reply.choices[0].message.content)
```

## A draft appendix, not an attestation

Where a risk owner has already deferred remediation, [risk acceptance drafts](https://pentestllm.ai/vulnerability-risk-acceptance-drafts) preserve that decision without changing the control mapping or severity.

Clients who are working toward an audit want to know which of the findings from an authorized test bear on which requirement. That appendix is tedious to assemble by hand and easy for a model to draft, because it is a matching exercise between two lists of text: your confirmed findings and the framework’s controls. It is also easy to get subtly wrong, because frameworks change edition and a control’s number moves. So the model produces the first pass, the analyst checks each row against the framework document itself, and the appendix says plainly that it is the firm’s mapping and not an auditor’s opinion.

## Which frameworks, and which edition

Three are asked for most. The OWASP Top 10 is a short list of web-application risk categories, with a new edition every few years; the 2025 edition was current on the date below, and a client may still work from 2021. PCI DSS is the card-data standard, at version 4.0.1 on that date, with numbered requirements and sub-requirements that a finding maps to precisely. SOC 2 uses the AICPA trust services criteria, where a finding usually maps to a criterion under security or availability rather than to a numbered control. Confirm the edition with the client before mapping, send it to the model by name and year, and link the framework document in the appendix so a reader can check.

## Send findings with placeholders and ids

Send each confirmed finding as a short record with your own id, a title, the affected area with client names replaced by placeholders, the severity the analyst set on the [CVSS 4.0 calculator](https://pentestllm.ai/tools/cvss-v4-calculator), and a one-sentence description of the weakness. The model needs the nature of the weakness to match it, not the evidence that proved it. Turn on the gateway’s [redaction setting](https://pentestllm.ai/features/files-and-redaction) so a secret or common identifier that survives in a sentence is replaced before the request leaves; the client-specific names are yours to swap first.

## Bind the mapping to a schema

Ask for an array with one object per finding id, each holding the framework’s identifier for the matched control or category, its name as the framework writes it, a confidence of high, medium or low, and one sentence saying why the finding touches that control. Use a `json_schema` response format so the reply has exactly that shape; on the live catalog, `minimax-m3.1-flash-cybersecurity` is one of the security builds that lists `response_format`. Tell the model to leave the control empty rather than guess when a finding does not fit the framework, and to add no findings of its own. A row with an identifier that does not exist in the edition you named is the model remembering an older one, and it goes back for another pass.

Read the call’s price from `usage.cost` in the reply; the response headers include a request id for any question about it, and per-token rates sit on the [pricing](https://pentestllm.ai/pricing) page.

## Check each row against the framework text

Open the framework document and read the control the model named for each row. The common errors are a control number from a previous edition, a category that is close but not the one the finding actually touches, and a SOC 2 criterion written up as if it were a specific control, when the criteria are what the client’s own controls are evaluated against. Correct the row, keep the model’s original in the work papers, and mark low-confidence rows for a second reviewer. The [secure code review](https://pentestllm.ai/ai-secure-code-review) page covers finding the weaknesses in the first place; this page only maps them once confirmed.

## Keep the appendix current

Frameworks move. When a client comes back a year later, re-run the mapping against the edition they are now audited against rather than copying the old appendix, and say in the appendix which edition it was mapped to and on what date. The findings go into the report through the flow on the [pentest report writing](https://pentestllm.ai/pentest-report-writing) hub; the appendix follows them, labelled as the firm’s mapping and signed by the lead with the rest.

## 16 security builds, priced per token

USD per million tokens, live on 2026-11-27; `auto/security` bills at the build that answers.

Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. [Verify your receipt](https://pentestllm.ai/statements/verify).

| Model | Build | Input $/M | Output $/M | Context | Wire formats |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | Security | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | Security | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | Security | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | Security | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | Security | $0.4935 | $1.645 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | Security | $0.5093 | $1.6975 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/models/uplink-red-team-flash) uplink-red-team-flash | Security | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/models/uplink-red-team-pro) uplink-red-team-pro | Security | $1.50 | $6.00 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/models/cyber-frontier) cyber-frontier | Security | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | Security | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | Security | $7.50 | $18.75 | 999K | openai |

[Full price list and tool fees](https://pentestllm.ai/pricing) · [Every model](https://pentestllm.ai/models) · [API docs](https://pentestllm.ai/docs)

## Questions

### Which frameworks can it map to?

Any whose controls you can name in text, which in practice means the OWASP Top 10, PCI DSS and the SOC 2 trust services criteria most often. Send the framework by name and edition, because a control’s number can move between editions and the model may remember an older one.

### Is the mapping authoritative?

No. It is the firm’s draft mapping of confirmed findings to controls, checked by the analyst against the framework text and labelled as such in the appendix. An auditor forms their own opinion; the appendix helps the client prepare for that conversation.

### How do I keep it current with the framework?

Confirm the edition with the client before each mapping, send it by name and year, state the edition and date in the appendix, and re-run the mapping on the next engagement instead of copying the old one. Check every row against the framework document, not against memory.

### What if a finding fits no control?

Tell the model to leave the control empty rather than force a match, and keep that row in the appendix with a note. A finding that bears on no requirement of the framework is still a finding in the report; the appendix only records where it touches the framework.

## Read next

[Pentest report writing Drafting findings, impact, remediation and the executive summary, with client data redacted first.](https://pentestllm.ai/pentest-report-writing) [AI secure code review Triage Semgrep and CodeQL output with a model that marks false positives and explains exploitability in words.](https://pentestllm.ai/ai-secure-code-review) [AI vulnerability triage Dedupe, rank and route findings with a model, and a person confirming each decision.](https://pentestllm.ai/ai-vulnerability-triage)

Facts about other products and tools on this page were read from their own pages on 22 November 2026: [OWASP Top 10](https://owasp.org/Top10/), [PCI DSS document library](https://www.pcisecuritystandards.org/document_library/), [SOC 2 (AICPA)](https://www.aicpa-cima.com/topic/audit-assurance/audit-and-assurance-greater-than-soc-2). They change; check the source before relying on a figure.

## One key, from $3

For systems you own or may test in writing: [acceptable use](https://pentestllm.ai/acceptable-use).

[Get a key](https://app.pentestllm.ai/console)
