From 2200e5f6c538fc69383f784d0c03a28095e0252b Mon Sep 17 00:00:00 2001 From: Oleksandr Volha Date: Thu, 1 Aug 2024 15:18:54 +0300 Subject: [PATCH] fix author parsing --- .../platforms/microsoft/parsers/microsoft_sentinel_rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uncoder-core/app/translator/platforms/microsoft/parsers/microsoft_sentinel_rule.py b/uncoder-core/app/translator/platforms/microsoft/parsers/microsoft_sentinel_rule.py index 62f262de..f168798e 100644 --- a/uncoder-core/app/translator/platforms/microsoft/parsers/microsoft_sentinel_rule.py +++ b/uncoder-core/app/translator/platforms/microsoft/parsers/microsoft_sentinel_rule.py @@ -68,7 +68,7 @@ def parse_raw_query(self, text: str, language: str) -> RawQueryContainer: timeframe=self.__parse_timeframe(rule.get("queryFrequency", "")), severity=rule.get("severity", "medium"), mitre_attack=mitre_attack, - author=parsed_description.get("author") or rule.get("author"), + author=parsed_description.get("author") or [rule.get("author")], license_=parsed_description.get("license"), tags=tags, references=parsed_description.get("references"), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy