{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/containerops/wrench/pulls/20","id":52646555,"html_url":"https://github.com/containerops/wrench/pull/20","diff_url":"https://github.com/containerops/wrench/pull/20.diff","patch_url":"https://github.com/containerops/wrench/pull/20.patch","issue_url":"https://api.github.com/repos/containerops/wrench/issues/20","number":20,"state":"open","locked":false,"title":"add setting to support clair","user":{"login":"liangchenye","id":13341875,"avatar_url":"https://avatars.githubusercontent.com/u/13341875?v=3","gravatar_id":"","url":"https://api.github.com/users/liangchenye","html_url":"https://github.com/liangchenye","followers_url":"https://api.github.com/users/liangchenye/followers","following_url":"https://api.github.com/users/liangchenye/following{/other_user}","gists_url":"https://api.github.com/users/liangchenye/gists{/gist_id}","starred_url":"https://api.github.com/users/liangchenye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangchenye/subscriptions","organizations_url":"https://api.github.com/users/liangchenye/orgs","repos_url":"https://api.github.com/users/liangchenye/repos","events_url":"https://api.github.com/users/liangchenye/events{/privacy}","received_events_url":"https://api.github.com/users/liangchenye/received_events","type":"User","site_admin":false},"body":"Signed-off-by: liangchenye <liangchenye@huawei.com>\r\n\r\n1) database to cache scanner result of CVE \r\n2) database to store CVE infos\r\n\r\n@MabinGo I add some parameters in order to support 'Clair'.\r\nClair is a CVE scanner, so it needs.","created_at":"2015-12-04T09:29:21Z","updated_at":"2015-12-04T09:29:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dabba3349798482f47a61f64faad1dfe8129ade9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/containerops/wrench/pulls/20/commits","review_comments_url":"https://api.github.com/repos/containerops/wrench/pulls/20/comments","review_comment_url":"https://api.github.com/repos/containerops/wrench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/containerops/wrench/issues/20/comments","statuses_url":"https://api.github.com/repos/containerops/wrench/statuses/aa479526b2ac9e3ca3ecc9c8655acf408a8ce187","head":{"label":"liangchenye:develop","ref":"develop","sha":"aa479526b2ac9e3ca3ecc9c8655acf408a8ce187","user":{"login":"liangchenye","id":13341875,"avatar_url":"https://avatars.githubusercontent.com/u/13341875?v=3","gravatar_id":"","url":"https://api.github.com/users/liangchenye","html_url":"https://github.com/liangchenye","followers_url":"https://api.github.com/users/liangchenye/followers","following_url":"https://api.github.com/users/liangchenye/following{/other_user}","gists_url":"https://api.github.com/users/liangchenye/gists{/gist_id}","starred_url":"https://api.github.com/users/liangchenye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangchenye/subscriptions","organizations_url":"https://api.github.com/users/liangchenye/orgs","repos_url":"https://api.github.com/users/liangchenye/repos","events_url":"https://api.github.com/users/liangchenye/events{/privacy}","received_events_url":"https://api.github.com/users/liangchenye/received_events","type":"User","site_admin":false},"repo":{"id":47394148,"name":"wrench","full_name":"liangchenye/wrench","owner":{"login":"liangchenye","id":13341875,"avatar_url":"https://avatars.githubusercontent.com/u/13341875?v=3","gravatar_id":"","url":"https://api.github.com/users/liangchenye","html_url":"https://github.com/liangchenye","followers_url":"https://api.github.com/users/liangchenye/followers","following_url":"https://api.github.com/users/liangchenye/following{/other_user}","gists_url":"https://api.github.com/users/liangchenye/gists{/gist_id}","starred_url":"https://api.github.com/users/liangchenye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangchenye/subscriptions","organizations_url":"https://api.github.com/users/liangchenye/orgs","repos_url":"https://api.github.com/users/liangchenye/repos","events_url":"https://api.github.com/users/liangchenye/events{/privacy}","received_events_url":"https://api.github.com/users/liangchenye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liangchenye/wrench","description":"Utils collection for containerops","fork":true,"url":"https://api.github.com/repos/liangchenye/wrench","forks_url":"https://api.github.com/repos/liangchenye/wrench/forks","keys_url":"https://api.github.com/repos/liangchenye/wrench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liangchenye/wrench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liangchenye/wrench/teams","hooks_url":"https://api.github.com/repos/liangchenye/wrench/hooks","issue_events_url":"https://api.github.com/repos/liangchenye/wrench/issues/events{/number}","events_url":"https://api.github.com/repos/liangchenye/wrench/events","assignees_url":"https://api.github.com/repos/liangchenye/wrench/assignees{/user}","branches_url":"https://api.github.com/repos/liangchenye/wrench/branches{/branch}","tags_url":"https://api.github.com/repos/liangchenye/wrench/tags","blobs_url":"https://api.github.com/repos/liangchenye/wrench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liangchenye/wrench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liangchenye/wrench/git/refs{/sha}","trees_url":"https://api.github.com/repos/liangchenye/wrench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liangchenye/wrench/statuses/{sha}","languages_url":"https://api.github.com/repos/liangchenye/wrench/languages","stargazers_url":"https://api.github.com/repos/liangchenye/wrench/stargazers","contributors_url":"https://api.github.com/repos/liangchenye/wrench/contributors","subscribers_url":"https://api.github.com/repos/liangchenye/wrench/subscribers","subscription_url":"https://api.github.com/repos/liangchenye/wrench/subscription","commits_url":"https://api.github.com/repos/liangchenye/wrench/commits{/sha}","git_commits_url":"https://api.github.com/repos/liangchenye/wrench/git/commits{/sha}","comments_url":"https://api.github.com/repos/liangchenye/wrench/comments{/number}","issue_comment_url":"https://api.github.com/repos/liangchenye/wrench/issues/comments{/number}","contents_url":"https://api.github.com/repos/liangchenye/wrench/contents/{+path}","compare_url":"https://api.github.com/repos/liangchenye/wrench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liangchenye/wrench/merges","archive_url":"https://api.github.com/repos/liangchenye/wrench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liangchenye/wrench/downloads","issues_url":"https://api.github.com/repos/liangchenye/wrench/issues{/number}","pulls_url":"https://api.github.com/repos/liangchenye/wrench/pulls{/number}","milestones_url":"https://api.github.com/repos/liangchenye/wrench/milestones{/number}","notifications_url":"https://api.github.com/repos/liangchenye/wrench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liangchenye/wrench/labels{/name}","releases_url":"https://api.github.com/repos/liangchenye/wrench/releases{/id}","created_at":"2015-12-04T09:24:42Z","updated_at":"2015-12-04T09:24:43Z","pushed_at":"2015-12-04T09:27:18Z","git_url":"git://github.com/liangchenye/wrench.git","ssh_url":"git@github.com:liangchenye/wrench.git","clone_url":"https://github.com/liangchenye/wrench.git","svn_url":"https://github.com/liangchenye/wrench","homepage":null,"size":53,"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":"containerops:develop","ref":"develop","sha":"e130f64d9f13b039ece26893b35b19eeab7cf041","user":{"login":"containerops","id":11014845,"avatar_url":"https://avatars.githubusercontent.com/u/11014845?v=3","gravatar_id":"","url":"https://api.github.com/users/containerops","html_url":"https://github.com/containerops","followers_url":"https://api.github.com/users/containerops/followers","following_url":"https://api.github.com/users/containerops/following{/other_user}","gists_url":"https://api.github.com/users/containerops/gists{/gist_id}","starred_url":"https://api.github.com/users/containerops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containerops/subscriptions","organizations_url":"https://api.github.com/users/containerops/orgs","repos_url":"https://api.github.com/users/containerops/repos","events_url":"https://api.github.com/users/containerops/events{/privacy}","received_events_url":"https://api.github.com/users/containerops/received_events","type":"Organization","site_admin":false},"repo":{"id":36702562,"name":"wrench","full_name":"containerops/wrench","owner":{"login":"containerops","id":11014845,"avatar_url":"https://avatars.githubusercontent.com/u/11014845?v=3","gravatar_id":"","url":"https://api.github.com/users/containerops","html_url":"https://github.com/containerops","followers_url":"https://api.github.com/users/containerops/followers","following_url":"https://api.github.com/users/containerops/following{/other_user}","gists_url":"https://api.github.com/users/containerops/gists{/gist_id}","starred_url":"https://api.github.com/users/containerops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/containerops/subscriptions","organizations_url":"https://api.github.com/users/containerops/orgs","repos_url":"https://api.github.com/users/containerops/repos","events_url":"https://api.github.com/users/containerops/events{/privacy}","received_events_url":"https://api.github.com/users/containerops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/containerops/wrench","description":"Utils collection for containerops","fork":false,"url":"https://api.github.com/repos/containerops/wrench","forks_url":"https://api.github.com/repos/containerops/wrench/forks","keys_url":"https://api.github.com/repos/containerops/wrench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/containerops/wrench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/containerops/wrench/teams","hooks_url":"https://api.github.com/repos/containerops/wrench/hooks","issue_events_url":"https://api.github.com/repos/containerops/wrench/issues/events{/number}","events_url":"https://api.github.com/repos/containerops/wrench/events","assignees_url":"https://api.github.com/repos/containerops/wrench/assignees{/user}","branches_url":"https://api.github.com/repos/containerops/wrench/branches{/branch}","tags_url":"https://api.github.com/repos/containerops/wrench/tags","blobs_url":"https://api.github.com/repos/containerops/wrench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/containerops/wrench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/containerops/wrench/git/refs{/sha}","trees_url":"https://api.github.com/repos/containerops/wrench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/containerops/wrench/statuses/{sha}","languages_url":"https://api.github.com/repos/containerops/wrench/languages","stargazers_url":"https://api.github.com/repos/containerops/wrench/stargazers","contributors_url":"https://api.github.com/repos/containerops/wrench/contributors","subscribers_url":"https://api.github.com/repos/containerops/wrench/subscribers","subscription_url":"https://api.github.com/repos/containerops/wrench/subscription","commits_url":"https://api.github.com/repos/containerops/wrench/commits{/sha}","git_commits_url":"https://api.github.com/repos/containerops/wrench/git/commits{/sha}","comments_url":"https://api.github.com/repos/containerops/wrench/comments{/number}","issue_comment_url":"https://api.github.com/repos/containerops/wrench/issues/comments{/number}","contents_url":"https://api.github.com/repos/containerops/wrench/contents/{+path}","compare_url":"https://api.github.com/repos/containerops/wrench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/containerops/wrench/merges","archive_url":"https://api.github.com/repos/containerops/wrench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/containerops/wrench/downloads","issues_url":"https://api.github.com/repos/containerops/wrench/issues{/number}","pulls_url":"https://api.github.com/repos/containerops/wrench/pulls{/number}","milestones_url":"https://api.github.com/repos/containerops/wrench/milestones{/number}","notifications_url":"https://api.github.com/repos/containerops/wrench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/containerops/wrench/labels{/name}","releases_url":"https://api.github.com/repos/containerops/wrench/releases{/id}","created_at":"2015-06-02T02:27:55Z","updated_at":"2015-08-17T08:42:51Z","pushed_at":"2015-12-04T09:29:21Z","git_url":"git://github.com/containerops/wrench.git","ssh_url":"git@github.com:containerops/wrench.git","clone_url":"https://github.com/containerops/wrench.git","svn_url":"https://github.com/containerops/wrench","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/containerops/wrench/pulls/20"},"html":{"href":"https://github.com/containerops/wrench/pull/20"},"issue":{"href":"https://api.github.com/repos/containerops/wrench/issues/20"},"comments":{"href":"https://api.github.com/repos/containerops/wrench/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/containerops/wrench/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/containerops/wrench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/containerops/wrench/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/containerops/wrench/statuses/aa479526b2ac9e3ca3ecc9c8655acf408a8ce187"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":1,"changed_files":1}}