How to write an output module¶
Create file and class¶
Write minimal tests¶
Write a test that loads your output module.
It will fail initially, but running the test while you’re developing your plugin gives you a quick way to see if your code is doing what you expect.
Implement your subclass of plaso.output.interface.OutputModule
You’ll need to define/overwrite:
You may also want to override:
Add additional tests that test your plugin
plaso/output/__init__.pyto import your plugin in the correct alphabetical order.
Create a PR to have the changes reviewed and merged with the master branch.