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

Commit5a15552

Browse files
authored
Merge pull request#163 from UncoderIO/gis-case-insensitive-sigma-mapping
Gis case insensitive sigma mapping
2 parents8b77550 +6f1173b commit5a15552

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎uncoder-core/app/translator/mappings/platforms/palo_alto_cortex/dns.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ field_mapping:
1111
dns_query_name:xdm.network.dns.dns_question.name
1212
QueryName:xdm.network.dns.dns_question.name
1313
query:xdm.network.dns.dns_question.name
14-
dns-record-type:xdm.network.dns.dns_question.type
14+
dns-record-type:xdm.network.dns.dns_question.type

‎uncoder-core/app/translator/mappings/platforms/qradar/default.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ field_mapping:
7575
EventSeverity:EventSeverity
7676
Source:
7777
-Source
78-
-source
78+
-source

‎uncoder-core/app/translator/platforms/sigma/mapping.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def __init__(
1919
defis_suitable(
2020
self,service:Optional[list[str]],product:Optional[list[str]],category:Optional[list[str]]
2121
)->bool:
22-
product_match=set(productor []).issubset(self.products)ifproductelseFalse
23-
category_match=set(categoryor []).issubset(self.categories)ifcategoryelseFalse
24-
service_match=set(serviceor []).issubset(self.services)ifserviceelseFalse
22+
product_match=set(product_.lower()forproduct_inproductor []).issubset(self.products)ifproductelseFalse
23+
category_match=set(category_.lower()forcategory_incategoryor []).issubset(self.categories)ifcategoryelseFalse
24+
service_match=set(service_.lower()forservice_inserviceor []or []).issubset(self.services)ifserviceelseFalse
2525
ifnotproductandnotservice:
2626
returncategory_match
2727
returnproduct_matchandservice_matchorproduct_matchandcategory_match

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp