Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph single mail html 2 #29902

Merged
merged 12 commits into from Oct 4, 2023
Merged

Conversation

content-bot
Copy link
Collaborator

@content-bot content-bot commented Sep 27, 2023

Original External PR

external pull request

Contributor

@Anonymoo53

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: link to the issue

Description

This update clones functionality from the GraphMail integration for retrieving the HTML bodies of email into the Listener integration. The listener integration does not pull the HTML bodies of email and is hardcoded to only pull text based representations of emails. This change does not completely align the two integrations and there are still significant differences between them.

The changes are:

  1. GraphMail fetch code has been moved to a separate module.

  2. The previous GraphListener fetch code has been removed. Integration now relies on the Graph mail fetch from the new module, with minor changes.

  3. There is now a checkbox in the Graph Listener configuration that allows HTML email bodies to be retrieved as HTML rather than plain text.

Must have

  • Tests
  • Documentation

As discussed @RosenbergYehuda, for legibility and easier merging, this is a rebased version of PR #29454

* Rebased GraphSingleMail-HTML

* Minor changes pre PR

* Release note update post validation

* Fixing linter issues

* return the "demisto.info" line

* removing the "demisto.info" line

---------

Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! Contribution Form Filled Whether contribution form filled or not. Community Xsoar Support Level Indicates that the contribution is for XSOAR supported pack Internal PR labels Sep 27, 2023
@ShirleyDenkberg ShirleyDenkberg self-assigned this Sep 27, 2023
@ShirleyDenkberg
Copy link
Contributor

@michal-dagan @RosenbergYehuda Doc review completed.

@RotemAmit RotemAmit self-requested a review October 4, 2023 09:06
@RotemAmit RotemAmit merged commit 07a0f5d into master Oct 4, 2023
15 checks passed
@RotemAmit RotemAmit deleted the contrib/Anonymoo53_GraphSingleMail-HTML-3 branch October 4, 2023 12:06
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Oct 5, 2023
* Graph single mail html 2 (demisto#29839)

* Rebased GraphSingleMail-HTML

* Minor changes pre PR

* Release note update post validation

* Fixing linter issues

* return the "demisto.info" line

* removing the "demisto.info" line

---------

Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>

* Apply suggestions from Shirley

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* format

* pre commit

* unit test fix

* flake 8

* updated the release notes

* update the docker image

---------

Co-authored-by: Anonymoo53 <93589159+Anonymoo53@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: RotemAmit <ramit@paloaltonetworks.com>
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
* Graph single mail html 2 (#29839)

* Rebased GraphSingleMail-HTML

* Minor changes pre PR

* Release note update post validation

* Fixing linter issues

* return the "demisto.info" line

* removing the "demisto.info" line

---------

Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>

* Apply suggestions from Shirley

Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>

* format

* pre commit

* unit test fix

* flake 8

* updated the release notes

* update the docker image

---------

Co-authored-by: Anonymoo53 <93589159+Anonymoo53@users.noreply.github.com>
Co-authored-by: Yehuda <yrosenberg@paloaltonetworks.com>
Co-authored-by: Yehuda Rosenberg <90599084+RosenbergYehuda@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: RotemAmit <ramit@paloaltonetworks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved Internal PR Xsoar Support Level Indicates that the contribution is for XSOAR supported pack
Projects
None yet
5 participants