Reporting and export
Generated from artex-cc tools --json. Descriptions and parameters come from the tool definitions.
generate_report
Section titled “generate_report”Read-only.
Generate a Markdown penetration test report from the current engagement’s findings, assets, and coverage.
No parameters.
Returns: Markdown report as text.
export_engagement
Section titled “export_engagement”Read-only.
Export the current engagement (or a specific one). Includes assets, exploration graph, findings, credentials, coverage, and scope. Format: json (default) returns the full export object; csv returns per-entity CSV tables (assets, findings, nodes).
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | string | no | Export format: json (default) or csv. One of json, csv |
| task_id | integer | no | Task id to export (defaults to current engagement) |
Returns: JSON: full engagement export object. CSV: {format, exported_at, assets_csv, findings_csv, nodes_csv}.
import_engagement
Section titled “import_engagement”Import a previously exported engagement from JSON. Creates a new engagement with all the imported data (assets, graph, findings, credentials, coverage, scope). Returns the new task_id and exploration_id.
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | string | yes | The exported engagement JSON string |
Returns: {task_id, exploration_id, message}.