ibmresilient / resilient-community-apps

Source code for IBM SOAR Apps that are available on our App Exchange
https://ibm.biz/soar-apps-docs
MIT License
88 stars 96 forks source link

Fn utilities 1.0.14 #53

Closed LiamMahoney closed 2 years ago

LiamMahoney commented 4 years ago

Small (one line) fix to the email parse (utilities_email_parse) function to allow email attachments to have the extension '.MSG' as opposed to only '.msg'.

Description

Making the file extension lower case before comparing it to '.msg'.

Motivation and Context

I have encountered some email files that come into resilient as "EMAIL.MSG" which would not match the .msg check causing the email file to not get parsed.

How Has This Been Tested?

I ran email files with '.eml', '.msg' and '.MSG' extensions through the function and all of the files were parsed properly.

Checklist:

Signed-off-by: LiamMahoney liammahoney96@gmail.com

annmarien commented 2 years ago

This issues has been fixed in a recent release of fn_utilities. Thanks for submitting Liam. We are cleaning up the PR's in the public github and will hopefully be more responsive in the future.