parse_inspec_profile
Extract controls from InSpec profiles by parsing directory or .rb files to generate structured JSON output for migration workflows.
Instructions
Parse an InSpec profile and extract controls.
Args: path: Path to InSpec profile directory or control file (.rb).
Returns: JSON string with parsed controls, or error message.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |