Map an IaC check to a SOC 2 control
map_iac_finding_to_controlMap any scanner check to a SOC 2 Trust Services Criterion without running a scan. Get mapping source and confidence; verify low-confidence matches, treat unmapped as a valid answer.
Instructions
Maps a scanner check to a SOC 2 Trust Services Criterion without running a scan. Useful for checks surfaced by another tool, CI output, or a scanner this server does not wrap.
Always returns mappingSource and confidence. A low confidence mapping is a
keyword match that the resource type did not corroborate -- verify it before relying
on it. unmapped means no rule matched; that is a real answer, not a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkId | No | Scanner check ID, e.g. CKV_AWS_19 or AVD-AWS-0088. | |
| checkName | Yes | The scanner's check name or title, e.g. 'Ensure S3 bucket has encryption enabled'. | |
| resourceType | No | Resource type, e.g. aws_s3_bucket. Raises mapping confidence when it corroborates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| controlId | Yes | ||
| rationale | Yes | ||
| confidence | Yes | ||
| requirement | Yes | ||
| controlTitle | Yes | ||
| evidenceLimit | Yes | ||
| mappingSource | Yes |