Skip to content

Commit 94e7de5

Browse files
committed
gis-9071 add mapping to falco
1 parent f9d39b5 commit 94e7de5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
platform: Falco
2+
source: aws_cloudtrail
3+
4+
field_mapping:
5+
eventSource: ct.src
6+
eventName: ct.name
7+
errorCode: ct.error
8+
RequestParameters: json.value[/requestParameters]

uncoder-core/app/translator/platforms/falco/mapping.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from app.translator.core.mapping import BasePlatformMappings, LogSourceSignature
1+
from app.translator.core.mapping import BaseStrictLogSourcesPlatformMappings, LogSourceSignature
22
from app.translator.platforms.falco.const import falco_rule_details
33

44

@@ -10,7 +10,7 @@ def is_suitable(self) -> bool:
1010
return True
1111

1212

13-
class FalcoRuleMappings(BasePlatformMappings):
13+
class FalcoRuleMappings(BaseStrictLogSourcesPlatformMappings):
1414
def prepare_log_source_signature(self, mapping: dict) -> FalcoRuleLogSourceSignature: # noqa: ARG002
1515
return FalcoRuleLogSourceSignature()
1616

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