{"action":"opened","issue":{"url":"https://api.github.com/repos/bigcompany/hook.io/issues/169","labels_url":"https://api.github.com/repos/bigcompany/hook.io/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/bigcompany/hook.io/issues/169/comments","events_url":"https://api.github.com/repos/bigcompany/hook.io/issues/169/events","html_url":"https://github.com/bigcompany/hook.io/issues/169","id":115627953,"number":169,"title":"Should logs be public","user":{"login":"monkbroc","id":1919681,"avatar_url":"https://avatars.githubusercontent.com/u/1919681?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbroc","html_url":"https://github.com/monkbroc","followers_url":"https://api.github.com/users/monkbroc/followers","following_url":"https://api.github.com/users/monkbroc/following{/other_user}","gists_url":"https://api.github.com/users/monkbroc/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbroc/subscriptions","organizations_url":"https://api.github.com/users/monkbroc/orgs","repos_url":"https://api.github.com/users/monkbroc/repos","events_url":"https://api.github.com/users/monkbroc/events{/privacy}","received_events_url":"https://api.github.com/users/monkbroc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-07T02:53:15Z","updated_at":"2015-11-07T02:53:15Z","closed_at":null,"body":"Hook.io is a very nice service! The key is its simplicity. Nicely done!\r\n\r\nI was surprised to find that the logs are publicly accessible. As the default example code dumps `hook.env` to the logs and the environment is meant for private secrets, that doesn't seem like a good idea.\r\n\r\nAn immediate change to improve this would be to make sure http://hook.io/logs warns that logs are publicly accessible.\r\n\r\nIs there a way to purge the logs of private information? Maybe a \"clear logs\" button on the admin page? (I suppose I can write blank lines until the old lines go away, but maybe there's something else)\r\n\r\nI don't mind that the hook code is public, but I feel that the logs should stay private, like the environment.\r\n\r\nWhat do you think?"}}