fix: JSON Validation

pull/295/head
chrisr3d 2020-09-09 10:36:20 +02:00
parent 3fce227f39
commit 054899d28b
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 28 additions and 28 deletions

View File

@ -5,29 +5,23 @@
"misp-attribute": "text", "misp-attribute": "text",
"ui-priority": 1 "ui-priority": 1
}, },
"profile-image": { "follower": {
"description": "Profile image of the GitHub user (it can be multiple).", "description": "GitHub user is followed by.",
"misp-attribute": "attachment", "misp-attribute": "github-username",
"ui-priority": 1, "multiple": true,
"multiple": true "ui-priority": 79
}, },
"following": { "following": {
"description": "Followed GitHub users by the GitHub user.", "description": "Followed GitHub users by the GitHub user.",
"misp-attribute": "github-username", "misp-attribute": "github-username",
"ui-priority": 80, "multiple": true,
"multiple": true "ui-priority": 80
}, },
"follower": { "link": {
"description": "GitHub user is followed by.", "description": "Original Link to the GitHub account.",
"misp-attribute": "github-username", "misp-attribute": "link",
"ui-priority": 79, "multiple": true,
"multiple": true "ui-priority": 1
},
"ssh-public-key": {
"description": "SSH public key associated to the GitHub user.",
"misp-attribute": "text",
"ui-priority": 10,
"multiple": true
}, },
"organisation": { "organisation": {
"description": "Organisation affiliation of the GitHub user (it can be multiple).", "description": "Organisation affiliation of the GitHub user (it can be multiple).",
@ -35,11 +29,11 @@
"multiple": true, "multiple": true,
"ui-priority": 1 "ui-priority": 1
}, },
"username": { "profile-image": {
"description": "GitHub username.", "description": "Profile image of the GitHub user (it can be multiple).",
"misp-attribute": "github-username", "misp-attribute": "attachment",
"multiple": true, "multiple": true,
"ui-priority": 98 "ui-priority": 1
}, },
"repository": { "repository": {
"description": "GitHub repository under the GitHub user.", "description": "GitHub repository under the GitHub user.",
@ -47,16 +41,22 @@
"multiple": true, "multiple": true,
"ui-priority": 96 "ui-priority": 96
}, },
"ssh-public-key": {
"description": "SSH public key associated to the GitHub user.",
"misp-attribute": "text",
"multiple": true,
"ui-priority": 10
},
"user-fullname": { "user-fullname": {
"description": "Fullname of the GitHub user.", "description": "Fullname of the GitHub user.",
"misp-attribute": "text", "misp-attribute": "text",
"ui-priority": 97 "ui-priority": 97
}, },
"link": { "username": {
"description": "Original Link to the GitHub account.", "description": "GitHub username.",
"misp-attribute": "link", "misp-attribute": "github-username",
"multiple": true, "multiple": true,
"ui-priority": 1 "ui-priority": 98
}, },
"verified": { "verified": {
"description": "User verified.", "description": "User verified.",