{"action":"closed","number":88,"pull_request":{"url":"https://api.github.com/repos/18F/micropurchase/pulls/88","id":51005216,"html_url":"https://github.com/18F/micropurchase/pull/88","diff_url":"https://github.com/18F/micropurchase/pull/88.diff","patch_url":"https://github.com/18F/micropurchase/pull/88.patch","issue_url":"https://api.github.com/repos/18F/micropurchase/issues/88","number":88,"state":"closed","locked":false,"title":"Automated security scan","user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"body":"The branch name is a bit of a misnomer. This pull request adds three types of automated scans:\r\n\r\n- [Brakeman](https://github.com/presidentbeef/brakeman) static code analysis.\r\n- [Hakiri](https://github.com/hakirisec/hakiri_toolbelt) Ruby/Rails version scan.\r\n- [Hakiri](https://github.com/hakirisec/hakiri_toolbelt) Gemfile scan.\r\n\r\nInterestingly, this brought up one high confidence security warning. If all goes well, the warning should cause the build to break inside Travis, with a helpful error message.","created_at":"2015-11-17T21:12:33Z","updated_at":"2015-11-19T22:28:21Z","closed_at":"2015-11-19T22:28:21Z","merged_at":"2015-11-19T22:28:21Z","merge_commit_sha":"8bdf380f1f914d2992257a3b6f3dffa1f97e1f44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/micropurchase/pulls/88/commits","review_comments_url":"https://api.github.com/repos/18F/micropurchase/pulls/88/comments","review_comment_url":"https://api.github.com/repos/18F/micropurchase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/micropurchase/issues/88/comments","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/1e11fbf16f6454bfad156f0f4de5089c43d0357f","head":{"label":"18F:brakeman-security-scan","ref":"brakeman-security-scan","sha":"1e11fbf16f6454bfad156f0f4de5089c43d0357f","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":43830328,"name":"micropurchase","full_name":"18F/micropurchase","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/micropurchase","description":"18F's micro-purchase threshold experiment management app.","fork":false,"url":"https://api.github.com/repos/18F/micropurchase","forks_url":"https://api.github.com/repos/18F/micropurchase/forks","keys_url":"https://api.github.com/repos/18F/micropurchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/micropurchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/micropurchase/teams","hooks_url":"https://api.github.com/repos/18F/micropurchase/hooks","issue_events_url":"https://api.github.com/repos/18F/micropurchase/issues/events{/number}","events_url":"https://api.github.com/repos/18F/micropurchase/events","assignees_url":"https://api.github.com/repos/18F/micropurchase/assignees{/user}","branches_url":"https://api.github.com/repos/18F/micropurchase/branches{/branch}","tags_url":"https://api.github.com/repos/18F/micropurchase/tags","blobs_url":"https://api.github.com/repos/18F/micropurchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/micropurchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/micropurchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/micropurchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/micropurchase/languages","stargazers_url":"https://api.github.com/repos/18F/micropurchase/stargazers","contributors_url":"https://api.github.com/repos/18F/micropurchase/contributors","subscribers_url":"https://api.github.com/repos/18F/micropurchase/subscribers","subscription_url":"https://api.github.com/repos/18F/micropurchase/subscription","commits_url":"https://api.github.com/repos/18F/micropurchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/micropurchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/micropurchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/micropurchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/micropurchase/contents/{+path}","compare_url":"https://api.github.com/repos/18F/micropurchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/micropurchase/merges","archive_url":"https://api.github.com/repos/18F/micropurchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/micropurchase/downloads","issues_url":"https://api.github.com/repos/18F/micropurchase/issues{/number}","pulls_url":"https://api.github.com/repos/18F/micropurchase/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/micropurchase/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/micropurchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/micropurchase/labels{/name}","releases_url":"https://api.github.com/repos/18F/micropurchase/releases{/id}","created_at":"2015-10-07T16:47:29Z","updated_at":"2015-11-08T18:45:06Z","pushed_at":"2015-11-19T22:28:21Z","git_url":"git://github.com/18F/micropurchase.git","ssh_url":"git@github.com:18F/micropurchase.git","clone_url":"https://github.com/18F/micropurchase.git","svn_url":"https://github.com/18F/micropurchase","homepage":"https://18f.gsa.gov/2015/10/13/open-source-micropurchasing/","size":1607,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":19,"forks":3,"open_issues":19,"watchers":5,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"bc3e59030bac9d4594dc6f4c6031bbaa31b13cb7","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":43830328,"name":"micropurchase","full_name":"18F/micropurchase","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/micropurchase","description":"18F's micro-purchase threshold experiment management app.","fork":false,"url":"https://api.github.com/repos/18F/micropurchase","forks_url":"https://api.github.com/repos/18F/micropurchase/forks","keys_url":"https://api.github.com/repos/18F/micropurchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/micropurchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/micropurchase/teams","hooks_url":"https://api.github.com/repos/18F/micropurchase/hooks","issue_events_url":"https://api.github.com/repos/18F/micropurchase/issues/events{/number}","events_url":"https://api.github.com/repos/18F/micropurchase/events","assignees_url":"https://api.github.com/repos/18F/micropurchase/assignees{/user}","branches_url":"https://api.github.com/repos/18F/micropurchase/branches{/branch}","tags_url":"https://api.github.com/repos/18F/micropurchase/tags","blobs_url":"https://api.github.com/repos/18F/micropurchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/micropurchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/micropurchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/micropurchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/micropurchase/languages","stargazers_url":"https://api.github.com/repos/18F/micropurchase/stargazers","contributors_url":"https://api.github.com/repos/18F/micropurchase/contributors","subscribers_url":"https://api.github.com/repos/18F/micropurchase/subscribers","subscription_url":"https://api.github.com/repos/18F/micropurchase/subscription","commits_url":"https://api.github.com/repos/18F/micropurchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/micropurchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/micropurchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/micropurchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/micropurchase/contents/{+path}","compare_url":"https://api.github.com/repos/18F/micropurchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/micropurchase/merges","archive_url":"https://api.github.com/repos/18F/micropurchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/micropurchase/downloads","issues_url":"https://api.github.com/repos/18F/micropurchase/issues{/number}","pulls_url":"https://api.github.com/repos/18F/micropurchase/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/micropurchase/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/micropurchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/micropurchase/labels{/name}","releases_url":"https://api.github.com/repos/18F/micropurchase/releases{/id}","created_at":"2015-10-07T16:47:29Z","updated_at":"2015-11-08T18:45:06Z","pushed_at":"2015-11-19T22:28:21Z","git_url":"git://github.com/18F/micropurchase.git","ssh_url":"git@github.com:18F/micropurchase.git","clone_url":"https://github.com/18F/micropurchase.git","svn_url":"https://github.com/18F/micropurchase","homepage":"https://18f.gsa.gov/2015/10/13/open-source-micropurchasing/","size":1607,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":19,"forks":3,"open_issues":19,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/88"},"html":{"href":"https://github.com/18F/micropurchase/pull/88"},"issue":{"href":"https://api.github.com/repos/18F/micropurchase/issues/88"},"comments":{"href":"https://api.github.com/repos/18F/micropurchase/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/18F/micropurchase/statuses/1e11fbf16f6454bfad156f0f4de5089c43d0357f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"comments":7,"review_comments":5,"commits":2,"additions":99,"deletions":16,"changed_files":4}}