{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2","id":83870797,"html_url":"https://github.com/strataconsulting/ossec-cookbook/pull/2","diff_url":"https://github.com/strataconsulting/ossec-cookbook/pull/2.diff","patch_url":"https://github.com/strataconsulting/ossec-cookbook/pull/2.patch","issue_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/2","number":2,"state":"open","locked":false,"title":"GH-68: Derived Attribute Issue Preventing Proper Setting Of OSSEC Server IP","user":{"login":"toddmichael","id":142241,"avatar_url":"https://avatars.githubusercontent.com/u/142241?v=3","gravatar_id":"","url":"https://api.github.com/users/toddmichael","html_url":"https://github.com/toddmichael","followers_url":"https://api.github.com/users/toddmichael/followers","following_url":"https://api.github.com/users/toddmichael/following{/other_user}","gists_url":"https://api.github.com/users/toddmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/toddmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddmichael/subscriptions","organizations_url":"https://api.github.com/users/toddmichael/orgs","repos_url":"https://api.github.com/users/toddmichael/repos","events_url":"https://api.github.com/users/toddmichael/events{/privacy}","received_events_url":"https://api.github.com/users/toddmichael/received_events","type":"User","site_admin":false},"body":"Replace all references to `node['ossec']['agent_server_ip']` with `node['ossec']['conf']['agent']['client']['server-ip']` so as to avoid the derived attribute issue.  I acknowledge that this creates a breaking change for folks who rely on the old attribute so waiting for feedback before submitting this fix upstream. It appears to work for my purposes though.","created_at":"2016-09-02T22:06:01Z","updated_at":"2016-09-02T22:06:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2/commits","review_comments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2/comments","review_comment_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/2/comments","statuses_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/statuses/15caf778be77787254754139dcb79469a766a14f","head":{"label":"strataconsulting:GH-68","ref":"GH-68","sha":"15caf778be77787254754139dcb79469a766a14f","user":{"login":"strataconsulting","id":15871264,"avatar_url":"https://avatars.githubusercontent.com/u/15871264?v=3","gravatar_id":"","url":"https://api.github.com/users/strataconsulting","html_url":"https://github.com/strataconsulting","followers_url":"https://api.github.com/users/strataconsulting/followers","following_url":"https://api.github.com/users/strataconsulting/following{/other_user}","gists_url":"https://api.github.com/users/strataconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/strataconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strataconsulting/subscriptions","organizations_url":"https://api.github.com/users/strataconsulting/orgs","repos_url":"https://api.github.com/users/strataconsulting/repos","events_url":"https://api.github.com/users/strataconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/strataconsulting/received_events","type":"Organization","site_admin":false},"repo":{"id":66968945,"name":"ossec-cookbook","full_name":"strataconsulting/ossec-cookbook","owner":{"login":"strataconsulting","id":15871264,"avatar_url":"https://avatars.githubusercontent.com/u/15871264?v=3","gravatar_id":"","url":"https://api.github.com/users/strataconsulting","html_url":"https://github.com/strataconsulting","followers_url":"https://api.github.com/users/strataconsulting/followers","following_url":"https://api.github.com/users/strataconsulting/following{/other_user}","gists_url":"https://api.github.com/users/strataconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/strataconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strataconsulting/subscriptions","organizations_url":"https://api.github.com/users/strataconsulting/orgs","repos_url":"https://api.github.com/users/strataconsulting/repos","events_url":"https://api.github.com/users/strataconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/strataconsulting/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strataconsulting/ossec-cookbook","description":"Development repository for ossec cookbook","fork":true,"url":"https://api.github.com/repos/strataconsulting/ossec-cookbook","forks_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/forks","keys_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/teams","hooks_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/hooks","issue_events_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/events","assignees_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/tags","blobs_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/languages","stargazers_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/stargazers","contributors_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/contributors","subscribers_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/subscribers","subscription_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/subscription","commits_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/merges","archive_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/downloads","issues_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/deployments","created_at":"2016-08-30T18:56:27Z","updated_at":"2016-08-30T18:56:28Z","pushed_at":"2016-09-02T21:58:09Z","git_url":"git://github.com/strataconsulting/ossec-cookbook.git","ssh_url":"git@github.com:strataconsulting/ossec-cookbook.git","clone_url":"https://github.com/strataconsulting/ossec-cookbook.git","svn_url":"https://github.com/strataconsulting/ossec-cookbook","homepage":"https://supermarket.chef.io/cookbooks/ossec","size":108,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"strataconsulting:master","ref":"master","sha":"080fdc433d29882f0c9d8ec04840e7888a0c311c","user":{"login":"strataconsulting","id":15871264,"avatar_url":"https://avatars.githubusercontent.com/u/15871264?v=3","gravatar_id":"","url":"https://api.github.com/users/strataconsulting","html_url":"https://github.com/strataconsulting","followers_url":"https://api.github.com/users/strataconsulting/followers","following_url":"https://api.github.com/users/strataconsulting/following{/other_user}","gists_url":"https://api.github.com/users/strataconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/strataconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strataconsulting/subscriptions","organizations_url":"https://api.github.com/users/strataconsulting/orgs","repos_url":"https://api.github.com/users/strataconsulting/repos","events_url":"https://api.github.com/users/strataconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/strataconsulting/received_events","type":"Organization","site_admin":false},"repo":{"id":66968945,"name":"ossec-cookbook","full_name":"strataconsulting/ossec-cookbook","owner":{"login":"strataconsulting","id":15871264,"avatar_url":"https://avatars.githubusercontent.com/u/15871264?v=3","gravatar_id":"","url":"https://api.github.com/users/strataconsulting","html_url":"https://github.com/strataconsulting","followers_url":"https://api.github.com/users/strataconsulting/followers","following_url":"https://api.github.com/users/strataconsulting/following{/other_user}","gists_url":"https://api.github.com/users/strataconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/strataconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strataconsulting/subscriptions","organizations_url":"https://api.github.com/users/strataconsulting/orgs","repos_url":"https://api.github.com/users/strataconsulting/repos","events_url":"https://api.github.com/users/strataconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/strataconsulting/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strataconsulting/ossec-cookbook","description":"Development repository for ossec cookbook","fork":true,"url":"https://api.github.com/repos/strataconsulting/ossec-cookbook","forks_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/forks","keys_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/teams","hooks_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/hooks","issue_events_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/events","assignees_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/tags","blobs_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/languages","stargazers_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/stargazers","contributors_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/contributors","subscribers_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/subscribers","subscription_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/subscription","commits_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/merges","archive_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/downloads","issues_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/strataconsulting/ossec-cookbook/deployments","created_at":"2016-08-30T18:56:27Z","updated_at":"2016-08-30T18:56:28Z","pushed_at":"2016-09-02T21:58:09Z","git_url":"git://github.com/strataconsulting/ossec-cookbook.git","ssh_url":"git@github.com:strataconsulting/ossec-cookbook.git","clone_url":"https://github.com/strataconsulting/ossec-cookbook.git","svn_url":"https://github.com/strataconsulting/ossec-cookbook","homepage":"https://supermarket.chef.io/cookbooks/ossec","size":108,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2"},"html":{"href":"https://github.com/strataconsulting/ossec-cookbook/pull/2"},"issue":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/2"},"comments":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/strataconsulting/ossec-cookbook/statuses/15caf778be77787254754139dcb79469a766a14f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":4,"changed_files":3}}
{"actor":{"display_login":"toddmichael"}}