Skip to content

Commit 25deb64

Browse files
authored
Identify Outlook emails as document/office/email
2 parents 8229622 + 06afba4 commit 25deb64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

assemblyline/common/constants.py

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class ServiceStatus(enum.IntEnum):
140140
'document/installer/windows': True,
141141
'document/office/equation': True,
142142
'document/office/excel': True,
143+
'document/office/email': True,
143144
'document/office/mhtml': True,
144145
'document/office/paintbrush': True,
145146
'document/office/package': True,

assemblyline/common/identify.py

+1
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@
389389
'text/calendar': 'text/calendar',
390390
'image/svg+xml': 'image/svg',
391391
'application/x-mach-binary': 'executable/mach-o',
392+
'application/vnd.ms-outlook': 'document/office/email'
392393
}
393394

394395
tl_patterns = [[x[0], re.compile(x[1], re.IGNORECASE)] for x in tl_patterns]

0 commit comments

Comments
 (0)