# keryn controls

Describes Keryn 0.5.2 and keryn-rules 0.8.0.

> findings mapped to OWASP LLM/Agentic, MITRE ATLAS, NIST AI RMF, ISO 42001, EU AI Act, NIST 800-53, ISO 27001, CWE

Source: https://keryn.dev/docs/reference/cli/controls/

Findings mapped to OWASP LLM/Agentic, MITRE ATLAS, NIST AI RMF, ISO 42001, EU AI Act, NIST 800-53, ISO 27001, CWE.

```text
keryn controls <result.json>
```

## Options

```text
Usage: keryn controls <result.json> [--json] [--framework <id>]
  Maps a saved scan result (keryn scan . --json result.json) to controls: each finding's OWASP LLM / Agentic category, carried
  through Keryn's crosswalk to MITRE ATLAS, NIST AI RMF, ISO/IEC 42001, the EU AI Act, NIST SP 800-53 and ISO/IEC 27001, plus CWE.
  A control is 'findings', 'clear' (Keryn's rules for it ran and found nothing) or 'not tested'. --framework lists every control of
  one framework (owasp-llm, owasp-agentic, mitre-atlas, nist-ai-rmf, iso-42001, eu-ai-act, nist-800-53, iso-27001, cwe).
  References for the reader, not a conformance claim. Offline. Exit 0; 2 for an unreadable or non-result file.
```

## Examples

```sh
# Control-by-control status: findings, clear or not tested.
keryn controls result.json

# Every OWASP LLM control.
keryn controls result.json --framework owasp-llm
```

## Exit codes

| Code | Meaning |
|---|---|
| 0 | mapped |
| 2 | unreadable or not a Keryn result |
