From c681d32977a18ffdbcd6f1d5f2820e1dd8682339 Mon Sep 17 00:00:00 2001 From: Pinga Date: Wed, 2 Jul 2025 15:47:50 +0300 Subject: [PATCH] NIS2 improvements in CP --- README.md | 6 ++++-- cp/app/Controllers/ContactsController.php | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e0c70af..127c37f 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ Namingo is equipped with a comprehensive suite of features to meet the diverse n - **Database Compatibility**: Fully supports MySQL/MariaDB and offers beta support for PostgreSQL, providing flexibility to match users' technical needs and infrastructure for seamless integration and peak performance. -- **GDPR-Compliant Database Encryption**: Supports comprehensive database encryption to ensure GDPR compliance. For more details, see our [Encryption Guide](docs/encryption.md). - +- **GDPR & NIS2 Compliance**: Namingo supports both GDPR and NIS2 requirements, including contact validation and encrypted data storage. For implementation details, see our [Encryption Guide](docs/encryption.md). + - **Automation Scripts**: Ensures the continuous and smooth operation of the registry by performing routine checks and operations. Included scripts for spec 11 abuse monitoring; automated approval of domain transfers; contact and host cleanup; backup processing and upload; domain lifetime status change; generation and upload of RDE deposits, LORDN file, ICANN's monthly reports, invoices; email dispatcher system; statistics generation; TMCH and URS processing; zone generator and signing. ### Optional components @@ -70,6 +70,8 @@ Namingo is equipped with a comprehensive suite of features to meet the diverse n - [**Domain Registry API**](https://github.com/getnamingo/registry-api) - Provides REST API access to domain availability checks and to the domain droplist. +- [**ntfy.sh Error Notifier**](https://github.com/getnamingo/registry-ntfy) - Checks for new high-severity errors and sends real-time push notifications via ntfy.sh. + ## Documentation Our documentation provides comprehensive guidance on installation, configuration, and initial operation, ensuring you have all the information you need to successfully manage your domain registry. diff --git a/cp/app/Controllers/ContactsController.php b/cp/app/Controllers/ContactsController.php index d66aae8..1f4ad02 100644 --- a/cp/app/Controllers/ContactsController.php +++ b/cp/app/Controllers/ContactsController.php @@ -1270,7 +1270,7 @@ class ContactsController extends Controller [ 'validation' => $data['verify'], 'validation_stamp' => $stamp, - 'validation_log' => json_encode($data['v_log']), + 'validation_log' => $clid . '|manual|Validated manually', 'upid' => $clid, 'lastupdate' => $stamp ], @@ -1796,7 +1796,7 @@ class ContactsController extends Controller [ 'validation' => $verify, 'validation_stamp' => $stamp, - 'validation_log' => json_encode($v_log), + 'validation_log' => $_SESSION['auth_user_id'] . '|automatic|Validated via SumSub', //'upid' => $clid, 'lastupdate' => $stamp ],