From 777ef97aebef19eb09b24a4342ff62bc7318e478 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 15 Sep 2017 21:02:11 +0200 Subject: [PATCH] An object describing a regular expression (regex or regexp). The object can be linked via a relationship to other attributes or objects to describe how it can be represented as a regular expression. --- objects/regexp/definition.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 objects/regexp/definition.json diff --git a/objects/regexp/definition.json b/objects/regexp/definition.json new file mode 100644 index 0000000..59a6a12 --- /dev/null +++ b/objects/regexp/definition.json @@ -0,0 +1,34 @@ +{ + "requiredOneOf": [ + "regexp" + ], + "attributes": { + "comment": { + "description": "A description of the regular expression.", + "ui-priority": 0, + "misp-attribute": "comment" + }, + "regexp-type": { + "description": "Type of the regular expression syntax.", + "disable_correlation": true, + "ui-priority": 0, + "misp-attribute": "text", + "required_value": [ + "PCRE", + "PCRE2", + "POSIX BRE", + "POSIX ERE" + ] + }, + "regexp": { + "description": "regexp", + "ui-priority": 0, + "misp-attribute": "text" + } + }, + "version": 1, + "description": "An object describing a regular expression (regex or regexp). The object can be linked via a relationship to other attributes or objects to describe how it can be represented as a regular expression.", + "meta-category": "misc", + "uuid": "ceffad66-71e5-4e20-9370-1b3fb694c648", + "name": "regexp" +}