Patient Data Access Audit Scanner
Bronze Quality 65% IG & Security Private repository
Organisation: NHS Example Trust · Project type: Audit Tools
Python scripts that scan database audit logs to report who accessed patient records, flagging unusual patterns such as out-of-hours access or lookups of records sharing the user's surname.
Reusability tier
Bronze
Dependencies are pinned and connection details come from environment variables, but the detection rules are written against one trust's audit schema and need manual rework elsewhere.
Links
Synthetic example
This entry is test data for the demo. The links below do not lead to real code, and any resemblance to real projects or packages is coincidental.
- Repository: https://github.com/nhs-example-org/audit-log-scanner This repository is private; contact the maintainer below to request access.
Quality score
This entry scores 65 of 100 for metadata quality. The score measures how complete and current the catalogue entry is, not the code itself; the reusability tier covers the code. Improving the metadata raises the score.
| Criterion | Points | Met |
|---|---|---|
| Description of 100 characters or more | 10 | yes |
| Two or more tags | 10 | yes |
| Tier rationale provided | 10 | yes |
| SUL layers declared | 10 | yes |
| Updated within the last 18 months | 15 | yes |
| Platforms listed | 5 | yes |
| Owning organisation named | 5 | yes |
| Documentation link | 15 | no |
| Public repository | 10 | no |
| Installable package link | 10 | no |
SUL principle
How this entry maps to the SUL principle:
| Element | Description | Included |
|---|---|---|
| Structural | Templates, folder structures, project skeletons | no |
| Utility | Generic helper functions decoupled from project logic | yes |
| Logic | Bespoke project-specific code, clearly separated | yes |
Details
| Field | Value |
|---|---|
| Category | IG & Security |
| Language(s) | Python SQL |
| Platform(s) | sql-server oracle |
| Tags | audit information-governance access-monitoring security |
| Date added | 2026-03-18 |
| Last updated | 2026-03-18 |
Contact
Spotted a problem with this entry? Request an update or withdrawal.