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.
pull/295/head
Alexandre Dulaunoy 2020-09-09 07:40:03 +02:00
parent 31586921b2
commit ca7ed9b396
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 81 additions and 0 deletions

View File

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