All guides

When a penetration test is legally required in Latvia

What the National Cybersecurity Law, Cabinet Regulation No. 397, DORA and PCI DSS actually require – with the article and point for each obligation, and where a "yearly check" is not the same as a penetration test.

OffSeq

6 min read

§ 01. The short answer

SourceWho it applies toWhat it requiresIs it a penetration test?
MK 397, point 131.1Entities under the National Cybersecurity Law with a class A information systemTest before go-live and at least once every three yearsYes
MK 397, point 131.3Any entity, any systemTest when the National Cybersecurity Centre (NKC) or the Constitution Protection Bureau (SAB) requests itYes
NKDL, Article 25(5)(2)Entities with a cybersecurity managerICT security check at least once a yearNot defined as one
NKDL, Article 44Entities under supervisionExternal audit when violations are suspected or foundNo – an audit
DORA, Article 24Financial entities except microenterprisesTesting programme; yearly appropriate tests of systems supporting critical or important functionsPossibly – one of several test types
DORA, Article 26Financial entities identified by the competent authorityThreat-led penetration testing (TLPT) at least every three yearsYes – TLPT
PCI DSS, Requirement 11.4Organisations handling card dataInternal and external testing every 12 months and after significant changeYes – contractual, not statutory

The legal text was checked on likumi.lv and EUR-Lex on 27 November 2026. Laws change; check the consolidated version before you rely on a point.

§ 02. National Cybersecurity Law: the yearly ICT security check

The National Cybersecurity Law (NKDL) transposes NIS2. Article 25(5)(2) obliges the cybersecurity manager to "carry out an information and communication technology security check at least once a year" and to organise the fixing of the gaps it finds.

The law leaves the form of the check open. In practice organisations use penetration tests, configuration reviews, vulnerability assessments or internal audits; whatever you choose, document it. The self-assessment form in Annex 16 of MK 397 (item 0208) asks whether the check was carried out and for the date and scope of each check, so keep that evidence.

Article 43 adds the self-assessment report. Under MK 397 point 141 it is due yearly for ICT critical infrastructure and for entities with at least one class A system, and every three years for others unless NKC decides otherwise; point 142 sets the deadline at 1 October of the year concerned.

§ 03. MK 397: class A systems and tests on request

Cabinet Regulation No. 397 "Minimum cybersecurity requirements" is where the National Cybersecurity Law framework names the penetration test directly. Point 131 requires one:

  • for a class A information system before it is put into operation (131.1.1) and at least once every three years while it is in operation (131.1.2);
  • for any system on the entity's own initiative (131.2);
  • for any system when NKC or SAB requests it (131.3).

The security class follows from the methodology in Annex 5 of the regulation, based on the confidentiality, integrity and availability of the information the system processes.

Point 132 sets who may test under 131.1 and 131.2. Internal staff qualify if they have not been involved in developing or maintaining the system in the last three years. An external tester must hold an internationally recognised penetration-testing certificate (the regulation gives CEH and OSCP as examples) or have at least two years of penetration-testing experience gained in the last five years, and must meet the same three-year independence rule. For ICT critical infrastructure, an external tester also needs an SAB opinion, and point 134 requires the owner to inform SAB of the results without delay and within 10 working days.

§ 04. Audits under Article 44 are not routine

Article 44(1) lets NKC or SAB audit an entity, or order an external audit, when cybersecurity violations are suspected or have been found. It is a supervisory tool, not an annual duty. The entity pays for the audit and fixes what it finds (44(4)), and sends a copy of the report to the supervisor (44(5)).

The auditor must be independent and free of any conflict of interest, and meet requirements set by the Cabinet (44(2)). The public auditor list was abolished by amendments in force from 18 June 2026, and the auditor requirements have been in transition since. Check which Cabinet regulation sets them on the day you engage an auditor. The audit preparation guide covers the evidence an auditor will ask for.

§ 05. DORA: testing programme and TLPT

For financial entities, NKDL Article 3(3) applies the national law only in so far as DORA or other acts do not set different requirements – testing included.

  • Article 24 requires every financial entity other than a microenterprise to maintain a testing programme, to use independent testers (internal or external, free of conflicts of interest) and to test all ICT systems and applications supporting critical or important functions at least yearly.
  • Article 25(1) lists the tests the programme may use – vulnerability scans, network security assessments, source code reviews, scenario-based tests, penetration testing and others. A yearly penetration test is not required by name; the mix must be appropriate to the risk.
  • Article 26 requires threat-led penetration testing at least every three years from financial entities that the competent authority identifies under 26(8), based on impact, systemic importance and ICT risk profile. Tests run on live production systems. The detailed method is set by Delegated Regulation (EU) 2025/1190, which follows TIBER-EU.
  • Credit institutions classified as significant under the SSM Regulation may use only external testers for TLPT (26(8)); Article 27 sets the tester requirements. Our DORA TLPT page describes how such a test runs.

§ 06. PCI DSS 11.4: a contractual requirement

PCI DSS is imposed through the card schemes and acquirers, not by Latvian law. Version 4.0.1, Requirement 11.4, asks for:

  • a documented penetration-testing methodology (11.4.1);
  • internal and external penetration tests at least every 12 months and after any significant infrastructure or application change (11.4.2, 11.4.3);
  • correction of exploitable findings and repeat testing to confirm it (11.4.4);
  • testing of segmentation controls, if segmentation reduces scope, every 12 months – every six months for service providers (11.4.5, 11.4.6).

Quarterly internal and external vulnerability scans are a separate requirement (11.3). We summarised these from version 4.0.1; confirm the wording against the current standard in the PCI SSC document library.

§ 07. Other reasons a test becomes mandatory

  • Contracts. Customers, especially banks and public bodies, often require a test of the system you deliver or host.
  • GDPR Article 32(1)(d) asks for a process for regularly testing the effectiveness of security measures. It does not name penetration testing, but a test is common evidence for it.
  • ISO/IEC 27001 does not require a penetration test, but certification auditors expect technical vulnerability management (Annex A 8.8) to be shown to work.
  • Insurers increasingly ask about external testing in cyber-insurance questionnaires.

If you need to know which systems are class A or which regime applies, the NIS2 / DORA scope check gives a first read. To plan the test itself, call +371 2256 5353 or describe the scope.

Common questions

Sources