{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/security-wg/pulls/comments/186304437","pull_request_review_id":117856811,"id":186304437,"diff_hunk":"@@ -0,0 +1,27 @@\n+'use strict'\n+\n+const util = require('util')\n+const HackerOneClient = require('./HackerOneClient')\n+const NswgReporter = require('./NswgReporter')\n+\n+const USER = process.env.NSWG_BB_API_USERNAME\n+const PASS = process.env.NSWG_BB_API_PASSWORD","path":"tools/reporter/index.js","position":8,"original_position":8,"commit_id":"bf2b7d9f0eaa230d4fcacf2c6992ef76cd01221b","original_commit_id":"bf2b7d9f0eaa230d4fcacf2c6992ef76cd01221b","user":{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"body":"Thanks for the context and elaborate information, insightful as always! I actually did have your notes gist starred already from a previous read :-)\r\n\r\nHaving an interactive prompt on the CLI sounds good.\r\nI'll make appropriate changes.\r\n\r\nAbout CI and automation around tooling - we're not there yet. I haven't finalized requirements and actually think we'd benefit more from having a webhook originating from H1 platform to us (some service somewhere) but since H1 aren't supporting a custom webhook then this isn't relevant atm. Anyway I think we'll take this gradually and securely to see how the process works and eases human intervention so we can more easily handle the load.","created_at":"2018-05-06T22:00:09Z","updated_at":"2018-05-06T22:00:09Z","html_url":"https://github.com/nodejs/security-wg/pull/234#discussion_r186304437","pull_request_url":"https://api.github.com/repos/nodejs/security-wg/pulls/234","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/comments/186304437"},"html":{"href":"https://github.com/nodejs/security-wg/pull/234#discussion_r186304437"},"pull_request":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/234"}},"in_reply_to_id":184918195},"pull_request":{"url":"https://api.github.com/repos/nodejs/security-wg/pulls/234","id":183291955,"html_url":"https://github.com/nodejs/security-wg/pull/234","diff_url":"https://github.com/nodejs/security-wg/pull/234.diff","patch_url":"https://github.com/nodejs/security-wg/pull/234.patch","issue_url":"https://api.github.com/repos/nodejs/security-wg/issues/234","number":234,"state":"open","locked":false,"title":"nswg-reporter: initial proposition for hackerone reporter","user":{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"body":"Relates to #146 \r\nStatus: WIP\r\n\r\n## Usage\r\n\r\nnpm run reporter <reportId>\r\n\r\n## TODO \r\n\r\n- [ ] Fix linting\r\n- [ ] Update report format to recent changes and #200\r\n- [ ] How do we get the vulnerable/patched versions information? we had an idea once to update it ourselves in the summary text and then parse it.\r\n- [ ] Tests\r\n- [ ] API keys mgmt (should we be issuing API keys for triage team?)\r\n","created_at":"2018-04-22T20:17:06Z","updated_at":"2018-05-06T22:00:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3c09e516b415b484a3a9b7e3402c93cd36d5899","assignee":{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"assignees":[{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":491040971,"url":"https://api.github.com/repos/nodejs/security-wg/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/security-wg/pulls/234/commits","review_comments_url":"https://api.github.com/repos/nodejs/security-wg/pulls/234/comments","review_comment_url":"https://api.github.com/repos/nodejs/security-wg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/security-wg/issues/234/comments","statuses_url":"https://api.github.com/repos/nodejs/security-wg/statuses/bf2b7d9f0eaa230d4fcacf2c6992ef76cd01221b","head":{"label":"lirantal:feat/nswg-reporter","ref":"feat/nswg-reporter","sha":"bf2b7d9f0eaa230d4fcacf2c6992ef76cd01221b","user":{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"repo":{"id":114088824,"name":"security-wg","full_name":"lirantal/security-wg","owner":{"login":"lirantal","id":316371,"avatar_url":"https://avatars1.githubusercontent.com/u/316371?v=4","gravatar_id":"","url":"https://api.github.com/users/lirantal","html_url":"https://github.com/lirantal","followers_url":"https://api.github.com/users/lirantal/followers","following_url":"https://api.github.com/users/lirantal/following{/other_user}","gists_url":"https://api.github.com/users/lirantal/gists{/gist_id}","starred_url":"https://api.github.com/users/lirantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lirantal/subscriptions","organizations_url":"https://api.github.com/users/lirantal/orgs","repos_url":"https://api.github.com/users/lirantal/repos","events_url":"https://api.github.com/users/lirantal/events{/privacy}","received_events_url":"https://api.github.com/users/lirantal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lirantal/security-wg","description":"Node.js Security Working Group","fork":true,"url":"https://api.github.com/repos/lirantal/security-wg","forks_url":"https://api.github.com/repos/lirantal/security-wg/forks","keys_url":"https://api.github.com/repos/lirantal/security-wg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lirantal/security-wg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lirantal/security-wg/teams","hooks_url":"https://api.github.com/repos/lirantal/security-wg/hooks","issue_events_url":"https://api.github.com/repos/lirantal/security-wg/issues/events{/number}","events_url":"https://api.github.com/repos/lirantal/security-wg/events","assignees_url":"https://api.github.com/repos/lirantal/security-wg/assignees{/user}","branches_url":"https://api.github.com/repos/lirantal/security-wg/branches{/branch}","tags_url":"https://api.github.com/repos/lirantal/security-wg/tags","blobs_url":"https://api.github.com/repos/lirantal/security-wg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lirantal/security-wg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lirantal/security-wg/git/refs{/sha}","trees_url":"https://api.github.com/repos/lirantal/security-wg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lirantal/security-wg/statuses/{sha}","languages_url":"https://api.github.com/repos/lirantal/security-wg/languages","stargazers_url":"https://api.github.com/repos/lirantal/security-wg/stargazers","contributors_url":"https://api.github.com/repos/lirantal/security-wg/contributors","subscribers_url":"https://api.github.com/repos/lirantal/security-wg/subscribers","subscription_url":"https://api.github.com/repos/lirantal/security-wg/subscription","commits_url":"https://api.github.com/repos/lirantal/security-wg/commits{/sha}","git_commits_url":"https://api.github.com/repos/lirantal/security-wg/git/commits{/sha}","comments_url":"https://api.github.com/repos/lirantal/security-wg/comments{/number}","issue_comment_url":"https://api.github.com/repos/lirantal/security-wg/issues/comments{/number}","contents_url":"https://api.github.com/repos/lirantal/security-wg/contents/{+path}","compare_url":"https://api.github.com/repos/lirantal/security-wg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lirantal/security-wg/merges","archive_url":"https://api.github.com/repos/lirantal/security-wg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lirantal/security-wg/downloads","issues_url":"https://api.github.com/repos/lirantal/security-wg/issues{/number}","pulls_url":"https://api.github.com/repos/lirantal/security-wg/pulls{/number}","milestones_url":"https://api.github.com/repos/lirantal/security-wg/milestones{/number}","notifications_url":"https://api.github.com/repos/lirantal/security-wg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lirantal/security-wg/labels{/name}","releases_url":"https://api.github.com/repos/lirantal/security-wg/releases{/id}","deployments_url":"https://api.github.com/repos/lirantal/security-wg/deployments","created_at":"2017-12-13T07:30:17Z","updated_at":"2018-04-22T06:08:29Z","pushed_at":"2018-04-30T19:07:31Z","git_url":"git://github.com/lirantal/security-wg.git","ssh_url":"git@github.com:lirantal/security-wg.git","clone_url":"https://github.com/lirantal/security-wg.git","svn_url":"https://github.com/lirantal/security-wg","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"1029a730840c217a312f67c8b86d432ffeee8f65","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":75093520,"name":"security-wg","full_name":"nodejs/security-wg","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/security-wg","description":"Node.js Security Working Group","fork":false,"url":"https://api.github.com/repos/nodejs/security-wg","forks_url":"https://api.github.com/repos/nodejs/security-wg/forks","keys_url":"https://api.github.com/repos/nodejs/security-wg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/security-wg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/security-wg/teams","hooks_url":"https://api.github.com/repos/nodejs/security-wg/hooks","issue_events_url":"https://api.github.com/repos/nodejs/security-wg/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/security-wg/events","assignees_url":"https://api.github.com/repos/nodejs/security-wg/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/security-wg/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/security-wg/tags","blobs_url":"https://api.github.com/repos/nodejs/security-wg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/security-wg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/security-wg/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/security-wg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/security-wg/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/security-wg/languages","stargazers_url":"https://api.github.com/repos/nodejs/security-wg/stargazers","contributors_url":"https://api.github.com/repos/nodejs/security-wg/contributors","subscribers_url":"https://api.github.com/repos/nodejs/security-wg/subscribers","subscription_url":"https://api.github.com/repos/nodejs/security-wg/subscription","commits_url":"https://api.github.com/repos/nodejs/security-wg/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/security-wg/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/security-wg/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/security-wg/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/security-wg/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/security-wg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/security-wg/merges","archive_url":"https://api.github.com/repos/nodejs/security-wg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/security-wg/downloads","issues_url":"https://api.github.com/repos/nodejs/security-wg/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/security-wg/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/security-wg/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/security-wg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/security-wg/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/security-wg/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/security-wg/deployments","created_at":"2016-11-29T15:16:52Z","updated_at":"2018-05-03T13:08:55Z","pushed_at":"2018-05-06T21:49:24Z","git_url":"git://github.com/nodejs/security-wg.git","ssh_url":"git@github.com:nodejs/security-wg.git","clone_url":"https://github.com/nodejs/security-wg.git","svn_url":"https://github.com/nodejs/security-wg","homepage":null,"size":513,"stargazers_count":69,"watchers_count":69,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":28,"open_issues":28,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/234"},"html":{"href":"https://github.com/nodejs/security-wg/pull/234"},"issue":{"href":"https://api.github.com/repos/nodejs/security-wg/issues/234"},"comments":{"href":"https://api.github.com/repos/nodejs/security-wg/issues/234/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/234/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/security-wg/pulls/234/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/security-wg/statuses/bf2b7d9f0eaa230d4fcacf2c6992ef76cd01221b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lirantal"}}