Blog / Privacy Law

  • uk-law
  • uk-gdpr
  • data-protection
  • subject-access-request
  • security-logs
  • privacy

Yes, Your Security Logs Can Be Part of a SAR

If an organisation records your IP address, account ID, device details or login activity, its security logs may contain your personal data. A subject access request can therefore reach further into the logging system than many security teams expect.

The answer is not "all logs" or "no logs". The useful question is: which entries relate to an identifiable living person? That depends on the log, the surrounding systems and how the organisation uses the information.

The starting point is personal data, not the word "security"

Under the UK GDPR, personal data is information relating to an identified or identifiable living individual. A log entry does not need to contain a name to qualify. An account number, stable device identifier or IP address may identify someone directly or indirectly in context.

For example, these entries could relate to you:

  • a successful login against your account;
  • a failed password attempt using your email address;
  • a multi-factor authentication challenge sent to your device;
  • an administrator viewing or changing your account;
  • an alert generated from activity associated with your user ID.

The same field can have different answers in different systems. A public IP address in a large, short-lived network flow may be difficult to link to one person. The IP address attached to your authenticated account is much more obviously connected to you.

This is an interpretation of the UK GDPR's definition applied to ordinary logging practice, rather than a special rule about security logs. The ICO says organisations should decide whether information is personal data by considering who it relates to and the context in which it is held. Its right of access guidance is a useful starting point.

What the right of access actually gives you

Article 15 of the UK GDPR gives a person the right to confirmation that their personal data is being processed, a copy of that personal data, and supplementary information about the processing. That supplementary information includes purposes, categories of data, recipients and retention periods.

It does not create a general right to inspect an organisation's security system. A SAR is about your personal data, not the controller's entire audit trail.

That distinction matters. You might be entitled to the contents of a login event showing your account, timestamp and source address. You are not automatically entitled to the detection rule that classified the event as suspicious, the credentials of a security analyst, or every unrelated event in the same log file.

The legal text is in Article 15 of the UK GDPR. The ICO's guidance explains that the right is limited to the requester's own personal information, although one record can contain personal data relating to several people.

Security logs often contain several people's data

A single audit record can describe an interaction between you, an employee and a system. Imagine a support agent opening your account at 14:03, changing an address and adding a note. The entry may contain your account details, the agent's name or identifier, and internal commentary.

The organisation must consider the rights of the other people before disclosing the record. That does not automatically mean deleting the whole row. It may be possible to provide your part, redact another person's details, or explain the information in a way that does not identify them.

The ICO specifically addresses requests involving information about other people in its guidance on third-party personal data. The outcome depends on the circumstances, including the nature of the information, any duty of confidentiality and whether the other person has consented.

"It is a security record" is not an automatic exemption

Organisations sometimes treat security monitoring as a special category of information that never has to be disclosed. That is too broad. Security may be a reason to consider an exemption, to redact part of a response or to protect another person's information, but the label alone does not settle the question.

Some information may be withheld where disclosure would prejudice crime prevention or detection, regulatory activity, legal proceedings or another protected purpose. The precise exemption depends on the processing and the circumstances. An organisation should identify the legal basis for withholding information rather than simply saying "security reasons".

There is also a practical difference between personal data in a log and the system's defensive machinery. Revealing that your account generated a failed-login event may be disclosable. Revealing a detection threshold, a hidden administrator account or a live incident response technique could create a different risk.

That last point is an application of the general rules, not a blanket rule stated specifically for every kind of security log. For a real dispute, the response should explain what was withheld and why, subject to any rule that permits the organisation not to reveal the existence of particular information.

What you should ask for

A vague request for "all security logs" may still be valid, but it makes the search and review harder. A precise request gives the organisation a better chance of finding the relevant data and gives you a clearer basis for challenging an incomplete response.

You could specify:

  • the systems or services covered;
  • a date and time range, including the time zone;
  • login, logout, password reset and MFA events;
  • account access by staff, support agents or administrators;
  • IP addresses, device identifiers and user-agent data linked to your account;
  • security alerts or fraud assessments that relate to you;
  • the retention period and categories of recipients for those logs.

For example: "Please provide my personal data contained in authentication, account-access, password-reset, MFA and security-alert logs for my account between 1 January and 31 March 2026, including timestamps, source addresses, device identifiers, event outcomes and any linked assessment or note."

That wording does not guarantee that every field will be disclosed. It does make the scope concrete. It also avoids asking for a system's entire internal security history, which is probably not what you actually need.

The organisation still has to search properly

The ICO says a controller must make a reasonable and proportionate search for information relevant to a SAR. Large datasets, multiple systems and awkward log formats are difficulties, not automatic excuses. The controller should know where personal data is held and have a sensible way to retrieve it.

Quick detour: this is one reason log design is a privacy issue, not only an observability issue. If the organisation cannot reliably distinguish an account ID from a request ID, or cannot say how long a log is retained, it has made both security investigations and rights requests harder.

The ICO's guidance on finding and retrieving information says searches should be reasonable and proportionate. It also warns that organisations should not amend or delete information merely to prevent disclosure after receiving a request.

What a sensible response might look like

A useful response could provide a table or export containing your relevant events, plus an explanation of the purposes, categories, recipients and retention period. It might redact another person's name, an internal token or a field whose disclosure would expose protected information.

If information is withheld, ask which exemption or other legal reason was relied upon and whether the organisation can provide a meaningful partial response. A response that says only "we cannot share security information" is difficult to assess because it does not distinguish your personal data from unrelated operational material.

The organisation should send the material securely. Security logs can contain precisely the information an attacker would like to collect, so an access response should not become a second incident. The ICO recommends considering secure delivery and checking the recipient before sending personal information.

Three common mistakes

  1. Assuming an IP address is always anonymous. Identifiability depends on the organisation's other data and the way the address is used.
  2. Assuming a log line belongs to only one person. Authentication and administrator audit records often describe several people.
  3. Asking for the security team's entire rulebook. A SAR targets personal data, not every control, threshold or investigation method.

The short answer is yes: security logs can be within the scope of a subject access request. The longer answer is that the relevant unit is personal data, not the file extension, index name or reassuringly serious title attached to the logging system.

This is general information about the UK GDPR and ICO guidance. Whether a particular entry must be disclosed can depend on identifiability, third-party rights, confidentiality, the purpose of the processing and any applicable exemption.