From b640e501157d8797eed842a4576f92a2cd370d04 Mon Sep 17 00:00:00 2001 From: Manabu Niseki Date: Tue, 25 Aug 2020 23:48:19 +0900 Subject: [PATCH] refactor: update verdict messages --- app/factories/inquest.py | 3 ++- app/factories/virustotal.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/factories/inquest.py b/app/factories/inquest.py index 0000778..d2658c6 100644 --- a/app/factories/inquest.py +++ b/app/factories/inquest.py @@ -117,7 +117,8 @@ async def to_model(self) -> Verdict: malicious=False, details=[ Detail( - key="benign", description="There is no malicious attachment.", + key="benign", + description="There is no malicious attachment or InQuest doesn't have information about the attachments.", ) ], ) diff --git a/app/factories/virustotal.py b/app/factories/virustotal.py index 087e95f..cc8e569 100644 --- a/app/factories/virustotal.py +++ b/app/factories/virustotal.py @@ -80,7 +80,8 @@ async def to_model(self) -> Verdict: malicious=False, details=[ Detail( - key="benign", description="There is no malicious attachment.", + key="benign", + description="There is no malicious attachment or VirusTotal doesn't have information about the attachments.", ) ], )