From 96658779e24dd6145fc8b4509a29dcef98effa76 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Mon, 28 Jun 2021 20:41:36 +0200 Subject: [PATCH] chg: [metaFieldsTemplates:enisa-csirt-inventory] Added template --- .../meta_fields/enisa-csirt-inventory.json | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 libraries/default/meta_fields/enisa-csirt-inventory.json diff --git a/libraries/default/meta_fields/enisa-csirt-inventory.json b/libraries/default/meta_fields/enisa-csirt-inventory.json new file mode 100644 index 0000000..9171a5c --- /dev/null +++ b/libraries/default/meta_fields/enisa-csirt-inventory.json @@ -0,0 +1,74 @@ +{ + "description": "Template based on the ENISA's CSIRTs inventory", + "metaFields": [ + { + "field": "ISO 3166-1 Code", + "type": "text", + "regex": "[a-z]{2,3}" + }, + { + "field": "website", + "type": "text", + "regex": "(http(s)?:\\\/\\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&\/\/=]*)" + }, + { + "field": "enisa-geo-group", + "type": "text" + }, + { + "field": "is-approved", + "type": "boolean" + }, + { + "field": "first-member-type", + "type": "text" + }, + { + "field": "team-name", + "type": "text" + }, + { + "field": "oes-coverage", + "type": "text" + }, + { + "field": "enisa-tistatus", + "type": "text" + }, + { + "field": "csirt-network-status", + "type": "text" + }, + { + "field": "constituency", + "type": "text" + }, + { + "field": "establishment", + "type": "text" + }, + { + "field": "email", + "type": "text", + "regex": "(?:[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])" + }, + { + "field": "country-name", + "type": "text" + }, + { + "field": "short-team-name", + "type": "text" + }, + { + "field": "key", + "type": "text" + } + ], + "name": "ENISA CSIRT Network", + "namespace": "cnw", + "scope": "organisation", + "source": "enisa.europa.eu/topics/csirts-in-europe/csirt-inventory/certs-by-country-interactive-map", + "uuid": "089c68c7-d97e-4f21-a798-159cd10f7864", + "version": 1 +} \ No newline at end of file