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

S/MIME files without to/from/subject fields #67

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

michal-dagan
Copy link
Contributor

@michal-dagan michal-dagan commented Jul 24, 2023

Status

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

Related Issues

fixes: link to the issue
Related PR: link to the PR at demisto/content
Related PR: link to the PR at demisto//dockerfiles

Description

  • Fixed an issue where the parsed_email didn't contain the email wrapper and its AttachmentsData in cases of S/MIME files that lacked the To, From, and Subject fields.

If an email is of type 'multipart/signed' but does not have the 'to', 'from', or 'subject' fields, it will not enter the if condition to save the 'AttachmentsData' in the 'email_data' variable. As a result, when using the 'ParseEmailFilesV2' script and the attachments will not be saved to the war-room because they were not included in the 'AttachmentsData' field.

Screenshots

Paste here any images that will help the reviewer

Must have

  • Tests
  • Documentation

@michal-dagan michal-dagan changed the title updated update parse emails to 0.1.14 Jul 24, 2023
@michal-dagan michal-dagan changed the title update parse emails to 0.1.14 S/MIME files without to/from/subject fields Jul 24, 2023
Copy link
Contributor

@moishce moishce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job

@ShirleyDenkberg
Copy link

@michal-dagan Looks good.

@michal-dagan michal-dagan merged commit c3912d0 into master Jul 26, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants