Skip to content

Commit

Permalink
Email communication (#13280)
Browse files Browse the repository at this point in the history
* add replay mail

* add classifier and mapper

* finishing

* lint & validate

* rn fix
  • Loading branch information
ChanochShayner authored Jun 20, 2021
1 parent 36cb26b commit e1b74c2
Show file tree
Hide file tree
Showing 11 changed files with 562 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"defaultIncidentType": "Email Communication",
"description": "Classifies MS Graph Mail Single User email messages.",
"feed": false,
"id": "MS Graph Mail Single User - Classifier - Email Communication",
"keyTypeMap": {
"High": "Email Communication",
"Low": "Email Communication",
"MicrosoftGraphMailSingleUser": "Email Communication",
"Normal": "Email Communication"
},
"transformer": {
"complex": null,
"simple": ""
},
"name": "MS Graph Mail Single User - Classifier - Email Communication",
"type": "classification",
"version": -1,
"fromVersion": "6.0.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"brandName": "MicrosoftGraphMailSingleUser-EmailCommunication",
"custom": true,
"defaultIncidentType": "Email Communication",
"feed": false,
"id": "faa1bfc8-09cd-44e0-81fe-73092e735916",
"isDefault": false,
"keyTypeMap": {
"High": "Email Communication",
"Low": "Email Communication",
"MicrosoftGraphMailSingleUser": "Email Communication",
"Normal": "Email Communication"
},
"mapping": {
"Email Communication": {
"dontMapEventToLabels": false,
"internalMapping": {
"Attachment ID": {
"complex": {
"accessor": "path",
"filters": [],
"root": "Attachments",
"transformers": []
},
"simple": ""
},
"Attachment Name": {
"complex": {
"accessor": "name",
"filters": [],
"root": "Attachments",
"transformers": []
},
"simple": ""
},
"Email BCC": {
"complex": {
"accessor": "",
"filters": [],
"root": "Bcc",
"transformers": []
},
"simple": ""
},
"Email Body": {
"complex": {
"accessor": "",
"filters": [],
"root": "Body",
"transformers": []
},
"simple": ""
},
"Email Body Format": {
"complex": {
"accessor": "",
"filters": [],
"root": "Format",
"transformers": []
},
"simple": ""
},
"Email Body HTML": {
"complex": {
"accessor": "",
"filters": [],
"root": "Format",
"transformers": []
},
"simple": ""
},
"Email CC": {
"complex": {
"accessor": "",
"filters": [],
"root": "Cc",
"transformers": []
},
"simple": ""
},
"Email From": {
"complex": {
"accessor": "",
"filters": [],
"root": "From",
"transformers": []
},
"simple": ""
},
"Email HTML": {
"complex": {
"accessor": "",
"filters": [],
"root": "Body",
"transformers": []
},
"simple": ""
},
"Email Latest Message": {
"complex": null,
"simple": "ID"
},
"Email Message ID": {
"complex": {
"accessor": "",
"filters": [],
"root": "ID",
"transformers": []
},
"simple": ""
},
"Email Subject": {
"complex": {
"accessor": "",
"filters": [],
"root": "Subject",
"transformers": []
},
"simple": ""
},
"Email To": {
"complex": {
"accessor": "",
"filters": [],
"root": "To",
"transformers": []
},
"simple": ""
}
}
}
},
"transformer": {
"complex": null,
"simple": "Type"
},
"version": -1,
"fromVersion": "5.5.0",
"toVersion": "5.9.9"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"description": "Maps incoming MS Graph Mail Single User email message fields.",
"feed": false,
"id": "MS Graph Mail Single User - Incoming Mapper - Email Communication",
"mapping": {
"Email Communication": {
"dontMapEventToLabels": false,
"internalMapping": {
"Attachment ID": {
"complex": {
"accessor": "path",
"filters": [],
"root": "Attachments",
"transformers": []
},
"simple": ""
},
"Attachment Name": {
"complex": {
"accessor": "name",
"filters": [],
"root": "Attachments",
"transformers": []
},
"simple": ""
},
"Email BCC": {
"complex": {
"accessor": "",
"filters": [],
"root": "Bcc",
"transformers": []
},
"simple": ""
},
"Email Body": {
"complex": {
"accessor": "",
"filters": [],
"root": "Body",
"transformers": []
},
"simple": ""
},
"Email Body Format": {
"complex": {
"accessor": "",
"filters": [],
"root": "Format",
"transformers": []
},
"simple": ""
},
"Email Body HTML": {
"complex": {
"accessor": "",
"filters": [],
"root": "Format",
"transformers": []
},
"simple": ""
},
"Email CC": {
"complex": {
"accessor": "",
"filters": [],
"root": "Cc",
"transformers": []
},
"simple": ""
},
"Email From": {
"complex": {
"accessor": "",
"filters": [],
"root": "From",
"transformers": []
},
"simple": ""
},
"Email HTML": {
"complex": {
"accessor": "",
"filters": [],
"root": "Body",
"transformers": []
},
"simple": ""
},
"Email Latest Message": {
"complex": null,
"simple": "ID"
},
"Email Message ID": {
"complex": {
"accessor": "",
"filters": [],
"root": "ID",
"transformers": []
},
"simple": ""
},
"Email Subject": {
"complex": {
"accessor": "",
"filters": [],
"root": "Subject",
"transformers": []
},
"simple": ""
},
"Email To": {
"complex": {
"accessor": "",
"filters": [],
"root": "To",
"transformers": []
},
"simple": ""
}
}
}
},
"name": "MS Graph Mail Single User - Incoming Mapper - Email Communication",
"type": "mapping-incoming",
"fromVersion": "6.0.0",
"version": -1
}
10 changes: 10 additions & 0 deletions Packs/EmailCommunication/ReleaseNotes/1_3_9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#### Classifiers
##### New: MicrosoftGraphMailSingleUser-EmailCommunication
- Maps incoming MS Graph Mail Single user email message fields. (Available from Cortex XSOAR 5.5.0 to 5.9.9).
##### New: MS Graph Mail Single User - Classifier - Email Communication
- Classifies MS Graph Mail Single user email messages. (Available from Cortex XSOAR 6.0.0).

#### Mappers
##### New: MS Graph Mail Single User - Incoming Mapper - Email Communication
- Maps incoming MS Graph Mail Single user email message fields (Available from Cortex XSOAR 6.0.0).
2 changes: 1 addition & 1 deletion Packs/EmailCommunication/pack_metadata.json
Original file line number Diff line number Diff line change
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": "1.3.8",
"currentVersion": "1.3.9",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading

0 comments on commit e1b74c2

Please sign in to comment.