File tree Expand file tree Collapse file tree 3 files changed +54
-3
lines changed
uncoder-core/app/translator
mappings/platforms/anomali Expand file tree Collapse file tree 3 files changed +54
-3
lines changed Original file line number Diff line number Diff line change 11platform : Anomali
2- description : Common field mapping
2+ source : proxy
33
44field_mapping :
55 c-uri-query : url
66 c-useragent : user_agent
7+ c-uri : url
8+ cs-method : http_method
9+ cs-bytes : bytes_out
10+ cs-referrer : http_referrer
11+ sc-status : return_code
12+
13+ dns-query : query
14+ dns-answer : answer
15+ dns-record : record_type
16+
717 CommandLine : command_line
818 DestinationHostname : dest
919 DestinationIp : dest_ip
Original file line number Diff line number Diff line change 1+ platform : Anomali
2+ source : webserver
3+
4+ field_mapping :
5+ c-uri-query : url
6+ c-useragent : user_agent
7+ c-uri : url
8+ cs-method : http_method
9+ cs-bytes : bytes_out
10+ cs-referrer : http_referrer
11+ sc-status : return_code
12+
13+ dns-query : query
14+ dns-answer : answer
15+ dns-record : record_type
16+
17+ CommandLine : command_line
18+ DestinationHostname : dest
19+ DestinationIp : dest_ip
20+ DestinationPort : dest_port
21+ Details : reg_value_data
22+ dst_ip : dest_ip
23+ dst_port : dest_port
24+ EventID : event_id
25+ EventName : event_name
26+ FileName : file_name
27+ FilePath : file_path
28+ Image : image
29+ NewProcessName : image
30+ OriginalFileName : original_file_name
31+ ParentCommandLine : parent_command_line
32+ ParentImage : parent_image
33+ ParentProcessID : parent_process_id
34+ Platform : platform
35+ ProcessCommandLine : command_line
36+ ProcessID : process_id
37+ SourceImage : parent_image
38+ SourcePort : src_port
39+ TargetFilename : file_name
40+ TargetObject : reg_key
41+ UserAgent : user_agent
Original file line number Diff line number Diff line change 1- from app .translator .core .mapping import BaseCommonPlatformMappings , LogSourceSignature
1+ from app .translator .core .mapping import BaseStrictLogSourcesPlatformMappings , LogSourceSignature
22from app .translator .platforms .anomali .const import anomali_query_details
33
44
@@ -10,7 +10,7 @@ def __str__(self) -> str:
1010 return ""
1111
1212
13- class AnomaliMappings (BaseCommonPlatformMappings ):
13+ class AnomaliMappings (BaseStrictLogSourcesPlatformMappings ):
1414 def prepare_log_source_signature (self , mapping : dict ) -> AnomaliLogSourceSignature : # noqa: ARG002
1515 return AnomaliLogSourceSignature ()
1616
You can’t perform that action at this time.
0 commit comments