report_write_fix
Log a fix into an audit report by specifying before/after code, risk, rollback point, and success status. Requires a rollback point; without it, the fix is not recorded.
Instructions
把一次修复写入报告:修复前后差异、风险级别、是否脚本、是否成功、不修复后果、立即/计划、权威性、回滚点。 rollback_point 必填:没有回滚点的修复不予记录。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| after | Yes | ||
| before | Yes | ||
| fixed_ok | Yes | ||
| authority | Yes | ||
| execution | Yes | ||
| finding_id | No | ||
| has_script | Yes | ||
| risk_level | Yes | ||
| fix_content | Yes | ||
| review_content | Yes | ||
| rollback_point | Yes | ||
| consequence_if_not_fixed | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||