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
| Source | Who it applies to | What it requires | Is it a penetration test? |
|---|---|---|---|
| MK 397, point 131.1 | Entities under the National Cybersecurity Law with a class A information system | Test before go-live and at least once every three years | Yes |
| MK 397, point 131.3 | Any entity, any system | Test when the National Cybersecurity Centre (NKC) or the Constitution Protection Bureau (SAB) requests it | Yes |
| NKDL, Article 25(5)(2) | Entities with a cybersecurity manager | ICT security check at least once a year | Not defined as one |
| NKDL, Article 44 | Entities under supervision | External audit when violations are suspected or found | No – an audit |
| DORA, Article 24 | Financial entities except microenterprises | Testing programme; yearly appropriate tests of systems supporting critical or important functions | Possibly – one of several test types |
| DORA, Article 26 | Financial entities identified by the competent authority | Threat-led penetration testing (TLPT) at least every three years | Yes – TLPT |
| PCI DSS, Requirement 11.4 | Organisations handling card data | Internal and external testing every 12 months and after significant change | Yes – 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
- Nacionālās kiberdrošības likums (likumi.lv) (opens in a new tab) (https://likumi.lv/ta/id/353390-nacionalas-kiberdrosibas-likums)
- MK noteikumi Nr. 397 "Minimālās kiberdrošības prasības" (likumi.lv) (opens in a new tab) (https://likumi.lv/ta/id/361481)
- Regulation (EU) 2022/2554 (DORA), Articles 24–27 (opens in a new tab) (https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32022R2554)
- Delegated Regulation (EU) 2025/1190 – TLPT RTS (opens in a new tab) (https://eur-lex.europa.eu/eli/reg_del/2025/1190/oj/eng)
- PCI SSC document library (PCI DSS v4.0.1) (opens in a new tab) (https://www.pcisecuritystandards.org/document_library/)
Related services
Penetration Testing
Manual, attacker-led testing of applications, networks, identity and endpoints.
Security Audits
Identify exploitable weaknesses and prioritise remediation.
DORA Threat-Led Penetration Testing
TIBER-EU-aligned TLPT for designated EU financial entities.
DORA Compliance & Resilience Testing
DORA governance, resilience testing and TLPT support for financial entities.
NIS2 & ISO 27001 Readiness
Assess gaps and prepare evidence for NIS2 and ISO/IEC 27001.
Related guides
Penetration test or vulnerability scan – which one you need
A vulnerability scan lists known weaknesses automatically; a penetration test proves which of them an attacker can actually use. What each one finds, what each one misses and how to combine them.
Preparing for a cybersecurity audit – evidence, MK 397 requirements and common gaps
What a cybersecurity audit in Latvia actually is, which MK Regulation No. 397 requirements an auditor checks, the evidence to collect for each, and the gaps that come up most often.
Microsoft 365 security audit – what is checked in Entra ID, Exchange and SharePoint
What a Microsoft 365 and Entra ID security audit covers – identities, Conditional Access, Exchange Online, SharePoint and OneDrive sharing, Defender and logging – and how to prepare your tenant for one.
Penetration test procurement specification – template
A vendor-neutral technical specification template for buying a penetration test: scope, methodology, tester qualifications, rules of engagement, deliverables, re-test, confidentiality and evaluation criteria.