{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments/201336111","pull_request_review_id":135816040,"id":201336111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTMzNjExMQ==","diff_hunk":"@@ -46,6 +47,12 @@ def _get_implied_properties(existing_properties):\n             \"pkg_system\" not in existing_properties):\n         pkg_manager = existing_properties[\"pkg_manager\"]\n         result[\"pkg_system\"] = PKG_MANAGER_TO_SYSTEM[pkg_manager]\n+\n+    if \"uid_min\" not in existing_properties:\n+        result[\"uid_min\"] = result[\"auid\"] = DEFAULT_UID_MIN\n+    Else:","path":"ssg/yaml.py","position":15,"original_position":15,"commit_id":"cdbfd37664f51e6060a6c0bc5c22a3c81a392cb5","original_commit_id":"cdbfd37664f51e6060a6c0bc5c22a3c81a392cb5","user":{"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},"body":"/o\\","created_at":"2018-07-10T13:13:41Z","updated_at":"2018-07-10T13:13:41Z","html_url":"https://github.com/OpenSCAP/scap-security-guide/pull/3114#discussion_r201336111","pull_request_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/comments/201336111"},"html":{"href":"https://github.com/OpenSCAP/scap-security-guide/pull/3114#discussion_r201336111"},"pull_request":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114"}},"in_reply_to_id":201331121},"pull_request":{"url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114","id":200376744,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMzc2NzQ0","html_url":"https://github.com/OpenSCAP/scap-security-guide/pull/3114","diff_url":"https://github.com/OpenSCAP/scap-security-guide/pull/3114.diff","patch_url":"https://github.com/OpenSCAP/scap-security-guide/pull/3114.patch","issue_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/3114","number":3114,"state":"open","locked":false,"title":"Add uid_min and implied auid product.yml","user":{"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},"body":"Avoid setting value of `auid` in every definition or fix. Lets set them product wise.\r\n\r\n#### Description:\r\n\r\n- Adds `uid_min` to product.yml.\r\n  - If not defined, its default value is 1000\r\n- `auid` is implied and set to `uid_min`.\r\n- I have made them two separate values, because there are rules based on value of `uid_min` and there are the auditd rules that use `auid`, and it may be confusing to use them interchangeably.\r\n\r\n#### Rationale:\r\n\r\n- The `auid` parameter used in `auditd` rules should be set according to `uid_min` of the platform.\r\n","created_at":"2018-07-10T12:19:11Z","updated_at":"2018-07-10T13:13:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7341923c2d5d748ad52ce3a6e9df4fa7b308163","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114/commits","review_comments_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114/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/3114/comments","statuses_url":"https://api.github.com/repos/OpenSCAP/scap-security-guide/statuses/cdbfd37664f51e6060a6c0bc5c22a3c81a392cb5","head":{"label":"yuumasato:add_uid_min_and_auid","ref":"add_uid_min_and_auid","sha":"cdbfd37664f51e6060a6c0bc5c22a3c81a392cb5","user":{"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},"repo":{"id":67419095,"node_id":"MDEwOlJlcG9zaXRvcnk2NzQxOTA5NQ==","name":"scap-security-guide","full_name":"yuumasato/scap-security-guide","owner":{"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},"private":false,"html_url":"https://github.com/yuumasato/scap-security-guide","description":"Baseline compliance content in SCAP formats","fork":true,"url":"https://api.github.com/repos/yuumasato/scap-security-guide","forks_url":"https://api.github.com/repos/yuumasato/scap-security-guide/forks","keys_url":"https://api.github.com/repos/yuumasato/scap-security-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuumasato/scap-security-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuumasato/scap-security-guide/teams","hooks_url":"https://api.github.com/repos/yuumasato/scap-security-guide/hooks","issue_events_url":"https://api.github.com/repos/yuumasato/scap-security-guide/issues/events{/number}","events_url":"https://api.github.com/repos/yuumasato/scap-security-guide/events","assignees_url":"https://api.github.com/repos/yuumasato/scap-security-guide/assignees{/user}","branches_url":"https://api.github.com/repos/yuumasato/scap-security-guide/branches{/branch}","tags_url":"https://api.github.com/repos/yuumasato/scap-security-guide/tags","blobs_url":"https://api.github.com/repos/yuumasato/scap-security-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuumasato/scap-security-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuumasato/scap-security-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuumasato/scap-security-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuumasato/scap-security-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/yuumasato/scap-security-guide/languages","stargazers_url":"https://api.github.com/repos/yuumasato/scap-security-guide/stargazers","contributors_url":"https://api.github.com/repos/yuumasato/scap-security-guide/contributors","subscribers_url":"https://api.github.com/repos/yuumasato/scap-security-guide/subscribers","subscription_url":"https://api.github.com/repos/yuumasato/scap-security-guide/subscription","commits_url":"https://api.github.com/repos/yuumasato/scap-security-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuumasato/scap-security-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuumasato/scap-security-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuumasato/scap-security-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuumasato/scap-security-guide/contents/{+path}","compare_url":"https://api.github.com/repos/yuumasato/scap-security-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuumasato/scap-security-guide/merges","archive_url":"https://api.github.com/repos/yuumasato/scap-security-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuumasato/scap-security-guide/downloads","issues_url":"https://api.github.com/repos/yuumasato/scap-security-guide/issues{/number}","pulls_url":"https://api.github.com/repos/yuumasato/scap-security-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/yuumasato/scap-security-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/yuumasato/scap-security-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuumasato/scap-security-guide/labels{/name}","releases_url":"https://api.github.com/repos/yuumasato/scap-security-guide/releases{/id}","deployments_url":"https://api.github.com/repos/yuumasato/scap-security-guide/deployments","created_at":"2016-09-05T12:30:27Z","updated_at":"2018-05-02T20:37:24Z","pushed_at":"2018-07-10T12:42:51Z","git_url":"git://github.com/yuumasato/scap-security-guide.git","ssh_url":"git@github.com:yuumasato/scap-security-guide.git","clone_url":"https://github.com/yuumasato/scap-security-guide.git","svn_url":"https://github.com/yuumasato/scap-security-guide","homepage":"http://www.open-scap.org/security-policies/scap-security-guide","size":23860,"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":"89fbf956668c470f9fca852c1fbfa49e0deca46e","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-07-10T10:03:54Z","pushed_at":"2018-07-10T12:42:52Z","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":23849,"stargazers_count":426,"watchers_count":426,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":227,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":227,"open_issues":162,"watchers":426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114"},"html":{"href":"https://github.com/OpenSCAP/scap-security-guide/pull/3114"},"issue":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/3114"},"comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/issues/3114/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/pulls/3114/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/3114/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSCAP/scap-security-guide/statuses/cdbfd37664f51e6060a6c0bc5c22a3c81a392cb5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"yuumasato"}}