generate_evidence_bundle
Generate tamper-evident compliance evidence bundles for HIPAA, PCI-DSS, SOC 2, and GDPR by assembling coverage, approval trails, and exceptions into a sealed local artifact.
Instructions
[WRITE][risk=medium] Assemble + hash-chain-seal an evidence bundle for a framework.
One-call happy path: coverage + approval trail + exceptions + sealed evidence records → a bundle .json under ~/.compliance-aiops/bundles/. Reads audit DBs and writes a local artifact only; touches no external system.
Args: framework: hipaa / pci_dss / soc2 / gdpr / iso27001 / djcp_l3. period_start / period_end: ISO timestamps bounding the reporting period. out_path: Where to write the bundle (default: the bundle dir). sign: If True and a signing key is stored, attach an HMAC signature. period: Convenience relative window (e.g. "7d", "last-7-days") used only when period_start / period_end are not supplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sign | No | ||
| period | No | ||
| out_path | No | ||
| framework | Yes | ||
| period_end | No | ||
| period_start | No |