From 573873db3b19e7086b8541a0341743a9fa5800cc Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Mon, 5 Feb 2018 17:20:39 +0100 Subject: [PATCH 1/5] First version of the legal-entity object --- objects/legal-entity/definition.json | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 objects/legal-entity/definition.json diff --git a/objects/legal-entity/definition.json b/objects/legal-entity/definition.json new file mode 100644 index 0000000..ae37089 --- /dev/null +++ b/objects/legal-entity/definition.json @@ -0,0 +1,38 @@ +{ + "requiredOneOf": [ + "name" + ], + "attributes": { + "text": { + "description": "A description of the entity.", + "disable-correlation": "true", + "ui-priority": 1, + "misp-attribute": "text" + }, + "name": { + "description": "Name of an entity.", + "ui-priority": 0, + "misp-attribute": "text" + }, + "commercial-name": { + "description": "Commercial name of an entity.", + "ui-priority": 0, + "misp-attribute": "text" + }, + "legal-form": { + "description": "Legal form of an entity.", + "ui-priority": 0, + "misp-attribute": "text" + }, + "business": { + "description": "Business area of an entity", + "ui-priority": 0, + "misp-attribute": "text" + } + }, + "version": 1, + "description": "An object to describe a legal entity.", + "meta-category": "misc", + "uuid": "", + "name": "legal-entity" +} From 6b98de1c8600d68ac669de101130dcc289911568 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Mon, 5 Feb 2018 17:26:13 +0100 Subject: [PATCH 2/5] Updated readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 19ca64a..6a5de0a 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ for a specific attribute. * [objects/geolocation](objects/geolocation/definition.json) - A geolocation object to describe a location. * [objects/ip-port](objects/ip-port/definition.json) - An IP address and a port seen as a tuple (or as a triple) in a specific time frame. * [objects/ja3](objects/ja3/definition.json) - A ja3 object which describes an SSL client fingerprint in an easy to produce and shareable way. +* [objects/legal-entity](objects/legal-entity/definition.json) - Object describing a legal entity, such as an organisation. * [objects/macho](objects/macho/definition.json) - Object describing a Mach object file format. * [objects/macho-section](objects/macho-section/definition.json) - Object describing a section of a Mach object file format. * [objects/microblog](objects/microblog/definition.json) - Object describing microblog post like Twitter or Facebook. From d250e6254655f1bd5a42d736a53aa8151a566e19 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Tue, 6 Feb 2018 14:19:04 +0100 Subject: [PATCH 3/5] Added additional attributes --- objects/legal-entity/definition.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/objects/legal-entity/definition.json b/objects/legal-entity/definition.json index ae37089..dcac487 100644 --- a/objects/legal-entity/definition.json +++ b/objects/legal-entity/definition.json @@ -24,10 +24,20 @@ "ui-priority": 0, "misp-attribute": "text" }, - "business": { - "description": "Business area of an entity", + "registration-number": { + "description": "Registration number of an entity in the relevant authority.", "ui-priority": 0, "misp-attribute": "text" + }, + "business": { + "description": "Business area of an entity.", + "ui-priority": 0, + "misp-attribute": "text" + }, + "phone-number": { + "description": "Phone number of an entity.", + "ui-priority": 0, + "misp-attribute": "phone-number" } }, "version": 1, From 7966c58db9bcecc6b8baec7729874da78b99c3d2 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Tue, 6 Feb 2018 15:06:20 +0100 Subject: [PATCH 4/5] typo --- objects/legal-entity/definition.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/legal-entity/definition.json b/objects/legal-entity/definition.json index dcac487..24feeaf 100644 --- a/objects/legal-entity/definition.json +++ b/objects/legal-entity/definition.json @@ -5,7 +5,7 @@ "attributes": { "text": { "description": "A description of the entity.", - "disable-correlation": "true", + "disable_correlation": "true", "ui-priority": 1, "misp-attribute": "text" }, From fd74fac62b2a7f05cf0500bb3fb4aeb07d94eb3b Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Tue, 6 Feb 2018 15:36:57 +0100 Subject: [PATCH 5/5] Fixed disable_correlation variable type --- objects/legal-entity/definition.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/legal-entity/definition.json b/objects/legal-entity/definition.json index 24feeaf..29f89c5 100644 --- a/objects/legal-entity/definition.json +++ b/objects/legal-entity/definition.json @@ -5,7 +5,7 @@ "attributes": { "text": { "description": "A description of the entity.", - "disable_correlation": "true", + "disable_correlation": true, "ui-priority": 1, "misp-attribute": "text" }, @@ -43,6 +43,6 @@ "version": 1, "description": "An object to describe a legal entity.", "meta-category": "misc", - "uuid": "", + "uuid": "14f5688f-d89c-469f-9878-c48bf6c41c65", "name": "legal-entity" }