If you have ever sat through a SOC-2 Type II, ISO-27001, or HIPAA audit for a FinTech or HealthTech engineering team, you know the most painful part isn't writing the controls — it's proving them six months later across dozens of Jira incidents and Confluence postmortems.

The same silent failures show up in almost every audit sample:

  1. Separation of Duties (SoD) violations: an engineer opens a hotfix ticket, approves it themselves (or deploys a change they approved), breaking SOC-2 CC6.1 / ISO-27001 A.8.32.
  2. Missing linked change evidence: no linked PR or commit hash on a production deployment ticket.
  3. Missing Confluence RCA: a Critical incident closed without a linked root-cause postmortem.
  4. Mutable screenshots: auditors ask how you know a postmortem wasn't edited right before the audit window.

To solve this directly inside Atlassian Cloud without shipping sensitive ticket data to external SaaS servers, I built AuditTrail Sentinel on Atlassian Forge — open-sourced under MIT with a zero-login interactive browser sandbox:

1. Deterministic 0–100 Compliance Scoring Core

Rather than asking an LLM to "guess" whether a ticket is compliant (which fails audit reproducibility), the core engine (src/core/complianceEngine.mjs) is 100% pure, deterministic JavaScript with five weighted controls:

Control ID Framework Mapping Weight What It Verifies
SOD_01 SOC-2 CC6.1, ISO-27001 A.8.32 30 pts reporter != approver != deployer and assignee != approver, with an explicit independent approver
EVIDENCE_PR_02 SOC-2 CC8.1, ISO-27001 A.5.28 20 pts Linked pull request or immutable change-evidence URL
CONFLUENCE_RCA_03 SOC-2 CC7.2, HIPAA 164.308(a)(6) 20 pts Linked Confluence root-cause analysis or change record
SLA_04 ISO-27001 A.5.24, HIPAA 164.312(b) 15 pts Severity-aware SLA thresholds (Critical 4h / High 24h / Medium 72h / Low 168h)
MANDATORY_FIELDS_05 SOC-2 CC7.2, ISO-27001 A.8.32 15 pts Required regulated metadata (affected system, data classification, rollback plan)

Any SoD conflict is immediately surfaced as a CRITICAL blocker, capping the grade at FAIL regardless of other passing controls.

2. Tamper-Evident SHA-256 Confluence Evidence Packs

When an engineer clicks Generate Confluence Audit Evidence Pack inside the Jira issue panel, src/core/evidencePack.mjs performs two steps:

  1. Canonical Sorted-Key JSON Serialization: Recursively sorts all object keys before hashing so the exact same evidence snapshot produces the exact same digest across Node.js (node:crypto) and the browser (crypto.subtle.digest('SHA-256')).
  2. XSS-Safe Confluence Storage Format (XHTML): Renders the control breakdown table, actor SoD matrix, remediation checklist, and SHA-256 digest banner ready to publish directly via the Confluence REST API.

3. Exposing Compliance Gates to Both Rovo Agents and Atlassian MCP

A single manifest.yml declares four Forge surfaces sharing the exact same src/core/ logic:

  • jira:issuePanel: Native UI Kit panel showing live 0–100 score, PASS/WARN/FAIL lozenge, and one-click evidence generation.
  • confluence:macro: Embeds live compliance status badges inside Confluence pages.
  • rovo:agent + action: Lets auditors ask "Verify Separation of Duties approvals on CHG-204" or "Draft a Confluence Audit Evidence Pack for INC-309" via scan-issue-compliance, verify-sod-approvals, and draft-audit-pack.
  • rovo:mcp: Exposes get_compliance_score, list_non_compliant_issues, and generate_evidence_digest so external CI/CD pipelines and IDE agents can enforce compliance gates before a release ships.

Try It in 10 Seconds (Zero Login)

You can test all three regulated scenarios (INC-309 Critical HIPAA SoD Violation, CHG-204 Compliant FinTech Deploy, SEC-101 Missing RCA), toggle actor roles, verify live SHA-256 digests, and run all 6 Rovo & MCP tool payloads in the browser sandbox:

(Also building lightweight self-hosted Python ops utilities? Check out our free zero-dependency CLI vps-ops-check for auditing TLS expiry, disk usage, and SQLite WAL integrity on $5 servers.)