{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/http-observatory/issues/175","repository_url":"https://api.github.com/repos/mozilla/http-observatory","labels_url":"https://api.github.com/repos/mozilla/http-observatory/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/http-observatory/issues/175/comments","events_url":"https://api.github.com/repos/mozilla/http-observatory/issues/175/events","html_url":"https://github.com/mozilla/http-observatory/issues/175","id":194680069,"number":175,"title":"Check getRecentScans","user":{"login":"craigfrancis","id":1296695,"avatar_url":"https://avatars.githubusercontent.com/u/1296695?v=3","gravatar_id":"","url":"https://api.github.com/users/craigfrancis","html_url":"https://github.com/craigfrancis","followers_url":"https://api.github.com/users/craigfrancis/followers","following_url":"https://api.github.com/users/craigfrancis/following{/other_user}","gists_url":"https://api.github.com/users/craigfrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/craigfrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigfrancis/subscriptions","organizations_url":"https://api.github.com/users/craigfrancis/orgs","repos_url":"https://api.github.com/users/craigfrancis/repos","events_url":"https://api.github.com/users/craigfrancis/events{/privacy}","received_events_url":"https://api.github.com/users/craigfrancis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T19:42:06Z","updated_at":"2016-12-09T20:01:43Z","closed_at":null,"body":"Minor issue, but I think the SQL for `getRecentScans` might be out a little bit:\r\n\r\nhttps://github.com/mozilla/http-observatory/blob/master/httpobs/database/database.py#L220\r\n\r\nFor example:\r\n\r\nhttps://observatory.mozilla.org/analyze.html?host=code-poets.co.uk\r\nScore: 135/100\r\n\r\nhttps://http-observatory.security.mozilla.org/api/v1/getRecentScans?num=100&min=135\r\n\r\nI must admit it's a little late on a Friday night to work out what's wrong though."},"comment":{"url":"https://api.github.com/repos/mozilla/http-observatory/issues/comments/266109142","html_url":"https://github.com/mozilla/http-observatory/issues/175#issuecomment-266109142","issue_url":"https://api.github.com/repos/mozilla/http-observatory/issues/175","id":266109142,"user":{"login":"marumari","id":230528,"avatar_url":"https://avatars.githubusercontent.com/u/230528?v=3","gravatar_id":"","url":"https://api.github.com/users/marumari","html_url":"https://github.com/marumari","followers_url":"https://api.github.com/users/marumari/followers","following_url":"https://api.github.com/users/marumari/following{/other_user}","gists_url":"https://api.github.com/users/marumari/gists{/gist_id}","starred_url":"https://api.github.com/users/marumari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marumari/subscriptions","organizations_url":"https://api.github.com/users/marumari/orgs","repos_url":"https://api.github.com/users/marumari/repos","events_url":"https://api.github.com/users/marumari/events{/privacy}","received_events_url":"https://api.github.com/users/marumari/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T20:01:43Z","updated_at":"2016-12-09T20:01:43Z","body":"If you go directly to the analyze page, it automatically submitted as a \"hidden\" scan, since there isn't any point where you can state whether you want it hidden or not.  If you go to the home page and submit from there, it should appear in that list, but getRecentScans only shows recent non-hidden scans.\r\n\r\nCould you test that way and let me know if you still have that problem?  If so, I'll dig into why it's happening.  :)"}}
{"actor":{"display_login":"marumari"}}