File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
uncoder-core/app/translator/platforms/sentinel_one Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ from app .translator .core .mapping import BaseStrictLogSourcesPlatformMappings , LogSourceSignature
2
+ from app .translator .platforms .sentinel_one .const import sentinel_one_power_query_details
3
+
4
+
5
+ class SentinelOnePowerQueryLogSourceSignature (LogSourceSignature ):
6
+ def is_suitable (self ) -> bool :
7
+ return True
8
+
9
+ def __str__ (self ) -> str :
10
+ return ""
11
+
12
+
13
+ class SentinelOnePowerQueryMappings (BaseStrictLogSourcesPlatformMappings ):
14
+ def prepare_log_source_signature (self , mapping : dict ) -> SentinelOnePowerQueryLogSourceSignature :
15
+ ...
16
+
17
+
18
+ sentinel_one_power_query_query_mappings = SentinelOnePowerQueryMappings (
19
+ platform_dir = "sentinel_one" , platform_details = sentinel_one_power_query_details
20
+ )
Original file line number Diff line number Diff line change
1
+ """
2
+ Uncoder IO Community Edition License
3
+ -----------------------------------------------------------------
4
+ Copyright (c) 2024 SOC Prime, Inc.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ -----------------------------------------------------------------
18
+ """
19
+ from app .translator .core .str_value_manager import StrValueManager
20
+ from app .translator .platforms .sentinel_one .escape_manager import (
21
+ SentinelOnePowerQueryEscapeManager ,
22
+ sentinel_one_power_query_escape_manager ,
23
+ )
24
+
25
+
26
+ class SentinelOnePowerQueryStrValueManager (StrValueManager ):
27
+ escape_manager : SentinelOnePowerQueryEscapeManager = sentinel_one_power_query_escape_manager
28
+
29
+
30
+ sentinel_one_power_query_str_value_manager = SentinelOnePowerQueryStrValueManager ()
You can’t perform that action at this time.
0 commit comments