{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17","id":60878419,"html_url":"https://github.com/wazuh/ossec-puppet/pull/17","diff_url":"https://github.com/wazuh/ossec-puppet/pull/17.diff","patch_url":"https://github.com/wazuh/ossec-puppet/pull/17.patch","issue_url":"https://api.github.com/repos/wazuh/ossec-puppet/issues/17","number":17,"state":"closed","locked":false,"title":"Extra rules config","user":{"login":"TravellingGuy","id":471791,"avatar_url":"https://avatars.githubusercontent.com/u/471791?v=3","gravatar_id":"","url":"https://api.github.com/users/TravellingGuy","html_url":"https://github.com/TravellingGuy","followers_url":"https://api.github.com/users/TravellingGuy/followers","following_url":"https://api.github.com/users/TravellingGuy/following{/other_user}","gists_url":"https://api.github.com/users/TravellingGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/TravellingGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravellingGuy/subscriptions","organizations_url":"https://api.github.com/users/TravellingGuy/orgs","repos_url":"https://api.github.com/users/TravellingGuy/repos","events_url":"https://api.github.com/users/TravellingGuy/events{/privacy}","received_events_url":"https://api.github.com/users/TravellingGuy/received_events","type":"User","site_admin":false},"body":"Enabling the Wazuh ruleset makes changes to the ossec.conf on the OSSEC server. Unfortunately the next time puppet runs on the OSSEC server, it wants to undo those changes.\r\n\r\nThis is a patch to help workaround that by allowing you to specify extra configurations for the <rules> section in the ossec.conf.\r\n\r\nTo use it, after enabling the Wazuh ruleset (either manually or via the automated script), take a look at the changes made to the ossec.conf file. You will need to put these same changes into the \"$ossec_extra_rules_config\" array parameter when calling the ossec::server class.\r\n\r\nConsequently, if you add or remove any of the Wazuh rules later on, you'll need to ensure to add/remove the appropriate bits in the \"$ossec_extra_rules_config\" array parameter as well.\r\n","created_at":"2016-02-26T17:52:02Z","updated_at":"2016-02-26T18:01:58Z","closed_at":"2016-02-26T18:01:58Z","merged_at":"2016-02-26T18:01:58Z","merge_commit_sha":"fb0cc4c00a266fcef7c491a9de1fdea9877b6da5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17/commits","review_comments_url":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17/comments","review_comment_url":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wazuh/ossec-puppet/issues/17/comments","statuses_url":"https://api.github.com/repos/wazuh/ossec-puppet/statuses/54b1175dbecf0fd0013ba993ff9091adcc276e22","head":{"label":"Chaordix:extra_rules_config","ref":"extra_rules_config","sha":"54b1175dbecf0fd0013ba993ff9091adcc276e22","user":{"login":"Chaordix","id":1703426,"avatar_url":"https://avatars.githubusercontent.com/u/1703426?v=3","gravatar_id":"","url":"https://api.github.com/users/Chaordix","html_url":"https://github.com/Chaordix","followers_url":"https://api.github.com/users/Chaordix/followers","following_url":"https://api.github.com/users/Chaordix/following{/other_user}","gists_url":"https://api.github.com/users/Chaordix/gists{/gist_id}","starred_url":"https://api.github.com/users/Chaordix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chaordix/subscriptions","organizations_url":"https://api.github.com/users/Chaordix/orgs","repos_url":"https://api.github.com/users/Chaordix/repos","events_url":"https://api.github.com/users/Chaordix/events{/privacy}","received_events_url":"https://api.github.com/users/Chaordix/received_events","type":"Organization","site_admin":false},"repo":{"id":50692303,"name":"ossec-puppet","full_name":"Chaordix/ossec-puppet","owner":{"login":"Chaordix","id":1703426,"avatar_url":"https://avatars.githubusercontent.com/u/1703426?v=3","gravatar_id":"","url":"https://api.github.com/users/Chaordix","html_url":"https://github.com/Chaordix","followers_url":"https://api.github.com/users/Chaordix/followers","following_url":"https://api.github.com/users/Chaordix/following{/other_user}","gists_url":"https://api.github.com/users/Chaordix/gists{/gist_id}","starred_url":"https://api.github.com/users/Chaordix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chaordix/subscriptions","organizations_url":"https://api.github.com/users/Chaordix/orgs","repos_url":"https://api.github.com/users/Chaordix/repos","events_url":"https://api.github.com/users/Chaordix/events{/privacy}","received_events_url":"https://api.github.com/users/Chaordix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Chaordix/ossec-puppet","description":"Puppet module for OSSEC","fork":true,"url":"https://api.github.com/repos/Chaordix/ossec-puppet","forks_url":"https://api.github.com/repos/Chaordix/ossec-puppet/forks","keys_url":"https://api.github.com/repos/Chaordix/ossec-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chaordix/ossec-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chaordix/ossec-puppet/teams","hooks_url":"https://api.github.com/repos/Chaordix/ossec-puppet/hooks","issue_events_url":"https://api.github.com/repos/Chaordix/ossec-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/Chaordix/ossec-puppet/events","assignees_url":"https://api.github.com/repos/Chaordix/ossec-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/Chaordix/ossec-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/Chaordix/ossec-puppet/tags","blobs_url":"https://api.github.com/repos/Chaordix/ossec-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chaordix/ossec-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chaordix/ossec-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chaordix/ossec-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chaordix/ossec-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/Chaordix/ossec-puppet/languages","stargazers_url":"https://api.github.com/repos/Chaordix/ossec-puppet/stargazers","contributors_url":"https://api.github.com/repos/Chaordix/ossec-puppet/contributors","subscribers_url":"https://api.github.com/repos/Chaordix/ossec-puppet/subscribers","subscription_url":"https://api.github.com/repos/Chaordix/ossec-puppet/subscription","commits_url":"https://api.github.com/repos/Chaordix/ossec-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chaordix/ossec-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chaordix/ossec-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chaordix/ossec-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chaordix/ossec-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/Chaordix/ossec-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chaordix/ossec-puppet/merges","archive_url":"https://api.github.com/repos/Chaordix/ossec-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chaordix/ossec-puppet/downloads","issues_url":"https://api.github.com/repos/Chaordix/ossec-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/Chaordix/ossec-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/Chaordix/ossec-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/Chaordix/ossec-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chaordix/ossec-puppet/labels{/name}","releases_url":"https://api.github.com/repos/Chaordix/ossec-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/Chaordix/ossec-puppet/deployments","created_at":"2016-01-29T21:24:15Z","updated_at":"2016-01-29T21:24:16Z","pushed_at":"2016-02-26T17:40:30Z","git_url":"git://github.com/Chaordix/ossec-puppet.git","ssh_url":"git@github.com:Chaordix/ossec-puppet.git","clone_url":"https://github.com/Chaordix/ossec-puppet.git","svn_url":"https://github.com/Chaordix/ossec-puppet","homepage":"http://wazuh.com","size":3365,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"wazuh:master","ref":"master","sha":"c5e28c6335f00644aaee5b6eb7a94f21a1b16776","user":{"login":"wazuh","id":13752566,"avatar_url":"https://avatars.githubusercontent.com/u/13752566?v=3","gravatar_id":"","url":"https://api.github.com/users/wazuh","html_url":"https://github.com/wazuh","followers_url":"https://api.github.com/users/wazuh/followers","following_url":"https://api.github.com/users/wazuh/following{/other_user}","gists_url":"https://api.github.com/users/wazuh/gists{/gist_id}","starred_url":"https://api.github.com/users/wazuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wazuh/subscriptions","organizations_url":"https://api.github.com/users/wazuh/orgs","repos_url":"https://api.github.com/users/wazuh/repos","events_url":"https://api.github.com/users/wazuh/events{/privacy}","received_events_url":"https://api.github.com/users/wazuh/received_events","type":"Organization","site_admin":false},"repo":{"id":43979001,"name":"ossec-puppet","full_name":"wazuh/ossec-puppet","owner":{"login":"wazuh","id":13752566,"avatar_url":"https://avatars.githubusercontent.com/u/13752566?v=3","gravatar_id":"","url":"https://api.github.com/users/wazuh","html_url":"https://github.com/wazuh","followers_url":"https://api.github.com/users/wazuh/followers","following_url":"https://api.github.com/users/wazuh/following{/other_user}","gists_url":"https://api.github.com/users/wazuh/gists{/gist_id}","starred_url":"https://api.github.com/users/wazuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wazuh/subscriptions","organizations_url":"https://api.github.com/users/wazuh/orgs","repos_url":"https://api.github.com/users/wazuh/repos","events_url":"https://api.github.com/users/wazuh/events{/privacy}","received_events_url":"https://api.github.com/users/wazuh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wazuh/ossec-puppet","description":"Puppet module for OSSEC","fork":false,"url":"https://api.github.com/repos/wazuh/ossec-puppet","forks_url":"https://api.github.com/repos/wazuh/ossec-puppet/forks","keys_url":"https://api.github.com/repos/wazuh/ossec-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wazuh/ossec-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wazuh/ossec-puppet/teams","hooks_url":"https://api.github.com/repos/wazuh/ossec-puppet/hooks","issue_events_url":"https://api.github.com/repos/wazuh/ossec-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/wazuh/ossec-puppet/events","assignees_url":"https://api.github.com/repos/wazuh/ossec-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/wazuh/ossec-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/wazuh/ossec-puppet/tags","blobs_url":"https://api.github.com/repos/wazuh/ossec-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wazuh/ossec-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wazuh/ossec-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/wazuh/ossec-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wazuh/ossec-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/wazuh/ossec-puppet/languages","stargazers_url":"https://api.github.com/repos/wazuh/ossec-puppet/stargazers","contributors_url":"https://api.github.com/repos/wazuh/ossec-puppet/contributors","subscribers_url":"https://api.github.com/repos/wazuh/ossec-puppet/subscribers","subscription_url":"https://api.github.com/repos/wazuh/ossec-puppet/subscription","commits_url":"https://api.github.com/repos/wazuh/ossec-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/wazuh/ossec-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/wazuh/ossec-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/wazuh/ossec-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/wazuh/ossec-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/wazuh/ossec-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wazuh/ossec-puppet/merges","archive_url":"https://api.github.com/repos/wazuh/ossec-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wazuh/ossec-puppet/downloads","issues_url":"https://api.github.com/repos/wazuh/ossec-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/wazuh/ossec-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/wazuh/ossec-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/wazuh/ossec-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wazuh/ossec-puppet/labels{/name}","releases_url":"https://api.github.com/repos/wazuh/ossec-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/wazuh/ossec-puppet/deployments","created_at":"2015-10-09T20:37:51Z","updated_at":"2016-01-20T00:00:37Z","pushed_at":"2016-02-26T18:01:58Z","git_url":"git://github.com/wazuh/ossec-puppet.git","ssh_url":"git@github.com:wazuh/ossec-puppet.git","clone_url":"https://github.com/wazuh/ossec-puppet.git","svn_url":"https://github.com/wazuh/ossec-puppet","homepage":"http://wazuh.com","size":3369,"stargazers_count":3,"watchers_count":3,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17"},"html":{"href":"https://github.com/wazuh/ossec-puppet/pull/17"},"issue":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/issues/17"},"comments":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/wazuh/ossec-puppet/statuses/54b1175dbecf0fd0013ba993ff9091adcc276e22"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jlruizmlg","id":13950509,"avatar_url":"https://avatars.githubusercontent.com/u/13950509?v=3","gravatar_id":"","url":"https://api.github.com/users/jlruizmlg","html_url":"https://github.com/jlruizmlg","followers_url":"https://api.github.com/users/jlruizmlg/followers","following_url":"https://api.github.com/users/jlruizmlg/following{/other_user}","gists_url":"https://api.github.com/users/jlruizmlg/gists{/gist_id}","starred_url":"https://api.github.com/users/jlruizmlg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlruizmlg/subscriptions","organizations_url":"https://api.github.com/users/jlruizmlg/orgs","repos_url":"https://api.github.com/users/jlruizmlg/repos","events_url":"https://api.github.com/users/jlruizmlg/events{/privacy}","received_events_url":"https://api.github.com/users/jlruizmlg/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":4,"deletions":0,"changed_files":2}}