generate_inspec_from_recipe
Convert Chef recipes to InSpec controls for security and compliance testing. This tool automates the generation of infrastructure validation code from existing configuration files.
Instructions
Generate InSpec controls from a Chef recipe.
Args: recipe_path: Path to Chef recipe file.
Returns: InSpec control code or error message.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recipe_path": "<recipe_path>"
},
"name": "generate_inspec_from_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |