{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/atomic/pulls/comments/72833758","id":72833758,"diff_hunk":"@@ -747,36 +769,34 @@ def get_col_lengths(_images):\n                     virtual_size = convert_size(image[\"VirtualSize\"])\n                 else:\n                     virtual_size = \"\"\n-\n                 if self.is_dangling(repo):\n-                    indicator = \"*\"\n+                    image_dict[\"is_dangling\"] = True\n                 elif image['Id'] in used_image_ids:\n-                    indicator = \">\"\n+                    image_dict[\"is_dangling\"] = False\n+                    image_dict[\"used_image\"] = True\n                 else:\n-                    indicator = \"\"\n+                    image_dict[\"is_dangling\"] = False\n+                    image_dict[\"used_image\"] = False\n \n                 if image['Id'] in vuln_ids:\n-                    space = \" \" if len(indicator) < 1 else \"\"\n-                    indicator = indicator + self.skull + space\n+                    image_dict[\"vulnerable\"] = True\n+                else:\n+                    image_dict[\"vulnerable\"] = False\n \n                 image_id = image[\"Id\"][:12] if self.args.truncate else image[\"Id\"]\n                 image_type = image['ImageType']\n-                if self.args.filter:\n-                    image_info = {\"repo\" : repo, \"tag\" : tag, \"id\" : image_id,\n-                                  \"created\" : created, \"size\" : virtual_size, \"type\" : image_type}\n-                    if not self._filter_include_image(image_info):\n-                        continue\n-\n-                if self.args.quiet:\n-                    util.write_out(image_id)\n+                image_dict[\"repo\"] = repo\n+                image_dict[\"tag\"] = tag\n+                image_dict[\"id\"] = image_id\n+                image_dict[\"created\"] = created\n+                image_dict[\"virtual_size\"] = virtual_size\n+                image_dict[\"type\"] = image_type\n+                if image[\"Id\"] in all_vuln_info.keys():\n+                    image_dict[\"vuln_info\"] = all_vuln_info[image[\"Id\"]]","path":"Atomic/atomic.py","position":126,"original_position":126,"commit_id":"d2de00277296a649446c00c418f60e3999118f09","original_commit_id":"d2de00277296a649446c00c418f60e3999118f09","user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"body":"if image_dict[\"vulnerable\"]:\r\n  image_dict[\"vuln_info\"] = all_vuln_info[image[\"Id\"]]","created_at":"2016-07-29T17:54:49Z","updated_at":"2016-07-29T17:54:49Z","html_url":"https://github.com/projectatomic/atomic/pull/494#discussion_r72833758","pull_request_url":"https://api.github.com/repos/projectatomic/atomic/pulls/494","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/comments/72833758"},"html":{"href":"https://github.com/projectatomic/atomic/pull/494#discussion_r72833758"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/494"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/atomic/pulls/494","id":78315711,"html_url":"https://github.com/projectatomic/atomic/pull/494","diff_url":"https://github.com/projectatomic/atomic/pull/494.diff","patch_url":"https://github.com/projectatomic/atomic/pull/494.patch","issue_url":"https://api.github.com/repos/projectatomic/atomic/issues/494","number":494,"state":"open","locked":false,"title":"Retrieve image data and vulnerabilities from DBus API and modify scan.","user":{"login":"AmartC","id":8761010,"avatar_url":"https://avatars.githubusercontent.com/u/8761010?v=3","gravatar_id":"","url":"https://api.github.com/users/AmartC","html_url":"https://github.com/AmartC","followers_url":"https://api.github.com/users/AmartC/followers","following_url":"https://api.github.com/users/AmartC/following{/other_user}","gists_url":"https://api.github.com/users/AmartC/gists{/gist_id}","starred_url":"https://api.github.com/users/AmartC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmartC/subscriptions","organizations_url":"https://api.github.com/users/AmartC/orgs","repos_url":"https://api.github.com/users/AmartC/repos","events_url":"https://api.github.com/users/AmartC/events{/privacy}","received_events_url":"https://api.github.com/users/AmartC/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-21T13:29:16Z","updated_at":"2016-07-29T17:54:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"027e76c4e87b6177b05e0ae14034e7cbb20fb692","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/atomic/pulls/494/commits","review_comments_url":"https://api.github.com/repos/projectatomic/atomic/pulls/494/comments","review_comment_url":"https://api.github.com/repos/projectatomic/atomic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/atomic/issues/494/comments","statuses_url":"https://api.github.com/repos/projectatomic/atomic/statuses/d2de00277296a649446c00c418f60e3999118f09","head":{"label":"AmartC:master","ref":"master","sha":"d2de00277296a649446c00c418f60e3999118f09","user":{"login":"AmartC","id":8761010,"avatar_url":"https://avatars.githubusercontent.com/u/8761010?v=3","gravatar_id":"","url":"https://api.github.com/users/AmartC","html_url":"https://github.com/AmartC","followers_url":"https://api.github.com/users/AmartC/followers","following_url":"https://api.github.com/users/AmartC/following{/other_user}","gists_url":"https://api.github.com/users/AmartC/gists{/gist_id}","starred_url":"https://api.github.com/users/AmartC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmartC/subscriptions","organizations_url":"https://api.github.com/users/AmartC/orgs","repos_url":"https://api.github.com/users/AmartC/repos","events_url":"https://api.github.com/users/AmartC/events{/privacy}","received_events_url":"https://api.github.com/users/AmartC/received_events","type":"User","site_admin":false},"repo":{"id":59783201,"name":"atomic","full_name":"AmartC/atomic","owner":{"login":"AmartC","id":8761010,"avatar_url":"https://avatars.githubusercontent.com/u/8761010?v=3","gravatar_id":"","url":"https://api.github.com/users/AmartC","html_url":"https://github.com/AmartC","followers_url":"https://api.github.com/users/AmartC/followers","following_url":"https://api.github.com/users/AmartC/following{/other_user}","gists_url":"https://api.github.com/users/AmartC/gists{/gist_id}","starred_url":"https://api.github.com/users/AmartC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmartC/subscriptions","organizations_url":"https://api.github.com/users/AmartC/orgs","repos_url":"https://api.github.com/users/AmartC/repos","events_url":"https://api.github.com/users/AmartC/events{/privacy}","received_events_url":"https://api.github.com/users/AmartC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AmartC/atomic","description":"Atomic Run Tool for installing/running/managing container images.","fork":true,"url":"https://api.github.com/repos/AmartC/atomic","forks_url":"https://api.github.com/repos/AmartC/atomic/forks","keys_url":"https://api.github.com/repos/AmartC/atomic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmartC/atomic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmartC/atomic/teams","hooks_url":"https://api.github.com/repos/AmartC/atomic/hooks","issue_events_url":"https://api.github.com/repos/AmartC/atomic/issues/events{/number}","events_url":"https://api.github.com/repos/AmartC/atomic/events","assignees_url":"https://api.github.com/repos/AmartC/atomic/assignees{/user}","branches_url":"https://api.github.com/repos/AmartC/atomic/branches{/branch}","tags_url":"https://api.github.com/repos/AmartC/atomic/tags","blobs_url":"https://api.github.com/repos/AmartC/atomic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmartC/atomic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmartC/atomic/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmartC/atomic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmartC/atomic/statuses/{sha}","languages_url":"https://api.github.com/repos/AmartC/atomic/languages","stargazers_url":"https://api.github.com/repos/AmartC/atomic/stargazers","contributors_url":"https://api.github.com/repos/AmartC/atomic/contributors","subscribers_url":"https://api.github.com/repos/AmartC/atomic/subscribers","subscription_url":"https://api.github.com/repos/AmartC/atomic/subscription","commits_url":"https://api.github.com/repos/AmartC/atomic/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmartC/atomic/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmartC/atomic/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmartC/atomic/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmartC/atomic/contents/{+path}","compare_url":"https://api.github.com/repos/AmartC/atomic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmartC/atomic/merges","archive_url":"https://api.github.com/repos/AmartC/atomic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmartC/atomic/downloads","issues_url":"https://api.github.com/repos/AmartC/atomic/issues{/number}","pulls_url":"https://api.github.com/repos/AmartC/atomic/pulls{/number}","milestones_url":"https://api.github.com/repos/AmartC/atomic/milestones{/number}","notifications_url":"https://api.github.com/repos/AmartC/atomic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmartC/atomic/labels{/name}","releases_url":"https://api.github.com/repos/AmartC/atomic/releases{/id}","deployments_url":"https://api.github.com/repos/AmartC/atomic/deployments","created_at":"2016-05-26T21:03:31Z","updated_at":"2016-05-26T21:03:32Z","pushed_at":"2016-07-29T17:26:55Z","git_url":"git://github.com/AmartC/atomic.git","ssh_url":"git@github.com:AmartC/atomic.git","clone_url":"https://github.com/AmartC/atomic.git","svn_url":"https://github.com/AmartC/atomic","homepage":null,"size":2066,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"projectatomic:master","ref":"master","sha":"6fcfea443dcf95d8ac92ed612a4e3d35adff1db9","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":29267754,"name":"atomic","full_name":"projectatomic/atomic","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/atomic","description":"Atomic Run Tool for installing/running/managing container images.","fork":false,"url":"https://api.github.com/repos/projectatomic/atomic","forks_url":"https://api.github.com/repos/projectatomic/atomic/forks","keys_url":"https://api.github.com/repos/projectatomic/atomic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/atomic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/atomic/teams","hooks_url":"https://api.github.com/repos/projectatomic/atomic/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/atomic/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/atomic/events","assignees_url":"https://api.github.com/repos/projectatomic/atomic/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/atomic/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/atomic/tags","blobs_url":"https://api.github.com/repos/projectatomic/atomic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/atomic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/atomic/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/atomic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/atomic/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/atomic/languages","stargazers_url":"https://api.github.com/repos/projectatomic/atomic/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/atomic/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/atomic/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/atomic/subscription","commits_url":"https://api.github.com/repos/projectatomic/atomic/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/atomic/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/atomic/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/atomic/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/atomic/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/atomic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/atomic/merges","archive_url":"https://api.github.com/repos/projectatomic/atomic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/atomic/downloads","issues_url":"https://api.github.com/repos/projectatomic/atomic/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/atomic/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/atomic/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/atomic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/atomic/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/atomic/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/atomic/deployments","created_at":"2015-01-14T21:54:06Z","updated_at":"2016-07-29T16:13:02Z","pushed_at":"2016-07-29T17:40:19Z","git_url":"git://github.com/projectatomic/atomic.git","ssh_url":"git@github.com:projectatomic/atomic.git","clone_url":"https://github.com/projectatomic/atomic.git","svn_url":"https://github.com/projectatomic/atomic","homepage":null,"size":2273,"stargazers_count":187,"watchers_count":187,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":29,"forks":94,"open_issues":29,"watchers":187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/494"},"html":{"href":"https://github.com/projectatomic/atomic/pull/494"},"issue":{"href":"https://api.github.com/repos/projectatomic/atomic/issues/494"},"comments":{"href":"https://api.github.com/repos/projectatomic/atomic/issues/494/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/494/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/atomic/pulls/494/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/atomic/statuses/d2de00277296a649446c00c418f60e3999118f09"}}}}
{"actor":{"display_login":"rhatdan"}}