Management bodies of essential and important entities must approve cybersecurity risk-management measures and oversee their implementation. Article 20 also addresses management training and potential liability under the applicable framework. This is an organisational responsibility; a successful code scan does not fulfil it.
Source: NIS2 Article 20.