Ensure that Nextcloud helps businesses meet the cybersecurity requirements of the European NIS2 Directive.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the đ reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
FEATURE REQUEST DESCRIPTION
This feature request[ is related to this thread in help.netcloud.]
The NIS2 Directive sets out the new requirements and provides guidance for European businesses on managing their cyber risk. It applies to large organizations and their small business subcontractors, just as the GDPR did a few years ago.
There is no NIS 2 reference on the official Nextcloud compliance page and the NC forum gives more than 200 answers to GDPR Keyword ans only 6 answers to NIS 2 keyword.
Presently, anyone searching âNIS2 compliance for file sharingâ has no chance of finding the Nextcloud solution.
Nextcloud is involved and can be a good solution to NIS2 compliance for file sharing, because NIS 2 requires enhanced security measures for file transfers, with strict technical and organisational requirements.
Could the Nextcloud community add a statement on its official Compliance page confirming compliance with the requirements of the NIS2 Directive?
I think Nextcloud is very close to being able to do this if thereâs just a slight improvement to the activity features.
To comply to NIS 2, I think the file sharing system of an enterprise have to meet theses 4 features.
1 - Encryption of data in transit and of data storage : NC is compliant
2 - Strict access control on shared files : NC is compliant
3 - Incident detection and management : Not only NC features are involved, it also relates to the security tools of the hosting environment.
4 - Managing risks related to document confidentiality : This requirement means having high-quality data for activities reports.
The present feature request draws attention to this fourth point, risk management. I think points 1, 2 and 3 are well handled by Nextcloud.
The risk related to Nextcloudâs technical vulnerabilities, is well treated elsewhere. The point here is that Nextcloud must provide a robust solution for identifying and addressing simple human error; we know very well that the risk N°1 lies between the seat and the keyboard. For example, when John Doe mistakenly shares a highly confidential file with all company staff or with external contacts.
As soon as the error is detected, we need to know the list of users who actually had access to the highly confidential file in order to take appropriate action.
Nextcloudâs features must allow
1/ Monitoring of shares that are created, on which folders, by which user and for the benefit of which user
2/ Record in the activity log which shares are created, with whom, by whom and when.
3/ Be able to find in the activity log which users have viewed a particular file or folder online, and which users have downloaded it.
Points 1 and 2 are already addressed in the NC activity log; point 3, regarding who accessed to which file, is not correctly handled in my view, specially since the the âActivities for shared file downloadsâ app files_downloadactivity is no longer maintained.
PROPOSED SOLUTION
About 3/ âwhich users have accessed a particular file / folderâ
Before Nextcloud 30 Hub 10, thanks to app files_downloadactivity, in the Activity tab of the file, we could see who accessed to the file and when. This feature disappears with files_downloadactivityâ end of life.
Iâm not able to propose the best solution. Iâm here to ask the question. I think an expert on the subject will be able to provide a fairly simple solution, provided that the Nis2 topic is of interest to the Nextcloud managers and community.
If you say that standard admin_audit app, in audit log makes it is possible to track « Preview accessed » events, you have to handle this information with an external tool and a heavy user process. The audit log is not suitable for helping to ensure simple, daily monitoring, whereas the activity log is easily accessible to authorized users.
Making a new files_downloadactivity app is perhaps not the right solution since this app provided features that werenât available with the standard admin_audit app. Is an admin_audit app enhancement the right solution ?
About others NIS 2 risk management requirements :
1/ Monitoring of shares that are created. Seems to be in line with NIS2 requirements
Presently, thankâs to RSS feed, itâs easy to to filter activities containing the word âshareâ and monitor them using an external tool that is accessible to everyone.
2/ Record which shares are created by who from the activity log. This seems to be in line with NIS2 requirements
This feature can be handled and registered thankâs to a RSS feed external process or processing activity logâs downloadable file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up â it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the Activity tab and the admin_audit app with the discontinued files_downloadactivity app, focusing on how file or folder views and downloads are recorded. The issue is complete when an agreed approach provides an accessible record of which users accessed a particular file or folder and when, while fitting the stated NIS2 monitoring needs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- observability, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100