The Network and Information Security (NIS) Directive is the first piece of EU-wide legislation on cybersecurity, and its specific aim was to achieve a high common level of cybersecurity across the Member States.
The NIS2 Directive: A high common level of cybersecurity in the EU [EU Legislation in Progress] — European Parliamentary Research Service Blog