{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/beats/pulls/comments/91518612","pull_request_review_id":12027014,"id":91518612,"diff_hunk":"@@ -91,6 +95,8 @@ func DefineCommandLine() (*CommandLine, error) {\n \tcl.flagSet.BoolVar(&cl.opt.OnlyDashboards, \"only-dashboards\", false, \"Import only dashboards together with visualizations and searches. By default import both, dashboards and the index-pattern.\")\n \tcl.flagSet.BoolVar(&cl.opt.OnlyIndex, \"only-index\", false, \"Import only the index-pattern. By default imports both, dashboards and the index pattern.\")\n \tcl.flagSet.BoolVar(&cl.opt.Snapshot, \"snapshot\", false, \"Import dashboards from snapshot builds.\")\n+\tcl.flagSet.StringVar(&cl.opt.Certificate, \"ca\", \"\", \"Certificate for SSL client authentication.\")","path":"libbeat/dashboards/import_dashboards.go","position":24,"original_position":24,"commit_id":"381c1ac2ab276269d28a2578fa9573d239761380","original_commit_id":"381c1ac2ab276269d28a2578fa9573d239761380","user":{"login":"andrewkroh","id":4565752,"avatar_url":"https://avatars.githubusercontent.com/u/4565752?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewkroh","html_url":"https://github.com/andrewkroh","followers_url":"https://api.github.com/users/andrewkroh/followers","following_url":"https://api.github.com/users/andrewkroh/following{/other_user}","gists_url":"https://api.github.com/users/andrewkroh/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewkroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewkroh/subscriptions","organizations_url":"https://api.github.com/users/andrewkroh/orgs","repos_url":"https://api.github.com/users/andrewkroh/repos","events_url":"https://api.github.com/users/andrewkroh/events{/privacy}","received_events_url":"https://api.github.com/users/andrewkroh/received_events","type":"User","site_admin":false},"body":"There should be three options like `cacert`, `cert`, and `key`. I chose those names because they are the same as `curl`. And curl also allows a key passphrase to be specified with the `pass` CLI flag.","created_at":"2016-12-08T14:00:51Z","updated_at":"2016-12-08T14:06:04Z","html_url":"https://github.com/elastic/beats/pull/3139#discussion_r91518612","pull_request_url":"https://api.github.com/repos/elastic/beats/pulls/3139","_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments/91518612"},"html":{"href":"https://github.com/elastic/beats/pull/3139#discussion_r91518612"},"pull_request":{"href":"https://api.github.com/repos/elastic/beats/pulls/3139"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/3139","id":96918506,"html_url":"https://github.com/elastic/beats/pull/3139","diff_url":"https://github.com/elastic/beats/pull/3139.diff","patch_url":"https://github.com/elastic/beats/pull/3139.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/3139","number":3139,"state":"open","locked":false,"title":"Pass the certificate as a parameter to the import_dashboards script","user":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"body":"Add `-ca` and `-key` option to the `import_dashboards` script in order to be able to pass the certificate. \r\nThis PR is a workaround for now, until `import_dashboards` will be part of the Beat executable.","created_at":"2016-12-07T12:56:53Z","updated_at":"2016-12-08T14:14:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f8f9b05cb70f10ed2a9925337b4cb25fa2b9c7a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/3139/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/3139/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/3139/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/381c1ac2ab276269d28a2578fa9573d239761380","head":{"label":"monicasarbu:use_certificate_elasticsearch","ref":"use_certificate_elasticsearch","sha":"381c1ac2ab276269d28a2578fa9573d239761380","user":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"repo":{"id":47255032,"name":"beats","full_name":"monicasarbu/beats","owner":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monicasarbu/beats","description":"Moved here: https://github.com/elastic/beats","fork":true,"url":"https://api.github.com/repos/monicasarbu/beats","forks_url":"https://api.github.com/repos/monicasarbu/beats/forks","keys_url":"https://api.github.com/repos/monicasarbu/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monicasarbu/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monicasarbu/beats/teams","hooks_url":"https://api.github.com/repos/monicasarbu/beats/hooks","issue_events_url":"https://api.github.com/repos/monicasarbu/beats/issues/events{/number}","events_url":"https://api.github.com/repos/monicasarbu/beats/events","assignees_url":"https://api.github.com/repos/monicasarbu/beats/assignees{/user}","branches_url":"https://api.github.com/repos/monicasarbu/beats/branches{/branch}","tags_url":"https://api.github.com/repos/monicasarbu/beats/tags","blobs_url":"https://api.github.com/repos/monicasarbu/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monicasarbu/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monicasarbu/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/monicasarbu/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monicasarbu/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/monicasarbu/beats/languages","stargazers_url":"https://api.github.com/repos/monicasarbu/beats/stargazers","contributors_url":"https://api.github.com/repos/monicasarbu/beats/contributors","subscribers_url":"https://api.github.com/repos/monicasarbu/beats/subscribers","subscription_url":"https://api.github.com/repos/monicasarbu/beats/subscription","commits_url":"https://api.github.com/repos/monicasarbu/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/monicasarbu/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/monicasarbu/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/monicasarbu/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/monicasarbu/beats/contents/{+path}","compare_url":"https://api.github.com/repos/monicasarbu/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monicasarbu/beats/merges","archive_url":"https://api.github.com/repos/monicasarbu/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monicasarbu/beats/downloads","issues_url":"https://api.github.com/repos/monicasarbu/beats/issues{/number}","pulls_url":"https://api.github.com/repos/monicasarbu/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/monicasarbu/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/monicasarbu/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monicasarbu/beats/labels{/name}","releases_url":"https://api.github.com/repos/monicasarbu/beats/releases{/id}","deployments_url":"https://api.github.com/repos/monicasarbu/beats/deployments","created_at":"2015-12-02T10:50:02Z","updated_at":"2015-12-02T10:50:07Z","pushed_at":"2016-12-08T11:01:17Z","git_url":"git://github.com/monicasarbu/beats.git","ssh_url":"git@github.com:monicasarbu/beats.git","clone_url":"https://github.com/monicasarbu/beats.git","svn_url":"https://github.com/monicasarbu/beats","homepage":"","size":43974,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"b7fba440157ca242f49e62e1b276850551699d8c","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2016-12-08T09:47:10Z","pushed_at":"2016-12-08T13:52:17Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":51360,"stargazers_count":3455,"watchers_count":3455,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":664,"mirror_url":null,"open_issues_count":308,"forks":664,"open_issues":308,"watchers":3455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/3139"},"html":{"href":"https://github.com/elastic/beats/pull/3139"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/3139"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/3139/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/3139/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/3139/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/381c1ac2ab276269d28a2578fa9573d239761380"}}}}
{"actor":{"display_login":"andrewkroh"}}