Skip to main content
Version: 1.0.0-beta

Upload & Manage Evidence

Evidence files are the documentary proof supporting audit work. AIIA enforces a strict chain-of-custody for all evidence — every file is hashed, scanned, timestamped, and linked to the uploader — ensuring integrity throughout the evidence lifecycle.

Evidence Chain of Custody

When an evidence file is uploaded to AIIA, the system automatically:

  1. Computes a SHA-256 hash (hash_sha256) — for tamper detection
  2. Scans for viruses (scan_status: PENDING → CLEAN or INFECTED)
  3. Records the uploader (uploaded_by_id) — who uploaded the file
  4. Timestamps the upload (uploaded_at) — when the file was added
  5. Stores in MinIO (s3_key) — object storage with versioning
  6. Records metadata — filename, MIME type, file size in bytes

Uploading Evidence

From a Workpaper

  1. Open the engagement → Workpapers tab → select a workpaper
  2. Navigate to the Evidence tab
  3. Click + Upload Evidence
  4. Drag and drop files or click to browse
  5. Wait for the virus scan to complete (status changes from PENDING to CLEAN)
  6. The file is now linked to the workpaper via workpaper_id

From an Engagement

  1. Open the engagement → Evidence tab
  2. Click + Upload Evidence
  3. Select the files
  4. Optionally link to a specific workpaper

Supported File Types

CategoryFormats
DocumentsPDF, DOCX, DOC, XLSX, XLS, PPTX, CSV, TXT
ImagesPNG, JPG, JPEG, GIF, BMP, TIFF
ArchivesZIP, 7Z, RAR
OtherXML, JSON, HTML

Maximum file size: 50 MB per file

Evidence Fields

FieldTypeDescription
idIntegerUnique identifier
filenameStringOriginal filename
s3_keyStringStorage key in MinIO
mime_typeStringMIME type (e.g., application/pdf)
size_bytesIntegerFile size in bytes
hash_sha256StringSHA-256 hash for integrity verification
uploaded_by_idStringUser who uploaded the file
uploaded_atDateTimeUpload timestamp
scan_statusStringPENDING, CLEAN, INFECTED
scan_idStringVirus scanner reference ID
workpaper_idIntegerLinked workpaper (optional)
engagement_idIntegerParent engagement
follow_up_test_idIntegerLinked follow-up test (optional)
remediation_evidence_idIntegerLinked remediation evidence (optional)

Evidence Immutability

warning

Evidence files are immutable after upload. Once uploaded, a file cannot be modified, replaced, or deleted. This ensures the chain-of-custody is maintained for regulatory compliance and legal defensibility.

If the wrong file was uploaded:

  1. Upload the correct file
  2. Note the error in the workpaper narrative
  3. Both files remain in the evidence record

Virus Scanning

All uploaded files pass through the security scanner:

StatusDescriptionAction
PENDINGScan in progressWait — file is not yet usable
CLEANNo threats detectedFile is ready for use
INFECTEDThreat detectedFile is quarantined — cannot be opened

Files in INFECTED status are:

  • Blocked from viewing or downloading
  • Flagged with a warning icon
  • Logged in the audit trail

Search evidence across all engagements using:

  • Filename — partial match search
  • File type — filter by MIME type
  • Date range — filter by upload date
  • Uploader — filter by who uploaded
  • Engagement — filter by engagement

AI Evidence Summarization

For document-type evidence (PDF, Word), the AI companion can:

  • Summarize the document content
  • Extract key data points
  • Highlight relevant passages for the workpaper
  • All summaries are suggestions requiring human review

Permissions

ActionAuditorManagerCAEClient
Upload evidence✅ PBC only
View evidence✅ Own engagements✅ All✅ All
Download evidence
Delete evidence