chg: [github-user] reflect the API fields

pull/295/head
Alexandre Dulaunoy 2020-09-17 07:24:30 +02:00
parent 794f9e7c43
commit 4828fea3b7
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 44 additions and 1 deletions

View File

@ -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
}