payload: {"action":"closed","number":858,"pull_request":{"url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858","id":262115651,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYyMTE1NjUx","html_url":"https://github.com/awslabs/serverless-application-model/pull/858","diff_url":"https://github.com/awslabs/serverless-application-model/pull/858.diff","patch_url":"https://github.com/awslabs/serverless-application-model/pull/858.patch","issue_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/858","number":858,"state":"closed","locked":false,"title":"Fix ElasticsearchHttpPostPolicy","user":{"login":"shakirjames","id":400129,"node_id":"MDQ6VXNlcjQwMDEyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/400129?v=4","gravatar_id":"","url":"https://api.github.com/users/shakirjames","html_url":"https://github.com/shakirjames","followers_url":"https://api.github.com/users/shakirjames/followers","following_url":"https://api.github.com/users/shakirjames/following{/other_user}","gists_url":"https://api.github.com/users/shakirjames/gists{/gist_id}","starred_url":"https://api.github.com/users/shakirjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakirjames/subscriptions","organizations_url":"https://api.github.com/users/shakirjames/orgs","repos_url":"https://api.github.com/users/shakirjames/repos","events_url":"https://api.github.com/users/shakirjames/events{/privacy}","received_events_url":"https://api.github.com/users/shakirjames/received_events","type":"User","site_admin":false},"body":"\r\n*Description of changes:*\r\nAdded /* to resource to fix Unauthorized error for es:ESHttpPost action.\r\n\r\n*Description of how you validated changes:*\r\n\r\nCreated a custom policy and tested to remove unauthorized error.\r\n```yaml\r\n        Policies:\r\n          - Statement:\r\n            - Effect: Allow\r\n              Action:\r\n                - es:ESHttpPost\r\n              Resource: !Sub 'arn:aws:es:${AWS::Region}:${AWS::AccountId}:domain/${DomainName}/*'\r\n          # NOTE: Fails to work missing \"/*\"\r\n          #- ElasticsearchHttpPostPolicy: \r\n          #    DomainName: !Ref DomainName\r\n\r\n```\r\n\r\n\r\n*Checklist:*\r\n\r\n- [x] Write/update tests\r\n- [x] `make pr` passes\r\n- [x] Update documentation\r\n\r\n\r\nBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\r\n","created_at":"2019-03-18T15:49:50Z","updated_at":"2019-03-18T19:48:00Z","closed_at":"2019-03-18T19:48:00Z","merged_at":"2019-03-18T19:48:00Z","merge_commit_sha":"a51ba12fe79d379bd42b7a40d39c06db5610f775","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858/commits","review_comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858/comments","review_comment_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/858/comments","statuses_url":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/0a4bfa5028aa72ccab7b1a1b7593b4c330f01db4","head":{"label":"1T:develop","ref":"develop","sha":"0a4bfa5028aa72ccab7b1a1b7593b4c330f01db4","user":{"login":"1T","id":1310369,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTAzNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1310369?v=4","gravatar_id":"","url":"https://api.github.com/users/1T","html_url":"https://github.com/1T","followers_url":"https://api.github.com/users/1T/followers","following_url":"https://api.github.com/users/1T/following{/other_user}","gists_url":"https://api.github.com/users/1T/gists{/gist_id}","starred_url":"https://api.github.com/users/1T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1T/subscriptions","organizations_url":"https://api.github.com/users/1T/orgs","repos_url":"https://api.github.com/users/1T/repos","events_url":"https://api.github.com/users/1T/events{/privacy}","received_events_url":"https://api.github.com/users/1T/received_events","type":"Organization","site_admin":false},"repo":{"id":176317929,"node_id":"MDEwOlJlcG9zaXRvcnkxNzYzMTc5Mjk=","name":"serverless-application-model","full_name":"1T/serverless-application-model","private":false,"owner":{"login":"1T","id":1310369,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTAzNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1310369?v=4","gravatar_id":"","url":"https://api.github.com/users/1T","html_url":"https://github.com/1T","followers_url":"https://api.github.com/users/1T/followers","following_url":"https://api.github.com/users/1T/following{/other_user}","gists_url":"https://api.github.com/users/1T/gists{/gist_id}","starred_url":"https://api.github.com/users/1T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1T/subscriptions","organizations_url":"https://api.github.com/users/1T/orgs","repos_url":"https://api.github.com/users/1T/repos","events_url":"https://api.github.com/users/1T/events{/privacy}","received_events_url":"https://api.github.com/users/1T/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/1T/serverless-application-model","description":"AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.","fork":true,"url":"https://api.github.com/repos/1T/serverless-application-model","forks_url":"https://api.github.com/repos/1T/serverless-application-model/forks","keys_url":"https://api.github.com/repos/1T/serverless-application-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1T/serverless-application-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1T/serverless-application-model/teams","hooks_url":"https://api.github.com/repos/1T/serverless-application-model/hooks","issue_events_url":"https://api.github.com/repos/1T/serverless-application-model/issues/events{/number}","events_url":"https://api.github.com/repos/1T/serverless-application-model/events","assignees_url":"https://api.github.com/repos/1T/serverless-application-model/assignees{/user}","branches_url":"https://api.github.com/repos/1T/serverless-application-model/branches{/branch}","tags_url":"https://api.github.com/repos/1T/serverless-application-model/tags","blobs_url":"https://api.github.com/repos/1T/serverless-application-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1T/serverless-application-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1T/serverless-application-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/1T/serverless-application-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1T/serverless-application-model/statuses/{sha}","languages_url":"https://api.github.com/repos/1T/serverless-application-model/languages","stargazers_url":"https://api.github.com/repos/1T/serverless-application-model/stargazers","contributors_url":"https://api.github.com/repos/1T/serverless-application-model/contributors","subscribers_url":"https://api.github.com/repos/1T/serverless-application-model/subscribers","subscription_url":"https://api.github.com/repos/1T/serverless-application-model/subscription","commits_url":"https://api.github.com/repos/1T/serverless-application-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/1T/serverless-application-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/1T/serverless-application-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/1T/serverless-application-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/1T/serverless-application-model/contents/{+path}","compare_url":"https://api.github.com/repos/1T/serverless-application-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1T/serverless-application-model/merges","archive_url":"https://api.github.com/repos/1T/serverless-application-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1T/serverless-application-model/downloads","issues_url":"https://api.github.com/repos/1T/serverless-application-model/issues{/number}","pulls_url":"https://api.github.com/repos/1T/serverless-application-model/pulls{/number}","milestones_url":"https://api.github.com/repos/1T/serverless-application-model/milestones{/number}","notifications_url":"https://api.github.com/repos/1T/serverless-application-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1T/serverless-application-model/labels{/name}","releases_url":"https://api.github.com/repos/1T/serverless-application-model/releases{/id}","deployments_url":"https://api.github.com/repos/1T/serverless-application-model/deployments","created_at":"2019-03-18T15:41:20Z","updated_at":"2019-03-18T15:41:23Z","pushed_at":"2019-03-18T19:10:51Z","git_url":"git://github.com/1T/serverless-application-model.git","ssh_url":"git@github.com:1T/serverless-application-model.git","clone_url":"https://github.com/1T/serverless-application-model.git","svn_url":"https://github.com/1T/serverless-application-model","homepage":"","size":7304,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awslabs:develop","ref":"develop","sha":"22affd657b2bd4c0689b438ccc03b80d600e9761","user":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":70530854,"node_id":"MDEwOlJlcG9zaXRvcnk3MDUzMDg1NA==","name":"serverless-application-model","full_name":"awslabs/serverless-application-model","private":false,"owner":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/awslabs/serverless-application-model","description":"AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.","fork":false,"url":"https://api.github.com/repos/awslabs/serverless-application-model","forks_url":"https://api.github.com/repos/awslabs/serverless-application-model/forks","keys_url":"https://api.github.com/repos/awslabs/serverless-application-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awslabs/serverless-application-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awslabs/serverless-application-model/teams","hooks_url":"https://api.github.com/repos/awslabs/serverless-application-model/hooks","issue_events_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/events{/number}","events_url":"https://api.github.com/repos/awslabs/serverless-application-model/events","assignees_url":"https://api.github.com/repos/awslabs/serverless-application-model/assignees{/user}","branches_url":"https://api.github.com/repos/awslabs/serverless-application-model/branches{/branch}","tags_url":"https://api.github.com/repos/awslabs/serverless-application-model/tags","blobs_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/{sha}","languages_url":"https://api.github.com/repos/awslabs/serverless-application-model/languages","stargazers_url":"https://api.github.com/repos/awslabs/serverless-application-model/stargazers","contributors_url":"https://api.github.com/repos/awslabs/serverless-application-model/contributors","subscribers_url":"https://api.github.com/repos/awslabs/serverless-application-model/subscribers","subscription_url":"https://api.github.com/repos/awslabs/serverless-application-model/subscription","commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/awslabs/serverless-application-model/contents/{+path}","compare_url":"https://api.github.com/repos/awslabs/serverless-application-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awslabs/serverless-application-model/merges","archive_url":"https://api.github.com/repos/awslabs/serverless-application-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awslabs/serverless-application-model/downloads","issues_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues{/number}","pulls_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls{/number}","milestones_url":"https://api.github.com/repos/awslabs/serverless-application-model/milestones{/number}","notifications_url":"https://api.github.com/repos/awslabs/serverless-application-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awslabs/serverless-application-model/labels{/name}","releases_url":"https://api.github.com/repos/awslabs/serverless-application-model/releases{/id}","deployments_url":"https://api.github.com/repos/awslabs/serverless-application-model/deployments","created_at":"2016-10-10T21:36:18Z","updated_at":"2019-03-18T15:36:20Z","pushed_at":"2019-03-18T19:48:00Z","git_url":"git://github.com/awslabs/serverless-application-model.git","ssh_url":"git@github.com:awslabs/serverless-application-model.git","clone_url":"https://github.com/awslabs/serverless-application-model.git","svn_url":"https://github.com/awslabs/serverless-application-model","homepage":"","size":7304,"stargazers_count":4828,"watchers_count":4828,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1071,"mirror_url":null,"archived":false,"open_issues_count":154,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1071,"open_issues":154,"watchers":4828,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858"},"html":{"href":"https://github.com/awslabs/serverless-application-model/pull/858"},"issue":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/issues/858"},"comments":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/issues/858/comments"},"review_comments":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858/comments"},"review_comment":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/858/commits"},"statuses":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/0a4bfa5028aa72ccab7b1a1b7593b4c330f01db4"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"keetonian","id":14004203,"node_id":"MDQ6VXNlcjE0MDA0MjAz","avatar_url":"https://avatars2.githubusercontent.com/u/14004203?v=4","gravatar_id":"","url":"https://api.github.com/users/keetonian","html_url":"https://github.com/keetonian","followers_url":"https://api.github.com/users/keetonian/followers","following_url":"https://api.github.com/users/keetonian/following{/other_user}","gists_url":"https://api.github.com/users/keetonian/gists{/gist_id}","starred_url":"https://api.github.com/users/keetonian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keetonian/subscriptions","organizations_url":"https://api.github.com/users/keetonian/orgs","repos_url":"https://api.github.com/users/keetonian/repos","events_url":"https://api.github.com/users/keetonian/events{/privacy}","received_events_url":"https://api.github.com/users/keetonian/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":4,"deletions":4,"changed_files":4}}
other: {"actor":{"display_login":"keetonian"}}