- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
10-28-2024 07:54 AM
Hello everyone, I'm try to make a usecase where it will be possible to send email to the XSOAR and instead of creating new incident the email content will be delivered to already open incident based on Incident id or UID with addEntitlement.
after creating an entitlement I send email to the XSOAR (I got ews V2 setup and working) with the entitlement\incident ID in the subject but it creates new incident and not add it's content to the open one.
any one as a guide\know how to make addEntitlement work? thanks!
10-29-2024 11:37 AM
Best suggestion I can make is to use preprocess rule: https://xsoar.pan.dev/docs/incidents/incident-pre-processing
That way, your incoming incident via email is being linked or updating the previously opened incident based on Incident ID or UID.
However, adding content to the new one would probably require a custom script that could be pretty complex in this scenario.
10-29-2024 12:51 PM
@A.Levy, alternatively, to use entitlements in email communication, you can copy the functionality implemented in some of our out-of-the-box automation scripts, such as EmailAskUser (CommonScripts pack) or SendEmailToManager (Active Directory Query pack).
The idea is to create an entitlement in your code by calling the system function addEntitlement and then adding the entitlement string to the email subject line. When the recipient receives the email and replies to it, the answer will be routed to the incident where the entitlement was created.
I'm sharing here a simple script with this functionality.
To call the script, please see an example below:
!EmailThread allowReply=true body="This is a test email" email=user@example.com persistent=true subject="Testing Email Threads"
Let me know if you have any questions.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!