{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments/195155893","pull_request_review_id":128466196,"id":195155893,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTE1NTg5Mw==","diff_hunk":"@@ -2,7 +2,7 @@ documentation_complete: true\n \n title: 'Verify and Correct File Permissions with RPM'\n \n-description: \"The RPM package management system can check file access\\npermissions of installed software packages, including many that are\\nimportant to system security. After locating a file with incorrect\\npermissions which can be found with <pre>$ rpm -Va | grep '^.M'</pre>,\\nrun the following command to determine which package owns it:\\n<pre>$ rpm -qf <i>FILENAME</i></pre>\\nNext, run the following command to reset its permissions to \\nthe correct values:\\n<pre>$ sudo rpm --setperms <i>PACKAGENAME</i></pre>\"\n+description: \"The RPM package management system can check file access\\npermissions of installed software packages, including many that are\\nimportant to system security. After locating a file with incorrect\\npermissions which can be found with <pre>$ rpm -Va | grep '^.M'</pre>,\\nrun the following command to determine which package owns it:\\n<pre>$ rpm -qf <i>FILENAME</i></pre>\\nNext, run the following command to reset its permissions to \\nthe correct values:\\n<pre>$ sudo rpm --quiet --setperms <i>PACKAGENAME</i></pre>\"","path":"rhel6/guide/system/software/integrity/rpm_verification/rpm_verify_permissions.rule","position":5,"original_position":5,"commit_id":"5b6e929393da3397632389fc6bca1d09722ae3ce","original_commit_id":"5b6e929393da3397632389fc6bca1d09722ae3ce","user":{"login":"mpreisler","id":753153,"node_id":"MDQ6VXNlcjc1MzE1Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/753153?v=4","gravatar_id":"","url":"https://api.github.com/users/mpreisler","html_url":"https://github.com/mpreisler","followers_url":"https://api.github.com/users/mpreisler/followers","following_url":"https://api.github.com/users/mpreisler/following{/other_user}","gists_url":"https://api.github.com/users/mpreisler/gists{/gist_id}","starred_url":"https://api.github.com/users/mpreisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpreisler/subscriptions","organizations_url":"https://api.github.com/users/mpreisler/orgs","repos_url":"https://api.github.com/users/mpreisler/repos","events_url":"https://api.github.com/users/mpreisler/events{/privacy}","received_events_url":"https://api.github.com/users/mpreisler/received_events","type":"User","site_admin":false},"body":"I won't hold this PR because of this but why not reflow this so it's readable :-/","created_at":"2018-06-13T16:40:21Z","updated_at":"2018-06-13T16:40:22Z","html_url":"https://github.com/OpenSCAP/scap-security-guide/pull/2948#discussion_r195155893","pull_request_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments/195155893"},"html":{"href":"https://github.com/OpenSCAP/scap-security-guide/pull/2948#discussion_r195155893"},"pull_request":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948","id":194528674,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTI4Njc0","html_url":"https://github.com/OpenSCAP/scap-security-guide/pull/2948","diff_url":"https://github.com/OpenSCAP/scap-security-guide/pull/2948.diff","patch_url":"https://github.com/OpenSCAP/scap-security-guide/pull/2948.patch","issue_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/2948","number":2948,"state":"open","locked":false,"title":"Changed rpm_verify_permissions rule remediation to print only errors","user":{"login":"matusmarhefka","id":3180425,"node_id":"MDQ6VXNlcjMxODA0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3180425?v=4","gravatar_id":"","url":"https://api.github.com/users/matusmarhefka","html_url":"https://github.com/matusmarhefka","followers_url":"https://api.github.com/users/matusmarhefka/followers","following_url":"https://api.github.com/users/matusmarhefka/following{/other_user}","gists_url":"https://api.github.com/users/matusmarhefka/gists{/gist_id}","starred_url":"https://api.github.com/users/matusmarhefka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matusmarhefka/subscriptions","organizations_url":"https://api.github.com/users/matusmarhefka/orgs","repos_url":"https://api.github.com/users/matusmarhefka/repos","events_url":"https://api.github.com/users/matusmarhefka/events{/privacy}","received_events_url":"https://api.github.com/users/matusmarhefka/received_events","type":"User","site_admin":false},"body":"#### Rationale:\r\nThe rpm_verify_permissions rule remediation uses 'rpm --setperms' which\r\nproduces thousands of 'cannot acces' messages in case of missing files\r\n(this mainly applies for containers which are stripped off certain files),\r\nfor example:\r\n\r\n`chmod: cannot access '/usr/share/locale/aa': No such file or directory`\r\n\r\nThis commit adds '--quiet' option to the rpm command to only display\r\nerror messages.","created_at":"2018-06-13T09:47:48Z","updated_at":"2018-06-13T16:40:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de1078da7def47b2f8be9778a9c2c4d4e9ff5d50","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":662121795,"node_id":"MDU6TGFiZWw2NjIxMjE3OTU=","url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/labels/easy%20fix","name":"easy fix","color":"6eea86","default":false},{"id":96001994,"node_id":"MDU6TGFiZWw5NjAwMTk5NA==","url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/milestones/36","html_url":"https://github.com/OpenSCAP/scap-security-guide/milestone/36","labels_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/milestones/36/labels","id":3156689,"node_id":"MDk6TWlsZXN0b25lMzE1NjY4OQ==","number":36,"title":"0.1.40","description":"","creator":{"login":"yuumasato","id":7460169,"node_id":"MDQ6VXNlcjc0NjAxNjk=","avatar_url":"https://avatars0.githubusercontent.com/u/7460169?v=4","gravatar_id":"","url":"https://api.github.com/users/yuumasato","html_url":"https://github.com/yuumasato","followers_url":"https://api.github.com/users/yuumasato/followers","following_url":"https://api.github.com/users/yuumasato/following{/other_user}","gists_url":"https://api.github.com/users/yuumasato/gists{/gist_id}","starred_url":"https://api.github.com/users/yuumasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuumasato/subscriptions","organizations_url":"https://api.github.com/users/yuumasato/orgs","repos_url":"https://api.github.com/users/yuumasato/repos","events_url":"https://api.github.com/users/yuumasato/events{/privacy}","received_events_url":"https://api.github.com/users/yuumasato/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":94,"state":"open","created_at":"2018-03-02T17:06:15Z","updated_at":"2018-06-13T16:27:43Z","due_on":"2018-07-02T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948/commits","review_comments_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948/comments","review_comment_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/2948/comments","statuses_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/statuses/5b6e929393da3397632389fc6bca1d09722ae3ce","head":{"label":"matusmarhefka:fix_rpm_verify_perms_container","ref":"fix_rpm_verify_perms_container","sha":"5b6e929393da3397632389fc6bca1d09722ae3ce","user":{"login":"matusmarhefka","id":3180425,"node_id":"MDQ6VXNlcjMxODA0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3180425?v=4","gravatar_id":"","url":"https://api.github.com/users/matusmarhefka","html_url":"https://github.com/matusmarhefka","followers_url":"https://api.github.com/users/matusmarhefka/followers","following_url":"https://api.github.com/users/matusmarhefka/following{/other_user}","gists_url":"https://api.github.com/users/matusmarhefka/gists{/gist_id}","starred_url":"https://api.github.com/users/matusmarhefka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matusmarhefka/subscriptions","organizations_url":"https://api.github.com/users/matusmarhefka/orgs","repos_url":"https://api.github.com/users/matusmarhefka/repos","events_url":"https://api.github.com/users/matusmarhefka/events{/privacy}","received_events_url":"https://api.github.com/users/matusmarhefka/received_events","type":"User","site_admin":false},"repo":{"id":111696085,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE2OTYwODU=","name":"scap-security-guide","full_name":"matusmarhefka/scap-security-guide","owner":{"login":"matusmarhefka","id":3180425,"node_id":"MDQ6VXNlcjMxODA0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3180425?v=4","gravatar_id":"","url":"https://api.github.com/users/matusmarhefka","html_url":"https://github.com/matusmarhefka","followers_url":"https://api.github.com/users/matusmarhefka/followers","following_url":"https://api.github.com/users/matusmarhefka/following{/other_user}","gists_url":"https://api.github.com/users/matusmarhefka/gists{/gist_id}","starred_url":"https://api.github.com/users/matusmarhefka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matusmarhefka/subscriptions","organizations_url":"https://api.github.com/users/matusmarhefka/orgs","repos_url":"https://api.github.com/users/matusmarhefka/repos","events_url":"https://api.github.com/users/matusmarhefka/events{/privacy}","received_events_url":"https://api.github.com/users/matusmarhefka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matusmarhefka/scap-security-guide","description":"Baseline compliance content in SCAP formats","fork":true,"url":"https://api.github.com/repos/matusmarhefka/scap-security-guide","forks_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/forks","keys_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/teams","hooks_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/hooks","issue_events_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/issues/events{/number}","events_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/events","assignees_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/assignees{/user}","branches_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/branches{/branch}","tags_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/tags","blobs_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/languages","stargazers_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/stargazers","contributors_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/contributors","subscribers_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/subscribers","subscription_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/subscription","commits_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/contents/{+path}","compare_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/merges","archive_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/downloads","issues_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/issues{/number}","pulls_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/labels{/name}","releases_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/releases{/id}","deployments_url":"https://api.github.com/repos/matusmarhefka/scap-security-guide/deployments","created_at":"2017-11-22T14:43:52Z","updated_at":"2018-06-13T09:31:30Z","pushed_at":"2018-06-13T16:38:02Z","git_url":"git://github.com/matusmarhefka/scap-security-guide.git","ssh_url":"git@github.com:matusmarhefka/scap-security-guide.git","clone_url":"https://github.com/matusmarhefka/scap-security-guide.git","svn_url":"https://github.com/matusmarhefka/scap-security-guide","homepage":"https://www.open-scap.org/security-policies/scap-security-guide","size":22714,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenSCAP:master","ref":"master","sha":"0fc5c45a369929b4fe59634c1186861bfc37b7ff","user":{"login":"OpenSCAP","id":7439934,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0Mzk5MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7439934?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"repo":{"id":19279458,"node_id":"MDEwOlJlcG9zaXRvcnkxOTI3OTQ1OA==","name":"scap-security-guide","full_name":"OpenSCAP/scap-security-guide","owner":{"login":"OpenSCAP","id":7439934,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0Mzk5MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7439934?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSCAP/scap-security-guide","description":"Baseline compliance content in SCAP formats","fork":false,"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide","forks_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/forks","keys_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/teams","hooks_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/hooks","issue_events_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/events","assignees_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/tags","blobs_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/languages","stargazers_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/stargazers","contributors_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/contributors","subscribers_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/subscribers","subscription_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/subscription","commits_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/merges","archive_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/downloads","issues_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/labels{/name}","releases_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/deployments","created_at":"2014-04-29T14:32:02Z","updated_at":"2018-06-13T16:27:47Z","pushed_at":"2018-06-13T16:38:05Z","git_url":"git://github.com/OpenSCAP/scap-security-guide.git","ssh_url":"git@github.com:OpenSCAP/scap-security-guide.git","clone_url":"https://github.com/OpenSCAP/scap-security-guide.git","svn_url":"https://github.com/OpenSCAP/scap-security-guide","homepage":"https://www.open-scap.org/security-policies/scap-security-guide","size":22665,"stargazers_count":407,"watchers_count":407,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":223,"mirror_url":null,"archived":false,"open_issues_count":146,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":223,"open_issues":146,"watchers":407,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948"},"html":{"href":"https://github.com/OpenSCAP/scap-security-guide/pull/2948"},"issue":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/2948"},"comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/2948/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/2948/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/statuses/5b6e929393da3397632389fc6bca1d09722ae3ce"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mpreisler"}}