fix_iac
Fix Infrastructure as Code security misconfigurations by suggesting or automatically applying corrections to identified vulnerabilities in IaC files.
Instructions
Fix an Infrastructure as Code security misconfiguration. Can either suggest a fix (default) or apply it automatically. Returns before/after code for review.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the IaC file containing the issue. | |
| line_number | No | Line number where the issue is located. | |
| rule_id | Yes | ID of the security rule that was violated. | |
| auto_apply | No | If true, automatically apply the fix. If false, only return the suggested fix. Defaults to false. |