Skip to content

Commit 1426c79

Browse files
committed
gis-9379 fixes
1 parent 58aa254 commit 1426c79

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

uncoder-core/app/translator/platforms/sigma/const.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
}
1010

1111
DEFAULT_SIGMA_CTI_MAPPING = {
12-
"SourceIP": "SourceIP",
13-
"DestinationIP": "DestinationIP",
14-
"Domain": "Domain",
15-
"URL": "URL",
16-
"HashMd5": "HashMd5",
17-
"HashSha1": "HashSha1",
18-
"HashSha256": "HashSha256",
19-
"HashSha512": "HashSha512",
12+
"SourceIP": "src-ip",
13+
"DestinationIP": "dst-ip",
14+
"Domain": "cs-host",
15+
"URL": "c-uri",
16+
"HashMd5": "Hashes",
17+
"HashSha1": "Hashes",
18+
"HashSha256": "Hashes",
19+
"HashSha512": "Hashes",
2020
}
2121

2222

uncoder-core/app/translator/platforms/sigma/renders/sigma_cti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def generate(self, data: dict[list[list[IocsChunkValue]]], **kwargs):
5353
"id": uuid.uuid4().__str__(),
5454
"description": kwargs["description"],
5555
"status": "stable",
56-
"author": "SOC Prime Team",
56+
"author": "Uncoder Autogenerated",
5757
"logsource": LOGSOURCE_MAP.get(key),
5858
"fields": list(data_values.keys()),
5959
"detection": {"selection": data_values, "condition": "selection"},

uncoder-core/app/translator/tools/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
HashType = Literal["md5", "sha1", "sha256", "sha512"]
99
IocParsingRule = Literal["replace_dots", "remove_private_and_reserved_ips", "replace_hxxp"]
1010

11-
DefaultIOCType = list(get_args(IOCType))
11+
DefaultIOCType = list(get_args(Literal["ip", "url", "hash"]))
1212
DefaultHashType = list(get_args(HashType))
1313
DefaultIocParsingRule = list(get_args(IocParsingRule))
1414

0 commit comments

Comments
 (0)
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