payload: {"action":"closed","number":3849,"pull_request":{"url":"https://api.github.com/repos/demisto/content/pulls/3849","id":296160591,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk2MTYwNTkx","html_url":"https://github.com/demisto/content/pull/3849","diff_url":"https://github.com/demisto/content/pull/3849.diff","patch_url":"https://github.com/demisto/content/pull/3849.patch","issue_url":"https://api.github.com/repos/demisto/content/issues/3849","number":3849,"state":"closed","locked":false,"title":"Fix ms defender atp","user":{"login":"avidan-H","id":46294017,"node_id":"MDQ6VXNlcjQ2Mjk0MDE3","avatar_url":"https://avatars1.githubusercontent.com/u/46294017?v=4","gravatar_id":"","url":"https://api.github.com/users/avidan-H","html_url":"https://github.com/avidan-H","followers_url":"https://api.github.com/users/avidan-H/followers","following_url":"https://api.github.com/users/avidan-H/following{/other_user}","gists_url":"https://api.github.com/users/avidan-H/gists{/gist_id}","starred_url":"https://api.github.com/users/avidan-H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avidan-H/subscriptions","organizations_url":"https://api.github.com/users/avidan-H/orgs","repos_url":"https://api.github.com/users/avidan-H/repos","events_url":"https://api.github.com/users/avidan-H/events{/privacy}","received_events_url":"https://api.github.com/users/avidan-H/received_events","type":"User","site_admin":false},"body":"## Status\r\nReady\r\n\r\n## Related Issues\r\nfixes: https://cs.demisto.works/acc_CustomerSupport/#/Details/31494\r\n\r\n## Description\r\nMicrosoft updated the Windows Defender ATP API. One of the expected fields is no longer present in responses from the API. Updated the integration so it will not throw an error when the field isn't present in the response body.\r\n\r\n## Does it break backward compatibility?\r\n   - No\r\n\r\n## Must have\r\n- [x] Tests\r\n- [ ] Documentation (with link to it)\r\n- [ ] Code Review\r\n\r\n## Dependencies\r\nMention the dependencies of the entity you changed as given from the precommit hooks in checkboxes, and tick after tested them.\r\n- [x] N/A (Only itself)\r\n\r\n## Additional changes\r\n1. Updated a task in the test playbook.\r\n2. Changed the value of the ReportId field returned by the get_advanced_hunting_command to be a string and not a number.\r\n","created_at":"2019-07-10T12:55:01Z","updated_at":"2019-07-10T14:50:09Z","closed_at":"2019-07-10T14:50:09Z","merged_at":"2019-07-10T14:50:09Z","merge_commit_sha":"d8c2b8832e8ada52c013028b34947099c23138e1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/demisto/content/pulls/3849/commits","review_comments_url":"https://api.github.com/repos/demisto/content/pulls/3849/comments","review_comment_url":"https://api.github.com/repos/demisto/content/pulls/comments{/number}","comments_url":"https://api.github.com/repos/demisto/content/issues/3849/comments","statuses_url":"https://api.github.com/repos/demisto/content/statuses/2e4464662a0a3d61c66c6e5c45cdd87a6efc7e00","head":{"label":"demisto:fix-ms-defender-atp","ref":"fix-ms-defender-atp","sha":"2e4464662a0a3d61c66c6e5c45cdd87a6efc7e00","user":{"login":"demisto","id":11011767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDExNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/11011767?v=4","gravatar_id":"","url":"https://api.github.com/users/demisto","html_url":"https://github.com/demisto","followers_url":"https://api.github.com/users/demisto/followers","following_url":"https://api.github.com/users/demisto/following{/other_user}","gists_url":"https://api.github.com/users/demisto/gists{/gist_id}","starred_url":"https://api.github.com/users/demisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisto/subscriptions","organizations_url":"https://api.github.com/users/demisto/orgs","repos_url":"https://api.github.com/users/demisto/repos","events_url":"https://api.github.com/users/demisto/events{/privacy}","received_events_url":"https://api.github.com/users/demisto/received_events","type":"Organization","site_admin":false},"repo":{"id":60525392,"node_id":"MDEwOlJlcG9zaXRvcnk2MDUyNTM5Mg==","name":"content","full_name":"demisto/content","private":false,"owner":{"login":"demisto","id":11011767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDExNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/11011767?v=4","gravatar_id":"","url":"https://api.github.com/users/demisto","html_url":"https://github.com/demisto","followers_url":"https://api.github.com/users/demisto/followers","following_url":"https://api.github.com/users/demisto/following{/other_user}","gists_url":"https://api.github.com/users/demisto/gists{/gist_id}","starred_url":"https://api.github.com/users/demisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisto/subscriptions","organizations_url":"https://api.github.com/users/demisto/orgs","repos_url":"https://api.github.com/users/demisto/repos","events_url":"https://api.github.com/users/demisto/events{/privacy}","received_events_url":"https://api.github.com/users/demisto/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/demisto/content","description":"This repository contains all Demisto content and from here we share content updates","fork":false,"url":"https://api.github.com/repos/demisto/content","forks_url":"https://api.github.com/repos/demisto/content/forks","keys_url":"https://api.github.com/repos/demisto/content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demisto/content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demisto/content/teams","hooks_url":"https://api.github.com/repos/demisto/content/hooks","issue_events_url":"https://api.github.com/repos/demisto/content/issues/events{/number}","events_url":"https://api.github.com/repos/demisto/content/events","assignees_url":"https://api.github.com/repos/demisto/content/assignees{/user}","branches_url":"https://api.github.com/repos/demisto/content/branches{/branch}","tags_url":"https://api.github.com/repos/demisto/content/tags","blobs_url":"https://api.github.com/repos/demisto/content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demisto/content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demisto/content/git/refs{/sha}","trees_url":"https://api.github.com/repos/demisto/content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demisto/content/statuses/{sha}","languages_url":"https://api.github.com/repos/demisto/content/languages","stargazers_url":"https://api.github.com/repos/demisto/content/stargazers","contributors_url":"https://api.github.com/repos/demisto/content/contributors","subscribers_url":"https://api.github.com/repos/demisto/content/subscribers","subscription_url":"https://api.github.com/repos/demisto/content/subscription","commits_url":"https://api.github.com/repos/demisto/content/commits{/sha}","git_commits_url":"https://api.github.com/repos/demisto/content/git/commits{/sha}","comments_url":"https://api.github.com/repos/demisto/content/comments{/number}","issue_comment_url":"https://api.github.com/repos/demisto/content/issues/comments{/number}","contents_url":"https://api.github.com/repos/demisto/content/contents/{+path}","compare_url":"https://api.github.com/repos/demisto/content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demisto/content/merges","archive_url":"https://api.github.com/repos/demisto/content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demisto/content/downloads","issues_url":"https://api.github.com/repos/demisto/content/issues{/number}","pulls_url":"https://api.github.com/repos/demisto/content/pulls{/number}","milestones_url":"https://api.github.com/repos/demisto/content/milestones{/number}","notifications_url":"https://api.github.com/repos/demisto/content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demisto/content/labels{/name}","releases_url":"https://api.github.com/repos/demisto/content/releases{/id}","deployments_url":"https://api.github.com/repos/demisto/content/deployments","created_at":"2016-06-06T12:17:02Z","updated_at":"2019-07-10T13:01:00Z","pushed_at":"2019-07-10T14:50:09Z","git_url":"git://github.com/demisto/content.git","ssh_url":"git@github.com:demisto/content.git","clone_url":"https://github.com/demisto/content.git","svn_url":"https://github.com/demisto/content","homepage":"","size":77859,"stargazers_count":279,"watchers_count":279,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":165,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":63,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":165,"open_issues":63,"watchers":279,"default_branch":"master"}},"base":{"label":"demisto:master","ref":"master","sha":"8e7ccc21cc8a867c1ed103a3ad6a6a64d2f3d324","user":{"login":"demisto","id":11011767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDExNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/11011767?v=4","gravatar_id":"","url":"https://api.github.com/users/demisto","html_url":"https://github.com/demisto","followers_url":"https://api.github.com/users/demisto/followers","following_url":"https://api.github.com/users/demisto/following{/other_user}","gists_url":"https://api.github.com/users/demisto/gists{/gist_id}","starred_url":"https://api.github.com/users/demisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisto/subscriptions","organizations_url":"https://api.github.com/users/demisto/orgs","repos_url":"https://api.github.com/users/demisto/repos","events_url":"https://api.github.com/users/demisto/events{/privacy}","received_events_url":"https://api.github.com/users/demisto/received_events","type":"Organization","site_admin":false},"repo":{"id":60525392,"node_id":"MDEwOlJlcG9zaXRvcnk2MDUyNTM5Mg==","name":"content","full_name":"demisto/content","private":false,"owner":{"login":"demisto","id":11011767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDExNzY3","avatar_url":"https://avatars1.githubusercontent.com/u/11011767?v=4","gravatar_id":"","url":"https://api.github.com/users/demisto","html_url":"https://github.com/demisto","followers_url":"https://api.github.com/users/demisto/followers","following_url":"https://api.github.com/users/demisto/following{/other_user}","gists_url":"https://api.github.com/users/demisto/gists{/gist_id}","starred_url":"https://api.github.com/users/demisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisto/subscriptions","organizations_url":"https://api.github.com/users/demisto/orgs","repos_url":"https://api.github.com/users/demisto/repos","events_url":"https://api.github.com/users/demisto/events{/privacy}","received_events_url":"https://api.github.com/users/demisto/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/demisto/content","description":"This repository contains all Demisto content and from here we share content updates","fork":false,"url":"https://api.github.com/repos/demisto/content","forks_url":"https://api.github.com/repos/demisto/content/forks","keys_url":"https://api.github.com/repos/demisto/content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demisto/content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demisto/content/teams","hooks_url":"https://api.github.com/repos/demisto/content/hooks","issue_events_url":"https://api.github.com/repos/demisto/content/issues/events{/number}","events_url":"https://api.github.com/repos/demisto/content/events","assignees_url":"https://api.github.com/repos/demisto/content/assignees{/user}","branches_url":"https://api.github.com/repos/demisto/content/branches{/branch}","tags_url":"https://api.github.com/repos/demisto/content/tags","blobs_url":"https://api.github.com/repos/demisto/content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demisto/content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demisto/content/git/refs{/sha}","trees_url":"https://api.github.com/repos/demisto/content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demisto/content/statuses/{sha}","languages_url":"https://api.github.com/repos/demisto/content/languages","stargazers_url":"https://api.github.com/repos/demisto/content/stargazers","contributors_url":"https://api.github.com/repos/demisto/content/contributors","subscribers_url":"https://api.github.com/repos/demisto/content/subscribers","subscription_url":"https://api.github.com/repos/demisto/content/subscription","commits_url":"https://api.github.com/repos/demisto/content/commits{/sha}","git_commits_url":"https://api.github.com/repos/demisto/content/git/commits{/sha}","comments_url":"https://api.github.com/repos/demisto/content/comments{/number}","issue_comment_url":"https://api.github.com/repos/demisto/content/issues/comments{/number}","contents_url":"https://api.github.com/repos/demisto/content/contents/{+path}","compare_url":"https://api.github.com/repos/demisto/content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demisto/content/merges","archive_url":"https://api.github.com/repos/demisto/content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demisto/content/downloads","issues_url":"https://api.github.com/repos/demisto/content/issues{/number}","pulls_url":"https://api.github.com/repos/demisto/content/pulls{/number}","milestones_url":"https://api.github.com/repos/demisto/content/milestones{/number}","notifications_url":"https://api.github.com/repos/demisto/content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demisto/content/labels{/name}","releases_url":"https://api.github.com/repos/demisto/content/releases{/id}","deployments_url":"https://api.github.com/repos/demisto/content/deployments","created_at":"2016-06-06T12:17:02Z","updated_at":"2019-07-10T13:01:00Z","pushed_at":"2019-07-10T14:50:09Z","git_url":"git://github.com/demisto/content.git","ssh_url":"git@github.com:demisto/content.git","clone_url":"https://github.com/demisto/content.git","svn_url":"https://github.com/demisto/content","homepage":"","size":77859,"stargazers_count":279,"watchers_count":279,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":165,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":63,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":165,"open_issues":63,"watchers":279,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/demisto/content/pulls/3849"},"html":{"href":"https://github.com/demisto/content/pull/3849"},"issue":{"href":"https://api.github.com/repos/demisto/content/issues/3849"},"comments":{"href":"https://api.github.com/repos/demisto/content/issues/3849/comments"},"review_comments":{"href":"https://api.github.com/repos/demisto/content/pulls/3849/comments"},"review_comment":{"href":"https://api.github.com/repos/demisto/content/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/demisto/content/pulls/3849/commits"},"statuses":{"href":"https://api.github.com/repos/demisto/content/statuses/2e4464662a0a3d61c66c6e5c45cdd87a6efc7e00"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Itay4","id":31018228,"node_id":"MDQ6VXNlcjMxMDE4MjI4","avatar_url":"https://avatars1.githubusercontent.com/u/31018228?v=4","gravatar_id":"","url":"https://api.github.com/users/Itay4","html_url":"https://github.com/Itay4","followers_url":"https://api.github.com/users/Itay4/followers","following_url":"https://api.github.com/users/Itay4/following{/other_user}","gists_url":"https://api.github.com/users/Itay4/gists{/gist_id}","starred_url":"https://api.github.com/users/Itay4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itay4/subscriptions","organizations_url":"https://api.github.com/users/Itay4/orgs","repos_url":"https://api.github.com/users/Itay4/repos","events_url":"https://api.github.com/users/Itay4/events{/privacy}","received_events_url":"https://api.github.com/users/Itay4/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":123,"deletions":105,"changed_files":3}}
other: {"actor":{"display_login":"Itay4"}}