From 31586921b2e4f83d3cb0f30dac74a55294dde5f2 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Wed, 9 Sep 2020 07:24:03 +0200
Subject: [PATCH 1/2] chg: [twitter-account] incorrect description fixed
---
objects/twitter-account/definition.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/objects/twitter-account/definition.json b/objects/twitter-account/definition.json
index cb3c2ad..d5b654a 100644
--- a/objects/twitter-account/definition.json
+++ b/objects/twitter-account/definition.json
@@ -14,7 +14,7 @@
"ui-priority": 1
},
"bio": {
- "description": "Displayed name.",
+ "description": "Displayed biography of the user.",
"misp-attribute": "text",
"ui-priority": 1
},
@@ -181,5 +181,5 @@
"link"
],
"uuid": "8066563f-881e-4f6a-9d6c-a9d15b8658bb",
- "version": 6
-}
\ No newline at end of file
+ "version": 7
+}
From ca7ed9b39649b843c7508b3affd6cee3f7c51f6d Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Wed, 9 Sep 2020 07:40:03 +0200
Subject: [PATCH 2/2] new: [github-user] a GitHub user object template
Based on the information seen on the web interface.
TODO: Check the GitHub API and review the information available.
---
objects/github-user/definition.json | 81 +++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
create mode 100644 objects/github-user/definition.json
diff --git a/objects/github-user/definition.json b/objects/github-user/definition.json
new file mode 100644
index 0000000..820fe21
--- /dev/null
+++ b/objects/github-user/definition.json
@@ -0,0 +1,81 @@
+{
+ "attributes": {
+ "bio": {
+ "description": "Biography of the GitHub user.",
+ "misp-attribute": "text",
+ "ui-priority": 1
+ },
+ "profile-image": {
+ "description": "Profile image of the GitHub user (it can be multiple).",
+ "misp-attribute": "attachment",
+ "ui-priority": 1,
+ "multiple": true
+ },
+ "following": {
+ "description": "Followed GitHub users by the GitHub user.",
+ "misp-attribute": "github-username",
+ "ui-priority": 80,
+ "multiple": true
+ },
+ "follower": {
+ "description": "GitHub user is followed by.",
+ "misp-attribute": "github-username",
+ "ui-priority": 79,
+ "multiple": true
+ },
+ "ssh-public-key": {
+ "description": "SSH public key associated to the GitHub user.",
+ "misp-attribute": "text",
+ "ui-priority": 10,
+ "multiple": true
+ },
+ "organisation": {
+ "description": "Organisation affiliation of the GitHub user (it can be multiple).",
+ "misp-attribute": "github-organisation",
+ "multiple": true,
+ "ui-priority": 1
+ },
+ "username": {
+ "description": "GitHub username.",
+ "misp-attribute": "github-username",
+ "multiple": true,
+ "ui-priority": 98
+ },
+ "repository": {
+ "description": "GitHub repository under the GitHub user.",
+ "misp-attribute": "github-repository",
+ "multiple": true,
+ "ui-priority": 96
+ },
+ "user-fullname": {
+ "description": "Fullname of the GitHub user.",
+ "misp-attribute": "text",
+ "ui-priority": 97
+ },
+ "link": {
+ "description": "Original Link to the GitHub account.",
+ "misp-attribute": "link",
+ "multiple": true,
+ "ui-priority": 1
+ },
+ "verified": {
+ "description": "User verified.",
+ "disable_correlation": true,
+ "misp-attribute": "text",
+ "sane_default": [
+ "True",
+ "False"
+ ],
+ "ui-priority": 1
+ }
+ },
+ "description": "GitHub user",
+ "meta-category": "misc",
+ "name": "github-user",
+ "requiredOneOf": [
+ "username",
+ "link"
+ ],
+ "uuid": "4329b5e6-8e6a-4b55-8fd1-9033782017d4",
+ "version": 1
+}