Menu
Start for free
Regulations

GDPR compliance in your code

What the GDPR asks of the software that handles personal data, from data protection by design to breach reporting, and how to check your code against it.

The General Data Protection Regulation, Regulation (EU) 2016/679, applies to any software that handles personal data of people in the EU. Most of it is about how you run your company, but several articles are about how your product is built.

Does the GDPR apply to you?

If your product stores or processes names, emails, IP addresses, account data or any other information about identifiable people in the EU, the GDPR applies. It applies whether you are an EU company or sell into the EU from elsewhere.

What the GDPR asks of your code

  • Data protection by design and by default (Article 25): collect only what you need, keep it only as long as you need it, and make the privacy-friendly option the default.
  • Security of processing (Article 32): appropriate security for the risk, such as encryption, access control, and regular testing of your security measures.
  • Special categories of data (Article 9): health, biometric, religious and similar data need a specific legal basis and extra protection.
  • Children's consent (Article 8): online services offered to children need parental consent below the national age limit.
  • Automated decisions (Article 22): people have the right not to be subject to decisions based solely on automated processing that significantly affect them.
  • Transfers outside the EU (Chapter V): sending personal data to services outside the EU needs a valid transfer basis.
  • The rights of the people whose data you hold: access, deletion and data portability need to work in your product.

Breach reporting

A personal data breach must be reported to your supervisory authority within 72 hours of becoming aware of it, unless it is unlikely to result in a risk to people (Article 33).

Fines

Fines can reach €20 million or 4% of worldwide annual turnover, whichever is higher (Article 83).

How Kizo helps

Kizo reads your code and links what it finds to the GDPR article it relates to. For example:

  • personal and special-category data stored without encryption
  • secrets and credentials in source code
  • personal data sent to services outside the EU, and which ones
  • fields you collect but never use
  • missing account deletion or data export
  • automated decisions about people
  • missing audit logging of staff access to personal data

The GDPR pack then helps you build your record of processing, processor list, DPIA screening and breach register from what the scan found.

This page explains how a regulation relates to code. It is not legal advice, and a scan does not establish legal compliance.

Other regulations Kizo checks