A tokenisation platform that was configured well at go-live drifts quietly: detokenise rights accumulate, keys pass their planned rotation date and masking rules are edited without anyone noticing. This health check is a recurring, scorable audit for the platform that issues tokens, holds the token vault or format-preserving encryption keys, answers detokenise requests and applies masking policies. It is written for the platform owner, the security team and internal audit, and it assumes the platform has already been built and hardened. It does not repeat the build controls: those are in the Securing the tokenisation and data masking platform itself guide. Here you measure whether those controls still hold, quarter after quarter, and record evidence an assessor can re-perform.
How to use this template
- Copy the metrics table into your own tracker and replace [Organisation], [Platform] and the thresholds with your values. Keep the IDs (TOK-01 to TOK-16) so findings can be traced between reviews.
- Agree the scope first: list every production and non-production tenant of [Platform], every vault or vaultless key domain, every masking job and every identity able to call detokenise or unmask. A health check over half the estate gives a false green.
- Collect the data using the sources in "How to collect the data". Export raw evidence (role listings, key metadata, policy diffs, log queries) and store it with the review date, not just the score.
- Score each metric green, amber or red against the thresholds. Any red on an item touching cardholder data, special category personal data or credentials makes the whole area red, regardless of percentages.
- Log findings in the findings log with an owner and due date, and map each to a remediation action. Re-run red items within 30 days rather than waiting for the next cycle.
- Sign off: the platform owner and a reviewer who holds no administrator or key custodian role on [Platform] sign the result.
Key takeaways
- Detokenise is the number to watch. Every identity that can turn a token back into clear data has effective access to the original data, so the count of such identities and their request volumes are the core health indicators.
- Key health is about dates and custody. Check that each tokenisation or format-preserving encryption key sits in a hardware security module or key management service, is inside its planned cryptoperiod and is held under dual control.
- Masking rules drift silently. Diff every masking policy against the approved baseline each review: an unreviewed change to a rule is a data access change.
- Test environments are part of the audit. Sample masked copies for unmasked values, because a masking job that fails open can copy production data into test without an error.
- Evidence beats assertion. Each metric names a data source; keep the exports so a second reviewer, or a PCI DSS assessor, can re-perform the check.
Cadence and sign-off
| Activity | Cadence | Owner | Evidence kept |
|---|---|---|---|
| Detokenise and unmask entitlement review (TOK-01 to TOK-05) | Quarterly, and after any reorganisation | Platform owner with data owners | Entitlement export, approval records, removal tickets |
| Key custody and cryptoperiod review (TOK-06 to TOK-09) | Quarterly; key ceremonies recorded as they happen | Key custodians (two named people) | Key metadata export, ceremony minutes, HSM or KMS audit log extract |
| Masking policy drift review (TOK-10 to TOK-12) | Monthly for production policies, quarterly for test jobs | Policy owner | Policy diff against baseline, change tickets, sample results |
| Logging, alerting and backup checks (TOK-13 to TOK-16) | Quarterly, plus an annual restore test | Security operations and platform owner | SIEM query results, alert test record, restore test report |
| Full health check sign-off | Quarterly; annually for internal audit | Platform owner and independent reviewer | Completed template, findings log, remediation map |
Where [Platform] is in scope for PCI DSS, align the quarterly cycle with your assessment calendar. The PCI Security Standards Council tokenisation guidance treats all components of a tokenisation system as part of the cardholder data environment, and any system that can redeem a token for a PAN stays in scope, so detokenise clients belong in this review, not only the vault.
Metrics
| ID | Metric | Formula | Data source | Green | Amber | Red |
|---|---|---|---|---|---|---|
| TOK-01 | Detokenise identities with a recorded owner and business purpose | Identities with owner and purpose / all identities able to detokenise | Platform client and role listing, CMDB | 100% | None (no amber band) | Below 100% |
| TOK-02 | Unused detokenise rights | Identities with detokenise rights and no request in 90 days | Detokenise request log, role listing | 0 | 1 to 3, removal ticket raised | More than 3, or any human account |
| TOK-03 | Shared or multi-application credentials | Client credentials used by more than one application or source address range | Request log grouped by client and source | 0 | None | 1 or more |
| TOK-04 | Standing human unmask rights | Human accounts with permanent (not time-bound) unmask or clear-text return | Role listing, access approval records | 0 | Approved exceptions with expiry inside 30 days | Any without expiry |
| TOK-05 | Administrators also holding data access | Platform administrators who can also detokenise or unmask | Role listing | 0 | Documented break-glass only | 1 or more standing |
| TOK-06 | Keys held in HSM or KMS | Tokenisation, vault and FPE keys in HSM or KMS / all such keys | Key inventory, HSM or KMS key listing | 100% | None | Below 100% |
| TOK-07 | Keys within planned cryptoperiod | Keys inside their documented cryptoperiod / all active keys | Key metadata (creation, last rotation), key management plan | 100% | Overdue under 30 days with plan | Overdue 30 days or more |
| TOK-08 | Dual control on key operations | Generate, import, export, destroy operations with two recorded approvers / all such operations | HSM or KMS audit log, ceremony minutes | 100% | None | Below 100% |
| TOK-09 | Key separation by data type and environment | Key domains shared between production and non-production, or across data types | Key inventory mapped to tenants | 0 | None | 1 or more |
| TOK-10 | Masking policy drift | Production masking rules differing from the approved baseline without a change record | Policy export diffed against baseline in version control | 0 | None | 1 or more |
| TOK-11 | New sensitive fields without a masking rule | Fields classified sensitive in the data catalogue with no masking or tokenisation rule | Data catalogue or discovery scan, policy export | 0 | Rule in progress, under 30 days old | Older than 30 days |
| TOK-12 | Unmasked values in test copies | Sampled records in non-production containing values matching production formats and checks | Sampling script output on refreshed test data | 0 | None | Any confirmed real value |
| TOK-13 | Detokenise logging completeness | Detokenise and unmask events reaching the SIEM / events recorded on the platform | Platform audit log count vs SIEM count for the same window | 99% or above | 95% to 99% | Below 95% |
| TOK-14 | Clear values in logs | Log entries containing clear sensitive values (application, platform or SIEM) | Pattern search across log stores | 0 | None | 1 or more |
| TOK-15 | Volume and anomaly alerts tested | Detokenise volume, new client and policy change alerts that fired in a test this quarter / alerts defined | Alert test record | 100% | One alert untested | Two or more untested |
| TOK-16 | Vault backup protection and restore | Backups encrypted with keys held apart from the backup store, restore rights restricted, restore tested in 12 months | Backup configuration, restore test report | All three met | Restore test overdue under 90 days | Any other gap |
Report every percentage with its absolute count ("100%, 14 of 14 identities"). A small denominator can make one stale credential look acceptable.
How to collect the data
- Entitlements (TOK-01 to TOK-05): export roles, client applications and API credentials from the platform's administration API or console, then join them to the request log for the last 90 days. Match each client to an application owner in the CMDB. Treat any identity able to call detokenise, request a clear-text return format or bypass masking as in scope, including batch and reporting service accounts.
- Keys (TOK-06 to TOK-09): export key identifiers, creation and rotation dates and policies from the HSM or key management service, not from the platform's own summary screen. Compare with the key management plan. NIST SP 800-57 Part 1 gives the general basis for cryptoperiods and key states; your plan sets the actual periods.
- Format-preserving encryption: if [Platform] uses vaultless or format-preserving tokens, record the method and domain sizes. NIST SP 800-38G Rev. 1 (second public draft, February 2025, checked November 2026) no longer specifies FF3 and keeps FF1, so record which mode is in use and track the final publication.
- Masking policies (TOK-10 to TOK-12): export policies as code and diff them against the last approved version in version control. For test data, run a sampling job after each refresh that checks for real formats, for example card numbers passing a Luhn check or national identifier patterns, in fields that should be masked.
- Logs and alerts (TOK-13 to TOK-15): count detokenise and unmask events on the platform and in the SIEM for the same 24-hour window. Search log stores for clear values with the same patterns used in TOK-12. Trigger each alert with a controlled test request from a test client and record the ticket.
- Backups (TOK-16): read backup encryption configuration, list who can restore, and attach the latest restore test report.
Red flags that need action now
Do not wait for the quarterly cycle if any of these appear. Raise an incident and consider the tokenisation platform compromise playbook.
- Detokenise spike: a client requesting several times its baseline volume, or a client detokenising data types it has never requested before.
- Unknown client: a detokenising identity with no owner, no onboarding record or a source address outside approved ranges.
- Key event without a ceremony: an export, import or destroy operation in the HSM or KMS log with no matching dual-control record.
- Masking rule weakened: a production rule changed from full masking to partial or clear return without a change ticket.
- Real data in test: any confirmed production value found in a non-production copy.
- Logging gap: detokenise events stopped arriving in the SIEM, or audit logging was disabled on the platform.
Findings log
| Finding ID | Finding | Metric | Severity | Owner | Due date | Status |
|---|---|---|---|---|---|---|
| [F-YYYYQn-01] | [Description and evidence reference] | [TOK-nn] | [Critical / High / Medium / Low] | [Name, role] | [Date] | [Open / In progress / Closed / Risk accepted] |
A finding that stays red for two consecutive reviews goes to the CISO. A finding that recurs three times goes to the risk register with a named risk owner. Risk acceptance on TOK-03, TOK-06 or TOK-12 needs sign-off from the data owner as well as security, because the exposure is to the original data.
Remediation map
| Metric | Typical root cause | Remediation | Framework anchor |
|---|---|---|---|
| TOK-01, TOK-02 | Clients onboarded for projects that ended; no quarterly recertification | Remove unused rights; require owner, purpose, data types and volume limit at onboarding | NIST SP 800-53 AC-2, AC-6; CSF 2.0 PR.AA-05 |
| TOK-03 | One credential reused to save onboarding effort | Issue one identity per application; prefer mutual TLS or workload identity federation; store any remaining secrets in a secrets manager | NIST SP 800-53 IA-5; ATT&CK T1552 (risk addressed) |
| TOK-04, TOK-05 | Incident-time grants never revoked; administrators given data access for troubleshooting | Time-bound, approved and logged unmasking; separate administrator and data roles | NIST SP 800-53 AC-5, AC-6 |
| TOK-06 to TOK-09 | Keys created in software during migration; rotation deferred because of re-tokenisation effort | Move keys into HSM or KMS; schedule rotation and re-tokenisation tests; separate key domains | NIST SP 800-53 SC-12, SC-28; CSF 2.0 PR.DS-01 |
| TOK-10 to TOK-12 | Policies edited in the console; new columns added by application teams without classification | Policy as code with peer review; alert on policy change; link schema change to data classification | NIST SP 800-53 CM-3; CSF 2.0 ID.AM-07 |
| TOK-13 to TOK-15 | Log forwarder dropped events; alerts built but never tested | Monitor forwarder health; quarterly alert tests; send logs to a store administrators cannot alter | NIST SP 800-53 AU-6, AU-9, AU-12, SI-4; CSF 2.0 DE.CM-03 |
| TOK-16 | Vault backups handled by the general backup team with shared keys | Separate backup keys and restore rights; annual restore test | NIST SP 800-53 CP-9, SC-28 |
The main ATT&CK technique to keep in mind is T1078 Valid Accounts: misuse of a legitimate detokenise identity looks like normal traffic, which is why TOK-02, TOK-03 and TOK-15 matter more than perimeter checks. Unauthorised edits to masking rules or vault records map to T1565.001 Stored Data Manipulation.
Where identity fits
Most detokenise traffic comes from non-human identities: payment services, reporting jobs, data pipelines and support tools. Their credentials are effectively keys to the clear data, so the same lifecycle discipline applies as for any machine credential: an owner, a narrow scope, rotation or federation, and removal when the application retires. See the Secrets Management Guide for storing the credentials that remain.
Implementation guidance
- First cycle (baseline): run TOK-01, TOK-03, TOK-06 and TOK-12 first. They expose the highest exposure items and usually need the most clean-up. Expect red; record it rather than delaying the report.
- Second cycle: add the full metric set, put masking policies under version control so TOK-10 becomes an automated diff, and agree alert tests with security operations.
- Automate collection: schedule the exports and log queries so each review starts with fresh evidence. Keep the scripts read-only: a health check must never change roles, keys or policies.
- Test changes before production: removing a detokenise right or rotating a key can break a payment or reporting flow. Remove rights in a pilot group first, monitor for failed requests for one business cycle, and keep a documented way to restore the right under approval if a critical service fails.
- Small organisations: where one team runs the platform, keep the independent reviewer from outside that team (internal audit or a peer team) and focus on TOK-01, TOK-03, TOK-06, TOK-08, TOK-12 and TOK-13.
- Large or regulated estates: run the check per tenant and per key domain, report a roll-up to the risk committee and give PCI DSS and data protection owners their own view of the findings.
Data protection note: tokenised data is pseudonymised, not anonymous, for anyone who can reverse it. The ICO's pseudonymisation guidance expects the additional information, such as keys or lookup tables, to be kept separately, access to be restricted and access requests logged, which is what TOK-01 to TOK-09 and TOK-13 evidence.
Common failure patterns
- Checking the vault, not the clients: the review covers vault hardening but never lists who can call detokenise, which is where most exposure sits.
- Trusting the platform's own key screen: key dates taken from the platform summary rather than the HSM or KMS audit log, which hides a key that was exported or recreated.
- Green on percentages, red in reality: 98% of identities owned sounds healthy until the unowned 2% is the reporting account with full detokenise rights.
- No masking baseline: without a versioned baseline, drift cannot be measured, so TOK-10 is reported green by default.
- Test data assumed masked: the job reported success, nobody sampled the output, and real values sat in test for months.
Practitioner checklist
- Scope every tenant, key domain, masking job and detokenising identity before scoring.
- Score TOK-01 to TOK-16 with absolute counts and keep the raw exports.
- Remove detokenise rights unused for 90 days and any shared client credential.
- Confirm every key is in an HSM or KMS, inside its cryptoperiod and under dual control.
- Diff production masking policies against the approved baseline every month.
- Sample refreshed test data for real values after every refresh.
- Reconcile platform and SIEM detokenise event counts and test each alert.
- Have an independent reviewer sign off and escalate repeat red findings.
Standards and references
- PCI Security Standards Council: Information Supplement, PCI DSS Tokenization Guidelines
- NIST: SP 800-38G Rev. 1 (2nd Public Draft), Methods for Format-Preserving Encryption
- NIST: SP 800-57 Part 1 Rev. 5, Recommendation for Key Management
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- ICO: Pseudonymisation guidance
- EDPB: Guidelines 01/2025 on Pseudonymisation
- MITRE ATT&CK: T1078 Valid Accounts
Related NHI Mgmt Group resources: Securing the tokenisation and data masking platform itself · If your tokenisation and data masking platform is compromised · Tokenisation and Data Masking Guide · Data Masking and Tokenisation Buyer's Guide