{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/3591","repository_url":"https://api.github.com/repos/MISP/MISP","labels_url":"https://api.github.com/repos/MISP/MISP/issues/3591/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/3591/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/3591/events","html_url":"https://github.com/MISP/MISP/issues/3591","id":354380345,"node_id":"MDU6SXNzdWUzNTQzODAzNDU=","number":3591,"title":"Cannot add a new taxonomy","user":{"login":"github-germ","id":8812009,"node_id":"MDQ6VXNlcjg4MTIwMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8812009?v=4","gravatar_id":"","url":"https://api.github.com/users/github-germ","html_url":"https://github.com/github-germ","followers_url":"https://api.github.com/users/github-germ/followers","following_url":"https://api.github.com/users/github-germ/following{/other_user}","gists_url":"https://api.github.com/users/github-germ/gists{/gist_id}","starred_url":"https://api.github.com/users/github-germ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-germ/subscriptions","organizations_url":"https://api.github.com/users/github-germ/orgs","repos_url":"https://api.github.com/users/github-germ/repos","events_url":"https://api.github.com/users/github-germ/events{/privacy}","received_events_url":"https://api.github.com/users/github-germ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-27T16:07:48Z","updated_at":"2018-08-27T20:33:59Z","closed_at":null,"author_association":"NONE","body":"2.4.94\r\n\r\nFollowed instructions on https://www.circl.lu/doc/misp/taxonomy/#adding-a-private-taxonomy\r\n\r\nThe `machinetag.json` is valid JSON. Dir/file permissions look OK.\r\n\r\nIn the WebUI, logged in as admin, goto `Event Actions > List Taxonomies` and this new taxonomy is not listed. Then clicking on `Update Taxonomies`, which I believe is the next step, yields this in the browser:\r\n```\r\nAn Internal Error Has Occurred.\r\nError: An Internal Error Has Occurred.\r\n```\r\nAnd this in the `error.log`:\r\n```\r\n$ tail --lines=0 -f /var/www/MISP/app/tmp/logs/error.log\r\n2018-08-27 16:04:33 Error: [BadRequestException] The request has been black-holed\r\nRequest URL: /taxonomies/update\r\nStack Trace:\r\n#0 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Controller/Component/SecurityComponent.php(831): AppController->blackhole('secure')\r\n#1 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Controller/Component/SecurityComponent.php(351): SecurityComponent->_callback(Object(TaxonomiesController), 'blackHole', Array)\r\n#2 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Controller/Component/SecurityComponent.php(255): SecurityComponent->blackHole(Object(TaxonomiesController), 'secure', Object(SecurityException))\r\n#3 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Utility/ObjectCollection.php(128): SecurityComponent->startup(Object(TaxonomiesController))\r\n#4 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger('startup')\r\n#5 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Controller/Controller.php(678): CakeEventManager->dispatch(Object(CakeEvent))\r\n#6 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()\r\n#7 /var/www/MISP_2.4.94/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(TaxonomiesController), Object(CakeRequest))\r\n#8 /var/www/MISP_2.4.94/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))\r\n#9 {main}\r\n```\r\n\r\nA search of a possibly related issue, https://github.com/MISP/MISP/issues/2964, but I didn't see how to apply any solution there.\r\n\r\nNot sure if this is our misunderstanding of the instructions, a config issue, or perhaps a bug in 2.4.94.\r\n\r\nHelp...\r\n"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/416359228","html_url":"https://github.com/MISP/MISP/issues/3591#issuecomment-416359228","issue_url":"https://api.github.com/repos/MISP/MISP/issues/3591","id":416359228,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjM1OTIyOA==","user":{"login":"github-germ","id":8812009,"node_id":"MDQ6VXNlcjg4MTIwMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8812009?v=4","gravatar_id":"","url":"https://api.github.com/users/github-germ","html_url":"https://github.com/github-germ","followers_url":"https://api.github.com/users/github-germ/followers","following_url":"https://api.github.com/users/github-germ/following{/other_user}","gists_url":"https://api.github.com/users/github-germ/gists{/gist_id}","starred_url":"https://api.github.com/users/github-germ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-germ/subscriptions","organizations_url":"https://api.github.com/users/github-germ/orgs","repos_url":"https://api.github.com/users/github-germ/repos","events_url":"https://api.github.com/users/github-germ/events{/privacy}","received_events_url":"https://api.github.com/users/github-germ/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T20:33:59Z","updated_at":"2018-08-27T20:33:59Z","author_association":"NONE","body":"Ha, there were no updates made to the file.  What next?"}}
{"actor":{"display_login":"github-germ"}}