The quarterly access review is the control auditors most often see satisfied and least often see working. A reviewer is handed a spreadsheet of names and role labels, approves the lot in an afternoon, and the organisation records that entitlements were certified. Nobody looked at what the access actually was.
I have sat through enough of these to know how they fail. The reviewer is a line manager who does not know what “SAP_FI_POSTING” grants, cannot tell whether it has been used since it was granted, and has no way to see that the same person also holds the entitlement to create the vendor they are paying. So the manager does the rational thing under those constraints: approves everything, because the cost of querying a single line is high and the reward for catching an error is zero. The recertification produces a signature and no assurance. That is a rubber stamp, and it is worse than doing nothing, because it manufactures evidence that the risk was examined when it was not.
Why the spreadsheet approach certifies nothing
The spreadsheet is a snapshot, usually hand-exported, usually already stale by the time it reaches the reviewer. It carries role names, not what those roles resolve to at the system level. It carries no usage signal, so dormant access — the single largest source of standing risk in most estates — is indistinguishable from access someone relies on daily. And it presents each entitlement in isolation, so the combinations that matter for segregation of duties are invisible unless the reviewer happens to hold the whole picture in their head.
Free · 4 minutes
Would you survive contact with a determined attacker — or an auditor?
Fourteen questions on access, patching, detection, and recovery — the basics that prevent most real incidents, and the ones most often assumed rather than verified. Banded finding on screen, full sheet by email.
None of that is a training problem. You cannot brief your way out of asking a manager to certify data they cannot see. The frameworks that mandate the review — ISO 27001:2022 Annex A 5.18 on access rights, NIST SP 800-53 AC-2 and AC-6(7) on account and privilege review, the access side of SOX IT general controls — all require that access be reviewed at a defined cadence. None of them says a signature on a stale list discharges the obligation. A supervisor or external auditor who has learned to probe will ask what the reviewer actually saw, and the honest answer is usually: a list of labels.
What “as code” actually means here
Access certification as code does not mean buying an identity governance suite and clicking through its campaign wizard, though a good one helps. It means treating the campaign as a data product built from live sources rather than a document circulated for sign-off. The campaign is generated, not exported. Every review line is assembled at run time from three things the spreadsheet leaves out: who the identity is and who owns it, what the entitlement actually grants, and whether it has been used.
Getting those three joined is most of the work, and it is the same discipline as any other estate-wide analysis driven from source data rather than a manual pull — the approach I have described for automating custom-code remediation analysis applies directly to entitlements. Identity comes from the HR or joiner-mover-leaver system of record. Entitlement assignments come from the target systems themselves, resolved down to the privilege level, not the role label. Usage comes from the authentication and authorisation logs. Join those and the review line stops being “Alice holds Finance Role” and becomes “Alice holds direct-posting access she has not exercised in 214 days, and separately holds vendor-creation access that conflicts with it.” That is a line a manager can actually decide.
The join that drives the campaign
The core of the build is one query. It joins the identity register, the entitlement assignments and a last-use table derived from access logs, then flags each line for dormancy and for any segregation-of-duties conflict the principal triggers. Everything downstream — the reviewer’s screen, the auto-revoke candidates, the audit record — is built from its output.
-- Access certification campaign generator
-- Joins identity, entitlement and last-use signals into review lines,
-- and auto-flags dormant access plus toxic segregation-of-duties pairs.
WITH last_use AS (
SELECT principal_id,
entitlement_id,
MAX(event_ts) AS last_used_at
FROM access_events -- authN/authZ log, one row per use
GROUP BY principal_id, entitlement_id
),
toxic_pairs AS (
-- Curated SoD conflicts, owned by risk, not by IT
SELECT entitlement_a, entitlement_b, rule_name
FROM sod_conflict_rules
WHERE active = TRUE
)
SELECT i.employee_id,
i.display_name,
i.line_manager_id, -- reviewer defaults to the manager
i.department,
e.entitlement_id,
e.system_name,
e.privilege_level, -- resolved grant, not the role label
e.granted_at,
lu.last_used_at,
CASE
WHEN lu.last_used_at IS NULL THEN 'never_used'
WHEN lu.last_used_at < now() - INTERVAL '90 days' THEN 'dormant'
ELSE 'active'
END AS usage_flag,
-- Name any conflicting entitlement the same person also holds
(SELECT string_agg(tp.rule_name, '; ')
FROM entitlement_assignments ea2
JOIN toxic_pairs tp ON tp.entitlement_b = ea2.entitlement_id
WHERE ea2.principal_id = i.principal_id
AND tp.entitlement_a = e.entitlement_id) AS sod_conflict
FROM identities i
JOIN entitlement_assignments e ON e.principal_id = i.principal_id
LEFT JOIN last_use lu
ON lu.principal_id = i.principal_id
AND lu.entitlement_id = e.entitlement_id
WHERE i.status = 'active' -- leavers handled by a separate control
ORDER BY sod_conflict DESC NULLS LAST, usage_flag, i.department;
The conflict rules deserve their own note. The sod_conflict_rules table is where the risk function lives, and it must be owned by risk or finance, not by IT. Which pairing of privileges is toxic — create-vendor with approve-payment, submit-journal with post-journal, grant-access with hold-access — is a control judgement, not an engineering one. If IT curates that table, the certification quietly measures whatever IT already believes, which defeats the point.
Dormant and toxic access should default to revoke
Once usage and conflicts are on every line, the campaign changes shape. Access that has never been used, or has been dormant past a threshold you can defend, should present to the reviewer pre-selected for removal — the reviewer justifies keeping it, rather than rubber-stamping it. That single inversion does more to shrink standing entitlement than any amount of exhortation, because it moves the effort cost onto retention instead of onto revocation. Toxic combinations should not wait for the quarterly cycle at all; a newly granted conflict is an event that warrants a same-week look, not a line item three months later.
You will still get some over-retention — managers keeping access “just in case” — but you will have made that a visible, recorded choice by a named person, which is exactly what the control is supposed to produce and what the spreadsheet never did.
The decision is the deliverable, not the sign-off
The output that matters is not the completed campaign. It is the record of each decision: which reviewer, on which date, saw which entitlement at which privilege level, with which usage and conflict flags in front of them, and chose to keep or revoke, with a reason where it was kept against a flag. That record is the evidence — the same principle that governs any control where the technology and data behind the assertion is what a supervisor actually tests. A campaign that produces a coverage percentage but cannot reconstruct what a given reviewer saw when they approved a conflict has certified nothing an auditor should accept.
This is the difference between certification that satisfies a supervisor superficially and certification that holds up when they pull a thread. The mechanics of driving campaigns from live entitlement data, and the frameworks that expect it, are set out in more depth in access certification for regulated entitlements. The engineering is not hard. The reason most firms do not do it is that the spreadsheet version passes the audit, and passing the audit is mistaken for holding the risk.
A recertification a reviewer cannot meaningfully evaluate does not reduce your access risk. It documents that you looked away with a straight face.
Sixteen Pillars is a technology governance consultancy based in Cyprus. Engagements run remote across the EU, UK, and Middle East, with on-site time where the engagement requires it.
Free interactive tool
Website compliance checklist
What your site has to do, based on what it actually does
Answer as much or as little as you like — the list builds as you go. Nothing is stored against your name and no email is required.
Everything that applies
Ordered by what to do first: legal requirements you can close quickly, then larger pieces of work, then what is expected rather than required. Not exhaustive, and not a legal audit.
Dated PDF, yours to keep or circulate.
Free interactive tool
Interactive deadline calculator
Check which regulations apply to you and when
Regulation across the EU, UK, US and Asia-Pacific has moved considerably in the past eighteen months, and several headline dates have shifted more than once. Twelve questions, about three minutes.
Results are shown on screen — no email required. A dated summary is available to download, and can be sent on if that's more useful. What we do with your answers.
Most technology problems are not technology problems. They are control problems.
The systems exist. The investment has been made. The question is whether leadership can understand, direct, evidence, and sustain what those systems produce. Find out where control exists — and where it only appears to.
Full Governance by Sixteen Pillars
Govern your business. Prove your compliance.
A board assurance cockpit for EU-regulated financial firms — tamper-evident, hash-chained proof of governance across DORA, GDPR, NIS2, ISO 27001, the EU AI Act and MiCA. In development.
See what's coming