mirror of https://github.com/MISP/misp-objects
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"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",
|
|
"values_list": [
|
|
"PCRE",
|
|
"PCRE2",
|
|
"POSIX BRE",
|
|
"POSIX ERE"
|
|
]
|
|
},
|
|
"regexp": {
|
|
"description": "regexp",
|
|
"ui-priority": 0,
|
|
"misp-attribute": "text"
|
|
},
|
|
"type": {
|
|
"sane_default": [
|
|
"hostname",
|
|
"domain",
|
|
"email-src",
|
|
"email-dst",
|
|
"email-subject",
|
|
"url",
|
|
"user-agent",
|
|
"regkey",
|
|
"cookie",
|
|
"uri",
|
|
"filename",
|
|
"windows-service-name",
|
|
"windows-scheduled-task"
|
|
],
|
|
"description": "Specify which type corresponds to this regex.",
|
|
"ui-priority": 0,
|
|
"misp-attribute": "text"
|
|
}
|
|
},
|
|
"version": 3,
|
|
"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"
|
|
}
|