misp-objects/schema_objects.json

302 lines
7.3 KiB
JSON
Raw Normal View History

2017-02-13 11:15:51 +01:00
{
"$schema": "http://json-schema.org/schema#",
2019-08-08 11:30:47 +02:00
"additionalProperties": false,
2017-03-07 11:09:55 +01:00
"defs": {
"attribute": {
"additionalProperties": false,
"properties": {
"categories": {
"items": {
"enum": [
"Antivirus detection",
"Artifacts dropped",
"Attribution",
"External analysis",
"Financial fraud",
"Internal reference",
"Network activity",
"Other",
"Payload delivery",
"Payload installation",
"Payload type",
"Persistence mechanism",
"Person",
"Social network",
"Support Tool",
"Targeting data"
],
2017-03-07 11:09:55 +01:00
"type": "string"
2019-08-08 11:30:47 +02:00
},
2017-03-07 11:09:55 +01:00
"type": "array",
2019-08-08 11:30:47 +02:00
"uniqueItems": true
2017-03-13 08:22:28 +01:00
},
2019-08-08 11:30:47 +02:00
"description": {
"type": "string"
},
"disable_correlation": {
"type": "boolean"
},
"misp-attribute": {
"enum": [
"AS",
"aba-rtn",
"anonymised",
"attachment",
"authentihash",
"bank-account-nr",
"bic",
"bin",
"boolean",
"bro",
"btc",
"campaign-id",
"campaign-name",
"cc-number",
"cdhash",
"chrome-extension-id",
"comment",
"community-id",
"cookie",
"cortex",
"counter",
"country-of-residence",
"cpe",
"dash",
"date-of-birth",
"datetime",
"dns-soa-email",
"domain",
"domain|ip",
"email-attachment",
"email-body",
"email-dst",
"email-dst-display-name",
"email-header",
"email-message-id",
"email-mime-boundary",
"email-reply-to",
"email-src",
"email-src-display-name",
"email-subject",
"email-thread-index",
"email-x-mailer",
2019-12-05 19:21:49 +01:00
"eppn",
"filename",
"filename|authentihash",
"filename|impfuzzy",
"filename|imphash",
"filename|md5",
"filename|pehash",
"filename|sha1",
"filename|sha224",
"filename|sha256",
"filename|sha384",
"filename|sha512",
"filename|sha512/224",
"filename|sha512/256",
"filename|ssdeep",
"filename|tlsh",
"first-name",
"float",
"frequent-flyer-number",
"gender",
"gene",
"github-organisation",
"github-repository",
"github-username",
"hassh-md5",
"hasshserver-md5",
"hex",
"hostname",
"hostname|port",
"http-method",
"iban",
"identity-card-number",
"impfuzzy",
"imphash",
"ip-dst",
"ip-dst|port",
"ip-src",
"ip-src|port",
"issue-date-of-the-visa",
"ja3-fingerprint-md5",
"jabber-id",
"kusto-query",
"last-name",
"link",
"mac-address",
"mac-eui-64",
"malware-sample",
"malware-type",
"md5",
"middle-name",
"mime-type",
"mobile-application-id",
"mutex",
"named pipe",
"nationality",
"other",
"passenger-name-record-locator-number",
"passport-country",
"passport-expiration",
"passport-number",
"pattern-in-file",
"pattern-in-memory",
"pattern-in-traffic",
"payment-details",
"pdb",
"pehash",
"phone-number",
"place-of-birth",
"place-port-of-clearance",
"place-port-of-onward-foreign-destination",
"place-port-of-original-embarkation",
"port",
"primary-residence",
"prtn",
"redress-number",
"regkey",
"regkey|value",
"sha1",
"sha224",
"sha256",
"sha384",
"sha512",
"sha512/224",
"sha512/256",
"sigma",
"size-in-bytes",
"snort",
"special-service-request",
"ssdeep",
"stix2-pattern",
"target-email",
"target-external",
"target-location",
"target-machine",
"target-org",
"target-user",
"text",
"threat-actor",
"tlsh",
"travel-details",
"twitter-id",
"uri",
"url",
"user-agent",
"visa-number",
"vulnerability",
"weakness",
"whois-creation-date",
"whois-registrant-email",
"whois-registrant-name",
"whois-registrant-org",
"whois-registrant-phone",
"whois-registrar",
"windows-scheduled-task",
"windows-service-displayname",
"windows-service-name",
"x509-fingerprint-md5",
"x509-fingerprint-sha1",
"x509-fingerprint-sha256",
"xmr",
"yara",
"zeek"
],
2019-08-08 11:30:47 +02:00
"type": "string"
2017-03-07 11:09:55 +01:00
},
"multiple": {
"type": "boolean"
},
2019-08-08 11:30:47 +02:00
"recommended": {
2017-03-13 15:13:36 +01:00
"type": "boolean"
},
2019-08-08 11:30:47 +02:00
"sane_default": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"to_ids": {
"type": "boolean"
},
2019-08-08 11:30:47 +02:00
"ui-priority": {
"type": "number"
2017-08-29 13:25:58 +02:00
},
2019-08-08 11:30:47 +02:00
"values_list": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
2017-03-07 11:09:55 +01:00
}
},
"required": [
"misp-attribute",
2017-08-29 13:25:58 +02:00
"ui-priority",
"description"
2019-08-08 11:30:47 +02:00
],
"type": "object"
2017-03-07 11:09:55 +01:00
}
},
2019-08-08 11:30:47 +02:00
"id": "https://www.github.com/MISP/misp-objects/schema.json",
2017-02-13 11:15:51 +01:00
"properties": {
2019-08-08 11:30:47 +02:00
"attributes": {
"additionalProperties": {
"$ref": "#/defs/attribute",
"type": "object"
},
"type": "object"
},
"description": {
"type": "string"
},
2017-02-13 11:15:51 +01:00
"meta-category": {
2017-06-28 11:18:10 +02:00
"enum": [
"file",
"network",
"financial",
"misc",
"internal",
"vulnerability",
"climate"
2019-08-08 11:30:47 +02:00
],
2017-02-13 11:15:51 +01:00
"type": "string"
},
2019-08-08 11:30:47 +02:00
"name": {
"type": "string"
},
2019-08-08 11:30:47 +02:00
"required": {
2017-03-07 11:09:55 +01:00
"items": {
"type": "string"
2019-08-08 11:30:47 +02:00
},
2017-03-07 11:09:55 +01:00
"type": "array",
2019-08-08 11:30:47 +02:00
"uniqueItems": true
},
"requiredOneOf": {
2017-03-07 11:09:55 +01:00
"items": {
"type": "string"
2019-08-08 11:30:47 +02:00
},
"type": "array",
"uniqueItems": true
},
"uuid": {
"type": "string"
},
"version": {
"type": "integer"
2017-02-13 11:15:51 +01:00
}
},
"required": [
"attributes",
"version",
"description",
"meta-category",
"name",
"uuid"
2019-08-08 11:30:47 +02:00
],
"title": "Validator for misp-objects",
"type": "object"
2017-02-13 11:15:51 +01:00
}