{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/osquery/pulls/comments/185578683","pull_request_review_id":116996736,"id":185578683,"diff_hunk":"@@ -0,0 +1,12 @@\n+table_name(\"npm_packages\")\n+description(\"Lists all npm packages in a directory or globally installed in a system.\")\n+schema([\n+    Column(\"name\", TEXT, \"Package display name\"),\n+    Column(\"version\", TEXT, \"Package supplied version\"),\n+    Column(\"description\", TEXT, \"Package supplied description\"),\n+    Column(\"author\", TEXT, \"Package author name\"),\n+    Column(\"license\", TEXT, \"License for package\"),\n+    Column(\"path\", TEXT, \"Path at to this module package.json\"),","path":"specs/linux/npm_packages.table","position":9,"original_position":9,"commit_id":"d80010869eb11cf6384c4c686a50f1a0b29e67c2","original_commit_id":"d80010869eb11cf6384c4c686a50f1a0b29e67c2","user":{"login":"obelisk","id":2386877,"avatar_url":"https://avatars1.githubusercontent.com/u/2386877?v=4","gravatar_id":"","url":"https://api.github.com/users/obelisk","html_url":"https://github.com/obelisk","followers_url":"https://api.github.com/users/obelisk/followers","following_url":"https://api.github.com/users/obelisk/following{/other_user}","gists_url":"https://api.github.com/users/obelisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obelisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obelisk/subscriptions","organizations_url":"https://api.github.com/users/obelisk/orgs","repos_url":"https://api.github.com/users/obelisk/repos","events_url":"https://api.github.com/users/obelisk/events{/privacy}","received_events_url":"https://api.github.com/users/obelisk/received_events","type":"User","site_admin":false},"body":"~at~ module's","created_at":"2018-05-02T17:38:33Z","updated_at":"2018-05-02T17:39:27Z","html_url":"https://github.com/facebook/osquery/pull/4315#discussion_r185578683","pull_request_url":"https://api.github.com/repos/facebook/osquery/pulls/4315","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/facebook/osquery/pulls/comments/185578683"},"html":{"href":"https://github.com/facebook/osquery/pull/4315#discussion_r185578683"},"pull_request":{"href":"https://api.github.com/repos/facebook/osquery/pulls/4315"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/4315","id":183302233,"html_url":"https://github.com/facebook/osquery/pull/4315","diff_url":"https://github.com/facebook/osquery/pull/4315.diff","patch_url":"https://github.com/facebook/osquery/pull/4315.patch","issue_url":"https://api.github.com/repos/facebook/osquery/issues/4315","number":4315,"state":"open","locked":false,"title":"NPM Packages Table on Linux","user":{"login":"Exbia","id":3303787,"avatar_url":"https://avatars1.githubusercontent.com/u/3303787?v=4","gravatar_id":"","url":"https://api.github.com/users/Exbia","html_url":"https://github.com/Exbia","followers_url":"https://api.github.com/users/Exbia/followers","following_url":"https://api.github.com/users/Exbia/following{/other_user}","gists_url":"https://api.github.com/users/Exbia/gists{/gist_id}","starred_url":"https://api.github.com/users/Exbia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exbia/subscriptions","organizations_url":"https://api.github.com/users/Exbia/orgs","repos_url":"https://api.github.com/users/Exbia/repos","events_url":"https://api.github.com/users/Exbia/events{/privacy}","received_events_url":"https://api.github.com/users/Exbia/received_events","type":"User","site_admin":false},"body":"Adding query support and table for NPM packages on Linux","created_at":"2018-04-23T00:06:32Z","updated_at":"2018-05-02T17:39:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32eae3774e06a9d66e9ccf160d3be9b07f6d87d5","assignee":{"login":"obelisk","id":2386877,"avatar_url":"https://avatars1.githubusercontent.com/u/2386877?v=4","gravatar_id":"","url":"https://api.github.com/users/obelisk","html_url":"https://github.com/obelisk","followers_url":"https://api.github.com/users/obelisk/followers","following_url":"https://api.github.com/users/obelisk/following{/other_user}","gists_url":"https://api.github.com/users/obelisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obelisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obelisk/subscriptions","organizations_url":"https://api.github.com/users/obelisk/orgs","repos_url":"https://api.github.com/users/obelisk/repos","events_url":"https://api.github.com/users/obelisk/events{/privacy}","received_events_url":"https://api.github.com/users/obelisk/received_events","type":"User","site_admin":false},"assignees":[{"login":"obelisk","id":2386877,"avatar_url":"https://avatars1.githubusercontent.com/u/2386877?v=4","gravatar_id":"","url":"https://api.github.com/users/obelisk","html_url":"https://github.com/obelisk","followers_url":"https://api.github.com/users/obelisk/followers","following_url":"https://api.github.com/users/obelisk/following{/other_user}","gists_url":"https://api.github.com/users/obelisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obelisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obelisk/subscriptions","organizations_url":"https://api.github.com/users/obelisk/orgs","repos_url":"https://api.github.com/users/obelisk/repos","events_url":"https://api.github.com/users/obelisk/events{/privacy}","received_events_url":"https://api.github.com/users/obelisk/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":118805409,"url":"https://api.github.com/repos/facebook/osquery/labels/Linux","name":"Linux","color":"d4c5f9","default":false},{"id":196858822,"url":"https://api.github.com/repos/facebook/osquery/labels/cla%20signed","name":"cla signed","color":"ededed","default":false},{"id":118805314,"url":"https://api.github.com/repos/facebook/osquery/labels/virtual%20tables","name":"virtual tables","color":"207de5","default":false}],"milestone":{"url":"https://api.github.com/repos/facebook/osquery/milestones/36","html_url":"https://github.com/facebook/osquery/milestone/36","labels_url":"https://api.github.com/repos/facebook/osquery/milestones/36/labels","id":3281457,"number":36,"title":"3.4.0","description":"","creator":{"login":"obelisk","id":2386877,"avatar_url":"https://avatars1.githubusercontent.com/u/2386877?v=4","gravatar_id":"","url":"https://api.github.com/users/obelisk","html_url":"https://github.com/obelisk","followers_url":"https://api.github.com/users/obelisk/followers","following_url":"https://api.github.com/users/obelisk/following{/other_user}","gists_url":"https://api.github.com/users/obelisk/gists{/gist_id}","starred_url":"https://api.github.com/users/obelisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obelisk/subscriptions","organizations_url":"https://api.github.com/users/obelisk/orgs","repos_url":"https://api.github.com/users/obelisk/repos","events_url":"https://api.github.com/users/obelisk/events{/privacy}","received_events_url":"https://api.github.com/users/obelisk/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-04-19T16:36:42Z","updated_at":"2018-05-01T20:12:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/facebook/osquery/pulls/4315/commits","review_comments_url":"https://api.github.com/repos/facebook/osquery/pulls/4315/comments","review_comment_url":"https://api.github.com/repos/facebook/osquery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/4315/comments","statuses_url":"https://api.github.com/repos/facebook/osquery/statuses/d80010869eb11cf6384c4c686a50f1a0b29e67c2","head":{"label":"Exbia:npm-tables","ref":"npm-tables","sha":"d80010869eb11cf6384c4c686a50f1a0b29e67c2","user":{"login":"Exbia","id":3303787,"avatar_url":"https://avatars1.githubusercontent.com/u/3303787?v=4","gravatar_id":"","url":"https://api.github.com/users/Exbia","html_url":"https://github.com/Exbia","followers_url":"https://api.github.com/users/Exbia/followers","following_url":"https://api.github.com/users/Exbia/following{/other_user}","gists_url":"https://api.github.com/users/Exbia/gists{/gist_id}","starred_url":"https://api.github.com/users/Exbia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exbia/subscriptions","organizations_url":"https://api.github.com/users/Exbia/orgs","repos_url":"https://api.github.com/users/Exbia/repos","events_url":"https://api.github.com/users/Exbia/events{/privacy}","received_events_url":"https://api.github.com/users/Exbia/received_events","type":"User","site_admin":false},"repo":{"id":130499974,"name":"osquery","full_name":"Exbia/osquery","owner":{"login":"Exbia","id":3303787,"avatar_url":"https://avatars1.githubusercontent.com/u/3303787?v=4","gravatar_id":"","url":"https://api.github.com/users/Exbia","html_url":"https://github.com/Exbia","followers_url":"https://api.github.com/users/Exbia/followers","following_url":"https://api.github.com/users/Exbia/following{/other_user}","gists_url":"https://api.github.com/users/Exbia/gists{/gist_id}","starred_url":"https://api.github.com/users/Exbia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exbia/subscriptions","organizations_url":"https://api.github.com/users/Exbia/orgs","repos_url":"https://api.github.com/users/Exbia/repos","events_url":"https://api.github.com/users/Exbia/events{/privacy}","received_events_url":"https://api.github.com/users/Exbia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Exbia/osquery","description":"SQL powered operating system instrumentation, monitoring, and analytics.","fork":true,"url":"https://api.github.com/repos/Exbia/osquery","forks_url":"https://api.github.com/repos/Exbia/osquery/forks","keys_url":"https://api.github.com/repos/Exbia/osquery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Exbia/osquery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Exbia/osquery/teams","hooks_url":"https://api.github.com/repos/Exbia/osquery/hooks","issue_events_url":"https://api.github.com/repos/Exbia/osquery/issues/events{/number}","events_url":"https://api.github.com/repos/Exbia/osquery/events","assignees_url":"https://api.github.com/repos/Exbia/osquery/assignees{/user}","branches_url":"https://api.github.com/repos/Exbia/osquery/branches{/branch}","tags_url":"https://api.github.com/repos/Exbia/osquery/tags","blobs_url":"https://api.github.com/repos/Exbia/osquery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Exbia/osquery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Exbia/osquery/git/refs{/sha}","trees_url":"https://api.github.com/repos/Exbia/osquery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Exbia/osquery/statuses/{sha}","languages_url":"https://api.github.com/repos/Exbia/osquery/languages","stargazers_url":"https://api.github.com/repos/Exbia/osquery/stargazers","contributors_url":"https://api.github.com/repos/Exbia/osquery/contributors","subscribers_url":"https://api.github.com/repos/Exbia/osquery/subscribers","subscription_url":"https://api.github.com/repos/Exbia/osquery/subscription","commits_url":"https://api.github.com/repos/Exbia/osquery/commits{/sha}","git_commits_url":"https://api.github.com/repos/Exbia/osquery/git/commits{/sha}","comments_url":"https://api.github.com/repos/Exbia/osquery/comments{/number}","issue_comment_url":"https://api.github.com/repos/Exbia/osquery/issues/comments{/number}","contents_url":"https://api.github.com/repos/Exbia/osquery/contents/{+path}","compare_url":"https://api.github.com/repos/Exbia/osquery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Exbia/osquery/merges","archive_url":"https://api.github.com/repos/Exbia/osquery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Exbia/osquery/downloads","issues_url":"https://api.github.com/repos/Exbia/osquery/issues{/number}","pulls_url":"https://api.github.com/repos/Exbia/osquery/pulls{/number}","milestones_url":"https://api.github.com/repos/Exbia/osquery/milestones{/number}","notifications_url":"https://api.github.com/repos/Exbia/osquery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Exbia/osquery/labels{/name}","releases_url":"https://api.github.com/repos/Exbia/osquery/releases{/id}","deployments_url":"https://api.github.com/repos/Exbia/osquery/deployments","created_at":"2018-04-21T18:09:59Z","updated_at":"2018-04-21T18:10:04Z","pushed_at":"2018-05-02T14:14:38Z","git_url":"git://github.com/Exbia/osquery.git","ssh_url":"git@github.com:Exbia/osquery.git","clone_url":"https://github.com/Exbia/osquery.git","svn_url":"https://github.com/Exbia/osquery","homepage":"https://osquery.io","size":14531,"stargazers_count":0,"watchers_count":0,"language":"C++","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":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"44c0b037021eb5c222c37c6736a1b2974f285329","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":22394357,"name":"osquery","full_name":"facebook/osquery","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/osquery","description":"SQL powered operating system instrumentation, monitoring, and analytics.","fork":false,"url":"https://api.github.com/repos/facebook/osquery","forks_url":"https://api.github.com/repos/facebook/osquery/forks","keys_url":"https://api.github.com/repos/facebook/osquery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/osquery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/osquery/teams","hooks_url":"https://api.github.com/repos/facebook/osquery/hooks","issue_events_url":"https://api.github.com/repos/facebook/osquery/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/osquery/events","assignees_url":"https://api.github.com/repos/facebook/osquery/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/osquery/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/osquery/tags","blobs_url":"https://api.github.com/repos/facebook/osquery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/osquery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/osquery/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/osquery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/osquery/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/osquery/languages","stargazers_url":"https://api.github.com/repos/facebook/osquery/stargazers","contributors_url":"https://api.github.com/repos/facebook/osquery/contributors","subscribers_url":"https://api.github.com/repos/facebook/osquery/subscribers","subscription_url":"https://api.github.com/repos/facebook/osquery/subscription","commits_url":"https://api.github.com/repos/facebook/osquery/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/osquery/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/osquery/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/osquery/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/osquery/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/osquery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/osquery/merges","archive_url":"https://api.github.com/repos/facebook/osquery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/osquery/downloads","issues_url":"https://api.github.com/repos/facebook/osquery/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/osquery/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/osquery/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/osquery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/osquery/labels{/name}","releases_url":"https://api.github.com/repos/facebook/osquery/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/osquery/deployments","created_at":"2014-07-29T20:27:33Z","updated_at":"2018-05-02T17:21:31Z","pushed_at":"2018-05-02T17:23:18Z","git_url":"git://github.com/facebook/osquery.git","ssh_url":"git@github.com:facebook/osquery.git","clone_url":"https://github.com/facebook/osquery.git","svn_url":"https://github.com/facebook/osquery","homepage":"https://osquery.io","size":14586,"stargazers_count":12242,"watchers_count":12242,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1363,"mirror_url":null,"archived":false,"open_issues_count":236,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1363,"open_issues":236,"watchers":12242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/osquery/pulls/4315"},"html":{"href":"https://github.com/facebook/osquery/pull/4315"},"issue":{"href":"https://api.github.com/repos/facebook/osquery/issues/4315"},"comments":{"href":"https://api.github.com/repos/facebook/osquery/issues/4315/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/osquery/pulls/4315/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/osquery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/osquery/pulls/4315/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/osquery/statuses/d80010869eb11cf6384c4c686a50f1a0b29e67c2"}},"author_association":"NONE"}}
{"actor":{"display_login":"obelisk"}}