Skip to content

Commit c012725

Browse files
committed
gis-9197 fixes
1 parent 7ec3852 commit c012725

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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()

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