mirror of https://github.com/MISP/misp-objects
chg: [github-user] reflect the API fields
parent
794f9e7c43
commit
4828fea3b7
|
@ -1,10 +1,25 @@
|
||||||
{
|
{
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
"avatar_url": {
|
||||||
|
"description": "Avatar URL",
|
||||||
|
"misp-attribute": "link",
|
||||||
|
"ui-priority": 1
|
||||||
|
},
|
||||||
"bio": {
|
"bio": {
|
||||||
"description": "Biography of the GitHub user.",
|
"description": "Biography of the GitHub user.",
|
||||||
"misp-attribute": "text",
|
"misp-attribute": "text",
|
||||||
"ui-priority": 1
|
"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": {
|
"follower": {
|
||||||
"description": "GitHub user is followed by.",
|
"description": "GitHub user is followed by.",
|
||||||
"misp-attribute": "github-username",
|
"misp-attribute": "github-username",
|
||||||
|
@ -23,6 +38,17 @@
|
||||||
"multiple": true,
|
"multiple": true,
|
||||||
"ui-priority": 1
|
"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": {
|
"organisation": {
|
||||||
"description": "Organisation affiliation of the GitHub user (it can be multiple).",
|
"description": "Organisation affiliation of the GitHub user (it can be multiple).",
|
||||||
"misp-attribute": "github-organisation",
|
"misp-attribute": "github-organisation",
|
||||||
|
@ -35,6 +61,18 @@
|
||||||
"multiple": true,
|
"multiple": true,
|
||||||
"ui-priority": 1
|
"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": {
|
"repository": {
|
||||||
"description": "GitHub repository under the GitHub user.",
|
"description": "GitHub repository under the GitHub user.",
|
||||||
"misp-attribute": "github-repository",
|
"misp-attribute": "github-repository",
|
||||||
|
@ -47,6 +85,11 @@
|
||||||
"multiple": true,
|
"multiple": true,
|
||||||
"ui-priority": 10
|
"ui-priority": 10
|
||||||
},
|
},
|
||||||
|
"twitter_username": {
|
||||||
|
"description": "Associated twitter account",
|
||||||
|
"misp-attribute": "text",
|
||||||
|
"ui-priority": 1
|
||||||
|
},
|
||||||
"user-fullname": {
|
"user-fullname": {
|
||||||
"description": "Fullname of the GitHub user.",
|
"description": "Fullname of the GitHub user.",
|
||||||
"misp-attribute": "text",
|
"misp-attribute": "text",
|
||||||
|
@ -77,5 +120,5 @@
|
||||||
"link"
|
"link"
|
||||||
],
|
],
|
||||||
"uuid": "4329b5e6-8e6a-4b55-8fd1-9033782017d4",
|
"uuid": "4329b5e6-8e6a-4b55-8fd1-9033782017d4",
|
||||||
"version": 1
|
"version": 2
|
||||||
}
|
}
|
Loading…
Reference in New Issue