scf_evidence_file_write
Approve, reject, request revision, revalidate, or soft-delete an uploaded evidence file. Use method to pick the action; rejecting raises a deficiency on supported controls.
Instructions
Act on an uploaded evidence file (editor+): approve, reject or request revision; re-run validation; or soft-delete it (destructive). Pick with method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | review: Approve, reject or request revision on one uploaded file (write — editor). Rejecting raises a deficiency on each in-scope control it supports. 410 where per-window review is on. revalidate: Re-run the validation engine against an evidence file (write — editor+ role). Checks catalog existence, content type, field coverage, freshness, storage. Returns the updated result. delete: Soft-delete an evidence file (destructive write — editor role). The record is marked deleted and drops out of listings; the stored object is retained for audit and retention. | |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| file_id | Yes | Evidence file UUID — obtain from scf_list_evidence_files | |
| evidence_id | Yes | Catalog evidence ID the file belongs to, e.g. E-IAM-01 [review, delete] | Evidence ID (e.g., 'ERL-IAM-001') — obtain from scf_list_evidence [revalidate] | |
| review_notes | No | Reviewer notes Used by: review. | |
| review_status | No | Review decision Used by: review. |