Skip to content

Commit

Permalink
Added Support for Microsoft Graph Single User integration (#30967)
Browse files Browse the repository at this point in the history
* Added Support for Microsoft Graph Single User integration

* fix validation

* Update 2_0_15.md

* Update Packs/EmailCommunication/ReleaseNotes/2_0_15.md

Co-authored-by: EyalPintzov <91007713+eyalpalo@users.noreply.github.com>

---------

Co-authored-by: EyalPintzov <91007713+eyalpalo@users.noreply.github.com>
  • Loading branch information
sapirshuker and eyalpalo committed Nov 27, 2023
1 parent d48e4bc commit 3762a13
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions Packs/EmailCommunication/ReleaseNotes/2_0_15.md
@@ -0,0 +1,7 @@

#### Scripts

##### PreprocessEmail

- Added the ability to get attachments during preprocessing email for **Microsoft Graph Mail Single User** integration.
- Updated the Docker image to: *demisto/python3:3.10.13.80593*.
Expand Up @@ -216,7 +216,7 @@ def get_attachments_using_instance(email_related_incident, labels, email_to):
{'command': 'gmail-get-attachments', 'incidents': email_related_incident,
'arguments': {'user-id': 'me', 'message-id': str(message_id), 'using': instance_name}})

elif integration_name in ['MicrosoftGraphMail']:
elif integration_name in ['MicrosoftGraphMail', 'Microsoft Graph Mail Single User']:
demisto.executeCommand("executeCommandAt",
{'command': 'msgraph-mail-get-attachment', 'incidents': email_related_incident,
'arguments': {'user_id': email_to, 'message_id': str(message_id),
Expand Down
@@ -1,9 +1,9 @@
args:
- defaultValue: ${incident.attachment}
description: Attachments
description: Attachments.
isArray: true
name: attachments
- description: Files
- description: Files.
name: files
- name: CreateIncidentUntaggedEmail
description: Allow the creation of an email for which we can't find an existing incident.
Expand Down Expand Up @@ -33,7 +33,7 @@ tags:
- email
- preProcessing
type: python
dockerimage: demisto/python3:3.10.12.68300
dockerimage: demisto/python3:3.10.13.80593
runas: DBotRole
tests:
- No tests (auto formatted)
Expand Down
2 changes: 1 addition & 1 deletion Packs/EmailCommunication/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Email Communication",
"description": "Do you have to send multiple emails to end users? This content pack helps you streamline the process and automate updates, notifications and more.\n",
"support": "xsoar",
"currentVersion": "2.0.14",
"currentVersion": "2.0.15",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"videos": [
Expand Down

0 comments on commit 3762a13

Please sign in to comment.