{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2","id":82976919,"html_url":"https://github.com/sensu-plugins/sensu-plugins-openldap/pull/2","diff_url":"https://github.com/sensu-plugins/sensu-plugins-openldap/pull/2.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-openldap/pull/2.patch","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/2","number":2,"state":"closed","locked":false,"title":"Add --ca-certificate, --certificate and --encryption options","user":{"login":"moriyoshi","id":18755,"avatar_url":"https://avatars.githubusercontent.com/u/18755?v=3","gravatar_id":"","url":"https://api.github.com/users/moriyoshi","html_url":"https://github.com/moriyoshi","followers_url":"https://api.github.com/users/moriyoshi/followers","following_url":"https://api.github.com/users/moriyoshi/following{/other_user}","gists_url":"https://api.github.com/users/moriyoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/moriyoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moriyoshi/subscriptions","organizations_url":"https://api.github.com/users/moriyoshi/orgs","repos_url":"https://api.github.com/users/moriyoshi/repos","events_url":"https://api.github.com/users/moriyoshi/events{/privacy}","received_events_url":"https://api.github.com/users/moriyoshi/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n\r\nThis patch adds the following options: ` --ca-certificate`, `--certificate` and `--encryption`.\r\n\r\n* `--ca-certificate`\r\n\r\n  Specifies the bundle of the PEM-formatted CA certificate(s) used to validate the server certificate.\r\n\r\n* `--certificate`\r\n\r\n  Specifies the PEM-formatted client certificate posed to the server.\r\n\r\n* `--encryption`\r\n\r\n  Specifies which encryption scheme is used to connect or bind to the server.  It can take one of the following values:\r\n\r\n  * `simple_tls` -- use LDAP over SSL (LDAPS).  The default port number is 636.\r\n  * `start_tls` -- use STARTTLS within the standard LDAP communication channel right before the bind is done.\r\n\r\n## Known Compatiblity Issues\r\n\r\n* The command now behaves differently if `--insecure` is specified and accompanied by `--encryption`.   The original behavior is that the command will use plain LDAP (not LDAPS) for the communication.  The new behavior with `--encryption` specified is that the command will not validate the server certificate during the TLS handshake.\r\n\r\n\r\n\r\n\r\n","created_at":"2016-08-27T04:02:11Z","updated_at":"2016-09-09T14:57:18Z","closed_at":"2016-09-09T14:57:18Z","merged_at":"2016-09-09T14:57:18Z","merge_commit_sha":"d193b46bb592e3a1b2a4acef5c035bade6e3629f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/2/comments","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/statuses/18514e5ce9e73b7a01474a979cd284b41fb35f7a","head":{"label":"payjp:moriyoshi/more-secure-options","ref":"moriyoshi/more-secure-options","sha":"18514e5ce9e73b7a01474a979cd284b41fb35f7a","user":{"login":"payjp","id":10614060,"avatar_url":"https://avatars.githubusercontent.com/u/10614060?v=3","gravatar_id":"","url":"https://api.github.com/users/payjp","html_url":"https://github.com/payjp","followers_url":"https://api.github.com/users/payjp/followers","following_url":"https://api.github.com/users/payjp/following{/other_user}","gists_url":"https://api.github.com/users/payjp/gists{/gist_id}","starred_url":"https://api.github.com/users/payjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payjp/subscriptions","organizations_url":"https://api.github.com/users/payjp/orgs","repos_url":"https://api.github.com/users/payjp/repos","events_url":"https://api.github.com/users/payjp/events{/privacy}","received_events_url":"https://api.github.com/users/payjp/received_events","type":"Organization","site_admin":false},"repo":{"id":62478450,"name":"sensu-plugins-openldap","full_name":"payjp/sensu-plugins-openldap","owner":{"login":"payjp","id":10614060,"avatar_url":"https://avatars.githubusercontent.com/u/10614060?v=3","gravatar_id":"","url":"https://api.github.com/users/payjp","html_url":"https://github.com/payjp","followers_url":"https://api.github.com/users/payjp/followers","following_url":"https://api.github.com/users/payjp/following{/other_user}","gists_url":"https://api.github.com/users/payjp/gists{/gist_id}","starred_url":"https://api.github.com/users/payjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payjp/subscriptions","organizations_url":"https://api.github.com/users/payjp/orgs","repos_url":"https://api.github.com/users/payjp/repos","events_url":"https://api.github.com/users/payjp/events{/privacy}","received_events_url":"https://api.github.com/users/payjp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/payjp/sensu-plugins-openldap","description":"Sensu Openldap Plugins","fork":true,"url":"https://api.github.com/repos/payjp/sensu-plugins-openldap","forks_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/forks","keys_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/teams","hooks_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/hooks","issue_events_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/issues/events{/number}","events_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/events","assignees_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/assignees{/user}","branches_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/branches{/branch}","tags_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/tags","blobs_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/statuses/{sha}","languages_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/languages","stargazers_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/stargazers","contributors_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/contributors","subscribers_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/subscribers","subscription_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/subscription","commits_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/contents/{+path}","compare_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/merges","archive_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/downloads","issues_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/issues{/number}","pulls_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/pulls{/number}","milestones_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/milestones{/number}","notifications_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/labels{/name}","releases_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/releases{/id}","deployments_url":"https://api.github.com/repos/payjp/sensu-plugins-openldap/deployments","created_at":"2016-07-03T02:41:49Z","updated_at":"2016-07-03T02:41:50Z","pushed_at":"2016-07-03T05:39:19Z","git_url":"git://github.com/payjp/sensu-plugins-openldap.git","ssh_url":"git@github.com:payjp/sensu-plugins-openldap.git","clone_url":"https://github.com/payjp/sensu-plugins-openldap.git","svn_url":"https://github.com/payjp/sensu-plugins-openldap","homepage":"http://sensu-plugins.github.io","size":25,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"sensu-plugins:master","ref":"master","sha":"d6c69611fc46c28667fe62ad7f8657f9925f7089","user":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":30851182,"name":"sensu-plugins-openldap","full_name":"sensu-plugins/sensu-plugins-openldap","owner":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu-plugins/sensu-plugins-openldap","description":"Sensu Openldap Plugins","fork":false,"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap","forks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/forks","keys_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/teams","hooks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/hooks","issue_events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/events{/number}","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/events","assignees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/assignees{/user}","branches_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/branches{/branch}","tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/tags","blobs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/languages","stargazers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/stargazers","contributors_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/contributors","subscribers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/subscribers","subscription_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/subscription","commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/contents/{+path}","compare_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/merges","archive_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/downloads","issues_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues{/number}","pulls_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/labels{/name}","releases_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/releases{/id}","deployments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/deployments","created_at":"2015-02-16T02:42:28Z","updated_at":"2016-02-04T12:34:47Z","pushed_at":"2016-09-09T14:57:18Z","git_url":"git://github.com/sensu-plugins/sensu-plugins-openldap.git","ssh_url":"git@github.com:sensu-plugins/sensu-plugins-openldap.git","clone_url":"https://github.com/sensu-plugins/sensu-plugins-openldap.git","svn_url":"https://github.com/sensu-plugins/sensu-plugins-openldap","homepage":"http://sensu-plugins.github.io","size":24,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2"},"html":{"href":"https://github.com/sensu-plugins/sensu-plugins-openldap/pull/2"},"issue":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/2"},"comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-openldap/statuses/18514e5ce9e73b7a01474a979cd284b41fb35f7a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"sstarcher"}}