From ca7ed9b39649b843c7508b3affd6cee3f7c51f6d Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 9 Sep 2020 07:40:03 +0200 Subject: [PATCH] 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 +}