From 4828fea3b7d987645ca9cd9b4612b848854f140c Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 17 Sep 2020 07:24:30 +0200 Subject: [PATCH] chg: [github-user] reflect the API fields --- objects/github-user/definition.json | 45 ++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/objects/github-user/definition.json b/objects/github-user/definition.json index a23ae4a..3e2129e 100644 --- a/objects/github-user/definition.json +++ b/objects/github-user/definition.json @@ -1,10 +1,25 @@ { "attributes": { + "avatar_url": { + "description": "Avatar URL", + "misp-attribute": "link", + "ui-priority": 1 + }, "bio": { "description": "Biography of the GitHub user.", "misp-attribute": "text", "ui-priority": 1 }, + "blog": { + "description": "Blog - often used as website field of the user", + "misp-attribute": "text", + "ui-priority": 1 + }, + "company": { + "description": "Company", + "misp-attribute": "text", + "ui-priority": 1 + }, "follower": { "description": "GitHub user is followed by.", "misp-attribute": "github-username", @@ -23,6 +38,17 @@ "multiple": true, "ui-priority": 1 }, + "location": { + "description": "Location given by the GitHub user", + "disable_correlation": true, + "misp-attribute": "text", + "ui-priority": 1 + }, + "node_id": { + "description": "GitHub GraphQL node_id", + "misp-attribute": "text", + "ui-priority": 1 + }, "organisation": { "description": "Organisation affiliation of the GitHub user (it can be multiple).", "misp-attribute": "github-organisation", @@ -35,6 +61,18 @@ "multiple": true, "ui-priority": 1 }, + "public_gists": { + "description": "# of public gists associated with this GitHub user", + "disable_correlation": true, + "misp-attribute": "text", + "ui-priority": 1 + }, + "public_repos": { + "description": "# of public repos associated with this GitHub user", + "disable_correlation": true, + "misp-attribute": "text", + "ui-priority": 1 + }, "repository": { "description": "GitHub repository under the GitHub user.", "misp-attribute": "github-repository", @@ -47,6 +85,11 @@ "multiple": true, "ui-priority": 10 }, + "twitter_username": { + "description": "Associated twitter account", + "misp-attribute": "text", + "ui-priority": 1 + }, "user-fullname": { "description": "Fullname of the GitHub user.", "misp-attribute": "text", @@ -77,5 +120,5 @@ "link" ], "uuid": "4329b5e6-8e6a-4b55-8fd1-9033782017d4", - "version": 1 + "version": 2 } \ No newline at end of file