{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/awsaml/pulls/comments/51733819","id":51733819,"diff_hunk":"@@ -139,7 +139,8 @@ app.all('/refresh', function (req, res) {\n         title: 'Rapid7 - Awsaml',\n         accessKey: data.Credentials.AccessKeyId,\n         secretKey: data.Credentials.SecretAccessKey,\n-        sessionToken: data.Credentials.SessionToken\n+        sessionToken: data.Credentials.SessionToken,\n+        accountId: session.accountId","path":"lib/server.js","position":6,"original_position":6,"commit_id":"624bf089c3dd8b3d4176e4b2bde6b0b63f0cdca8","original_commit_id":"624bf089c3dd8b3d4176e4b2bde6b0b63f0cdca8","user":{"login":"devkmsg","id":793995,"avatar_url":"https://avatars.githubusercontent.com/u/793995?v=3","gravatar_id":"","url":"https://api.github.com/users/devkmsg","html_url":"https://github.com/devkmsg","followers_url":"https://api.github.com/users/devkmsg/followers","following_url":"https://api.github.com/users/devkmsg/following{/other_user}","gists_url":"https://api.github.com/users/devkmsg/gists{/gist_id}","starred_url":"https://api.github.com/users/devkmsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devkmsg/subscriptions","organizations_url":"https://api.github.com/users/devkmsg/orgs","repos_url":"https://api.github.com/users/devkmsg/repos","events_url":"https://api.github.com/users/devkmsg/events{/privacy}","received_events_url":"https://api.github.com/users/devkmsg/received_events","type":"User","site_admin":false},"body":"I believe this is where that is happening.\r\n\r\nhttps://github.com/rapid7/awsaml/blob/display-accountid/lib/server.js#L47","created_at":"2016-02-03T15:18:34Z","updated_at":"2016-02-03T15:18:34Z","html_url":"https://github.com/rapid7/awsaml/pull/2#discussion_r51733819","pull_request_url":"https://api.github.com/repos/rapid7/awsaml/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/comments/51733819"},"html":{"href":"https://github.com/rapid7/awsaml/pull/2#discussion_r51733819"},"pull_request":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/awsaml/pulls/2","id":58147352,"html_url":"https://github.com/rapid7/awsaml/pull/2","diff_url":"https://github.com/rapid7/awsaml/pull/2.diff","patch_url":"https://github.com/rapid7/awsaml/pull/2.patch","issue_url":"https://api.github.com/repos/rapid7/awsaml/issues/2","number":2,"state":"open","locked":false,"title":"Display AccountId on refresh page","user":{"login":"athompson-r7","id":10726978,"avatar_url":"https://avatars.githubusercontent.com/u/10726978?v=3","gravatar_id":"","url":"https://api.github.com/users/athompson-r7","html_url":"https://github.com/athompson-r7","followers_url":"https://api.github.com/users/athompson-r7/followers","following_url":"https://api.github.com/users/athompson-r7/following{/other_user}","gists_url":"https://api.github.com/users/athompson-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/athompson-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athompson-r7/subscriptions","organizations_url":"https://api.github.com/users/athompson-r7/orgs","repos_url":"https://api.github.com/users/athompson-r7/repos","events_url":"https://api.github.com/users/athompson-r7/events{/privacy}","received_events_url":"https://api.github.com/users/athompson-r7/received_events","type":"User","site_admin":false},"body":"This commit adds AccountId to the values displayed on the refresh\r\npage.  This change makes is a little easier which account you are using;\r\nthe Okta metadata url is not very descriptive.\r\n\r\n","created_at":"2016-02-03T14:51:39Z","updated_at":"2016-02-03T15:18:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3515f16773d44f27e4c48cd4b282935918f63234","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/awsaml/pulls/2/commits","review_comments_url":"https://api.github.com/repos/rapid7/awsaml/pulls/2/comments","review_comment_url":"https://api.github.com/repos/rapid7/awsaml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/awsaml/issues/2/comments","statuses_url":"https://api.github.com/repos/rapid7/awsaml/statuses/624bf089c3dd8b3d4176e4b2bde6b0b63f0cdca8","head":{"label":"rapid7:display-accountid","ref":"display-accountid","sha":"624bf089c3dd8b3d4176e4b2bde6b0b63f0cdca8","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":50682822,"name":"awsaml","full_name":"rapid7/awsaml","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/awsaml","description":"","fork":false,"url":"https://api.github.com/repos/rapid7/awsaml","forks_url":"https://api.github.com/repos/rapid7/awsaml/forks","keys_url":"https://api.github.com/repos/rapid7/awsaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/awsaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/awsaml/teams","hooks_url":"https://api.github.com/repos/rapid7/awsaml/hooks","issue_events_url":"https://api.github.com/repos/rapid7/awsaml/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/awsaml/events","assignees_url":"https://api.github.com/repos/rapid7/awsaml/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/awsaml/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/awsaml/tags","blobs_url":"https://api.github.com/repos/rapid7/awsaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/awsaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/awsaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/awsaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/awsaml/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/awsaml/languages","stargazers_url":"https://api.github.com/repos/rapid7/awsaml/stargazers","contributors_url":"https://api.github.com/repos/rapid7/awsaml/contributors","subscribers_url":"https://api.github.com/repos/rapid7/awsaml/subscribers","subscription_url":"https://api.github.com/repos/rapid7/awsaml/subscription","commits_url":"https://api.github.com/repos/rapid7/awsaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/awsaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/awsaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/awsaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/awsaml/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/awsaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/awsaml/merges","archive_url":"https://api.github.com/repos/rapid7/awsaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/awsaml/downloads","issues_url":"https://api.github.com/repos/rapid7/awsaml/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/awsaml/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/awsaml/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/awsaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/awsaml/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/awsaml/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/awsaml/deployments","created_at":"2016-01-29T18:37:06Z","updated_at":"2016-01-29T21:02:39Z","pushed_at":"2016-02-03T14:51:39Z","git_url":"git://github.com/rapid7/awsaml.git","ssh_url":"git@github.com:rapid7/awsaml.git","clone_url":"https://github.com/rapid7/awsaml.git","svn_url":"https://github.com/rapid7/awsaml","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"0a4275ba59dc48d64eed9d614ce9362444af5fce","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":50682822,"name":"awsaml","full_name":"rapid7/awsaml","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/awsaml","description":"","fork":false,"url":"https://api.github.com/repos/rapid7/awsaml","forks_url":"https://api.github.com/repos/rapid7/awsaml/forks","keys_url":"https://api.github.com/repos/rapid7/awsaml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/awsaml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/awsaml/teams","hooks_url":"https://api.github.com/repos/rapid7/awsaml/hooks","issue_events_url":"https://api.github.com/repos/rapid7/awsaml/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/awsaml/events","assignees_url":"https://api.github.com/repos/rapid7/awsaml/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/awsaml/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/awsaml/tags","blobs_url":"https://api.github.com/repos/rapid7/awsaml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/awsaml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/awsaml/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/awsaml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/awsaml/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/awsaml/languages","stargazers_url":"https://api.github.com/repos/rapid7/awsaml/stargazers","contributors_url":"https://api.github.com/repos/rapid7/awsaml/contributors","subscribers_url":"https://api.github.com/repos/rapid7/awsaml/subscribers","subscription_url":"https://api.github.com/repos/rapid7/awsaml/subscription","commits_url":"https://api.github.com/repos/rapid7/awsaml/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/awsaml/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/awsaml/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/awsaml/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/awsaml/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/awsaml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/awsaml/merges","archive_url":"https://api.github.com/repos/rapid7/awsaml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/awsaml/downloads","issues_url":"https://api.github.com/repos/rapid7/awsaml/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/awsaml/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/awsaml/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/awsaml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/awsaml/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/awsaml/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/awsaml/deployments","created_at":"2016-01-29T18:37:06Z","updated_at":"2016-01-29T21:02:39Z","pushed_at":"2016-02-03T14:51:39Z","git_url":"git://github.com/rapid7/awsaml.git","ssh_url":"git@github.com:rapid7/awsaml.git","clone_url":"https://github.com/rapid7/awsaml.git","svn_url":"https://github.com/rapid7/awsaml","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/2"},"html":{"href":"https://github.com/rapid7/awsaml/pull/2"},"issue":{"href":"https://api.github.com/repos/rapid7/awsaml/issues/2"},"comments":{"href":"https://api.github.com/repos/rapid7/awsaml/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/awsaml/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/awsaml/statuses/624bf089c3dd8b3d4176e4b2bde6b0b63f0cdca8"}}}}