Walkthrough 4: SOX ITGC audit season
Auditor: the Sensitivity Register, read capture, the hash-chained audit store, the user activity timeline, a SOX ITGC evidence pack with its control-downtime section, and what chain verification does and does not prove.
This is a fictional story. The company, the people and the numbers are invented. What Warden does at each step has been checked against the
MGCWardenmodel; where something could not be confirmed, the text says so. See the walkthroughs index for the cast and the rules these stories follow.
The situation
Kestrelmoor Instruments Inc. makes laboratory measurement equipment and is listed in the United States, so its controls over financial reporting, including IT general controls, are tested every year. Its external auditor is Halden Brook LLP. The quarter in this story runs from 1 July to 30 September.
The people in this story:
| Person | Job | Warden role |
|---|---|---|
| Dana Whitlock | IT security lead | Warden audit administrator |
| Jamie Corrigan | Corporate controller | Warden controls owner |
| Rowan Asante | Internal audit manager | Warden auditor |
| Noel Hartigan | Data protection lead | Warden identity resolver |
| Lee Farrow | Engagement senior at Halden Brook LLP | None; receives exported evidence |
The problem
Two things came out of last year's audit.
The first was a management letter point. When Halden Brook asked for evidence of who had changed security role assignments during the year, and which of those changes were to sensitive roles, Kestrelmoor assembled it by hand from screenshots and exports. The auditors accepted it, but noted that nothing showed the evidence was complete or unaltered, and nothing showed whether Kestrelmoor's own controls had been working throughout the period.
The second was an incident. A supplier's remittance details were changed by email fraud, and a payment nearly went to the wrong account. The change itself was in the native database log. What nobody could answer was who had looked at that supplier's bank account details in the weeks before, because Dynamics 365 records who changed a record, not who opened it.
What they decided
Dana and Jamie agreed the following at the start of the quarter.
- Enable the features. On Feature management, Warden Auditor and Warden Evidence & Compliance are switched on. Both are off by default.
- Retention classes first. Warden does not create retention classes. On System administration
→ Setup → Audit retention classes Dana creates
FIN8Ywith Retention (years) 8 and Export before purge ticked. The shipped catalog suggests this class for bank details, but the class only exists once someone creates it. - Register the vendor bank accounts form. Capture is opt-in: an empty Sensitivity Register means nothing is captured. Dana registers the standard vendor bank accounts form by name, at the Form access grain. The reasoning is in step 1.
- Do not register what cannot be captured. Kestrelmoor's suppliers team also exports supplier data through OData for a vendor portal. Warden cannot capture OData reads in this build, and Dana records that as a known gap rather than registering the data entity and implying coverage.
- Sensitive roles. Initialize Warden seeds the Sensitive roles list. Dana adds Kestrelmoor's own payment-release and security administration roles to it. On Warden audit compliance parameters, Sensitive-role alert recipients lists Rowan and Jamie by user ID.
- Anchors leave the tenant. On Warden audit parameters, Anchor feed destination names a destination that Rowan's team controls, so hash-chain anchors are held somewhere Dana's team cannot edit.
- Batch jobs. Audit queue writer, Guard event ingestion, Audit chain integrity, Role event capture and Audit health monitor are scheduled. These are the jobs that turn captured events into store rows, seal and verify the chain, and record role changes. See audit integrity verification and the processes index.
- Who resolves names. Warden stores people as subject references (
WP-followed by twelve characters). The Warden identity resolver role, which ships assigned to nobody, goes to Noel only. Rowan, as auditor, works with references. - Export. The Warden auditor role can build evidence packs but not export them. Exporting is on the Warden audit administrator role. Pack export target on Warden audit compliance parameters names the folder Dana exports to.
Walking through it
1. Dana chooses how to register the bank accounts form
Dana opens System administration → Setup → Sensitivity catalog. The shipped catalog has a row
for vendor bank accounts: Object type Table, Object VendBankAccount, suggested capture
tier Form access, suggested retention class FIN8Y, with a rationale that also says OData reads
are not captured. Enroll from catalog would create a register entry from that row.
Dana reads how the form sensor matches entries before enrolling. When a form opens, Warden looks
first for a Form-type entry with that form's name. Failing that, it looks for a Table-type entry
matching the record the form was opened from. Kestrelmoor's users open bank accounts from the
vendor record, so the record the form is opened from is the vendor, not a bank account row. A
Table entry for VendBankAccount would not be matched by that route.
So Dana creates the entry directly on System administration → Setup → Sensitivity Register:
| Field | Value |
|---|---|
| Object type | Form |
| Object | VendBankAccounts |
| Sensor grain | Form access |
| Retention class | FIN8Y |
| Coverage boundary | Opens of the vendor bank accounts form in the client. OData and data management exports are not captured. |
Not confirmed: whether a Table-type entry for
VendBankAccountcaptures any opening of the bank accounts form in practice. The matching rule above is from the sensor's code; it has not been observed in a running environment.
On the Sensitive columns tab Dana lists the bank account number and IBAN fields, knowing what the form tells them: the list selects what a future field-level capture would report as exposed. It does not narrow or widen what is captured today, and Warden warns about that when the entry is saved.
2. Jamie activates the entry
Dana presses Submit for register activation. A Warden register activation work item goes to Jamie, who approves it. The entry becomes active. Dana cannot approve their own entry: author and activator must be different people, and Warden checks this at approval.
From this point, and not before, opening the form is captured. Capture is not retrospective. If the email fraud of last year happened again in August, the question "who looked?" could be answered for August; it still cannot be answered for last year.
3. A read leaves a trace
In early August an accounts payable clerk opens a supplier, opens its bank accounts, closes them, and opens them again four more times in ten minutes while sorting out a remittance query.
Each opening runs the standard form first. Only after the form has opened does Warden's sensor record a compact event, inside its own error handling, so a sensor failure cannot block or slow the form. The event goes to a queue; the Audit queue writer turns queued events into rows in the audit store. Openings by the same person of the same object within the Dedup window (minutes) (15 by default) fold into one row with an Occurrences count, here 5. If the integrity job seals the partition between two openings, the writer starts a new row instead of changing a sealed one, so the five could appear as two rows.
The store row records the actor (as a subject reference), the record the form was opened from (VendTable: followed by the supplier's record ID), the menu item, the form, the company, the grain, first and last occurrence, and the count. It records no field values.
4. Something goes wrong with a control, and is recorded
On 19 August a database failover interrupts the signing-limit check while a sales manager is approving a sales governance work item. Warden cannot read the limits, so, as designed for that check, the approval proceeds and Warden files an Ungoverned action occurred attestation saying the gate failed and the approval went through ungoverned. Guard event ingestion copies it into the audit store.
Nobody at Kestrelmoor notices that day. It matters in step 9.
5. A sensitive role is granted
On 2 September an administrator grants a contractor the payment-release role for a fortnight to cover leave. The next run of Role event capture compares role assignments with its last snapshot, writes a durable role event (who granted what to whom, when, and through which source), forwards it to the audit store, and sends Rowan and Jamie an in-client alert headed Sensitive role granted. No email is sent; recipients see the alert in the client. The Warden sensitive role granted business event is the channel that can leave the product.
6. The phone call
On 22 September a supplier calls to say they have not been paid and that their bank details have not changed. Accounts payable find that the details were changed on 12 September. Rowan is asked who had viewed that supplier's bank accounts in the month before the change.
Rowan opens System administration → Setup → Audit store inquiry and filters Form to
VendBankAccounts, Event kind to Read and First occurred to the four weeks before
12 September. The Document column shows record keys, which are the supplier's table and record
ID rather than the supplier account; Dana confirms which key is the supplier in question. Filtering
on that key leaves eleven rows from four actors, each with an occurrence count.
Screenshot to add: Audit store inquiry filtered to one supplier's record key, showing Event kind, Actor, Document, Form, Occurrences, First occurred and Last occurred.
7. One actor's timeline
One of the four actors opened the bank accounts of nine suppliers on one evening, none of them
suppliers that actor normally deals with. Rowan opens System administration → Setup → User
activity timeline, enters that actor's WP- reference in User, sets From date and To
date, and presses Apply.
The timeline merges audit store events and role events for that subject in one list: Event time, Event kind, Actor, Record, Form, Occurrences, Source, Detail and Provenance. It shows the evening of reads and, two days earlier, a role grant that gave the account access to accounts payable.
Rowan's own query is recorded too: every timeline query writes a self-audit row to the store, so the people looking at the evidence are on record as well.
For the record question the timeline has a shortcut. Rowan selects that evening's read of the calling supplier's bank account and presses Who saw this record. A new timeline opens for the record the row names and lists everyone who saw or changed it in the last 30 days; Rowan moves From date back to mid-August and presses Apply. The same button is on the store inquiry. A row that names no single record, such as the role grant, opens a page that searches nothing and says why.
8. Putting a name to a reference
Rowan has a reference, not a name. They ask Noel, who holds the identity resolver role, to resolve it. Noel opens System administration → Setup → Resolve identities, enters the reference under Who does a reference stand for? and presses Resolve. The answer reads "… is … (System user). This lookup has been recorded in the audit store." Warden writes the Identity resolved self-audit row before it shows the answer.
The account belongs to a temporary staff member whose access was meant to be read-only. The matter goes to Kestrelmoor's investigations team and is outside this story.
9. Building the SOX ITGC pack
In the first week of October Rowan builds the quarter's evidence. On System administration → Setup → Evidence pack builder they choose Pack type SOX ITGC, Period from 1 July and Period to 30 September.
Warden assembles the pack into a run on Evidence pack runs, with Run ID, Status, Parameter snapshot and Output summary, and these sections on the Sections tab:
SOX ITGC pack, 1 July - 30 September
|
+-- Coverage statement what was captured, what was not, latest chain verification
+-- Control downtime every ungoverned action in the period (cannot be switched off)
+-- Native log exclusions
+-- Access changes role grants and removals, with their source
+-- Control operation guard decisions recorded in the store
+-- Purge certificates and approved purges in the period
+-- Deprovisioning queue leavers and what was decided for each
The Control downtime section lists the 19 August attestation: the signing-limit check failed and the approval went through ungoverned. In a quarter with none it would say No control outages in period. The section cannot be switched off on the pack template, so a quarter in which a control was down cannot be presented as one in which it was not. Access changes includes the 2 September grant of the payment-release role. The Output summary ends with the statement that all evidence pack templates are draft pending legal review.
The SOX ITGC pack is about change control, access and control operation. It does not list read events: the bank account reads from steps 6 and 7 are evidence Rowan keeps from the store inquiry and timeline, not part of this pack.
If a section fails to build, the run is marked Failed and its sections are removed; Warden does not publish a partial pack. Each build is recorded in the audit store under the user who ran it. See evidence pack builder.
10. Export, with references
Rowan cannot export. Dana selects the completed run and presses Export. Warden writes a text binder and an HTML binder to the pack export target and replies Exported to … with the path. The export is logged.
The binders name people by subject reference. Halden Brook ask for names against six references in the access-changes section. Noel resolves those six through Resolve identities, one lookup each, each recorded. Noel could instead export the binder with names, using the Resolve identities tick that the Export dialog shows only to an identity resolver who can also export; at Kestrelmoor Noel does not hold the export duty, so the six-lookup route is the one they use.
11. What the chain says, and what it does not
Lee Farrow asks how Halden Brook can rely on the store not having been edited.
Rowan opens System administration → Setup → Chain verification results. Each run of Audit chain integrity anchors new rows in each partition with a hash and then re-walks ranges against the anchors, recording Partition, From sequence, To sequence, Result (Pass, Fail, or Reconciled against a purge certificate), Detail and Run at. The verification result is itself written to the store. For the quarter, every range shows Pass.
Rowan explains what that means and what it does not:
- Rows are appended with a sequence number, and Warden's code has no path that updates them. The only deletion is the dual-control purge of rows past their retention class, which writes a permanent certificate first; verification reconciles a purged range against that certificate.
- A system administrator on this platform cannot be blocked by role from the database. Warden does not claim to prevent such a person altering rows.
- What the chain gives is detection. Altering a row changes its hash, and the next verification against the anchor records Fail. Anchors are also published to the governance event log, as a business event, and to the anchor feed destination, which Rowan's team controls. Someone who altered rows and recomputed the chain inside the tenant would still not match the anchors held outside it.
- A Pass says the rows in those ranges are the rows that were anchored. It says nothing about events that were never captured, such as OData reads, which the coverage statement lists.
See the auditor's guide.
The outcome
- Access changes for the quarter, including the sensitive grant, came from one pack built in minutes, with its completeness boundaries stated in its own coverage statement.
- The quarter's one control outage was disclosed in the pack rather than discovered by the auditors.
- Rowan could answer "who looked at this supplier's bank details?" for the weeks before the fraud, which they could not do last year, because the form had been registered since July.
- Names were disclosed only where needed, by one person, with each disclosure recorded.
- The integrity claim made to Halden Brook was detection, not prevention, and that is what the evidence supports.
Halden Brook's view of whether this evidence satisfies their testing is their own; Warden's packs are draft pending legal review and are not a certification.
What this story simplified
- Setup off stage. Feature enablement, Initialize Warden, batch scheduling, the register activation workflow and the anchor feed destination are configured before the story starts. See Getting started, the configuration reference and the audit administrator's guide.
- Record keys. The store keys a read by the table and record ID it was opened from, not by a business key such as the supplier account. Someone has to translate the key; the story gives that to Dana.
- What the store holds. Who, what, when, where it was opened from, and how many times. Not the values on screen. Field-level (Deep Record) capture ships dark.
- What is not captured. OData and entity reads, reports re-run by the reporting server itself, and Electronic Reporting output.
- Alerts. Sensitive-role alerts go to user IDs as in-client alerts. A token that matches no user is skipped.
- The fraud. Warden did not detect the fraud and did not stop the bank detail change. It made the reads before the change visible after the event.
- Legal status. The evidence packs carry a draft marking until the legal review of the templates is signed off.
- Not a deployment. This story describes the behavior Warden is built to have, not results observed in a customer deployment.