Information security breaches often leave traces in logs that nobody collected, or that nobody read in time. In an EHR environment, choosing which security event sources feed the SIEM, and which alerts a person must see, is what turns logging into detection.
Startup founders and engineering and security leaders running an EHR environment will find the event sources that matter, how to rank them, the alerts worth an analyst's time, and how to keep each feed healthy once it is connected.
Which security event sources should feed the SIEM in an EHR environment?
The security event sources that should feed the SIEM in an EHR environment are identity and sign-in logs, EHR application audit logs, remote access and VPN logs, endpoint detection alerts, email security events, database and server logs, and cloud control-plane logs. Start with identity and EHR access, because a stolen account looks like normal use everywhere else.
Building detection for an EHR environment?
We plan the event sources, parsing, alert rules and runbooks for your SIEM.
The HIPAA Security Rule audit controls standard, 45 CFR 164.312(b), requires hardware, software or procedural mechanisms that record and examine activity in information systems that contain or use electronic protected health information.
Recording is half of that rule and examining is the other half. A SIEM is where examination happens across systems, and the sources you connect decide what it can see. Agnotic Technologies helps healthcare teams choose, connect and tune those sources.
Ranking the sources
Sources should be ranked by how directly they answer the first questions of any investigation: who was this, and what did they touch?
| Priority | Source | What it shows |
|---|---|---|
| 1 | Identity provider and directory | Sign-ins, MFA challenges, password resets, new admin roles |
| 1 | EHR application audit log | Who opened which chart, exports, prints, break-the-glass access |
| 1 | Remote access and VPN | Connections from new countries, devices or times of day |
| 2 | Endpoint detection and response | Malware, suspicious processes and ransomware behaviour on workstations and servers |
| 2 | Email security gateway | Phishing delivered, links clicked, forwarding rules created |
| 2 | Backup system | Deleted backups, shortened retention, failed jobs |
| 2 | Cloud control plane | New keys, changed permissions, storage opened to the public |
| 3 | Database and file servers | Bulk reads, schema changes, privileged queries |
| 3 | Firewalls and DNS | Traffic to known bad destinations, unusual outbound volume |
Connect priority 1 sources before anything else. A SIEM full of firewall logs but blind to EHR access can tell you that something happened on the network, but not whose records were read.
Which EHR audit events matter most?
The EHR audit events that matter most are the ones that show access beyond a person's normal work, or changes to the controls themselves.
- Break-the-glass access: emergency access to a restricted record, with the reason given.
- Sensitive records: charts of employees, their families and well-known patients.
- Bulk activity: large report runs and exports, especially outside working hours.
- Printing and downloads: many documents printed or saved in a short period.
- Privilege changes: new roles or rights granted inside the EHR.
- Audit settings: logging disabled or changed.
An EHR may keep a detailed audit trail without streaming it anywhere. Find out how your EHR exports audit events, how quickly and in what format before the SIEM design is fixed.
Which alerts deserve an analyst's attention?
The alerts that deserve an analyst's attention combine events that rarely happen together by accident, so each one is worth reading.
Under 45 CFR 164.308(a)(1)(ii)(D), a covered entity must implement procedures to regularly review records of information system activity, such as audit logs, access reports and security incident tracking reports. Section 164.308(a)(5)(ii)(C) adds log-in monitoring, procedures for monitoring log-in attempts and reporting discrepancies, as an addressable specification.
Regular review works only if the alert volume is small enough to read. A few precise rules, each with a runbook, beat hundreds of noisy ones.
| Alert | Built from | First response |
|---|---|---|
| Sign-in from a new country followed by chart access | Identity provider and EHR audit log | Confirm with the user; end the session if they did not sign in |
| Repeated MFA prompts followed by a success | Identity provider | Treat as possible MFA fatigue and reset credentials |
| A user opening far more charts than their role usually does | EHR audit log | Check with the user's manager before acting |
| New mailbox rule forwarding to an outside address | Email platform | Remove the rule and review what was forwarded |
| Backups deleted or retention shortened | Backup system | Treat as a possible ransomware step and lock backup admin accounts |
| Ransomware behaviour on a workstation | Endpoint detection | Isolate the device from the network |
Patient data and the SIEM
Patient data should stay out of the SIEM wherever an alert can work without it. User IDs, record identifiers, event types and times are usually enough to detect unusual access.
Analysts look up the patient in the EHR only when an investigation needs it, through an access path that is itself logged. That keeps a tool used by many analysts from becoming another copy of the chart.
What should a runbook for each alert contain?
A runbook for each alert should tell the person on duty what the alert means, what to check first and who to call, in a page they can follow at night.
- Meaning: what the rule detects and the most common harmless explanations.
- First checks: the queries to run and the people to contact, such as the user or their manager.
- Containment: the actions the responder may take alone, such as ending a session or isolating a device.
- Escalation: when to involve the privacy officer, clinical leaders or legal counsel.
- Record: where the investigation notes and outcome are stored.
Write the runbook before the alert goes live. An alert without one tends to be acknowledged and closed, because nobody is sure whose job it is.
Vendor and third-party access
Vendor and third-party access needs its own events, because outside staff often have broad rights, use remote tools and sign in at unusual hours for legitimate reasons.
- Named accounts: one account per vendor engineer, never a shared login, so events point to a person.
- Remote support sessions: log who connected, to which system, when and for how long.
- Time-bound access: accounts enabled for a support window and disabled afterwards, with both changes logged.
- Interface accounts: service accounts for integrations, watched for interactive sign-ins they should never make.
Testing that alerts actually fire
Alerts should be tested the same way as code, because a rule that never fires looks identical to a quiet environment.
- Test accounts: sign in from an unusual location with a test account and confirm the alert reaches the right person.
- Synthetic chart access: open a flagged test patient record and check the EHR event arrives and matches.
- After upgrades: rerun the tests when the EHR, identity provider or SIEM is upgraded.
Record each test with its date and result. When an auditor or insurer asks how you know monitoring works, that record is the answer.
Who can search the SIEM?
Only the security team and named investigators should be able to search the SIEM, because its contents describe who accessed what across the whole environment.
Log searches in the SIEM itself, review admin access to it, and agree retention with compliance and legal teams so investigations can look back far enough without keeping data longer than needed.
How do teams connect sources step by step?
Teams connect sources in priority order and only add the next tier when the first one produces useful, tuned alerts.
- Step 1, inventory: list every system in the EHR environment, its owner and what it can log.
- Step 2, rank: score each source by the investigation questions it answers.
- Step 3, connect priority 1: identity, EHR audit and remote access first.
- Step 4, normalize: parse events into common fields such as user, host, time, action and outcome.
- Step 5, write a few alerts: each with a runbook that names who responds and what they do first.
- Step 6, tune: review false positives with the people who receive alerts, then add the next tier.
How do you know a source has stopped sending?
A silent source looks exactly like a quiet day, so the SIEM should alert on missing data as well as on suspicious events.
- Expected volume: an alert when a source sends far less than its usual daily volume.
- Last event time: an alert when a priority 1 source has sent nothing for longer than agreed.
- Parse failures: a rising rate of events the SIEM cannot read, often after a vendor update.
- Clock drift: sources whose timestamps disagree with the rest, which breaks correlation.
What are the common mistakes with security event sources?
The common mistakes with security event sources come from collecting what is easy instead of what answers investigation questions.
- Network logs first: firewalls are connected while EHR audit logs are not.
- Everything on, nothing tuned: analysts stop reading alerts within weeks.
- No runbooks: an alert fires and nobody knows who should act.
- Unmonitored feeds: a source stops sending after an upgrade and nobody notices.
- Patient data in raw events: the SIEM becomes a sensitive data store in its own right.
What does it mean for your build plan?
Choosing event sources shapes the build plan through integration work, parsing and the people who will respond.
- Confirm how each priority 1 system exports events, and any licence or module it needs.
- Plan parsers and field mapping for EHR audit events, which vary by vendor.
- Agree alert owners and runbooks with security, IT and privacy teams before go-live.
- Set retention and access rules for the SIEM itself with compliance and legal teams.
How can Agnotic help with SIEM event sources?
Agnotic inventories your EHR environment, connects and parses the priority sources, writes a small set of tuned alerts with runbooks, and monitors feed health so detection keeps working after upgrades.
Detection built on the right sources
We connect, parse and tune the feeds your SIEM needs.
Related reading on Agnotic
Security monitoring and compliance engineering on Agnotic.


