mirror of https://github.com/MISP/misp-objects
Enforce meta-category
parent
c3186cbcb2
commit
16af934386
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "email",
|
"name": "email",
|
||||||
"uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552",
|
"uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552",
|
||||||
"meta-category": "email",
|
"meta-category": "network",
|
||||||
"description": "Email object describing an email with meta-information",
|
"description": "Email object describing an email with meta-information",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
},
|
},
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"description": "An object to describe a geographic location.",
|
"description": "An object to describe a geographic location.",
|
||||||
"meta-category": "location",
|
"meta-category": "misc",
|
||||||
"uuid": "fdd30d5f-6752-45ed-bef2-25e8ce4d8a3",
|
"uuid": "fdd30d5f-6752-45ed-bef2-25e8ce4d8a3",
|
||||||
"name": "geolocation"
|
"name": "geolocation"
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,14 @@
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"meta-category": {
|
"meta-category": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"file",
|
||||||
|
"network",
|
||||||
|
"financial",
|
||||||
|
"misc",
|
||||||
|
"internal"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
Loading…
Reference in New Issue