Skip to content

Commit

Permalink
Changes to support event values container
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Mar 29, 2024
1 parent 90fd5fd commit ab8f5e5
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions tests/multi_process/analysis_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,35 @@ class TestAnalysisPlugin(analysis_interface.AnalysisPlugin):

NAME = 'test_plugin'

# pylint: disable=arguments-renamed
# pylint: disable=unused-argument
def CompileReport(self, mediator):
# pylint: disable=redundant-returns-doc,unused-argument

def CompileReport(self, analysis_mediator):
"""Compiles a report of the analysis.
After the plugin has received every copy of an event to
analyze this function will be called so that the report
can be assembled.
After the plugin has received every copy of an event to analyze this
function will be called so that the report can be assembled.
Args:
mediator (AnalysisMediator): mediates interactions between
analysis plugins and other components, such as storage and dfvfs.
analysis_mediator (AnalysisMediator): mediates interactions between
analysis plugins and other components, such as storage and dfVFS.
Returns:
AnalysisReport: report.
"""
return
return None

def ExamineEvent(self, mediator, event, event_data, event_data_stream):
def ExamineEvent(
self, analysis_mediator, event, event_data, event_data_stream,
event_values):
"""Analyzes an event.
Args:
mediator (AnalysisMediator): mediates interactions between analysis
plugins and other components, such as storage and dfvfs.
analysis_mediator (AnalysisMediator): mediates interactions between
analysis plugins and other components, such as storage and dfVFS.
event (EventObject): event.
event_data (EventData): event data.
event_data_stream (EventDataStream): event data stream.
event_values (AttributeContainer): event values attribute container.
"""
return

Expand Down

0 comments on commit ab8f5e5

Please sign in to comment.