import_controls
Import security controls into a threat model via structured JSON or free-text. Controls are auto-mapped and deduplicated before saving.
Instructions
Import existing security controls into a threat model.
Accepts structured JSON or free-text. Controls are auto-mapped to COs and deduplicated against existing ones. The parse/map/dedup runs as a background job (polled for progress), then — because this mutates the model — you are asked to confirm before the controls are saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_map | No | Auto-map controls to COs using LLM (default: True). | |
| model_id | Yes | ID of the threat model. | |
| free_text | No | Free-text controls (narrative/CSV/bullets). | |
| source_label | No | Origin label (e.g., "ISO 27001"). | |
| controls_json | No | JSON array of {description, co_ids?, framework_refs?}. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||