regenerate_controls
Regenerate controls from control objectives, preserving implementation status and mappings for unchanged descriptions, and soft-deleting altered ones. Optionally target specific control objectives.
Instructions
Regenerate controls from control objectives.
Controls whose descriptions survive regeneration unchanged preserve their implementation status, evidence, notes, assertions, Jira mappings, and compliance mappings. Controls with changed or removed descriptions are soft-deleted (queryable via include_deleted=True).
When co_ids is specified, only the controls for those COs are regenerated — other controls are preserved as-is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "batch" (default) or "per_co" (most thorough, one LLM call per CO). | batch |
| co_ids | No | Optional comma-separated CO IDs to regenerate (e.g. "CO1,CO5"). When omitted, regenerates all controls. | |
| model_id | Yes | ID of the threat model. | |
| batch_size | No | COs per batch in batch mode (default: 15). Smaller = more accurate + granular progress, more LLM calls. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||