misp-objects/objects/regexp/definition.json

56 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.",
"disable_correlation": true,
"ui-priority": 0,
"misp-attribute": "text"
}
},
"version": 4,
"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"
}