{"action":"created","issue":{"url":"https://api.github.com/repos/hvac/hvac/issues/254","repository_url":"https://api.github.com/repos/hvac/hvac","labels_url":"https://api.github.com/repos/hvac/hvac/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/hvac/hvac/issues/254/comments","events_url":"https://api.github.com/repos/hvac/hvac/issues/254/events","html_url":"https://github.com/hvac/hvac/pull/254","id":355575476,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMDcxMzIz","number":254,"title":"Fix policy rules fetching from json","user":{"login":"seuf","id":1336359,"node_id":"MDQ6VXNlcjEzMzYzNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1336359?v=4","gravatar_id":"","url":"https://api.github.com/users/seuf","html_url":"https://github.com/seuf","followers_url":"https://api.github.com/users/seuf/followers","following_url":"https://api.github.com/users/seuf/following{/other_user}","gists_url":"https://api.github.com/users/seuf/gists{/gist_id}","starred_url":"https://api.github.com/users/seuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seuf/subscriptions","organizations_url":"https://api.github.com/users/seuf/orgs","repos_url":"https://api.github.com/users/seuf/repos","events_url":"https://api.github.com/users/seuf/events{/privacy}","received_events_url":"https://api.github.com/users/seuf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-30T13:03:10Z","updated_at":"2018-08-31T13:28:55Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/hvac/hvac/pulls/254","html_url":"https://github.com/hvac/hvac/pull/254","diff_url":"https://github.com/hvac/hvac/pull/254.diff","patch_url":"https://github.com/hvac/hvac/pull/254.patch"},"body":"Since a few version of Hashicorp Vault, the policy rules are returned inside a `data` object in the json.\r\nThis PR add a test if rules is present at the root of the json. Else it fetch rules from the `data.rules`.\r\n\r\nRelated issue : https://github.com/TerryHowe/ansible-modules-hashivault/issues/81\r\n"},"comment":{"url":"https://api.github.com/repos/hvac/hvac/issues/comments/417664096","html_url":"https://github.com/hvac/hvac/pull/254#issuecomment-417664096","issue_url":"https://api.github.com/repos/hvac/hvac/issues/254","id":417664096,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzY2NDA5Ng==","user":{"login":"drewmullen","id":3812162,"node_id":"MDQ6VXNlcjM4MTIxNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3812162?v=4","gravatar_id":"","url":"https://api.github.com/users/drewmullen","html_url":"https://github.com/drewmullen","followers_url":"https://api.github.com/users/drewmullen/followers","following_url":"https://api.github.com/users/drewmullen/following{/other_user}","gists_url":"https://api.github.com/users/drewmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/drewmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewmullen/subscriptions","organizations_url":"https://api.github.com/users/drewmullen/orgs","repos_url":"https://api.github.com/users/drewmullen/repos","events_url":"https://api.github.com/users/drewmullen/events{/privacy}","received_events_url":"https://api.github.com/users/drewmullen/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T13:28:55Z","updated_at":"2018-08-31T13:28:55Z","author_association":"NONE","body":"Thanks @seuf this has fixed the policy issue! great work!"}}
{"actor":{"display_login":"drewmullen"}}