{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/5259","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/5259/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/5259/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/5259/events","html_url":"https://github.com/cockpit-project/cockpit/pull/5259","id":185796160,"number":5259,"title":"docker: add \"Security\" tab to image listing","user":{"login":"larskarlitski","id":1221707,"avatar_url":"https://avatars.githubusercontent.com/u/1221707?v=3","gravatar_id":"","url":"https://api.github.com/users/larskarlitski","html_url":"https://github.com/larskarlitski","followers_url":"https://api.github.com/users/larskarlitski/followers","following_url":"https://api.github.com/users/larskarlitski/following{/other_user}","gists_url":"https://api.github.com/users/larskarlitski/gists{/gist_id}","starred_url":"https://api.github.com/users/larskarlitski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskarlitski/subscriptions","organizations_url":"https://api.github.com/users/larskarlitski/orgs","repos_url":"https://api.github.com/users/larskarlitski/repos","events_url":"https://api.github.com/users/larskarlitski/events{/privacy}","received_events_url":"https://api.github.com/users/larskarlitski/received_events","type":"User","site_admin":false},"labels":[{"id":88467047,"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/needswork","name":"needswork","color":"eb6420","default":false},{"id":208323276,"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/priority","name":"priority","color":"00ff0f","default":false}],"state":"open","locked":false,"assignee":{"login":"larskarlitski","id":1221707,"avatar_url":"https://avatars.githubusercontent.com/u/1221707?v=3","gravatar_id":"","url":"https://api.github.com/users/larskarlitski","html_url":"https://github.com/larskarlitski","followers_url":"https://api.github.com/users/larskarlitski/followers","following_url":"https://api.github.com/users/larskarlitski/following{/other_user}","gists_url":"https://api.github.com/users/larskarlitski/gists{/gist_id}","starred_url":"https://api.github.com/users/larskarlitski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskarlitski/subscriptions","organizations_url":"https://api.github.com/users/larskarlitski/orgs","repos_url":"https://api.github.com/users/larskarlitski/repos","events_url":"https://api.github.com/users/larskarlitski/events{/privacy}","received_events_url":"https://api.github.com/users/larskarlitski/received_events","type":"User","site_admin":false},"assignees":[{"login":"larskarlitski","id":1221707,"avatar_url":"https://avatars.githubusercontent.com/u/1221707?v=3","gravatar_id":"","url":"https://api.github.com/users/larskarlitski","html_url":"https://github.com/larskarlitski","followers_url":"https://api.github.com/users/larskarlitski/followers","following_url":"https://api.github.com/users/larskarlitski/following{/other_user}","gists_url":"https://api.github.com/users/larskarlitski/gists{/gist_id}","starred_url":"https://api.github.com/users/larskarlitski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskarlitski/subscriptions","organizations_url":"https://api.github.com/users/larskarlitski/orgs","repos_url":"https://api.github.com/users/larskarlitski/repos","events_url":"https://api.github.com/users/larskarlitski/events{/privacy}","received_events_url":"https://api.github.com/users/larskarlitski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2016-10-27T22:28:45Z","updated_at":"2016-12-14T10:33:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/5259","html_url":"https://github.com/cockpit-project/cockpit/pull/5259","diff_url":"https://github.com/cockpit-project/cockpit/pull/5259.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/5259.patch"},"body":"Add a \"Security\" tab to the image listing, if the \"org.atomic\" D-Bus service exists and that particular image has been scanned already.\n\nYou cannot initiate a scan from cockpit, yet (the \"Scan again\" button that doesn't work).\n\nTo try it out, install atomic and a scanner, for example `atomic install fedora/atomic_scan_openscap` and run `atomic scan [image]`. The security tab should then show up for that image.\n"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/267000053","html_url":"https://github.com/cockpit-project/cockpit/pull/5259#issuecomment-267000053","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/5259","id":267000053,"user":{"login":"dperpeet","id":8711649,"avatar_url":"https://avatars.githubusercontent.com/u/8711649?v=3","gravatar_id":"","url":"https://api.github.com/users/dperpeet","html_url":"https://github.com/dperpeet","followers_url":"https://api.github.com/users/dperpeet/followers","following_url":"https://api.github.com/users/dperpeet/following{/other_user}","gists_url":"https://api.github.com/users/dperpeet/gists{/gist_id}","starred_url":"https://api.github.com/users/dperpeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperpeet/subscriptions","organizations_url":"https://api.github.com/users/dperpeet/orgs","repos_url":"https://api.github.com/users/dperpeet/repos","events_url":"https://api.github.com/users/dperpeet/events{/privacy}","received_events_url":"https://api.github.com/users/dperpeet/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T10:33:04Z","updated_at":"2016-12-14T10:33:04Z","body":"for reference: to test this on fedora-25, I added an entry to the scans array in `/etc/atomic.d/atomic_scan_openscap`:\r\n```\r\n      { name: standards_compliance,\r\n        args: ['oscapd-evaluate', 'scan', '--targets', 'chroots-in-dir:///scanin',  '--output', '/scanout', '--no-cve-scan', '-j1'],\r\n        description: \"Performs a standard scan\"\r\n      }\r\n```\r\nthen I ran a scan with `atomic scan --scanner atomic_scan_openscap --scan_type standards_compliance docker.io/fedora:24`"}}
{"actor":{"display_login":"dperpeet"}}