{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/55363242","id":55363242,"diff_hunk":"@@ -0,0 +1,68 @@\n+require 'openscap'\n+require 'openscap/ds/arf'\n+require 'openscap/xccdf/benchmark'","path":"app/models/openscap_result.rb","position":3,"original_position":3,"commit_id":"e3a9288aefa819a795f5d9ffe9defbe096226831","original_commit_id":"e3a9288aefa819a795f5d9ffe9defbe096226831","user":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"body":"@jrafanie do you mean the binary it uses(oscap)? could this be working only because I have the binary installed?\r\nIf that is the case a dependency would have to be added on openscap-scanner. @isimluk is that correct?","created_at":"2016-03-08T14:14:31Z","updated_at":"2016-03-08T14:14:31Z","html_url":"https://github.com/ManageIQ/manageiq/pull/6839#discussion_r55363242","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/55363242"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/6839#discussion_r55363242"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839","id":60089546,"html_url":"https://github.com/ManageIQ/manageiq/pull/6839","diff_url":"https://github.com/ManageIQ/manageiq/pull/6839.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/6839.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6839","number":6839,"state":"open","locked":false,"title":"containers: persist and show openscap data","user":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"body":"Adds OpenSCAP entities and persists them during container smart state analysis. \r\nThis pr also unites two different spec file for the same class (containers smart state analysis job) under the correct namespace.\r\n\r\nContainer Images page addition:\r\n![openscap_container_images](https://cloud.githubusercontent.com/assets/3010449/13555051/b0020838-e3bf-11e5-893d-0a132b50e3f7.png)\r\n\r\nList of OpenSCAP rule results:\r\n![openscap_rule_results](https://cloud.githubusercontent.com/assets/3010449/13555055/bf924c36-e3bf-11e5-8fdd-750dafadec3e.png)\r\n\r\nSingular OpenSCAP rule result:\r\n![openscap_rule_result](https://cloud.githubusercontent.com/assets/3010449/13555068/e190547c-e3bf-11e5-8a80-fa93351e51c3.png)\r\n\r\nDownloading the OpenSCAP HTML:\r\n![screenshot from 2016-03-06 17-22-12](https://cloud.githubusercontent.com/assets/3010449/13555074/060c9fa4-e3c0-11e5-8cb1-ea969428f0ad.png)\r\n\r\nOpenSCAP HTML example:\r\n![openscap_html](https://cloud.githubusercontent.com/assets/3010449/13555118/94ec9bd4-e3c0-11e5-97e6-2fe45c297c75.png)\r\n\r\nPart two:\r\n![openscap_html2](https://cloud.githubusercontent.com/assets/3010449/13555121/ab5c6d72-e3c0-11e5-83df-9b682bc732db.png)\r\n\r\n","created_at":"2016-02-21T14:26:43Z","updated_at":"2016-03-08T14:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1f13c903e113c90b6a941dadcac898a01356128","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6839/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/e3a9288aefa819a795f5d9ffe9defbe096226831","head":{"label":"moolitayer:persist_openscap","ref":"persist_openscap","sha":"e3a9288aefa819a795f5d9ffe9defbe096226831","user":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"repo":{"id":35763260,"name":"manageiq","full_name":"moolitayer/manageiq","owner":{"login":"moolitayer","id":3010449,"avatar_url":"https://avatars.githubusercontent.com/u/3010449?v=3","gravatar_id":"","url":"https://api.github.com/users/moolitayer","html_url":"https://github.com/moolitayer","followers_url":"https://api.github.com/users/moolitayer/followers","following_url":"https://api.github.com/users/moolitayer/following{/other_user}","gists_url":"https://api.github.com/users/moolitayer/gists{/gist_id}","starred_url":"https://api.github.com/users/moolitayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moolitayer/subscriptions","organizations_url":"https://api.github.com/users/moolitayer/orgs","repos_url":"https://api.github.com/users/moolitayer/repos","events_url":"https://api.github.com/users/moolitayer/events{/privacy}","received_events_url":"https://api.github.com/users/moolitayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moolitayer/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/moolitayer/manageiq","forks_url":"https://api.github.com/repos/moolitayer/manageiq/forks","keys_url":"https://api.github.com/repos/moolitayer/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moolitayer/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moolitayer/manageiq/teams","hooks_url":"https://api.github.com/repos/moolitayer/manageiq/hooks","issue_events_url":"https://api.github.com/repos/moolitayer/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/moolitayer/manageiq/events","assignees_url":"https://api.github.com/repos/moolitayer/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/moolitayer/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/moolitayer/manageiq/tags","blobs_url":"https://api.github.com/repos/moolitayer/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moolitayer/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moolitayer/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/moolitayer/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moolitayer/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/moolitayer/manageiq/languages","stargazers_url":"https://api.github.com/repos/moolitayer/manageiq/stargazers","contributors_url":"https://api.github.com/repos/moolitayer/manageiq/contributors","subscribers_url":"https://api.github.com/repos/moolitayer/manageiq/subscribers","subscription_url":"https://api.github.com/repos/moolitayer/manageiq/subscription","commits_url":"https://api.github.com/repos/moolitayer/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/moolitayer/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/moolitayer/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/moolitayer/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/moolitayer/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/moolitayer/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moolitayer/manageiq/merges","archive_url":"https://api.github.com/repos/moolitayer/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moolitayer/manageiq/downloads","issues_url":"https://api.github.com/repos/moolitayer/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/moolitayer/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/moolitayer/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/moolitayer/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moolitayer/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/moolitayer/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/moolitayer/manageiq/deployments","created_at":"2015-05-17T11:18:34Z","updated_at":"2015-05-17T11:18:51Z","pushed_at":"2016-03-06T16:36:01Z","git_url":"git://github.com/moolitayer/manageiq.git","ssh_url":"git@github.com:moolitayer/manageiq.git","clone_url":"https://github.com/moolitayer/manageiq.git","svn_url":"https://github.com/moolitayer/manageiq","homepage":"manageiq.org","size":109865,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"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":"ManageIQ:master","ref":"master","sha":"18e450adbbeda293ca3590fee4d0e7ea77fe32b5","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-03-07T11:58:55Z","pushed_at":"2016-03-08T13:50:29Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":146178,"stargazers_count":227,"watchers_count":227,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":253,"mirror_url":null,"open_issues_count":595,"forks":253,"open_issues":595,"watchers":227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/6839"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/6839"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/6839/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6839/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/e3a9288aefa819a795f5d9ffe9defbe096226831"}}}}