Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1426c79

Browse files
committed
gis-9379 fixes
1 parent58aa254 commit1426c79

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)

[8]ページ先頭

©2009-2025 Movatter.jp