# Defensive Grc Audit Evidence

> Use when managing audit evidence for a compliance audit, certification, or internal review. Covers evidence collection, chain of custody, integrity hashing, retention schedules, sampling methods, auditor request handling through a PBC (provided by client) request list, evidence repositories, and exception tracking. Use when an auditor asks for proof that a control operates, when evidence is scattered across inboxes and personal drives, when a sample fails, or when you must prove what was collected, by whom, and when, without backfilling or altering records.

- Skill: `mizazhaider-ceh/defensive-grc-audit-evidence` (Agent Skill)
- Install (CLI): `npx get-skill add mizazhaider-ceh/defensive-grc-audit-evidence`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mizazhaider-ceh/defensive-grc-audit-evidence/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: mizazhaider-ceh (https://skillmd.com/u/mizazhaider-ceh)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/mizazhaider-ceh/defensive-grc-audit-evidence

---


Audit evidence is the proof that a control actually operates, not the
policy that says it should. Auditors test controls by inspecting
records, observing processes, and re-performing checks on a sample.
If the record is undated, unattributable, altered after collection,
or missing for part of the period, the control fails even when the
underlying work was done well. This skill is practitioner guidance
for building an evidence operation that survives that test. It is
not legal advice, and it does not replace your auditor or your
retention counsel. The core discipline is simple: collect as the
control operates, freeze what you collect, log every handover, and
never create evidence after the fact to fill a gap.

## Quick Workflow

1. Map every control to the evidence that proves it, with a named
   collector, a collection frequency, and a retention period.
2. Stand up one evidence repository with read-only access for the
   auditor and write access only for collectors.
3. Collect evidence as the control operates, never in a batch at
   period end, and record collector, date, period covered, and source.
4. Hash and freeze each item on receipt so later alteration is
   detectable, and keep the raw export alongside any summary.
5. Work the auditor PBC request list as a tracked queue, with one
   owner, one due date, and one status per request.
6. Select samples by a documented method, test them, and record
   pass, fail, or exception with the reason in plain language.
7. Log exceptions the day they are found, assign an owner and a
   remediation date, and carry open exceptions into the next cycle.
8. Close the period with a completeness check: every control has
   evidence for every required interval, and every gap is disclosed
   rather than hidden.

## 1. Evidence mapping: one control, one evidence standard

Start from the control catalogue, not from whatever files happen to
exist. For each control, write down what a sceptical auditor would
need to see: the record itself, the date range it covers, and the
person or system that produced it. A control with no evidence
standard is a control you cannot prove, and an evidence item with
no control is effort with no audit value. Agree the mapping with
control owners before the period starts, because renegotiating it
during fieldwork looks like moving the goalposts.

```yaml
# evidence-map.yaml - one entry per control, reviewed each quarter
controls:
  - id: "ACC-01"
    control: "Access to production is approved by a manager and reviewed quarterly"
    evidence_standard: "Approval tickets plus the signed quarterly review"
    collector: "Identity team lead"
    frequency: "Quarterly"
    retention: "7 years"
    source_system: "Ticketing system export"
  - id: "LOG-01"
    control: "Security events are logged centrally and reviewed daily"
    evidence_standard: "Central log retention report plus the daily review log"
    collector: "Detection engineering lead"
    frequency: "Daily"
    retention: "1 year online, 7 years archived"
    source_system: "SIEM export"
  - id: "CHG-01"
    control: "Production changes require peer review and approval before release"
    evidence_standard: "Change tickets showing reviewer, approver, and release record"
    collector: "Release manager"
    frequency: "Per change"
    retention: "7 years"
    source_system: "Change management tool export"
```

## 2. Collection and chain of custody

Chain of custody answers three questions for every item: who had
it, when, and what changed. The answers must come from the log,
not from memory. On receipt, record the source, the collector, the
collection date, and a cryptographic hash of the file. Store the
original untouched; any redaction, annotation, or summary is a new
file that references the original. If an item passes through hands,
log each handover. A broken chain does not automatically invalidate
evidence, but an undocumented break forces the auditor to ask
harder questions about everything else you hand over.

```python
# evidence_intake.py - hash on receipt, never modify the original
import hashlib
import json
import shutil
from pathlib import Path

def intake(source: Path, vault: Path, collector: str, control_id: str) -> dict:
    digest = hashlib.sha256(source.read_bytes()).hexdigest()
    dest = vault / control_id / f"{source.stem}-{digest[:12]}{source.suffix}"
    dest.parent.mkdir(parents=True, exist_ok=True)
    shutil.copyfile(source, dest)
    dest.chmod(0o444)  # read-only: corrections go in a new file, not here
    record = {
        "control_id": control_id,
        "original_name": source.name,
        "vault_path": str(dest),
        "sha256": digest,
        "collector": collector,
        "source_system": "manual export - see collection note",
    }
    return record

if __name__ == "__main__":
    entry = intake(Path("q3-access-review.pdf"), Path("evidence-vault"), "identity lead", "ACC-01")
    print(json.dumps(entry, indent=2))
```

Rules that keep the chain credible: collect from the system of
record, not from a forwarded email copy; keep the raw export
alongside any summary or dashboard screenshot; never edit a file
after intake, and if a correction is needed, add a dated correction
note that names the original and explains the change; and restrict
write access so that even well-meaning tidying cannot rewrite
history.

## 3. Retention and the evidence repository

Retention is a schedule, not a habit. Different evidence types
carry different legal, contractual, and framework obligations, so
one blanket retention period is usually wrong in both directions:
too short for audit evidence, too long for personal data. Write
the schedule down, get it approved, and enforce it in the
repository rather than relying on individuals to delete or keep
files on time. The repository itself needs structure an auditor
can navigate without a guide: one folder per control, one file
name pattern, and an index that maps requests to files.

```yaml
# retention-schedule.yaml - approved schedule, enforced by the repository
retention_rules:
  - category: "Access reviews and approvals"
    retention: "7 years"
    legal_hold_override: true
    disposition: "Secure delete after retention plus hold check"
  - category: "Log review records"
    retention: "1 year online, 7 years archived"
    legal_hold_override: true
    disposition: "Archive to immutable storage, then delete online copy"
  - category: "Auditor correspondence and PBC responses"
    retention: "7 years"
    legal_hold_override: true
    disposition: "Retain with the examination workpapers"
  - category: "Draft working papers superseded by a final version"
    retention: "Until examination closes"
    legal_hold_override: false
    disposition: "Delete drafts once the final version is accepted"
legal_hold_rule: "When a hold is issued, suspend all disposition for in-scope items until the hold is released in writing"
```

```csv
control_id,evidence_item,collection_date,collector,period_covered,sha256_prefix,location
ACC-01,Q3 access review sign-off,2026-07-15,identity lead,2026-04-01 to 2026-06-30,a1b2c3d4e5f6,evidence-vault/ACC-01/
LOG-01,Daily review log July,2026-07-31,detection lead,2026-07-01 to 2026-07-31,9f8e7d6c5b4a,evidence-vault/LOG-01/
CHG-01,Change tickets July,2026-08-05,release manager,2026-07-01 to 2026-07-31,112233445566,evidence-vault/CHG-01/
```

## 4. Working the PBC request list

The PBC list is the auditor's formal request queue, and it is also
your best early warning system. Triage every request on arrival:
is it clear, is the evidence in hand, and who owns it? Answer
exactly what was asked, nothing more and nothing less, and log
the response date and the file supplied. If a request is unclear,
ask for clarification the same day rather than guessing and
supplying the wrong file a week later. If you do not have what
was asked for, say so plainly, give a date for a compensating
item or an explanation, and record the gap as an exception. Never
create, backdate, or reconstruct evidence to satisfy a request:
a disclosed gap is a finding you can remediate, while fabricated
evidence destroys trust in the whole examination.

```markdown
# PBC tracker - one row per request, reviewed daily during fieldwork
| Request | Control | Asked for | Owner | Due | Status | File supplied | Date supplied |
| ------- | ------- | --------- | ----- | --- | ------ | ------------- | ------------- |
| PBC-01 | ACC-01 | Q3 access review sign-off | Identity lead | 2026-08-10 | Supplied | evidence-vault/ACC-01/q3-review.pdf | 2026-08-08 |
| PBC-02 | LOG-01 | Daily review log, July | Detection lead | 2026-08-10 | Supplied | evidence-vault/LOG-01/july-log.csv | 2026-08-09 |
| PBC-03 | CHG-01 | Sample of 25 change tickets | Release manager | 2026-08-15 | In progress | Partial, 18 of 25 | Not yet |
| PBC-04 | ACC-01 | Leaver access removal records | Identity lead | 2026-08-15 | Gap disclosed | None, see exception EX-07 | Not yet |
```

## 5. Sampling: documented method, honest results

Auditors rarely test every transaction; they test a sample and
generalise. Your own pre-testing should do the same, with a method
written down before you look at the results. Random sampling suits
large, homogeneous populations such as change tickets. Risk-based
sampling suits populations where failures cluster, such as
privileged access grants or emergency changes. Whatever the
method, record the population size, the sample size, the selection
rule, and the result for each item. A sample failure is data, not
embarrassment: expand the sample, find the root cause, and fix
the control before the auditor finds the same failure.

```python
# sample_select.py - reproducible random sample from a population file
import csv
import random
import sys

def select(population_csv: str, sample_size: int, seed: int) -> list:
    with open(population_csv, newline="") as handle:
        rows = list(csv.DictReader(handle))
    if sample_size >= len(rows):
        return rows
    rng = random.Random(seed)
    return rng.sample(rows, sample_size)

if __name__ == "__main__":
    chosen = select(sys.argv[1], int(sys.argv[2]), int(sys.argv[3]))
    for row in chosen:
        print(row.get("ticket_id", row))
    print(f"Population and sample recorded separately: seed {sys.argv[3]}")
```

Document the sampling note alongside the results: population,
method, seed or selection rule, items tested, passes, failures,
and the action taken for each failure. If the population itself
is incomplete, for example a change log missing a month, that
incompleteness is the finding, and no sample can cure it.

## 6. Exceptions and period close

An exception is a control that did not operate as designed, an
evidence gap, or a sample failure. Log it the day it is found,
not at period end, with the control, the facts, the impact, the
owner, and the remediation date. Track exceptions to closure: an
exception with no plan becomes a repeat finding next period.
At period close, run a completeness check across the evidence
map: every control, every required interval, every PBC request
answered or explicitly disclosed as a gap. Sign the completeness
check, keep it with the workpapers, and carry open exceptions
forward by name into the next period's plan.

## Edge cases

- Evidence exists only in a personal drive or inbox: export it to
  the repository, record the original location and collector, and
  fix the collection process so the next cycle lands directly in
  the repository.
- A control changed mid-period: keep evidence for both versions,
  document the change date and reason, and show the new control
  operating for the remainder of the period.
- A legal hold arrives during disposition: suspend deletion for
  in-scope items immediately, even if retention has expired, and
  release only on written instruction.
- A sample fails: expand the sample, determine whether the failure
  is isolated or systemic, and remediate the control rather than
  re-sampling until it passes.
- The auditor requests evidence you do not have: disclose the gap,
  offer a compensating control or alternative record, and log it
  as an exception with a remediation date.
- Evidence contains personal data: redact a copy for the auditor
  where the framework allows it, keep the original under access
  control, and record what was redacted and why.
- A system is retired mid-period: export its evidence before
  migration, verify the export against the hash or record count,
  and keep the old system read-only until the examination closes.
- An incident falls inside the period: disclose it, preserve the
  incident evidence under hold, and show the response and the
  corrective action.

## Key references

- AICPA guidance on audit evidence and SOC examination workpapers
  (https://www.aicpa.org)
- ISO 27001 Annex A control evidence expectations and ISO 27006
  audit guidance (https://www.iso.org)
- NIST SP 800-53A, assessing security and privacy controls
  (https://csrc.nist.gov)
- Your auditor's PBC request list, which overrides any generic
  template once fieldwork begins
- Related skills in this repo: defensive-grc-soc2,
  defensive-grc-iso27001, defensive-grc-nist-csf,
  vulnerability-management-program

